Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Scorpio82 on Thu 15/09/2011 03:59:04

Title: Removing Old Code from Newer Versions
Post by: Scorpio82 on Thu 15/09/2011 03:59:04
So I've been working six years on the same game, and in the last year I've recently switched to the newest version. While most of the game is already scripted properly, I'm having some trouble cleaning up the first few rooms which were created way back in v2.7 or so. 

While I can easily rewrite the display messages, I'm hitting a huge problem with being unable to turn off the music I originally loaded into the starting room. Is there a way to get into the CRM's code and remove the script for it, or should I just rebuild these rooms from scratch?
Title: Re: Removing Old Code from Newer Versions
Post by: pcj on Thu 15/09/2011 04:17:28
You'll need to rebuild the room from scratch if you don't have access to the ASC files.
Title: Re: Removing Old Code from Newer Versions
Post by: Scorpio82 on Thu 15/09/2011 06:32:58
Gah! It's you! Guess I could've just PMed you on the other forum. :)

On topic, I still have a room ASC file, but it doesn't contain any data regarding the old display-messages or the in-room music player. So I'm guessing there's a second ASC file that gets dropped between versions then. It'd be nice to know where the data from that is kept.

I suppose re-building won't be too big a hassle as long as it's just a few rooms.

Title: Re: Removing Old Code from Newer Versions
Post by: pcj on Thu 15/09/2011 13:34:24
Well, if you still have the 2.7 source you could go back and open it in 2.7 and unload the music, save that, then re-import just that room into 3.2.