Omnimaga
General Discussion => Technology and Development => Computer Programming => Topic started by: Sorunome on November 27, 2012, 07:53:54 pm
-
First, i hope this is the right section to post :P
Ok, so, I want to decompile a exe patch for a game, or look into all the files stored in it or something like that.
The game is trackmania :P
And i wanne do that because i wanne patch it in a very similar way that existing patch already does.
The exe talked about can be downloaded here (to big to attach): http://www.focus-files.com/patchs/tmuf/TmUnitedForever_StarEdition_Update.exe
Can somebody please help me?
-
Its not really possible in most cases (do you know what it was written in?). What you could do is compare the original file with the patched file to see what bytes the patch changes?
-
it is a hole game, so it is a hole folder, and i am not able to get to a unpatched version of the game
and i think it is written in c++
-
You cannot decompile to source code afaik. Only to ASM.
-
You can sometimes decompile exe's, but only if you know what it's written in. Also, keep in mind that some exe's also contain data, which can make the output of the decompiler incorrect.
-
What exactly do you want to do, do you want to see how the patch was done? Is this an official game or a homebrew/fan made game?
-
it is a official game (http://www.trackmaniaforever.com) and the patch is also official, and what i wanne do, i wanne patch the game in a similar way the patch already does, adding another camaign to it.
-
Adding other tracks/themes can be done without hacking, if that's what you want.
Hacking is necessary to create blockmixing (maps with hexedited blocks properties - I'm proud of a program I made (http://forum.trackmaniaforever.com/topic/14549-tutorial-gbx-master/) back in the days, that does that :P)
-
and i mean a real campaign, in-game with unlocking maps etc.
and your gbx master, what kind of gbx's can it read?
-
You might want to check and see if there is a community dedicated to hacking it. It'd probably be a lot easier than trying to disassemble a patch and see what is what. It sounds like more of an add-on than a patch to me anyways.
-
They published it as a patch :P
-
I'm a bit late, but can't you just rename an .exe to .zip then open it to view its content? I know the source won't be there, but I wonder if this can help?
-
I'm a bit late, but can't you just rename an .exe to .zip then open it to view its content? I know the source won't be there, but I wonder if this can help?
No, ZIPs have a special file format not present in PE binaries. You're thinking of Java .jar files, which are functionally renamed .zip files with some metadata thrown in there.
-
I'm a bit late, but can't you just rename an .exe to .zip then open it to view its content? I know the source won't be there, but I wonder if this can help?
To bad that it won't work, but it is never to late ;)
Would it be somehow possible then under windows to monitor every changes in a certain folder and all its sub-folders during a period of time?
That way I could also get to know what files are in the .exe
-
I'm sure there are directory compare tools. If not you could easily write one.