Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Rui 'Trovatore' Pires on Wed 26/07/2006 23:58:06

Title: Game setup settings not saved (SOLVED)
Post by: Rui 'Trovatore' Pires on Wed 26/07/2006 23:58:06
I have noticed the following on ASL and Palette Quest 2.0, two games that were released without a WinSetup.exe file and a fairly recent version of AGS:

I create a Setup.Bat file from where I call "[gamename].exe --setup". I run it. It comes up ok. I run the game. Any changes I have made have NOT been saved, and are not applied, and there is no acsetup.cfg file. Is this supposed to happen? It didn't use to, with earlier versions...
Title: Re: AGS 2.72 Final 2 - World Cup Edition
Post by: Gilbert on Thu 27/07/2006 02:38:27
Did you just double click the batch file or execute it in a command prompt?

It's quite possibly just a path problem with batch files that most Win 2K+ systems usually have, that the config file may possibly be created in some other folder. (If you changed to that folder first in a command prompt it may be okay)

If you use windows, creating a windows shortcut is a better way (http://www.adventuregamestudio.co.uk/kbview.php?id=60).
Title: Re: AGS 2.72 Final 2 - World Cup Edition
Post by: Rui 'Trovatore' Pires on Thu 27/07/2006 10:06:33
Hmmm, I'm not sure about what you mean, but anyway, the point is moot. I just tested a bit further, also got some funny results with "5 Days a Stranger", and then tried copying the acsetup.cfg file from "5 Days" to "ASL". And NOW I could use the batch file I had created, no problem. I mean, I could have used it before, the setup window did come up (so I don't think the link you gave was the problem I was experiencing), it just didn't save, i.e., didn't create the acsetup.cfg file. Now it does.

This'll probably get split into its own thread. All the same, though, I'd really like CJ to at least glance this way. It might just be my peecy, sure, but this has happened only on two games which use fairly recent versions of AGS.
Title: Re: Game setup settings not saved
Post by: Pumaman on Thu 27/07/2006 18:44:04
Batch files don't tend to work properly for this sort of thing, as Gilbert says. Creating a Windows shortcut and adding "--setup" to the end of the path is the safest way.
Title: Re: Game setup settings not saved
Post by: Rui 'Trovatore' Pires on Thu 27/07/2006 23:17:09
Hmmm. I did it and it solved it. I feel like a right n00b. Sorry 'bout this, y'all. I blame monkey_05_06 and the maker of ASL for putting me in this situation. In fact, I blame the net for it. I have plenty of blame to go around.
Title: Re: Game setup settings not saved (SOLVED)
Post by: monkey0506 on Mon 31/07/2006 20:02:24
I refuse to accept responsibility for my lack of WINSETUP.EXE file inclusion in my game. If I wanted you to be able to run WINSETUP.EXE, I would have included the file. :P

Just kidding. I just tend to like to get rid of stuff that I don't feel is necessary. And I knew that it could be done without the file so I didn't feel it was necessary. :=

Glad you got the problem solved though Rui.