Cannot save in Elysium

Having problems with a specific game or application? Post your problems here!

Cannot save in Elysium

Postby NewRisingSun » 2016-3-12 @ 11:38

The game Elysium puts its saved games into a folder PICTURE\⌂, meaning ASCII 0x7F. DOSBox refuses to create this folder, and if I create it myself, it refuses to mount it. That means that saving/restoring is not possible. DOSBox should allow ASCII 0x7F in file and directory names.
NewRisingSun
Oldbie
 
Posts: 790
Joined: 2005-9-02 @ 02:26

Re: Cannot save in Elysium

Postby keropi » 2016-3-12 @ 12:24

What a strange directory name to use... surely a remnant from the amiga where dos naming restrictions do not apply (sometimes even modern windows can't handle amiga file/dir names LOL)
Maybe someone can patch the game and replace the 0x7F character with something more compatible in the meantime :)
User avatar
keropi
l33t++
 
Posts: 6278
Joined: 2003-9-08 @ 06:45
Location: Greece

Re: Cannot save in Elysium

Postby realnc » 2016-3-12 @ 12:50

Is it DOSBox that refuses to create it, or Windows?
realnc
Member
 
Posts: 143
Joined: 2010-10-13 @ 11:02

Re: Cannot save in Elysium

Postby NewRisingSun » 2016-3-12 @ 13:09

DOSBox. Adding the following patch fixes the issue:
Code: Select all
--- dos_files.cpp.old   2016-02-09 22:10:07 +0000
+++ dos_files.cpp   2016-03-12 13:05:51 +0000
@@ -164,6 +164,7 @@
             c=tempdir[i];
             if ((c>='A') && (c<='Z')) continue;
             if ((c>='0') && (c<='9')) continue;
+            if (c==0x7f) continue;
             switch (c) {
             case '$':   case '#':   case '@':   case '(':   case ')':
             case '!':   case '%':   case '{':   case '}':   case '`':   case '~':
Note that "fixing" means that the game's INSTALL program is able to create the directory now. If the game has already been installed, you must create the subfolder yourself:
Code: Select all
cd picture
mkdir ⌂


And why is this thread appearing in two forums at the same time? I'm pretty sure I created it under "DOSBox Games/Apps", not "DOSBox Multiplayer".
NewRisingSun
Oldbie
 
Posts: 790
Joined: 2005-9-02 @ 02:26

Re: Cannot save in Elysium

Postby ripsaw8080 » 2016-3-12 @ 13:21

Moved this to DOSBox Games/Apps. You put it in multiplayer, presumably by mistake, and now there is just a placeholder there that redirects here.

FYI, oddball characters normally get added as a case in the switch. There are a few in there already.
User avatar
ripsaw8080
DOSBox Author
 
Posts: 4186
Joined: 2006-4-25 @ 23:24

Re: Cannot save in Elysium

Postby NewRisingSun » 2016-3-12 @ 13:28

Well, then do that. ;)
NewRisingSun
Oldbie
 
Posts: 790
Joined: 2005-9-02 @ 02:26

Re: Cannot save in Elysium

Postby Joey_sw » 2016-3-12 @ 13:45

I remember encountering similar situation, to get around it,
instead of mounting usual directory,
i would mount and boot from hdd image that contain barebone bootable MS-DOS (the boot records; IO.SYS; MSDOS.SYS; COMMAND.COM; and some other files that needed during CONFIG.SYS & AUTOEXEC.BAT phase),
and have the game installed on said images.
-fffuuu
User avatar
Joey_sw
Oldbie
 
Posts: 549
Joined: 2011-8-17 @ 12:03

Re: Cannot save in Elysium

Postby lightmaster » 2016-3-13 @ 01:07

realnc wrote:Is it DOSBox that refuses to create it, or Windows?

It's Dosbox , it doesn't support those kind of chars.
Image
User avatar
lightmaster
Oldbie
 
Posts: 605
Joined: 2005-10-01 @ 12:09
Location: Sol III


Return to DOSBox Games/Apps

Who is online

Users browsing this forum: No registered users and 2 guests