![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 | |
GLOBAL MODDING TERRORIST
|
![]() Quote:
|
|
![]() |
![]() |
![]() |
#2 |
GLOBAL MODDING TERRORIST
|
![]()
For converting SH3 units to SH4? There is a program that will do all the hard work for you.
It converts the unit completely! only thing it does not do is create the AO mappings. All dynamic shadow stuff is ripped from the file along with the 3D models, Unifiedrender is installed, textures are converted to dds, val and other files fixed also. So it NEARLY readies SH3 units for SH5 also! |
![]() |
![]() |
![]() |
#3 |
GLOBAL MODDING TERRORIST
|
![]()
I just scanned the complete data folder of GWX.
I found 244 files with dynamicshadow. ![]() My scan lists the names and locations of every file found also. I'm adding to the script to give me exact locations in each file. From there I should be able to build up to removing things. |
![]() |
![]() |
![]() |
#4 |
Sea Lord
![]() |
![]()
Your programme would do a hell of work!
![]() If you have a look into the WAC full interior you will notice that there is also a lot to optimize. http://www.mediafire.com/file/jlrdsd...terior.7z/file I started with remeshing 3d meshes and reducing triangles, etc. Also.. very time consuming... I only got 1 interior done (not published yet). |
![]() |
![]() |
![]() |
#5 |
GLOBAL MODDING TERRORIST
|
![]()
WAC scan of data folder shows 236 files total. So yes. Could be cut way down.
![]() |
![]() |
![]() |
![]() |
#6 |
Ocean Warrior
![]() Join Date: May 2012
Location: In the sea, on land and above
Posts: 3,488
Downloads: 882
Uploads: 0
|
![]()
Jeff, give instructions and together we can work on perspective in my opinion project WAC v5.02.
|
![]() |
![]() |
![]() |
#7 |
Sonar Guy
![]() Join Date: Oct 2013
Posts: 382
Downloads: 64
Uploads: 0
|
![]()
I think this is a damn good idea. Reason for many crashes too is not just id conflicts but hitting the 4gb limit for the 32 bit application which sh3 is (with 4gb patch).
|
![]() |
![]() |
![]() |
#8 | |
Sonar Guy
![]() Join Date: Oct 2013
Posts: 382
Downloads: 64
Uploads: 0
|
![]() Quote:
We have S3D to open the .dat file and show its objects and relationships but I don't think we have a .dat decompiler that can output some sort of file format that is readable to such a script. ![]() |
|
![]() |
![]() |
![]() |
#9 | |
GLOBAL MODDING TERRORIST
|
![]() Quote:
I can read them in Hex as many of the old modders did from the start. Some of us still know the format of the dats. ![]() Here's a little sample: SH III DAT FILE FORMAT Skip the first 20 bytes they seem to be always the same. Next 4 bytes are a long with the header string lenght. Next is the author name and the "using Kashmir" stuff, total lenght as read above. Next, file is made of "chunks". All chunks are like this: ChunkType 4 bytes Chunk Subtype/Version 4 bytes chunk_size long (4 bytes) Data (chunk_size bytes) Chunk types and internal structure of each one: type 0: EMPTY chunk it's just 12 "00" bytes, so type, subtype and size are 0 type 1: 3D chunk after the Chunk type, subtype/ver and size, format of the data part is like follows: chunk_id: 8 bytes //this is used to reference this part inside the file. References usually found inside NODE (type 4) chunks 010 can be scripted to do what ever one wants to do to the dats in that case. S3D is a fine Tool! Many of us old modders contributed information during it's development. But it has it's limits. Working with a great Hex editor excides what S3D can do. Last edited by Jeff-Groves; 11-27-18 at 03:41 PM. |
|
![]() |
![]() |
![]() |
#10 |
GLOBAL MODDING TERRORIST
|
![]()
4096 words of random access memory. That wouldn't have been the 704's would it?
"I suggest that there are many projects which could use modder effort more effectively than cleaning up old inefficient models which do run adequately on current machines." adequately There's the word I hate. ![]() The program runs adequately as is but is in-efficient and can load faster, reduce possible ID conflicts, and allow the complete interiors to work better. (They have been done for several Mods) Last edited by Jeff-Groves; 11-27-18 at 03:32 PM. |
![]() |
![]() |
![]() |
#11 |
Ocean Warrior
![]() Join Date: Dec 2007
Location: Between test depth and periscope depth
Posts: 3,021
Downloads: 175
Uploads: 16
|
![]()
Better is the enemy of 'good enough.'
__________________
USS Kentucky SSBN 737 (G) Comms Div 2003-2006 Qualified 19 November 03 Yes I was really on a submarine. |
![]() |
![]() |
![]() |
#12 |
GLOBAL MODDING TERRORIST
|
![]()
Not sure which interpretation of this you intend?
![]() We've been running SH3 the 'good enough' way since 2005. In my 40 year trade in construction? I learned 'good enough' was just a way to justify sub par work. I do not accept 'good enough' when training our employees or doing the work we are hired to do. |
![]() |
![]() |
![]() |
#13 |
Ocean Warrior
![]() Join Date: Dec 2007
Location: Between test depth and periscope depth
Posts: 3,021
Downloads: 175
Uploads: 16
|
![]()
Sorry for leaving that ambiguous; it was an agreement with your statement on adequately.
I've run into more than my fair share of good enough and it drives me nuts, particularly when I'm the one that has to make it better.
__________________
USS Kentucky SSBN 737 (G) Comms Div 2003-2006 Qualified 19 November 03 Yes I was really on a submarine. |
![]() |
![]() |
![]() |
|
|