Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DMC5 files incompatible #1

Open
megatails opened this issue Dec 8, 2023 · 9 comments
Open

DMC5 files incompatible #1

megatails opened this issue Dec 8, 2023 · 9 comments

Comments

@megatails
Copy link

DMC5 files just don't open

@czastack
Copy link
Owner

czastack commented Dec 9, 2023

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

@Gael1125
Copy link

Gael1125 commented Dec 11, 2023

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
Copy link
Owner

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

@czastack
Copy link
Owner

@Gael1125 Fixed in 0.2.0

@Gael1125
Copy link

Gael1125 commented Dec 12, 2023

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
Copy link
Owner

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

@Gael1125
Copy link

Test.zip
here.

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

@Gael1125
Copy link

Gael1125 commented Dec 12, 2023

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants