![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Sea Lord
![]() Join Date: Jun 2005
Location: Hamburg, Germany
Posts: 1,691
Downloads: 41
Uploads: 0
|
![]()
Multiple ship skins are a new addition in the GW mod right?
![]() Either way, I noticed this nifty feature recently and have started making more skin variations of my own. But do all ships have this feature? I notice that a lot of ships do not have any skin files in their folders, I've only been adding to the one's that have. Can these other ships be multi-skinned too? |
![]() |
![]() |
![]() |
#2 |
Sea Lord
![]() Join Date: Jun 2005
Location: Canada
Posts: 1,878
Downloads: 4
Uploads: 0
|
![]()
Sergbuto made the C3 and a lot of the destroyers multi-skinned, but many ships in the game can use only one skin. All capital warships, many destroyers (including US ones), the LST, and the four coastal craft are this way. The .dat file needs to be edited - Sergbuto no longer has time to do the rest. I was going to try, but I don't have time for the next two weeks and didn't really understand the instructions I received. Maybe someone who has time could post more detailed instructions here in a thread (with screenshots - a picture is worth a thousand words). It is a great mod idea. :hmm:
|
![]() |
![]() |
![]() |
#3 |
Sea Lord
![]() Join Date: Jun 2005
Location: Hamburg, Germany
Posts: 1,691
Downloads: 41
Uploads: 0
|
![]()
Could you send me sergbuto's instructions? I'm willing to have a crack at it.
Question for everyone: I've been looking for photos of the River Destroyer Escort, but am having no luck... has such a ship ever even existed? The closest thing I could find was a River frigate, but looks more like a black swan or a longer flower... |
![]() |
![]() |
![]() |
#4 | |
Sea Lord
![]() Join Date: Jun 2005
Location: Canada
Posts: 1,878
Downloads: 4
Uploads: 0
|
![]()
This is what Sergbuto wrote:
Quote:
![]() EDIT: I do know about the last part, about putting properly named textures in the ship's folder, obviously. ![]() |
|
![]() |
![]() |
![]() |
#5 |
Sea Lord
![]() Join Date: Jun 2005
Location: Hamburg, Germany
Posts: 1,691
Downloads: 41
Uploads: 0
|
![]()
Ok, so I know nothing about hex editing... but I downloaded a hex editor and tried to find what serbuto was on about.
Basically from what I can gather, the references to the tga texture files in the dat file have been replaced by the cfg#TXR section. For example the flower corvette would once have been NCO_Flower512.tga and it now loks something like cfg#TXR_NCO_Flower... I tried replacing this in the same fashion for the black swan, but the only results I got was a transparent looking radar (I must have damaged a little something)... and the correctly named and numbered tga's did not work. I also notice that the multi-skinned ships dat files don't actually contain the (hull texture)tga file anymore, whereas the edited black swan i did still contained the texture file... so I obviously don't know what I'm doing. I still don't know what exactly he meant by "replace sections with identificators 02, 03, and 08 with the cfg#TXR_ section"... I can find only two parts in any given multi-skinned .dat that start with cfg#TXR. |
![]() |
![]() |
![]() |
#6 | |
Sea Lord
![]() Join Date: Jun 2005
Location: Canada
Posts: 1,878
Downloads: 4
Uploads: 0
|
![]()
There was also an explanation of the .dat file format by lurbz which has been posted here a few times - you should do a search for it. However, some parts seem vague and there was a lot of stuff he hadn't figured out yet (the explanation was written a long time ago, even before Pack3d).
Actually, rather than making you search, here it is. ![]() Quote:
|
|
![]() |
![]() |
![]() |
#7 |
Weps
![]() Join Date: Oct 2005
Location: Repubblica di San Marino (Italy)
Posts: 362
Downloads: 0
Uploads: 0
|
![]()
How to extract .tga file
![]() ![]() ![]() For example: ![]() Clik OK and this is the result ![]() Now ![]() Now search again ![]() Arrived here ![]() Now if the work is good, you can copy this block, all this byte in a new file and save this, with extension: Ex. Miofile.tga A- Now you can open with a Photo editor. B- Now you can delete this block and change the text srting in Hex editor. refer to Pack3d for search string and write cfg#txr... it still follows ... I will explain other that serves... BEST REGARDS UBOAT234 |
![]() |
![]() |
![]() |
#8 |
Sea Lord
![]() Join Date: Jun 2005
Location: Canada
Posts: 1,878
Downloads: 4
Uploads: 0
|
![]()
I think it is starting to make sense to me.
![]() ![]() |
![]() |
![]() |
![]() |
#9 |
Sea Lord
![]() Join Date: Jun 2005
Location: Canada
Posts: 1,878
Downloads: 4
Uploads: 0
|
![]()
OK, I've almost got it. There is only one part I do not understand, and that is how to find the beginning of the value for the .tga. Here is a screenshot (I am using the Tugboat).
Would I start counting 12 bytes after the highlighted 61? ![]() EDIT: Is this the section I would copy into a new file and then delete? I need a little more help before I finish this. I hope to get this done soon, as I have to study for an exam tonight. If anyone can help a little more, please do so soon. ![]() |
![]() |
![]() |
![]() |
#10 |
Sea Lord
![]() Join Date: Jun 2005
Location: Canada
Posts: 1,878
Downloads: 4
Uploads: 0
|
![]()
I just extracted the section indicated in my last screenshot and tried to open it with ArcSoft Photo Studio (which DOES open .tga's). However, it won't open the new file - I get a message stating that the file format is invalid or not supported. What have I done wrong?
![]() |
![]() |
![]() |
![]() |
#11 |
Weps
![]() Join Date: Oct 2005
Location: Repubblica di San Marino (Italy)
Posts: 362
Downloads: 0
Uploads: 0
|
![]()
With calm...
why I am not "good" with English and it serves to me of the time. But this evening is successful multitexture ![]() I have render the KGeorgeV multitexture. And second, I have added new node, where it does not exist, Ex. I have only M01 and M02, added M03 and M04 is successful! In another message I have communicated that I have added objects with zones in zon. then other... however I have other news. Then I explain. Now I test for in order not to say not true things. Ok? I test and after compose the screenshot. The memory is necessary much time, why some things not well. I have made in speed. Have in this day, download a software for create a videoclip. Now I test and after I share a suite of tutorial. And... in this hour it is night here and I as soon as have ended to work. Rest the grey cells and public the screenshot tomorrow. Soon. AG124 here: bref 1) ![]() 2) ![]() BEST REGARDS UBOAT234 |
![]() |
![]() |
![]() |
#12 |
Admiral
![]() Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
|
![]()
Hi, All.
TGA dataBlock structura: 03 00 00 00 - 4 bytes ... dataBlock Type next 00 00 00 00 - 4 bytes ... dataBlock SubType or variant next 2C 00 10 00 - 4 bytes ... dataSize or TGA File Size = 1 048 620 bytes next ... TGA File: 12 bytes TGA header next 00 02 - 2 bytes ... TGA width = 512 pix next 00 02 - 2 bytes ... TGA height = 512 pix next 20 - 1 byte ... TGA Color Depth = 32 bit next TGA body next 2E 00 - End of TGA File Anvart |
![]() |
![]() |
![]() |
#13 |
Sea Lord
![]() Join Date: Jun 2005
Location: Canada
Posts: 1,878
Downloads: 4
Uploads: 0
|
![]()
EDIT: This post was made before I saw that last one.
OK. That;s actually very clear - I can see exactly what you mean. ![]() I made a mistake the first time - it appears that I should be looking NATF.tga instead of NATF_Complete.tga. But there are two NATF'tga's one with an address of 00015D71 and one with an address of 00295EEF. The second one has the TRUEVISION-XFILE entry very close above it. This is the one pictured in my last screenshot, and it is the one which I used. This is a list of the steps which I took: I selected NATF.tga. ![]() Then I counted out the 12 bytes+1 which I would need to find the start of the .tga. They are highlighted below. The last zero is the presumed beginning of the .tga. ![]() Next, I found TRUEVISION-XFILE. ![]() And selected the .tga exactly as you pointed out. ![]() ![]() I then pasted the selection in a new .dat file, and saved it with a .tga extension...and then couldn't open it. ![]() And there lies my problem. I actually don't seem to have any trouble following any of your instructions - I understand you perfectly. Maybe the Tugboat/NATF is different than the rest? Also, if I deleted the hightlighted section, I know I should add NATF_xx, but how and where exactly should I add it? |
![]() |
![]() |
![]() |
#14 |
Admiral
![]() Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
|
![]()
AG124,
you don't right. Anvart |
![]() |
![]() |
![]() |
#15 | |
Sea Lord
![]() Join Date: Jun 2005
Location: Canada
Posts: 1,878
Downloads: 4
Uploads: 0
|
![]() Quote:
|
|
![]() |
![]() |
![]() |
|
|