OpenGMK / GM8Decompiler

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

Parsing error: Invalid EXE header #27

Closed Moterius closed 11 months ago

Moterius commented 11 months ago

Context, I'm trying to look at the assets for The Void Rains Upon Her Heart.

Adamcake commented 11 months ago

Since this game is a paid download I can't verify for myself, but there are only two cases which would create an InvalidExeHeader error: the file you're trying to decompile either is not a valid .exe file, or is not i386 architecture.

(Relevant code: https://github.com/OpenGMK/OpenGMK/blob/ebaa4d125758f6f65ff0deebbd4ab3fd5e817314/gm8exe/src/reader.rs#L79-L91 )

I did some searching on this game to try to find out its engine. Steam's metadata lists the engine as just "GameMaker", but a fan wiki claims the engine is GameMaker Studio 2. This project only targets the classic GameMaker versions before Studio, so it sounds like you need to look for a GameMaker Studio 2 decompiler. I think UndertaleModTool would be your best shot. Best of luck.