Game Maker's Garage Forum

Game Creation => Code Exchange => Topic started by: GMG Kurt on February 28, 2012, 07:51:26 PM

Title: Decompilers/modding
Post by: GMG Kurt on February 28, 2012, 07:51:26 PM
So I was just wondering how decompilers worked, generally and especially C++

most of the link I found on google about C++ compilers were followed by negative comments about throwing away data or something of that nature.

http://stackoverflow.com/questions/205059/is-there-a-c-decompiler

Thats pretty much a summary of everything I found
any good decompilers you know of? or information on the subject? I want this knowledge mostly for modding games, or applications
Title: Re: Decompilers/modding
Post by: Gan on February 28, 2012, 08:45:28 PM
Sometimes decompiling a program doesn't produce much comprehendable code.
Title: Re: Decompilers/modding
Post by: Connors on February 28, 2012, 09:31:09 PM
I'm guessing it will almost never have the original formatting, or variable/function names, hence there's a lot of guesswork.(is that what you mean Gan?)

Also, can you usually re-compile a program and run it the same or can there be problems?

PS: I hear Mojang is teaming up officially with the Bukkit team and they are releasing an official modding API so if I can learn enough Java this year I'm going to have to try it.
Title: Re: Decompilers/modding
Post by: GMG Kurt on February 29, 2012, 03:27:04 PM
Yeah I wan't to mod games so bad. I don't know java, but I'm good at C++ so I want to mod some random C++ game, and then u gave me cavestory soooo. :p
Title: Re: Decompilers/modding
Post by: Connors on March 01, 2012, 10:15:52 AM
Cave Story? Now that I think about it there's got to be some information from people who already modded it. I bet that would be an interesting project.
Title: Re: Decompilers/modding
Post by: Zoo on March 01, 2012, 06:29:14 PM
Modded cavestory? How does that work? Make Santa actually look like Santa?
Title: Re: Decompilers/modding
Post by: Gan on March 01, 2012, 08:50:08 PM
I started playing Cave Story. Got all the way to the rolling tank-like boss.
Attempted to beat him 3 times.

Gave up. Probably not gonna try again.
Title: Re: Decompilers/modding
Post by: Connors on March 01, 2012, 09:00:28 PM
Yeah that one was hard but I got him. Sometimes when I put that game down for a few days and get back to it I can play it better.
Also I usually stand right under it with the Bubbler. Or the Blades. They block a lot of the bullets. The bubbler at level three is great for a shield near the end.
Wait, we were talking about modding? I should look later, I bet people have made custom levels or something.
Title: Re: Decompilers/modding
Post by: davidlocks on September 22, 2018, 02:58:29 AM
[Deleted Spam]
Title: Re: Decompilers/modding
Post by: Connors on October 05, 2018, 01:55:08 AM
Nice necro. Also, yeah, people have done Cave Story mods where they worked with assembly and re-wrote boss battles and all sorts of things. It's a popular game to mod because of the great tools for it, like Cave Editor which doesn't even require programming skills.
Title: Re: Decompilers/modding
Post by: Gan on October 31, 2018, 09:02:07 AM
That is cool. I've been meaning to play Cave Story. I love modding games, just fooling around.