AGS 3.6.0 and Upper Releases Have Errors (3.6.1 and 4.0.0)

Started by Eon_Star, Fri 01/11/2024 17:37:48

Previous topic - Next topic

Eon_Star

Hello,

until last week I wa working on my game files on AGS 3.6.0. Then Someday the AGS started showing an "Exception Error".I tried to use other releases and check the net for answers but I could not find any topics about this problem.

So I tried to go back to the version 3.5.1 and this one was working. Even with an old game that I made many years ago.

You can find the message here:

The Error Mesage


Thanks for your support.

Crimson Wizard

#1
Quote from: Eon_Star on Fri 01/11/2024 17:37:48until last week I wa working on my game files on AGS 3.6.0. Then Someday the AGS started showing an "Exception Error".I tried to use other releases and check the net for answers but I could not find any topics about this problem.

Please elaborate, was it a game that you already worked on in AGS 3.6.0, and it suddenly caused this one day, or was it a game made in a older version that you tried to load in 3.6.0?

The error means that "Game file name" setting got empty for some reason.
Although in theory you should be able to put empty value there, so that's a mistake on its own.

I suppose you may manually fix this by opening "Game.agf" file in a text editor and editing "<GameFileName></GameFileName>" entry, adding a meaningful value there, like: "<GameFileName>mygamename</GameFileName>"


EDIT: I found that we have a rule change by mistake, which does not let this field to be empty, starting from around 3.6.0.
AGS was supposed to let this field be empty, in which case it would use the project folder name.
I will revert this change in the next patch.

Eon_Star

Hi,

I made the game "Bob's Quest" using 3.6.0 from scracth and it did work until that day.

I will tried your method it did not work. I will try downloading other game versions.

Thanks for your support.

 :-D 


Eon_Star

Hi,

I solved that problem but  there is another: This one is about the "Invalid Character Error" but I am not sure why it is happening. The game file was working before.

Here is the screenshot:

Invalid Character Error

Thanks. :)

Crimson Wizard

Quote from: Eon_Star on Fri 01/11/2024 19:25:19I solved that problem but  there is another: This one is about the "Invalid Character Error" but I am not sure why it is happening. The game file was working before.

It looks like all the script names in your game had changed the common latin "I" letter to a turkish (probably?) letter which is "I" with a extra dot.

Did you fix the previous problem by editing Game.agf, and if yes, which text editor did you use? which encoding did you save Game.agf in?

Do you have a previous backup of this file?

Eon_Star

Hi,

I fixed it using "Notepad".


The issue might be related to the invalid "letters" but the error is only happening in the versions 3.6.0 and above.

Thank you again for your efforts. I hope the issue can be solved.

Cheers.

Crimson Wizard

#6
Quote from: Eon_Star on Fri 01/11/2024 20:30:12The issue might be related to the invalid "letters" but the error is only happening in the versions 3.6.0 and above.

Were these letters present in script names before, in earlier versions?

Thing is, these letters are not allowed to be present in script names, and I do not think that they can be added in the editor. That's why my suspicion is that they were added by saving Game.agf file incorrectly.

EDIT: No, this does not seem right, I cannot imagine how they could be converted from "I"... there is something else here.

Do you have a backup version of this file, which may be used to restore it or compare with the current one?


Eon_Star

Hi,

Yes I have a backup.

I did compare the game files. I had other games I made using 3.6.0 and 3.6.1. But they did not work either.

I will not be around for a while, so thank you for  your help.

Thanks.

eri0o

It would be useful if you have some AGS 3.5.1 project that exhibits this problem when upgrading to 3.6.X so that it would be possible to find and fix such issue if you still have such projects around.

SMF spam blocked by CleanTalk