czastack / RszTool

RszTool is a tool that edit and create resource file for RE ENGINE game. Currently support .user, .pfb and .scn files.
16 stars 5 forks source link

ToWrite() is not saving Prefab folder on Scn file #23

Open Namsku opened 1 week ago

Namsku commented 1 week ago

Hello,

First of all, thank you very much for your lib, i'm using it almost every day since the past few months for my randomizer project. I discovered today an interesting bug in RszTool

If you read a vanilla file, you see the Prefab Folder is here

image

If you save the ScnFile with ToWrite() like you do as usual and re read the new scnfile

you can see it's removing somehow the Prefab file for some reasons i can't explain

image

For my tests i used this file

natives\x64\objectroot\scene\scenario\scenariono\rpd\enemy\s02_0000.scn.19 s02_0000.scn.zip

RE2 Non RT version

Kind Regards,