Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#1906 closed defect (outdated)

BS2: Save failure with default Mac OS X savegame folder

Reported by: SF/stobiepole Owned by: SF/khalek
Priority: normal Component: Engine: Sword2
Keywords: Cc:
Game: Broken Sword 2

Description

Hi. I just tried playing Broken Sword II with the latest compiled
version of Scummvm for Mac, and when I tried to save I got a
couldn't open file error.

The new default Mac savegame folder is called 'ScummVM
Savegames', which must to be the problem: the space in the name
stuff things up. I changed the savegame folder to somewhere
without any spaces and the problem seemed to be fixed.

I'll report any more bugs I come across. Keep up the good work
and all.

Chris

Ticket imported from: #1108260. Ticket imported from: bugs/1906.

Change History (15)

comment:1 Changed 14 years ago by SF/stobiepole

Summary: Save failure with default Mac OS X folderBS2: Save failure with default Mac OS X folder

comment:2 Changed 14 years ago by SF/stobiepole

Summary: BS2: Save failure with default Mac OS X folderBS2: Save failure with default Mac OS X savegame folder

comment:3 Changed 14 years ago by eriktorbjorn

I can't reproduce this under Windows: I tried changing my
savegame directory to one with spaces in it, and it worked.

Have you tried it with any other games, e.g. the freeware
versions of Beneath a Steel Sky or Flight of the Amazon
Queen? They all use the same SaveFileManager class, so they
should behave - or misbehave - in the same way.

comment:4 Changed 14 years ago by SF/stobiepole

It looks like the problem could be with the SaveFileManager class,
because FOTAQ won't save either (it doesn't make an error message, but
it doesn't make a savefile either if there's a space in the name of the
path).

comment:5 Changed 14 years ago by SF/khalek

I tested this on Mac OS X before it went in and it worked
fine then...
I'll look into this as time permits. Assigning to me as I'm
likely at fault for any problems with this.

Just to clarify, can you reproduce this when removing your
config file? ie a file called something like "ScummVM
Preferences" in a subdir of ~/Library.

comment:6 Changed 14 years ago by SF/khalek

Owner: set to SF/khalek

comment:7 Changed 14 years ago by SF/stobiepole

In ~/Library/Preferences? Ah...that seems to have fixed it. Well, there
you go. Maybe worth checking for old config files then.

Chris

comment:8 Changed 14 years ago by SF/khalek

I don't suppose you know what value savepath was previously
set to in the config file?

comment:9 Changed 14 years ago by SF/stobiepole

I can't tell you what the previous savepath was (I trashed the file), but it
was most likely ~/Applications/Games/ScummVM

comment:10 Changed 14 years ago by fingolfin

What is the status of this item?

comment:11 Changed 14 years ago by fingolfin

Status: newpending

comment:12 Changed 14 years ago by SF/stobiepole

Status: pendingnew

comment:13 Changed 14 years ago by SF/stobiepole

Deleting the old preference file solved the problem.

comment:14 Changed 14 years ago by fingolfin

Status: newclosed

comment:15 Changed 14 years ago by fingolfin

Resolution: outdated
Note: See TracTickets for help on using tickets.