OpenGMK / GM8Decompiler

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

GM8Decompiler crashes #22

Closed Mati3D closed 1 year ago

Mati3D commented 1 year ago

GM8Decompiler crashes everytime i press a key or drag a file into it

Adamcake commented 1 year ago

When you say it "crashes", what indicates that it has crashed? Is there an error message in the console, for example?

Mati3D commented 1 year ago

nope it just closes no error(s) nothing at all

Adamcake commented 1 year ago

You mean that it closes after you press a key after it says "press any key to continue"? If so, that is expected, it does that after telling you how to use the tool correctly. You use it by dragging a game onto decompiler.exe (the file, not the console window) and it'll produce a gmk if successful.

Mati3D commented 1 year ago

it closes if i press any key anytime it doesnt matter if it says "press any key to continue" or not it will still close i have alredy tried dragging the game into the console window and the same still happens

Adamcake commented 1 year ago

You don't need to do anything with a console window. If you drag the game onto decompiler.exe inside your file explorer, it'll try to decompile it. If it doesn't work then your game probably isn't made with GameMaker 8.

Adamcake commented 1 year ago

Also, running it via a console (decompiler.exe game_name_here.exe) instead of dragging the files onto each other would let you see the program's output - it's most likely not crashing but just exiting expectedly.

GDH4ne commented 1 year ago

where does being decompiled?

Anton2GB commented 1 year ago

The error is still not fixed. This problem is also observed in other fix shells programs for GameMaker. I think the Windows 10 update is to blame, something went wrong.

p0008874 commented 1 year ago

The error is still not fixed. This problem is also observed in other fix shells programs for GameMaker. I think the Windows 10 update is to blame, something went wrong.

Are you sure? I used GM8Decompiler from OpenGMK.

https://github.com/OpenGMK/GM8Decompiler/assets/75534590/5602d017-727d-49bd-8d84-da8079f9c88e

Anton2GB commented 1 year ago

The error is still not fixed. This problem is also observed in other fix shells programs for GameMaker. I think the Windows 10 update is to blame, something went wrong.

Are you sure? I used GM8Decompiler from OpenGMK.

HPRHhIcfXu.mp4

Thank you, friend. I started the decompiler, and tried to enter the path there or transfer it directly to the decompiler under the drag & drop tool - the decompiler closed itself, without a result. At the same time, without starting the decompiler with dragging the gm program, everything works. Solving the problem will be useful for those who have also encountered such a problem, and for the author of the comment thread. Thanks again, cured.

Adamcake commented 1 year ago

I'm glad you were able to solve your problem, but I'm going to close this issue because I don't think there's any more meaningful discussion to be had here. In 100% of recent cases the decompiler "crashing" was due to either being used incorrectly, or being used on a game that wasn't made with GameMaker 8. When the program ends, the console closes itself. This is intended behaviour of your OS. There's also no possible way a Windows update could cause any problems; this tool is cross-platform and doesn't need to use any Windows libraries to do its job of converting between two file formats.

If anyone is finding our tools hard to use then they're welcome to join the OpenGMK discord server, we have a community of people ready and willing to help. We would appreciate Github being used for technical issues only.