Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Dualnames on Sun 03/01/2010 17:14:17

Title: AGS Dead On Me(Risolved)
Post by: Dualnames on Sun 03/01/2010 17:14:17
Okay, I was working really hard today, REALLY HARD, and as I compile the game and everything is okay, I save it. And everything is cool. Then I just try to open it, and the editor won't load it, and a message appears, and I send the technical support to the AGS Website. The menu with the games you've worked on appears, but  no game can load. I'm using AGS 3.1.2 on Windows 7 64bit and everything was working good so far. So I say perhaps an AGS file has corrupted. So I try to open the versions of AGS I have. Same as well. Not even 2.72 will load.

Thing is what did I send? Why's it working? Why was it working so far?

EDIT: Solved. Still what was the error about?
Title: Re: AGS Dead On Me
Post by: Kweepa on Mon 04/01/2010 03:26:45
What was the error message?

I'm running into a similar problem with AGS 3.2.
The editor threw an error saving and now won't load, giving this error message:

Error details: System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 2602, position 26.
...
   at System.Xml.XmlTextReaderImpl.ParseCDataOrComment(XmlNodeType type)
...
   at AGS.Editor.AGSEditor.LoadGameFile(String fileName)


I loaded up the agf file in notepad2 and line 2602 is the start of one of my dialog scripts. Dialog scripts 1-7 look like this:

        <Script><![CDATA[<NUL><BS><NUL><FF><NUL><CR>...(continues for several lines)...]]</Script>

But 8-23 are ok.

I guess this is mainly a question for CJ, but are the scripts supposed to be kept in text format? This is a project I converted from AGS256(!)->AGS272->AGS32, which I've been working on for several days.
The corrupt scripts look quite regular. I can send you the agf if needed.

Steve
Title: Re: AGS Dead On Me
Post by: Dualnames on Mon 04/01/2010 03:48:29
Nothing similar to that at all Steve.
Title: Re: AGS Dead On Me
Post by: Gilbert on Mon 04/01/2010 04:12:48
Since you didn't share much information with us I'll say you better ask CJ with a PM than posting here. Obviously no one here except CJ (as you had reported using the editor already) had some information for your problems and we won't be able to comment on it anyway.
Title: Re: AGS Dead On Me
Post by: Pumaman on Tue 05/01/2010 22:55:20
You'll have to be more specific about the error message. I don't know which error report on the server corresponds to the problem you are having.

One thing I will say is that somebody is still using a pre-RC2 beta version of AGS 3.2, which had the memory corruption bug -- that can lead to AGS saving corrupt files.

So whoever is still using 3.2.0.93, please upgrade to RC2!
Title: Re: AGS Dead On Me(Risolved)
Post by: Kweepa on Wed 06/01/2010 01:50:44
Ooh bugger, that would be me :=