AGS 2.7: I cannot test / run my game! (Solved)

Started by Colxfile, Tue 03/05/2005 22:42:45

Previous topic - Next topic

Colxfile

Before I was tinkering on a game I was writing with AGS 2.62. However, with AGS 2.7 being provisionally released, I upgraded to it. Having copied over the game files into the folder with the new version (The upshot being "I backed it up before it went wrong") I open the game file in AGS 2.7. I recompiled everthing as I had done in the past when upgrading and after I fiddled with the new stuff I ('Test Game') ran my game in the works.

At first it SEEMED to compile fine. But then, I got an error message:
"Internal error 102 replacing icon - the ACWIN.EXE file was not compatible with this version of the editor. Your game file will have the default icon."

I didn't know why this was (It worked fine with AGS 2.62), but persisted anyway. Then this one popped up.
"This game requires a newer version of AGS (2.70). It cannot be run."

I was perplexed. ??? Finally, I received this message:
"Invalid file format. The file may be corrupt, or from a different
version of AGS.
This engine can only run games made with AGS v2.5 or later."
And then I got worried. :o
Obviously, the conversion process (resaving the old game and recompiling in presumably the 2.7 format) should not make my game corrupt, or in need of a newer AGS thingumybob.

Incidentally, the second 2 errors also occur if I save my game, leave the AGS editor and then manually run my game.

Or is there something I'm likely to have done that I shouldn't have?
Any ideas?
Always carry a UV marker pen with you. When you go to a shop or a friend's house, if you see something you like, put your name and postcode on it. If it gets stolen and subsequently recovered, the police will get in touch with you so that they can 'return' it.

strazer

QuoteHaving copied over the game files into the folder with the new version

What files have you copied? You may have overwritten parts of AGS.
You don't need to copy your game to the AGS folder, you can store the game and AGS seperately.

Pumaman

It sounds like you've got your files mixed up.

Unzip AGS 2.7 into a new folder, then run AGSEDIT.EXE from there, and load your game into it. Save and try again.

The error you're describing sounds like you've somehow got the 2.7 AGSEDIT.EXE with the 2.62 ACWIN.EXE in the same folder, so the best way to sort it out is to unzip 2.7 into a fresh new folder and start again.

Also make sure ACWIN.EXE isn't in your game's folder.

Colxfile

Yes, I get the gist of what you're saying here.

What I had done before is save my game in the original AGS directory on my drive (Say "C:\AGS\gamename"). When I unzipped the new version I did unzip it to a fresh folder (I named it "C:\AGS27") and then copied the 'gamename' subfolder into the AGS27 folder. So, it would appear that the original bit that ran the compiled game was for version 2.62, but the game file itslef had been compiled with 2.7. Okay. I get it now.

I got around this by doing a straight swap: Replaced the acwin.exe for 2.62 in the game directory with that for 2.7 it compiled without hitch and ran without delay.

Cheers!
Always carry a UV marker pen with you. When you go to a shop or a friend's house, if you see something you like, put your name and postcode on it. If it gets stolen and subsequently recovered, the police will get in touch with you so that they can 'return' it.

Pumaman

The ACWIN.EXE file shouldn't be in your game directory -- if it is, it will be used by AGS which is what's caused you the problem.

Delete it from there, and the AGS Editor will automatically use the ACWIN.EXE from the AGS folder.

SMF spam blocked by CleanTalk