Post by Renkotsu on May 4, 2019 17:50:46 GMT 10
i have followed son of persia guide but i am stuck at this part
RE4 UHD models are stored in BIN files. TPL files contain indices of model textures.
Each texture index includes the number of model texture package plus individual texture index/number inside texture package.
Inorder to extract a BIN model file with correct textures, you must also specify the name of it's associated TPL file.
Usually TPL files come right after or before a model BIN file but it's not always the case.
In order to identify the exact TPL file of a model, you have to open BIN file in a hex editor, then look at offset 0x24 for the number of model textures(total number of diffuse, opacity and bump/specular map textures).
Then you have to examine extracted TPL files one by one(first examine nearest TPL files) and look for the one with the same number of textures as model BIN file.
To do so, just open TPL files in a hex editor and look for offset 0x4(total number of texture indices stored in TPL file).
After finding a match, just open BIN_Extract.bat file in a text editor and change the name of default(chris) *.bin and *.tpl files inside it and save.
Do not forget to put both model BIN and TPL files in the same folder as RE4_UHD_Bin_Extractor.exe. Double click on BIN_Extract.bat and the model will be exported to SMD and OBJ/MTL formats.
Now it can be easily viewed and/or modified using any 3D application.
For example the contents of BIN_Extract.bat file can be: RE4_UHD_Bin_Extractor.exe pl00_000.bin pl00_0001.tpl -o
Each texture index includes the number of model texture package plus individual texture index/number inside texture package.
Inorder to extract a BIN model file with correct textures, you must also specify the name of it's associated TPL file.
Usually TPL files come right after or before a model BIN file but it's not always the case.
In order to identify the exact TPL file of a model, you have to open BIN file in a hex editor, then look at offset 0x24 for the number of model textures(total number of diffuse, opacity and bump/specular map textures).
Then you have to examine extracted TPL files one by one(first examine nearest TPL files) and look for the one with the same number of textures as model BIN file.
To do so, just open TPL files in a hex editor and look for offset 0x4(total number of texture indices stored in TPL file).
After finding a match, just open BIN_Extract.bat file in a text editor and change the name of default(chris) *.bin and *.tpl files inside it and save.
Do not forget to put both model BIN and TPL files in the same folder as RE4_UHD_Bin_Extractor.exe. Double click on BIN_Extract.bat and the model will be exported to SMD and OBJ/MTL formats.
Now it can be easily viewed and/or modified using any 3D application.
For example the contents of BIN_Extract.bat file can be: RE4_UHD_Bin_Extractor.exe pl00_000.bin pl00_0001.tpl -o
how can i find which model to edit i want to edit ada wong model since the mods i want to convert to the hd version use ada wong model, the mods have 4 file in the em folder named
em4clow.dat
em4dlow.dat
em46low.dat
em50low.dat
pl0b.dat