czastack / RszTool

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

natives\x64\objectroot\scene\location\rpd\level_100\environments\st4_313_0\gimmick.scn.19 only works on GUI #16

Closed Namsku closed 1 month ago

Namsku commented 2 months ago

My code

    public ScnFile ReadScnFile(string path)
    {
        RszFileOption option = new(GameName.re2);
        FileHandler fileHandler = new FileHandler(path);

        ScnFile scnFile = new(option, fileHandler);
        scnFile.Read();

        return scnFile;
    }

   Will crash at

               scnFile.Read();
image

gimmick.scn.zip

Malformed SCN file ?

Namsku commented 2 months ago

For the context

image

Same file in the GUI is working, so i'm confused

czastack commented 2 months ago

@Namsku I can not recurrence the issue with your gimmick.scn.zip. I see path in the first image is st317_0, the second is st4_313_0.

Namsku commented 1 month ago

My bad, I will retry tonight, maybe it's on my side. If it's a mistake that i have done, i'll close the ticket. I'll keep you in touch

Namsku commented 1 month ago

it was definitely an error on my side