Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Mon 16/08/2004 12:59:51

Title: Can't load any games
Post by: on Mon 16/08/2004 12:59:51
Hello im new and this is probably an easy question and you will all yell at me but I couldn't find an answer to it so sorry.

I was having fun playing Apprentice 2 when I had to leave for awhile , when I came back to load it up an error apears which is :
                  "You must create and save a game first in the AGS Editor before you can use this engine.

                    If you just downloaded AGS, you are probably running the wrong executable. Run AGSEDIT.EXE to launch editor.

                    (Unable to find 'ac2game.dat' in D:\App2) "

So I tried running another game and the same thing happend with all of them. I looked through the help section and the only thing I thought might work is the help on running DOS games in WIN 2000 but that didn't work.
Could someone please help me and slap me up the side of the head if im being stupid? Thanks
Title: Re: Can't load any games
Post by: Ishmael on Mon 16/08/2004 19:45:02
A first-aid you could try is to rename the game exe file to "ac2game.dat", making sure the extension changes, and copying the "acwin.exe" file from the AGS archive to the folder and running it.
Title: Re: Can't load any games
Post by: Goot on Tue 17/08/2004 03:13:21
Did you actually save the game? You didn't say you did.
Title: Re: Can't load any games
Post by: Gilbert on Tue 17/08/2004 03:35:43
Quote from: Goot on Tue 17/08/2004 03:13:21
Did you actually save the game? You didn't say you did.
You misread the post, he's not creating a game, he's playing off a downloaded game, so he shouldn't need to save a game to play it.
Title: Re: Can't load any games
Post by: on Tue 17/08/2004 04:47:18
Quote from: Ishmael on Mon 16/08/2004 19:45:02
A first-aid you could try is to rename the game exe file to "ac2game.dat", making sure the extension changes, and copying the "acwin.exe" file from the AGS archive to the folder and running it.

Yes that is what I tried with the DOS to WIN2000 help.
Title: Re: Can't load any games
Post by: Gilbert on Tue 17/08/2004 07:26:39
Can you post a directory listing of the game here, showing the names of the files?
Title: Re: Can't load any games
Post by: on Tue 17/08/2004 09:35:58
hmm the files in the apprentice 2 folder are: acsetup.cfg, agssave.001, app2.exe, music.vox, readme.html, winsetup & a images folder.
Title: Re: Can't load any games
Post by: Gilbert on Tue 17/08/2004 09:39:59
Hmmm are you using a shortcut to run the game or change to the game's directory first and then run it?

Did executing winsetup.exe give a similar error?
Title: Re: Can't load any games
Post by: on Tue 17/08/2004 15:21:15
No I run it straight from the Directory.

Also I ran Winsetup and it is fine, so I tried the save and load button but it came up with the same error message
Title: Re: Can't load any games
Post by: Gilbert on Wed 18/08/2004 02:47:31
Load button? in winsetup?
Title: Re: Can't load any games
Post by: Kinoko on Wed 18/08/2004 03:05:35
This may be wrong, but it seems to me the problem is that he's just trying to run acwin.exe from his AGS directory, to use it to play someone else's game.

Which exact file are you trying to open? I'm sorry if this isn't it, it's just a guess. What happened when you just click on app2.exe? Again, just a longshot, but you do realise you have to load a saved game from within the game itself, don't you?
Title: Re: Can't load any games
Post by: on Wed 18/08/2004 04:32:32
Im not a ****head I do know a little bit about computers and I thought someone might know why when I click on App2.exe from its own directory the error screen comes up.
I don't even have AGS installed on my system (although planning to but thats a another story).
All the games I download from here all work fine for an hour or so then they all have the same error screen .
Title: Re: Can't load any games
Post by: on Wed 18/08/2004 04:33:51
Quote from: Gilbot V7000a on Wed 18/08/2004 02:47:31
Load button? in winsetup?

