Opened 4 years ago

Closed 4 months ago

Last modified 4 months ago

#13711 closed defect (fixed)

SLUDGE: NSC Crashes in opening credits

Reported by: henke37 Owned by: Azzurra Suffia <azzurra.suffia@…>
Priority: normal Component: Engine: SLUDGE
Version: Keywords: loadCustomData
Cc: Game:

Description

The game attempts to loadCustomData from the game data folder instead of the save folder.

Attachments (1)

savedata.diff (936 bytes ) - added by henke37 4 years ago.

Download all attachments as: .zip

Change History (4)

by henke37, 4 years ago

Attachment: savedata.diff added

comment:1 by henke37, 4 years ago

Partial fix, now fails encoding check

comment:2 by Azzurra Suffia <azzurra.suffia@…>, 4 months ago

Owner: set to Azzurra Suffia <azzurra.suffia@…>
Resolution: fixed
Status: newclosed

In 7bdaa656:

SLUDGE: Fix data file encoding and restore CP1252 compatibility

The SLUDGE engine originally used CP1252 encoding for its data file
validation strings. During code conversion, this string was
accidentally transcoded to UTF-8 in the source code, causing ScummVM
to write headers that deviated from the original engine's format.

This change:

  • Restores the original CP1252 validation string for all new writes.
  • Implements a fallback to accept the UTF-8 validation string for backward compatibility with files created by previous ScummVM builds.
  • Ensures consistency with the original SLUDGE data format.

Fix #13711

comment:3 by sev-, 4 months ago

Fixed

Note: See TracTickets for help on using tickets.