Opened 19 years ago

Closed 19 years ago

Last modified 19 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
Version: 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 by SF/stobiepole, 19 years ago

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

comment:2 by SF/stobiepole, 19 years ago

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

comment:3 by eriktorbjorn, 19 years ago

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 by SF/stobiepole, 19 years ago

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 by SF/khalek, 19 years ago

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 by SF/khalek, 19 years ago

Owner: set to SF/khalek

comment:7 by SF/stobiepole, 19 years ago

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 by SF/khalek, 19 years ago

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

comment:9 by SF/stobiepole, 19 years ago

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

comment:10 by fingolfin, 19 years ago

What is the status of this item?

comment:11 by fingolfin, 19 years ago

Status: newpending

comment:12 by SF/stobiepole, 19 years ago

Status: pendingnew

comment:13 by SF/stobiepole, 19 years ago

Deleting the old preference file solved the problem.

comment:14 by fingolfin, 19 years ago

Status: newclosed

comment:15 by fingolfin, 19 years ago

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