Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: CroMan on Thu 22/11/2007 04:28:55

Title: De-compiling AGS games
Post by: CroMan on Thu 22/11/2007 04:28:55
..maybe you guys can help me?
Is it possible to "re -complile" ags game back into edit files such as room1.crm....
in order to make a game quite easy?
Title: Re: De-compiling AGS games
Post by: Monsieur OUXX on Thu 22/11/2007 13:45:12
I found this post in the unappropriate thread. It was posted very recently.

I guess it's not possible to "uncompile" AGS games, but by curiosity I wonder if there are elements that can be retrieved from a finished game? Some clues for this poor user?

EDIT: To remove broken link
Title: Re: Uncompile games
Post by: on Thu 22/11/2007 13:56:42
Thread is now here; http://www.adventuregamestudio.co.uk/yabb/index.php?topic=32999.0

But somehow it managed to sticky itself there, mad!
Title: Re: De-compiling AGS games
Post by: Ashen on Thu 22/11/2007 14:02:22
I think because it was split from a stickied thread, the post just stayed that way. I've de-stickied it now anyway. Perhaps this thread should be locked, or moved to BTQ and merged?

EDIT:
Threads merged.

AFAIK, this (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=28540.0) is still the case. It's possible for CJ to extract some things from the exe, depending on what version it was made with, but not the entire source. If you're talking about decompiling someone else's game, e.g. to learn from it, the answer is a BIG no.
However, there's a list of Open Source Games (http://americangirlscouts.org/agswiki/Open_Source_Games) on the Wiki (and OpenQuest (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=32782.0) should probably be added to it), and a bunch of templates available from AGS Resources (http://www.americangirlscouts.org/agsresources/), that might be of use to you.
Title: Re: De-compiling AGS games
Post by: BOYD1981 on Thu 22/11/2007 18:01:27
it is possible through the use of certain ripping software to extract sounds, midi and tracker modules from a compiled game, the software i have has no support for mp3/ogg, but if it did it would probably be able to extract those too.
and although i think it does have support for a lot of graphics formats i've never extracted any graphics, just always the sound and non-mp3/ogg music.
Title: Re: De-compiling AGS games
Post by: deadsuperhero on Mon 26/11/2007 13:19:15
Actually, just rename the.exe to a .agt file and load it up.
Sometimes you won't get something like rooms or a global script, but you'll usually get all the sprites.
Title: Re: De-compiling AGS games
Post by: Dualnames on Tue 27/11/2007 08:14:12
Quote from: Alliance on Mon 26/11/2007 13:19:15
Actually, just rename the.exe to a .agt file and load it up.
Sometimes you won't get something like rooms or a global script, but you'll usually get all the sprites.

Didn't knew that was working...
Title: Re: De-compiling AGS games
Post by: Elessar on Thu 06/12/2007 03:14:35
Quote from: Alliance on Mon 26/11/2007 13:19:15
Actually, just rename the .exe to a .agt file and load it up.
Sometimes you won't get something like rooms or a global script, but you'll usually get all the sprites.
I can't get AGS to open the file, or even recognize it as a template. Am I missing something?
Title: Re: De-compiling AGS games
Post by: Khris on Thu 06/12/2007 03:55:57
To say it politely, Alliance's post was utter BS.

Unfortunately, Alliance's suggestion didn't work for me. Maybe he could clarify how exactly he managed to circumvent basic computer logic?
Title: Re: De-compiling AGS games
Post by: Elessar on Thu 06/12/2007 04:43:40
Quote from: KhrisMUC on Thu 06/12/2007 03:55:57
To say it politely, Alliance's post was utter BS.
Should have known. ::)