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

DMC5 files incompatible #1

Open megatails opened 11 months ago

megatails commented 11 months ago

DMC5 files just don't open

czastack commented 11 months ago

Thank for your feedback. This issue fixed in v0.1.7.

Gael1125 commented 11 months ago

scn files in 'natives/x64/scene/players' won't open with an error.

pl0800 for an example:

Unexpected Error Occurred: TryOpenFile

The following exception occurred:

System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')

at System.Collections.Generic.List`1.get_Item(Int32 index)

at RszTool.RSZFile.InstanceUnflatten(RszInstance instance)

at RszTool.RSZFile.InstanceListUnflatten()

at RszTool.RSZFile.DoRead()

at RszTool.BaseRszFile.Read()

at RszTool.BaseRszFile.Read(Int64 start, Boolean jumpBack)

at RszTool.ScnFile.DoRead()

at RszTool.BaseRszFile.Read()

at RszTool.App.ViewModels.BaseRszFileViewModel.Read()

at RszTool.App.ViewModels.MainWindowModel.OpenFile(String path)

at RszTool.App.ViewModels.MainWindowModel.<>c__DisplayClass41_0.b__0()

at RszTool.App.Common.AppUtils.TryAction(Action action, String name)

OK

attaching an txt file of error message for pl0000, pl0100, pl0200, pl0800 and pl0000_c00.

also a picture of pl0800's error message. pl0800 pl0000.txt pl0000_c00.txt pl0100.txt pl0200.txt pl0800.txt

edit: using 0.1.9 net8 version for now.

czastack commented 11 months ago

@Gael1125 Int2, Int3, Int4 is not support yet, will fixed next version.

czastack commented 11 months ago

@Gael1125 Fixed in 0.2.0

Gael1125 commented 11 months ago

Looks like there is another error for pl0800.scn and its friends... 제목 없음 thanks always for making this tool by the way. it seems this is only for 'players' scn files, any other scn or pfb files are not causing this.


Unexpected Error Occurred: TryOpenFile

The following exception occurred:

System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')

at System.Collections.Generic.List`1.get_Item(Int32 index)

at RszTool.RSZFile.InstanceUnflatten(RszInstance instance)

at RszTool.RSZFile.InstanceListUnflatten()

at RszTool.RSZFile.DoRead()

at RszTool.BaseRszFile.Read()

at RszTool.BaseRszFile.Read(Int64 start, Boolean jumpBack)

at RszTool.ScnFile.DoRead()

at RszTool.BaseRszFile.Read()

at RszTool.App.ViewModels.BaseRszFileViewModel.Read()

at RszTool.App.ViewModels.MainWindowModel.OpenFile(String path)

at RszTool.App.ViewModels.MainWindowModel.<>c__DisplayClass41_0.b__0()

at RszTool.App.Common.AppUtils.TryAction(Action action, String name)

czastack commented 11 months ago

@Gael1125 Can you send the file to me for test?

Gael1125 commented 11 months ago

Test.zip here.

contained scn files of 'natives/x64/scene/players' and the tool itself with rszdmc5.json which what i have used.

Gael1125 commented 11 months ago

Wait, nevermind. looks like this was problem of my side after all. I was using cloud drive(google) for my dmc5 files, and this worked totally fine when i copied it to 'desktop' folder. 제목 없음

Edit: however it's strange that this is not a concern for other files what i've told.

czastack commented 11 months ago

Sound strange, maybe I will test cloud drive in free time.