[ scummvm-Bugs-3541114 ] PS2: scummvm.ini gets corrupted

SourceForge.net noreply at sourceforge.net
Sat Jul 7 16:37:42 CEST 2012


Bugs item #3541114, was opened at 2012-07-07 07:37
Message generated for change (Tracker Item Submitted) made by damumbl
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3541114&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Michael Kanis (damumbl)
Assigned to: Nobody/Anonymous (nobody)
Summary: PS2: scummvm.ini gets corrupted

Initial Comment:
The ini file gets written correctly, as it seems, but the file size is not updated, if the new file is smaller than the old one. This results in an ini file, that contains some of the old content at the end. I'll attach 2 files, to make this clear.

Steps to reproduce:
1) Set up BASS to override the global volume settings. Hit Ok → File gets written. File has x (=550 for me) Bytes and is correct.
2) Edit the game and disable "Override global volume settings". Hit Ok → File gets written. File still has x Bytes. It now contains the new content, which is shorter than the old and some of the old content that "fills" the x Bytes.
3) ScummVM will not start anymore with the corrupt ini file.

I tested with 1.4.1 and the daily build as of today, 2012-07-07. Both versions have the bug.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3541114&group_id=37116




More information about the Scummvm-tracker mailing list