Here is the details:
Anyone else had a go with this?I should point out as with all these 'tools' I'm releasing they are in no way 'refined'. They are just quick and nasty coding to get something working as fast as possible.
Ok,
Here's a we process + tools to...
1. 'Stitch' or 'Merge' Textures together.
2. 'Shift' the UV's associated with those textures in the model to the appropriate place.
synMoveUV.rar (32 MBytes) Link is not 24x7.Sorry about the size.
Mirrored @ RKSL - synMoveUV.rar (32 MBytes)
Mirrored @ ArmedAssault.info - synMoveUV
Mirrored @ Combat-Prison.net synMoveUV
Mirrored @ Armed-Assault.de - synMovUV
Mirrored @ Armaholic.com - synMoveUV
It includes a small demo video etc... I can't be arsed making proper documentation and also the tool might produce premature balding... so use with caution.
BTW, Yes, that byte you have to edit in the .tga is at offset 17 - And, should be changed from whatever it happens to be to... 28 hex (40 decimal).
Note. Two of the tools included are from Nvidia's developer tools. They can be downloaded with there documentation, eula etc. from Texture_Atlas_Tools_1.0.0826.1700.exe and DDS_Utilities_8.31.1127.1645.exe.
==================================================================
synMoveUV_NoVid.rar (16 MBytes) - No Video...
Usage Details for the version without the Vid...
1. Extract the .rar.
2. Move the synBodies folder to your root folder on your P:\ drive.
3. Goto the SynBodies\tx - Texture folder.
4. Run the dos batch file... MergeTextures.cmd
5. Delete the synSniper0.dds file.
6. Rename the synSniper000.tga to synSniper.tga.
7. Open the tga in a Hex Editor.
8. Change byte 17 from 0x20 to 0x28 and save. (you are now able to open in TexView2 - without this alteration you won't be able too...)
9. Open the synSniper.tai text file in a Text Editor.
10. Make the texture names at the bottom exactly the same as in your model.
11. place a comma between the first (current texture) and the second (new texture) and alter the second texture name to point to the appropriate place. in this example the file would originally look like...
Code Sample
webbings_co.tga synSniper0.dds, 0, 2D, 0.000000, 0.000000, 0.000000, 0.250000, 1.000000
spec_two_holster_co.tga synSniper0.dds, 0, 2D, 0.500000, 0.000000, 0.000000, 0.500000, 0.500000
hhl_34_co.tga synSniper0.dds, 0, 2D, 0.250000, 0.000000, 0.000000, 0.250000, 0.500000
hat_hands_co.tga synSniper0.dds, 0, 2D, 0.250000, 0.500000, 0.000000, 0.250000, 0.500000
And, you need to change it too... NOTE:- you should'nt need to alter anything else apart from the texture names at the start of the lines and placing a comma between them...
Code Sample
synbodies\tx\webbings_co.tga,synbodies\tx\synSniper.tga, 0, 2D, 0.000000, 0.000000, 0.000000, 0.250000, 1.000000
synbodies\tx\spec_two_holster_co.tga,synbodies\tx\synSniper.tga, 0, 2D, 0.500000, 0.000000, 0.000000, 0.500000, 0.500000
synbodies\tx\hhl_34_co.tga,synbodies\tx\synSniper.tga, 0, 2D, 0.250000, 0.000000, 0.000000, 0.250000, 0.500000
synbodies\tx\hat_hands_co.tga,synbodies\tx\synSniper.tga, 0, 2D, 0.250000, 0.500000, 0.000000, 0.250000, 0.500000
12. copy/move the synSniper.tai file to synBodies folder... where the model is sitting...
13. run the dos batch file 'MoveUV_1.cmd'.
14. Look at the results in the new synSniper_m.p3d.
15. You will note that in the UV editor the UV's associated with Hat & Hands are in the wrong place... Oh NO !
This is because that's where they are sitting in the original synSniper.p3d... instead of moving them there. We can simply open the synSniper.tai file and change...
Code Sample
synbodies\tx\hat_hands_co.tga,synbodies\tx\synSniper.tga, 0, 2D, 0.250000, 0.500000, 0.000000, 0.250000, 0.500000
to...
Code Sample
synbodies\tx\hat_hands_co.tga,synbodies\tx\synSniper.tga, 0, 2D, 0.000000, 0.500000, 0.000000, 0.250000, 0.500000
Save the text file and re-run the dos command batch file
'MoveUV_1.cmd'...
you should be all good to go... cheers.
PS. have a look at the batch files for how the various programs are run...
Links:
Texture_Atlas_Tools_1.0.0826.1700.exe
DDS_Utilities_8.31.1127.1645.exe
synMoveUV v1.0 including large video tutorial mirrors:
RKSL
armedassault.info
eprison.de
armed-assault.de
armaholic.com
synMoveUV v1.1 mirrors:
Synide (not 24/7)
RKSL