Press 'Import' and select the 'undertaleengine.yyz' file. Once opened, you should be on the home screen. Once this is downloaded, open your copy of Game Maker Studio 2.x. Here is an example ripped from Undertale: 0075c36c Self.myinteract 3s 0075c378 Global.msc 0s 0075c384 Global.typer 5s 0075c390. Make sure that you own Game Maker Studio 2.x, and make sure that it is installed.
#Game maker studio decompiler undertale how to#
It's not as good as Mirrawrs' yet, but if you squint and have some programming experience, you can follow what's going on in the resulting code. Can someone teach me how to decompile Game Maker Studio files or just send me a download of Undertale decompiled I want to create a W.D. Note that the Type of the reference can change between different instances of said reference for instance in one case an array item can be accessed, while in case the same array is accessed as a whole.įunctions don't have a Type, only the offset to the next occurrence.Įach instruction is composed of one or more 32-bit blocks. Lua Decompiler for lua 5.1, 5.2 and 5.3. Howdy I'm slowly but surely writing a Game Maker Studio decompiler. In the second block of the instruction, there is the offset (calculated in blocks, not bytes) to the This decompilation contains what appears to be all of the game's assets, including its images, scripts.
#Game maker studio decompiler undertale code#
One additional value, representing the instance, will be popped from the stack.Įach ReferenceDefinition has a pointer to memory address of the first instruction that accesses it. The decompiled source code for the popular video game Undertale has been posted to GitHub. When Pop's or Push's InstanceType is InstanceType.StackTopOrGlobal, if Type is VariableType.StackTop then When an array is pushed and the Dup instruction occurs, the index is also duplicated. When parsing a Variable, if the Type is VariableType.Array: the index is at the stack top and has to be popped, and is followed by the Int16 -5, which also has to be popped. The harder cases is when you take code and compile it all the way. Data is pushed and popped from the stack. Game Maker Studio 2 Decompiler Working 2018.