Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: SupSuper on Sat 12/05/2007 22:57:56

Title: "Inconsistent data files" error
Post by: SupSuper on Sat 12/05/2007 22:57:56
So, I loaded up my test game and got an error. And then AGS quit. Just like that. :(

---------------------------
AGS Editor
---------------------------
Error loading game: Inconsistent data files (scm)
---------------------------
OK   
---------------------------

Please please please don't tell me my test game just hit scripting heaven. I had lots of WIP modules in there! :'(
Title: Re: "Inconsistent data files" error
Post by: Pumaman on Sat 12/05/2007 23:32:46
This means that somehow the two editor data files have become inconsistent with each other. Do you have a recent backup of your game?

One thing you could try is loading the game in the 2.8 Alpha and see if it can import it successfully.
Title: Re: "Inconsistent data files" error
Post by: SupSuper on Sun 13/05/2007 00:16:30
AGS 2.8 can't fix it either:

---------------------------
Adventure Game Studio
---------------------------
An error ocurred whilst trying to import your game. The error was: File contains invalid data and is not an AGS game.



If you cannot resolve the error, please post on the AGS Technical Forum for assistance.



Error details: AGS.Types.AGSEditorException: File contains invalid data and is not an AGS game.

   at AGS.Editor.BusyDialog.Show(String message, ProcessingHandler handler, Object parameter)

   at AGS.Editor.OldGameImporter.ImportGameFromAGS272(String gameToLoad, Boolean useWizard)

   at AGS.Editor.AGSEditor.LoadGameFromDisk(String gameToLoad, Boolean interactive)
---------------------------
OK   
---------------------------

Obviously I'm an idiot and don't have a recent backup of the game. The thought only occurs when it's too late. :( There's some backup_* files in the folder, and I tried swapping them with the real ones, but still no effect.

I have a working compiled game EXE though, dunno if I can get anything out of that. And if it helps, here's the game files (http://uploaded.to/?id=60c5sa) in question. The game is void of any real content, I only use it as a "sandbox" for all my scripting work, so all I need is to get the code out of it. The rest is moot.