Any "HOW-TO" make this work with resorep?
Been trying a lot but nothing seems to load any textures that originally came as texmod file.
Resorep add's the needed files to the game directory.
I extrated the texmod file with tpfextractor and placed the resulting texture files in the modded folder of resorep.
Do I need to rename texture files?
Any help apreciated.
Thanks!
Yes, it's a little bit more complicated to convert the extracted files from texmod to resorep's file format than renaming. First thing you will need is adobe photoshop cs6 or newer, then download this and install it.
Intel® Texture Works Plugin for Photoshop* by GameTechDev
Next, run the game with resorep in modding mode to get a dump of games textures and when it finishes dumping, this is when the fun starts!
You get to go through a couple of thousand texture files (which can be narrowed down to a couple hundred by searching by size) to find the right ones that were modded in the texmod. Open that file in photoshop along with it's texmod duplicate, copy & paste the duplicate onto the original file and the save in the original file format and repeat that process for all the other files in the texmod.
Oh, and two more things to make it even more frustrating to do! The files that resorep dumps can't be read or browsed using ANY photo editing software available, just photoshop. There is a way to batch convert them to jpg though, which does work rather well indeed!
Unfortunately I don't know any. Some viewers that I tried show black screen or garbled image for exotic DDS formats. Others can only open a single file at a time and unable to show a next file from same directory. But you can do the following:
- download texconv.exe from here: Releases · Microsoft/DirectXTex · GitHub
- launch it from command line like that: "texconv.exe -r -ft jpg -o C:\output C:\input\*.dds" (replace C:\output and C:\input\*.dds with your paths)
That tool will read all dds files from input directory convert them to jpg and write to output directory so you can view them in any viewer.
The other problem comes from the texmod creator playing the game at a different setting than you, say for instance he was using medium textures while you have it set to highest. His texture might be 1024x1024 and your duplicate would be 2048x2048 or 4096x4096 but you get the idea anyway right.
You can always resize the texmod files to match your dump files but that is better if you are sizing down rather than up, which is the way it would work for this case.
Anyway, good luck with the conversion!