#13884 closed defect (fixed)

GUI: Fatal "Wrong string format (M)" error when exploring an HFS CD

Reported by: dwatteau Owned by: phcoder
Priority: normal Component: GUI
Version: Keywords:
Cc: Game:

Description

When using gui_browser_native=false, exploring some original HFS CDs (such as my Macintosh version of Indiana Jones and the Fate of Atlantis) makes ScummVM abort with a "Wrong string format (M)" error.

Old HFS CDs often embed files with unusual characters, but gui/widgets/list.cpp doesn't like this.

To reproduce this:

  1. Make sure your preferences file has gui_browser_native=false
  2. Create the following directory with this shell command (matching what's causing the issue on my original LucasArts CD): mkdir -- "$(printf '\03\02\01Move&Rename')
  3. Use the "Add" button and navigate to the path containing this directory

This happens both on HEAD and on today's branch-2-6.

Change History (1)

comment:1 by phcoder, 18 months ago

Owner: set to phcoder
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.