OpenGMK / GM8Decompiler

A decompiler for GameMaker 8.x executables
GNU General Public License v2.0
128 stars 11 forks source link

First try at using this #10

Closed vanfanel closed 3 years ago

vanfanel commented 3 years ago

Hi,

First of all, thanks for this tool! I can appreciate the work put into this. I am trying to use it for the first time (no instructions on the README), so after building the project with

cargo build

I tried to decompile a GM project with these results:

manuel@hp15db0:~/Downloads/maldita$ gm8decompiler maldita_castilla_arcade_cabinet.exe 
GM8Decompiler v2.0.6 for x86_64-unknown-linux-gnu - built on 2020/12/11, #16c5534
Input file: maldita_castilla_arcade_cabinet.exe
WARNING: Failed to recover an icon: id 1, rva 0x55B9A8
Error parsing gamedata:
Reader error: io error: failed to fill whole buffer

manuel@hp15db0:~/Downloads/maldita$ file data.win 
data.win: IFF data

Maybe data.win should have another name? Is this compatible with Windows executables only?

0x08088405 commented 3 years ago

Games with "data.win" files are made with GameMaker:Studio, which is a full redesign of the entire GameMaker engine, not GM8. This tool is not for decompiling studio games as the format is completely different. GM8 only supported the Windows target with bundled data (further elaborated on in the README), therefore the input must be an EXE.

For unpacking GM:S games, I recommend https://gitlab.com/PoroCYon/Altar.NET

0x08088405 commented 3 years ago

Alright then.

vanfanel commented 3 years ago

@notviri Thanks for your response! I have just seen it, sorry.