Opened 18 years ago

Closed 17 years ago

#3191 closed defect (fixed)

GOB3: Can't replace save games

Reported by: (none) Owned by: DrMcCoy
Priority: normal Component: Engine: Gob
Version: Keywords:
Cc: Game: Goblins 3

Description

ScummVM 0.10.0svn (May 10 2007 08:52:08) Features compiled in: Vorbis FLAC MP3 zLib MPEG2

I'm not able to replace save games. I'm only able to save into a new slot, not in already taken ones.

If i try so, i get the message:

WARNING: Can't open file for slot 1 for writing!

Goblins Quest 3 CD (English/US)

AmigaOS4 gcc version 4.0.2 (AmigaOS build 20051012)

Ticket imported from: #1717763. Ticket imported from: bugs/3191.

Change History (6)

comment:1 by bluegr, 18 years ago

Just tried this with the latest SVN under Windows Vista (compiled with MSVC8), with the same features compiled in.

This issue doesn't occur under Vista, I can replace save games without getting any warnings

I'm not familiar with AmigaOS, but could it be an issue with the permissions you've given to the folder where the save games are stored?

comment:2 by (none), 18 years ago

Hi thebluegr,

>I'm not familiar with AmigaOS, but could it be an issue >with the permissions you've given to the folder where the >save games are stored?

The save games of all ScummVM games go into the same dir here and it is free to the system, no such thing as read/write protection like on Windows and/or MacOS.

Looks more like the files being loaded and then not freed, i.e. still locked by ScummVM and thus making another instance of the file unable to be opened.

Just a thought, though and by comparing to my long record of wrong assumptions probably a wrong one again :-)

No such problems with Gobliins 2 and Gobliiins.

comment:3 by DrMcCoy, 18 years ago

Owner: set to DrMcCoy

comment:4 by DrMcCoy, 17 years ago

Could you retry with the current SVN? agent-q fixed something about loading a month ago: Apparently, I forgot closing the file descriptor after successfully loading a screenshot out of a save. And an open file descriptor could stop you from writing to the file.

comment:5 by (none), 17 years ago

Fixed. Thanks a lot DrMcCoy and agent-q :-)

comment:6 by DrMcCoy, 17 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.