|
Post by leflashkoska on May 11, 2023 13:48:34 GMT 10
Hi Guys, Here is what the knife handle looks like right now : imgur.com/gallery/2TA1FD1It seems to be using texture 0005.dds for some reason. Before I replaced pl08_001.tpl it was fine, so I tried to extract the original in order to see If I messed up somethin in the .mtl file but all the textures seems right (I even tried adding all the same line just in case). I am using this thread which doesn't point out which TPL the Knife Handle uses, but since the issue only appeared after replacing pl08_000.bin and pl08_001.tpl I can only assume that it's 001tpl. residentevilmodding.boards.net/thread/7523/re4-uhd-ultimate-item-list012bin-???tpl --- knife handle when it's on Leon's chest Also, I have no idea which texture it's supposed to be using. Does anyone have any idea of what could be causing this ?
|
|
✫Advanced Coder✫
gridning hard working on a fan game - Resident Evil Remix
Posts: 2,995
|
Post by Mr.Curious on May 12, 2023 4:08:43 GMT 10
What you are experiencing is a Shared TPL issue. You will need to include the original material for that knife holder model into the MTL for your pl00_000.BIN The problem with trying to find the original material with the latest BIN Tool is that it doesn't output the correct textures in the MTL file. The only way to do this correctly is to use the old BIN Tool. For the time being, I have made a zip file with all the extracted BIN, TPL and MTL files from pl08 (extracted with the correct textures in the MTL). Also included in that zip is the old bin tool. Also, I have added a link to this zip file in that BIN list post for future reference. In this case, we see that the knife holder is model pl00_006.BIN (not sure if it's the same for pl00). If you look at the BIN_Extract.bat you will find your TPL: RE4_UHD_BIN_Extractor.exe pl08_006.BIN pl08_001.TPL -o So to include all the original materials and their textures in your new model, simply copy all of the contents of pl08_000.mtl into your MTL. If you want to use that one entry only , it is newmtl material_3 Ka 1.000000 1.000000 1.000000 Kd 0.800000 0.800000 0.800000 Ks 0.000000 0.000000 0.000000 Ke 0.000000 0.000000 0.000000 Ns 0.000000 map_Kd 0003.dds map_Ks 0004.tga map_Bump 0004.tga
(I know this because I looked at the textures and saw what looked like the knife holder) I hope this helps!
|
|
|
Post by leflashkoska on May 12, 2023 6:10:48 GMT 10
Thank you so much ! Just tested by adding this to the MTL file : newmtl material_3
Ka 1.000000 1.000000 1.000000
Kd 0.800000 0.800000 0.800000
Ks 0.000000 0.000000 0.000000
Ke 0.000000 0.000000 0.000000
Ns 0.000000
map_Kd 0003.dds
map_Ks 0004.tga
map_Bump 0004.tgaFor some reason, it made the hoodie glossy ? So I went back in Blender, I already had the Material " 0003" with " 0003.dds" as the texture. Renamed the Material " material_3" and added " map_Ks 0004.tga / map_Bump 0004.tga" at the end. Now the knife has no texture ? imgur.com/a/QgH6n5YI made sure that 0003.dds was the right texture in 01000008 and I also made sure that there was no error in the CMD Prompt when repacking. Then I tried removing " map_Ks 0004.tga / map_Bump 0004.tga" leaving only : newmtl material_3
Ka 1.000000 1.000000 1.000000
Kd 0.800000 0.800000 0.800000
Ks 0.000000 0.000000 0.000000
Ke 0.000000 0.000000 0.000000
Ns 0.000000
map_Kd 0003.dds
Now it's the same result has the first picture I posted. Any clues on where I could be making a mistake ? Here is my MTL file with the white/no texture : newmtl 0000.dds Ns 250.000000 Ka 1.000000 1.000000 1.000000 Ks 0.500000 0.500000 0.500000 Ke 0.000000 0.000000 0.000000 Ni 1.450000 d 1.000000 illum 2 map_Kd 0000.dds
newmtl 0001.dds Ns 250.000000 Ka 1.000000 1.000000 1.000000 Ks 0.500000 0.500000 0.500000 Ke 0.000000 0.000000 0.000000 Ni 1.450000 d 1.000000 illum 2 map_Kd 0001.dds
newmtl material_3 Ka 1.000000 1.000000 1.000000 Kd 0.800000 0.800000 0.800000 Ks 0.000000 0.000000 0.000000 Ke 0.000000 0.000000 0.000000 Ns 0.000000 map_Kd 0003.dds map_Ks 0004.tga
map_Bump 0004.tga
newmtl 0005.dds Ns 250.000000 Ka 1.000000 1.000000 1.000000 Ks 0.500000 0.500000 0.500000 Ke 0.000000 0.000000 0.000000 Ni 1.450000 d 1.000000 illum 2 map_Kd 0005.dds
newmtl 0006.dds Ns 250.000000 Ka 1.000000 1.000000 1.000000 Ks 0.500000 0.500000 0.500000 Ke 0.000000 0.000000 0.000000 Ni 1.450000 d 1.000000 illum 2 map_Kd 0006.dds
newmtl 0008.dds Ns 250.000000 Ka 1.000000 1.000000 1.000000 Ks 0.500000 0.500000 0.500000 Ke 0.000000 0.000000 0.000000 Ni 1.450000 d 1.000000 illum 2 map_Kd 0008.dds
newmtl 0030.dds Ns 250.000000 Ka 1.000000 1.000000 1.000000 Ks 0.500000 0.500000 0.500000 Ke 0.000000 0.000000 0.000000 Ni 1.450000 d 1.000000 illum 2 map_Kd 0030.dds
|
|
|
Post by leflashkoska on May 12, 2023 6:20:39 GMT 10
Ok... no idea why but copying all the contents from pl08_000.mtl in the MTL fixed it. Thank you! imgur.com/a/b2N3oEOModding Re4 has been a real test of my patience but it is so worth it.
|
|