Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Invalid Save Syntax
Newsman Waterpaper Offline
Senior Member

Posts: 735
Threads: 20
Joined: May 2013
Reputation: 39
#1
Invalid Save Syntax

I was adding the SetMapDisplayNameEntry code to all the maps in my mod and trying out the save functions and when I exited the game and restarted it and tried to use the Load Game function, instead of the level names appearing, it just says Invalid Save Syntax but however if I load the file, it will load the map of the most recent save and everything will work as usual. I'll like to solve this for handiness sake for players.
04-05-2016, 10:38 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#2
RE: Invalid Save Syntax

Oh I thought you meant that the save itself failed to load. How's your script/lang file?

04-06-2016, 12:30 AM
Find
Newsman Waterpaper Offline
Senior Member

Posts: 735
Threads: 20
Joined: May 2013
Reputation: 39
#3
RE: Invalid Save Syntax

No errors from the script of the map or anything thing like that. I'm pretty sure the .lang file is alright since I did put the level names under the Levels category in the .lang file.
04-06-2016, 02:45 AM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#4
RE: Invalid Save Syntax

Yes but could you show it? Perhaps it's using something that cannot be used for that purpose, but would otherwise not be illegal in terms of syntax.

04-06-2016, 10:16 AM
Find
Spelos Away
Banned

Posts: 231
Threads: 19
Joined: Sep 2014
#5
RE: Invalid Save Syntax

The name for a save needs to be pulled from the "Levels" category in your .lang file.
Make sure you're not just typing it in... that's not how you do it.
04-06-2016, 11:33 AM
Find
Newsman Waterpaper Offline
Senior Member

Posts: 735
Threads: 20
Joined: May 2013
Reputation: 39
#6
RE: Invalid Save Syntax

(04-06-2016, 11:33 AM)Spelos Wrote: The name for a save needs to be pulled from the "Levels" category in your .lang file.
Make sure you're not just typing it in... that's not how you do it.

Yeah I know I just said it in the post above......

EDIT: Heres how it appears in the game.
Spoiler below!
[Image: KNyQj4E.png]

Here how it appears in the actual Amnesia Save Documents.
Spoiler below!
[Image: u06rlAg.png]
(This post was last modified: 04-06-2016, 07:54 PM by Newsman Waterpaper.)
04-06-2016, 02:11 PM
Find
Spelos Away
Banned

Posts: 231
Threads: 19
Joined: Sep 2014
#7
RE: Invalid Save Syntax

It looks like you're using Space or special characters like "_". I guess that's probably not allowed.
Does it work if you change the name to just one simple word?
04-06-2016, 09:55 PM
Find
Newsman Waterpaper Offline
Senior Member

Posts: 735
Threads: 20
Joined: May 2013
Reputation: 39
#8
RE: Invalid Save Syntax

Yep that solved the problem! Thanks!
04-06-2016, 10:24 PM
Find




Users browsing this thread: 2 Guest(s)