Skip to content
This repository has been archived by the owner on Feb 15, 2021. It is now read-only.

OutOfMemoryException when exporting large amount of sprite definitions #10

Open
underscoren opened this issue Nov 6, 2018 · 0 comments

Comments

@underscoren
Copy link

I'm trying to extract the sprite definitions for deltarune, and it stops at 106/1015 sprites with an unhandled OutOfMemoryException.

Here's the full log:

Warning: unknown chunk LANG is not empty, its content will not be exported!
Warning: unknown chunk EXTN is not empty, its content will not be exported!
Warning: unknown chunk GLOB is not empty, its content will not be exported!
Warning: unknown chunk SHDR is not empty, its content will not be exported!
Warning: unknown chunk TMLN is not empty, its content will not be exported!
Warning: unknown chunk DAFL is not empty, its content will not be exported!
Warning: unknown chunk EMBI is not empty, its content will not be exported!
Error reading ROOM #88 - skipping others.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at Altar.Unpack.SectionReader.ReadRoomObjInst(GMFileContent content, IntPtr p) in C:\Users\Marius\Documents\deltarune\Altar.NET\Altar.NET\Unpack\SectionReader.cs:line 161
   at Altar.Unpack.SectionReader.ReadList[T](GMFileContent content, CountOffsetsPair* list, Func`3 readThing) in C:\Users\Marius\Documents\deltarune\Altar.NET\Altar.NET\Unpack\SectionReader.cs:line 75
   at Altar.Unpack.SectionReader.GetRoomInfo(GMFileContent content, UInt32 id) in C:\Users\Marius\Documents\deltarune\Altar.NET\Altar.NET\Unpack\SectionReader.cs:line 585
   at Altar.GMFile.<>c__DisplayClass89_0.<.ctor>b__6(UInt32 i) in C:\Users\Marius\Documents\deltarune\Altar.NET\Altar.NET\GMFile.cs:line 231
   at Altar.GMFile.TryReadMany[T](SectionCountOffsets* hdr, Func`2 readOne) in C:\Users\Marius\Documents\deltarune\Altar.NET\Altar.NET\GMFile.cs:line 181
Exporting sprites... (106/1015)An error occured during export

Unhandled Exception: OutOfMemoryException.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant