libretro-mirrors / scummvm

ScummVM with libretro backend.
http://www.scummvm.org/
GNU General Public License v2.0
21 stars 30 forks source link

ScummVM core fails to start on UWP / Xbox #178

Closed ckeisc closed 2 years ago

ckeisc commented 3 years ago

When starting the core without content, the core errors out with message: “Could not read content file “”. (during copy read)”

A few observation:

  1. The core can start if you do load core, and load content on a .scummvm file pointing to a game id that does not exist in system/scummvm.ini. It would fail the load the game with error message “Error running game: Game data not found”. which is expected, but once dismiss the error dialog, you could see fully functional ScummVM UI. Not sure what this path skips that causes Start Core to fail.
  2. By doing steps mentioned above, you could enter main ScummVM UI. There, open any file dialog, it would point to the directory hosting the core (S drive on Xbox), and if you traverse the folder structure, it cannot enumerate files anywhere else in the file system. The code could only enumerate files and folders under Retroarch package folder. Going out of the folder and going to any other drive would show nothing in file picker.
  3. However, the core appears to capable of reading files from other folders if absolute path to files are given. For example, I manually edited scummvm.ini in system folder to add theme and extra folder path using absolute path, and the core would launch with the theme.
  4. Manually edited scummvm.ini to add game entries with base directory information, and try “Start” from Scummvm Launcher, then Retroarch crashes.
  5. Finally, if I Load Content on a game data file instead of .scummvm file, Retroarch would also crash similar to 4.

Retroarch: 1.9.3 Scummvm: 2.1.1

ckeisc commented 2 years ago

Fixed now, not sure when but 1.9.10 is good.