I meant the "Save and Run" button sorry you couldnt figure that one out
Title: Re: Can't load any games
Post by: on Wed 18/08/2004 07:10:11
Is it possible you have a virus which is infecting the executable and corrupting it, which could be why it works to begin with.
Title: Re: Can't load any games
Post by: Ishmael on Wed 18/08/2004 18:59:24
Ah, I'm sorry, I'm not sure of all the help content out there...

Anyway, have you tried re-unzipping the App2.exe to the folder, overwriting the existing one? The virus theory seems most appealing to me right now.
Title: Re: Can't load any games
Post by: Scorpiorus on Wed 01/09/2004 18:40:25
Yeah, it is most likely a virus corrupting the exe file. AGS builder combines the engine (acwin.exe/acdos.exe) and a game data (ac2game.dat) into a single executable to run. Seems like the data part of the target executable gets corrupted so the engine is unable to recognize it. Be sure to check your system for viruses.
Title: Re: Can't load any games
Post by: Edwin Xie on Sun 05/09/2004 00:20:43
Quote from: Ishmael on Mon 16/08/2004 19:45:02
A first-aid you could try is to rename the game exe file to "ac2game.dat", making sure the extension changes, and copying the "acwin.exe" file from the AGS archive to the folder and running it.


Hmm, how do you rename App2.exe to ac2game.dat?
Title: Re: Can't load any games
Post by: Scorpiorus on Sun 05/09/2004 07:50:07
Well, just as you would rename any other file:

righ click over the file icon, choose rename :)
Title: Re: Can't load any games
Post by: Edwin Xie on Mon 06/09/2004 01:45:56
*sigh* let me explain, I believe on my computer I can't rename exe files because they are assigned as application therefor there is no file extension behind the file name.
Title: Re: Can't load any games
Post by: dreammaster on Mon 06/09/2004 02:26:17
Quote from: Edwinxie on Mon 06/09/2004 01:45:56
*sigh* let me explain, I believe on my computer I can't rename exe files because they are assigned as application therefor there is no file extension behind the file name.

Presuming you're using Windows XP, you can re-enable filename extensions by doing the following sequence:
* In the File Explorer, select Tools | Folder Options
* Select the View tab, and make sure the checkbox for "Hide extensions for known file types" is *not* tickmarked. Then click Ok.

You should now see filename extensions, allowing you to rename the executable to a .dat file.
Title: Re: Can't load any games
Post by: Edwin Xie on Mon 06/09/2004 02:35:09
How did you know I was using WIndows XP?
Title: Re: Can't load any games
Post by: Edwin Xie on Mon 06/09/2004 02:43:03
Quote from: Ishmael on Mon 16/08/2004 19:45:02
A first-aid you could try is to rename the game exe file to "ac2game.dat", making sure the extension changes, and copying the "acwin.exe" file from the AGS archive to the folder and running it.

I am very confused, does it work for you?
Title: Re: Can't load program
Post by: on Mon 06/09/2004 03:07:46
Quote from: Edwinxie on Mon 06/09/2004 02:43:03
Quote from: Ishmael on Mon 16/08/2004 19:45:02
A first-aid you could try is to rename the game exe file to "ac2game.dat", making sure the extension changes, and copying the "acwin.exe" file from the AGS archive to the folder and running it.

I am very confused, does it work for you?

I also need help with a similar thing. I downloaded the program to create the games, but when i tried to open the file to start it all up, it said that the file needed to be in another certain one. And it is. So what's going on?
Title: Re: Can't load any games
Post by: dreammaster on Mon 06/09/2004 04:41:32
Quote from: Edwinxie on Mon 06/09/2004 02:35:09
How did you know I was using WIndows XP?

Just a lucky guess - it's Windows that has the option for hiding filename extensions, and if you're running Windows, you're more than likely to be running XP these days.
Title: Re: Can't load program
Post by: Scorpiorus on Mon 06/09/2004 14:19:56
Quote from: DeathCaller on Mon 06/09/2004 03:07:46I also need help with a similar thing. I downloaded the program to create the games, but when i tried to open the file to start it all up, it said that the file needed to be in another certain one. And it is. So what's going on?
To start the AGS editor you have to launch agsedit.exe, not acwin.exe or acdos.exe.