Altar.NET
Altar.NET copied to clipboard
GameMaker: Studio data.win unpacker (mainly for Undertale) - NOTE: THIS IS A MIRROR OF THE GITLAB REPO.
Upon trying to decompile the rooms, I get thrown this error: System.IndexOutOfRangeException: Index was outside the bounds of the array. at Altar.Unpack.Serialize.SerializeRoomTile(RoomTile tile, BackgroundInfo[] bgs) at Altar.Unpack.Serialize.c__DisplayClass30_0.b__3(RoomTile t) at Altar.Unpack.Serialize.SerializeArray[T,TRet](IEnumerable`1...
I'm trying to extract the sprite definitions for [deltarune](https://www.deltarune.com/), and it stops at 106/1015 sprites with an unhandled OutOfMemoryException. Here's the full log: ```C:\Users\Marius\Documents\deltarune\Altar.NET\Altar.NET\bin\Debug>altar.exe export -s --file data.win --out out...
Will take some effort to translate the bytecode/assembly-like instructions in a high(er)-level language, but it will probably make recompiling harder.
See all the '_pad*' fields in [PackedStructs.cs](https://github.com/PoroCYon/Altar.NET/blob/master/Altar.NET/PackedStructs.cs) (those which aren't marked as 'unimportant' or with their constant value).