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

The Bug about Extract Texture in Rabbit Knight: Reading Chunk OJBT #984

Closed
him7778 opened this issue Jun 16, 2022 · 6 comments
Closed

The Bug about Extract Texture in Rabbit Knight: Reading Chunk OJBT #984

him7778 opened this issue Jun 16, 2022 · 6 comments
Labels
bug Something isn't working

Comments

@him7778
Copy link

him7778 commented Jun 16, 2022

Describe the bug

When I want to extract the files of this game, I stay at this interface and can only use the task manager to exit.

How can I change this situation?(The game was released on June 12)

Reproducing steps

Snipaste_2022-06-16_19-14-06

Setup Details

Undertalemodtool v:3c421d1(master)

@him7778 him7778 added the bug Something isn't working label Jun 16, 2022
@Miepee
Copy link
Contributor

Miepee commented Jun 16, 2022

Link to game: https://m36games.itch.io/rabbit-knight

@him7778
Copy link
Author

him7778 commented Jun 16, 2022

游戏链接:https ://m36games.itch.io/rabbit-knight

I downloaded it from that website, but it looks like this when I open it with the latest version of UndertaleModTool, and It can't load the material.

@him7778 him7778 changed the title Rabbit Knight Bug Reading Chunk OJBT The Bug about Reading Chunk OJBT Jun 16, 2022
@Miepee
Copy link
Contributor

Miepee commented Jun 16, 2022

Can you please re-add the game name to the issue title (and issue description)?

@him7778
Copy link
Author

him7778 commented Jun 16, 2022

Can you please re-add the game name to the issue title (and issue description)?

Okey

@him7778 him7778 changed the title The Bug about Reading Chunk OJBT The Bug about Rabbit Knight: Reading Chunk OJBT Jun 16, 2022
@him7778 him7778 changed the title The Bug about Rabbit Knight: Reading Chunk OJBT The Bug about Extract Texture in Rabbit Knight: Reading Chunk OJBT Jun 16, 2022
@Miepee
Copy link
Contributor

Miepee commented Jun 16, 2022

The endless loop seems to be because it's throwing an exception, and for some reason the new messagebox doesn't appear.
The actual error is. Which sounds like a duplicate of #945

UndertaleModLib.UndertaleSerializationException: Invalid value for resource ID (UndertaleChunkSPRT): -100
at 0008D4A8 while reading object UndertaleModLib.UndertaleResourceById`2[[UndertaleModLib.Models.UndertaleSprite, UndertaleModLib, Version=0.4.0.4, Culture=neutral, PublicKeyToken=null],[UndertaleModLib.UndertaleChunkSPRT, UndertaleModLib, Version=0.4.0.4, Culture=neutral, PublicKeyToken=null]]
at 0008D4A8 while reading object UndertaleModLib.Models.UndertaleGameObject
while reading item 1 of 115 in a list of UndertaleModLib.Models.UndertaleGameObject in chunk OBJT
 ---> UndertaleModLib.UndertaleSerializationException: Invalid value for resource ID (UndertaleChunkSPRT): -100
at 0008D4A8 while reading object UndertaleModLib.UndertaleResourceById`2[[UndertaleModLib.Models.UndertaleSprite, UndertaleModLib, Version=0.4.0.4, Culture=neutral, PublicKeyToken=null],[UndertaleModLib.UndertaleChunkSPRT, UndertaleModLib, Version=0.4.0.4, Culture=neutral, PublicKeyToken=null]]
at 0008D4A8 while reading object UndertaleModLib.Models.UndertaleGameObject
while reading item 1 of 115 in a list of UndertaleModLib.Models.UndertaleGameObject
 ---> UndertaleModLib.UndertaleSerializationException: Invalid value for resource ID (UndertaleChunkSPRT): -100
at 0008D4A8 while reading object UndertaleModLib.UndertaleResourceById`2[[UndertaleModLib.Models.UndertaleSprite, UndertaleModLib, Version=0.4.0.4, Culture=neutral, PublicKeyToken=null],[UndertaleModLib.UndertaleChunkSPRT, UndertaleModLib, Version=0.4.0.4, Culture=neutral, PublicKeyToken=null]]
at 0008D4A8 while reading object UndertaleModLib.Models.UndertaleGameObject
 ---> UndertaleModLib.UndertaleSerializationException: Invalid value for resource ID (UndertaleChunkSPRT): -100
at 0008D4A8 while reading object UndertaleModLib.UndertaleResourceById`2[[UndertaleModLib.Models.UndertaleSprite, UndertaleModLib, Version=0.4.0.4, Culture=neutral, PublicKeyToken=null],[UndertaleModLib.UndertaleChunkSPRT, UndertaleModLib, Version=0.4.0.4, Culture=neutral, PublicKeyToken=null]]
 ---> System.IO.IOException: Invalid value for resource ID (UndertaleChunkSPRT): -100
   at UndertaleModLib.UndertaleResourceById`2.UnserializeById(UndertaleReader reader, Int32 id) in C:\Users\narr\gitrepos\UndertaleModTool\UndertaleModLib\UndertaleIO.cs:line 88
   at UndertaleModLib.UndertaleResourceById`2.Unserialize(UndertaleReader reader) in C:\Users\narr\gitrepos\UndertaleModTool\UndertaleModLib\UndertaleIO.cs:line 139
   at UndertaleModLib.UndertaleReader.ReadUndertaleObject[T](T obj) in C:\Users\narr\gitrepos\UndertaleModTool\UndertaleModLib\UndertaleIO.cs:line 287
   --- End of inner exception stack trace ---
   at UndertaleModLib.UndertaleReader.ReadUndertaleObject[T](T obj) in C:\Users\narr\gitrepos\UndertaleModTool\UndertaleModLib\UndertaleIO.cs:line 291
   at UndertaleModLib.UndertaleReader.ReadUndertaleObject[T]() in C:\Users\narr\gitrepos\UndertaleModTool\UndertaleModLib\UndertaleIO.cs:line 336
   at UndertaleModLib.Models.UndertaleGameObject.Unserialize(UndertaleReader reader) in C:\Users\narr\gitrepos\UndertaleModTool\UndertaleModLib\Models\UndertaleGameObject.cs:line 222
   at UndertaleModLib.UndertaleReader.ReadUndertaleObject[T](T obj) in C:\Users\narr\gitrepos\UndertaleModTool\UndertaleModLib\UndertaleIO.cs:line 287
   --- End of inner exception stack trace ---
   at UndertaleModLib.UndertaleReader.ReadUndertaleObject[T](T obj) in C:\Users\narr\gitrepos\UndertaleModTool\UndertaleModLib\UndertaleIO.cs:line 291
   at UndertaleModLib.UndertalePointerList`1.Unserialize(UndertaleReader reader) in C:\Users\narr\gitrepos\UndertaleModTool\UndertaleModLib\UndertaleLists.cs:line 205
   --- End of inner exception stack trace ---
   at UndertaleModLib.UndertalePointerList`1.Unserialize(UndertaleReader reader) in C:\Users\narr\gitrepos\UndertaleModTool\UndertaleModLib\UndertaleLists.cs:line 211
   at UndertaleModLib.UndertaleListChunk`1.UnserializeChunk(UndertaleReader reader) in C:\Users\narr\gitrepos\UndertaleModTool\UndertaleModLib\UndertaleChunkTypes.cs:line 179
   at UndertaleModLib.UndertaleChunk.Unserialize(UndertaleReader reader) in C:\Users\narr\gitrepos\UndertaleModTool\UndertaleModLib\UndertaleChunkTypes.cs:line 87
   --- End of inner exception stack trace ---
   at UndertaleModLib.UndertaleChunk.Unserialize(UndertaleReader reader) in C:\Users\narr\gitrepos\UndertaleModTool\UndertaleModLib\UndertaleChunkTypes.cs:line 120
   at UndertaleModLib.UndertaleReader.ReadUndertaleChunk() in C:\Users\narr\gitrepos\UndertaleModTool\UndertaleModLib\UndertaleIO.cs:line 189
   at UndertaleModLib.UndertaleChunkFORM.UnserializeChunk(UndertaleReader reader) in C:\Users\narr\gitrepos\UndertaleModTool\UndertaleModLib\UndertaleChunks.cs:line 88
   at UndertaleModLib.UndertaleReader.ReadUndertaleData() in C:\Users\narr\gitrepos\UndertaleModTool\UndertaleModLib\UndertaleIO.cs:line 211
   at UndertaleModLib.UndertaleIO.Read(Stream stream, WarningHandlerDelegate warningHandler, MessageHandlerDelegate messageHandler) in C:\Users\narr\gitrepos\UndertaleModTool\UndertaleModLib\UndertaleIO.cs:line 653
   at UndertaleModTool.MainWindow.<>c__DisplayClass180_0.<LoadFile>b__1() in C:\Users\narr\gitrepos\UndertaleModTool\UndertaleModTool\MainWindow.xaml.cs:line 924

@Miepee
Copy link
Contributor

Miepee commented Jun 20, 2022

Now that the aforementioned PR is merged, this is a duplicate of #945

@Grossley Grossley closed this as not planned Won't fix, can't repro, duplicate, stale Jun 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants