Posts: 5
|
Post by JM-Walkthrough on Aug 28, 2020 10:37:47 GMT 10
I'm having trouble modifying Jack Krauser (The Mercenaries), I can't find the .TPL file to which Bin Textures apply '' pl0a_006 '' (Mutation), Could anyone help me? [img src=" i.imgur.com/2gsE32h.jpg" alt="" style="max-width:100%;" src=""]
|
|
✫Advanced Coder✫
gridning hard working on a fan game - Resident Evil Remix
Posts: 2,991
|
Post by Mr.Curious on Aug 28, 2020 16:40:11 GMT 10
The easiest way is to first look at the model pl0a_006.BIN (after extracting it). We see that this model is the torso and the mutated arm. Knowing what this model looks like in the game we can examine the files in the texture pack for this model 0100000a.pack. At quick glance it would appear to use 0009,0010, 0011 but there might be more, but we know for sure that it is using one of these, so the trick is to find the TPL that has an entry with this:
Looking at the closest .TPL file pl0a_005.TPL shows us in HEX: 00 00 00 00 00 00 00 00 0A 00 00 01 05 00 00 00 0A 00 00 01 06 00 00 00 0A 00 00 01 07 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
So this pl0a_005.TPL shows us that it is not using 09, 0A, or 0B (0009,0010, or 0011)
So we then look at the next TPL: pl0a_011.TPL: 0A 00 00 01 08 00 00 00 NO DICE!
So we then look at the next TPL: pl0a_011.TPL: 0A 00 00 01 09 00 00 00 0A 00 00 01 0A 00 00 00 0A 00 00 01 0B 00 00 00 0A 00 00 01 0C 00 00 00 0A 00 00 01 0D 00 00 00 0A 00 00 01 0E 00 00 00 0A 00 00 01 0F 00 00 00 0A 00 00 01 10 00 00 00 BINGO! We see that this TPL contains the textures for 0009 through 0016
So you see, while the new BIN tools do not give us an accurate readout of the textures used when we extract a model, this methos shown above does work if we know what textures are being used, and how to look for them in a TPL file.
Happy Modding!
|
|
Posts: 5
|
Post by JM-Walkthrough on Aug 28, 2020 17:10:56 GMT 10
Thanks for the answer. KTeo warned me that it would be better to create a topic in the '' General Modding Chat ''. I deleted the post.
|
|