|
Post by wishywashy on Feb 10, 2022 7:43:42 GMT 10
Hello modders and fellow enthusiasts!
I am running into an issue where the game crashes as soon as Leon (pl08) is hit by any kind of explosion. Has anyone encountered this issue? I'm suspicious that it has something to do with a shared texture or something that I missed but I can't find it for the life of me.
So far, if you care to doublecheck my steps along the way, I have; - extracted pl08.udas.lfs/ 01000008.pack.yz2.lfs - extracted pl08.udas/ 01000008.pack.yz2 into more accessible folders - extracted pl08_000.bin, pl08_006, pl08_009, and pl08_012 because they all appear to have the same .tpl file - made my model using Blender 2.92, I textured it with DTX5 .dds images and scaled the model according to the pl08_000.smd - exported the model into both .smd and .obj formats, .smd for rigging and .obj for it's associated .mtl file - rigged the new .smd file using Rig-O-Matic - copied all of the information from each .mtl file to combine into one complete .mtl file - reassembled a .bin file with my newly rigged .smd as well as pl08_006, pl08_009, pl08_012, and the master .mtl file - inserted the new files into the pl08 folder and renamed them to fit back into their counterparts spaces - inserted the new .dds images into the 01000008 folder with increasing indices according to the .tcs file - recompiled the pl08.udas file - recompiled the 01000008.pack file - reinserted them into the appropriate BIO4 folders
The game boots up fine and I can see all of my textures and models playing along nicely. I had an issue where the game would crash if I pulled out the knife but I managed to fix that bug by including the pl08_009 textures into the new .mtl file
|
|
|
Post by wishywashy on Feb 10, 2022 8:45:44 GMT 10
I see that if I switch to eggs or grenades the game crashes as well! It leads me to believe that perhaps my issue is linked to the pesky hand models!
|
|
✫Advanced Coder✫
gridning hard working on a fan game - Resident Evil Remix
Posts: 2,991
|
Post by Mr.Curious on Feb 10, 2022 13:28:02 GMT 10
Great post, thanks for all the detailed info. It appears you have done everything right, but with those shared TPL files you never know!
So the game works ok so long as you don't - use eggs or grenades, or get hit with explosion?
|
|
|
Post by wishywashy on Feb 10, 2022 18:58:23 GMT 10
That is accurate. It also breaks if you get thrown onto the ground. He is a very delicate flower.
|
|
✫Advanced Coder✫
gridning hard working on a fan game - Resident Evil Remix
Posts: 2,991
|
Post by Mr.Curious on Feb 10, 2022 19:17:50 GMT 10
This seems quite odd. Lets go over a few things here. What do you mean when you say:
" - inserted the new files into the pl08 folder and renamed them to fit back into their counterparts spaces" ?
Also can you copy / paste your IDX here for pl08.udas?
Thanks
|
|
|
Post by wishywashy on Feb 11, 2022 6:06:04 GMT 10
The rigging process generates files with new names in this case it goes from 'MegaMan.smd' to 'MegaMan_rigged.smd'
and then during the .BIN repacking process, the BIN_Repack.bat reads: RE4UHD_BIN_Tool_2018.exe -p MegaMan_Rigged.smd MegaMan.mtl 01000008
That process spits out MegaMan_Rigged.BIN, MegaMan_Rigged.TCS, and MegaMan_Rigged.TPL
The MegaMan_Rigged.BIN and MegaMan_Rigged.TPL go into the UDAS folder and get renamed back to pl08_000.BIN and pl08_001.TPL respectively
To backtrack a little, when I repack the .BIN I add the other .SMD files that are part of the shared .TPL file to update their material indices and that looks like RE4UHD_BIN_Tool_2018.exe -p MegaMan_Rigged.smd MegaMan.mtl 01000008
RE4UHD_BIN_Tool_2018.exe -p pl08_006.smd MegaMan.mtl 01000008
RE4UHD_BIN_Tool_2018.exe -p pl08_009.smd MegaMan.mtl 01000008
RE4UHD_BIN_Tool_2018.exe -p pl08_012.smd MegaMan.mtl 01000008
Then I take the newly compiled .BIN files and place them into the pl08 folder where they overwrite the old pl08_xxx.BIN files
|
|
|
Post by wishywashy on Feb 11, 2022 6:31:51 GMT 10
FileCount = 134
SoundFlag = 4
File_0 = pl08\pl08_000.BIN
File_1 = pl08\pl08_001.TPL
File_2 = pl08\pl08_002.BIN
File_3 = pl08\pl08_003.TPL
File_4 = pl08\pl08_004.BIN
File_5 = pl08\pl08_005.BIN
File_6 = pl08\pl08_006.BIN
File_7 = pl08\pl08_007.BIN
File_8 = pl08\pl08_008.BIN
File_9 = pl08\pl08_009.BIN
File_10 = pl08\pl08_010.BIN
File_11 = pl08\pl08_011.TPL
File_12 = pl08\pl08_012.BIN
File_13 = pl08\pl08_013.TPL
File_14 = pl08\pl08_014.BIN
File_15 = pl08\pl08_015.BIN
File_16 = pl08\pl08_016.BIN
File_17 = pl08\pl08_017.BIN
File_18 = pl08\pl08_018.BIN
File_19 = pl08\pl08_019.BIN
File_20 = pl08\pl08_020.BIN
File_21 = pl08\pl08_021.BIN
File_22 = pl08\pl08_022.EFF
File_23 = pl08\pl08_023.FCV
File_24 = pl08\pl08_024.FCV
File_25 = pl08\pl08_025.FCV
File_26 = pl08\pl08_026.FCV
File_27 = pl08\pl08_027.FCV
File_28 = pl08\pl08_028.FCV
File_29 = pl08\pl08_029.FCV
File_30 = pl08\pl08_030.FCV
File_31 = pl08\pl08_031.FCV
File_32 = pl08\pl08_032.SEQ
File_33 = pl08\pl08_033.FCV
File_34 = pl08\pl08_034.DMY
File_35 = pl08\pl08_035.FCV
File_36 = pl08\pl08_036.FCV
File_37 = pl08\pl08_037.FCV
File_38 = pl08\pl08_038.FCV
File_39 = pl08\pl08_039.FCV
File_40 = pl08\pl08_040.FCV
File_41 = pl08\pl08_041.FCV
File_42 = pl08\pl08_042.SEQ
File_43 = pl08\pl08_043.FCV
File_44 = pl08\pl08_044.SEQ
File_45 = pl08\pl08_045.FCV
File_46 = pl08\pl08_046.FCV
File_47 = pl08\pl08_047.SEQ
File_48 = pl08\pl08_048.FCV
File_49 = pl08\pl08_049.SEQ
File_50 = pl08\pl08_050.FCV
File_51 = pl08\pl08_051.SEQ
File_52 = pl08\pl08_052.FCV
File_53 = pl08\pl08_053.SEQ
File_54 = pl08\pl08_054.FCV
File_55 = pl08\pl08_055.SEQ
File_56 = pl08\pl08_056.FCV
File_57 = pl08\pl08_057.SEQ
File_58 = pl08\pl08_058.FCV
File_59 = pl08\pl08_059.SEQ
File_60 = pl08\pl08_060.FCV
File_61 = pl08\pl08_061.FCV
File_62 = pl08\pl08_062.FCV
File_63 = pl08\pl08_063.FCV
File_64 = pl08\pl08_064.FCV
File_65 = pl08\pl08_065.FCV
File_66 = pl08\pl08_066.FCV
File_67 = pl08\pl08_067.SEQ
File_68 = pl08\pl08_068.FCV
File_69 = pl08\pl08_069.FCV
File_70 = pl08\pl08_070.FCV
File_71 = pl08\pl08_071.FCV
File_72 = pl08\pl08_072.FCV
File_73 = pl08\pl08_073.SEQ
File_74 = pl08\pl08_074.FCV
File_75 = pl08\pl08_075.FCV
File_76 = pl08\pl08_076.SEQ
File_77 = pl08\pl08_077.FCV
File_78 = pl08\pl08_078.FCV
File_79 = pl08\pl08_079.FCV
File_80 = pl08\pl08_080.SEQ
File_81 = pl08\pl08_081.FCV
File_82 = pl08\pl08_082.SEQ
File_83 = pl08\pl08_083.FCV
File_84 = pl08\pl08_084.SEQ
File_85 = pl08\pl08_085.FCV
File_86 = pl08\pl08_086.FCV
File_87 = pl08\pl08_087.FCV
File_88 = pl08\pl08_088.FCV
File_89 = pl08\pl08_089.FCV
File_90 = pl08\pl08_090.FCV
File_91 = pl08\pl08_091.FCV
File_92 = pl08\pl08_092.SEQ
File_93 = pl08\pl08_093.SEQ
File_94 = pl08\pl08_094.FCV
File_95 = pl08\pl08_095.FCV
File_96 = pl08\pl08_096.SEQ
File_97 = pl08\pl08_097.SEQ
File_98 = pl08\pl08_098.SEQ
File_99 = pl08\pl08_099.SEQ
File_100 = pl08\pl08_100.FCV
File_101 = pl08\pl08_101.FCV
File_102 = pl08\pl08_102.BIN
File_103 = pl08\pl08_103.TPL
File_104 = pl08\pl08_104.DMY
File_105 = pl08\pl08_105.TPL
File_106 = pl08\pl08_106.DMY
File_107 = pl08\pl08_107.TPL
File_108 = pl08\pl08_108.BIN
File_109 = pl08\pl08_109.TPL
File_110 = pl08\pl08_110.BIN
File_111 = pl08\pl08_111.TPL
File_112 = pl08\pl08_112.FCV
File_113 = pl08\pl08_113.TPL
File_114 = pl08\pl08_114.BIN
File_115 = pl08\pl08_115.BIN
File_116 = pl08\pl08_116.TPL
File_117 = pl08\pl08_117.FCV
File_118 = pl08\pl08_118.BIN
File_119 = pl08\pl08_119.TPL
File_120 = pl08\pl08_120.FCV
File_121 = pl08\pl08_121.BIN
File_122 = pl08\pl08_122.TPL
File_123 = pl08\pl08_123.TPL
File_124 = pl08\pl08_124.TPL
File_125 = pl08\pl08_125.FCV
File_126 = pl08\pl08_126.FCV
File_127 = pl08\pl08_127.FCV
File_128 = pl08\pl08_128.FCV
File_129 = pl08\pl08_129.FCV
File_130 = pl08\pl08_130.FCV
File_131 = pl08\pl08_131.FCV
File_132 = pl08\pl08_132.SEQ
File_133 = pl08\pl08_133.SND
|
|
✫Advanced Coder✫
gridning hard working on a fan game - Resident Evil Remix
Posts: 2,991
|
Post by Mr.Curious on Feb 11, 2022 6:53:34 GMT 10
Try this. Put back all the original BIN models except the newly generated 000.BIN and 001.TPL. When editing only these models there is no need to update the other BIN files that share the TPL. Only the TPL needs to be updated.
|
|
|
Post by wishywashy on Feb 11, 2022 17:53:39 GMT 10
Good news! I found my problem. It was something to do with overlapping geometry in my models mesh. I knew that I was pushing my limit with the vertex count so I went ahead and stripped the model way back for the sake of rigging. That seems to have done the trick.
Along the way I discovered that Blender creates it's own seam lines to apply textures which I didn't notice because MegaMan is comprised of solid colors. I'm not sure if that is a real issue but it seems like applying a full size texture to 17000 individual faces might be problematic.
Thank you for the suggestion about the TPL and BIN files. I have been struggling to wrap my head around the shared TPLs but I think you helped me clear it up.
Thanks for your help and thank you so much for the incredible tutorials! Bang up job for the ridiculous amounts of information packed into the guts of RE4! I appreciate all the trouble and effort you must have gone through to compile such comprehensive documents.
|
|
✫Advanced Coder✫
gridning hard working on a fan game - Resident Evil Remix
Posts: 2,991
|
Post by Mr.Curious on Feb 11, 2022 19:27:29 GMT 10
wow great news, and thank you so much for taking the time to share your info with us all. I am super stoked you figured it out! And you are welcome for all the info. Sometimes there arent enough people around to help, so I help when I can.
Peace brother.
|
|