Open megatails opened 8 months ago
scn files in 'natives/x64/scene/players' won't open with an error.
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.
attaching an txt file of error message for pl0000, pl0100, pl0200, pl0800 and pl0000_c00.
also a picture of pl0800's error message.
pl0000.txt
pl0000_c00.txt
pl0100.txt
pl0200.txt
pl0800.txt
edit: using 0.1.9 net8 version for now.
@Gael1125 Int2, Int3, Int4 is not support yet, will fixed next version.
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.
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.
at RszTool.App.Common.AppUtils.TryAction(Action action, String name)
@Gael1125 Can you send the file to me for test?
Test.zip here.
contained scn files of 'natives/x64/scene/players' and the tool itself with rszdmc5.json which what i have used.
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.
Sound strange, maybe I will test cloud drive in free time.
DMC5 files just don't open