libretro / scummvm

ScummVM main repository
https://www.scummvm.org
GNU General Public License v3.0
4 stars 6 forks source link

ScummVM Crashes When Loading Games on New Nintendo 3DS XL #10

Closed sonic65101 closed 1 year ago

sonic65101 commented 1 year ago

Description

When attempting to launch games (Starship Titanic purchased from Steam and Hi-Res Adventure 1 - Mystery House downloaded from the RetroArch Content Downloader), the console crashes.

Expected behavior

The games launch normally.

Actual behavior

The New Nintendo 3DS XL crashes, data abort.

Screenshots

(Stack Dump is empty/blank.) 20230114_202231

Steps to reproduce the bug

  1. Open RetroArch.
  2. Select Load Content.
  3. Navigate to the game's folder and select its .scummvm file.

Version/Commit

[You can find this information under Information->Core Information / System Information]

ScummVM game/engine

Game: Starship Titanic 1.00.42c (titanic-win), Engine: titanic

Environment information

Additional context

[Add any other context about the problem here]

spleen1981 commented 1 year ago
sonic65101 commented 1 year ago
  1. Yes. The ScummVM core launches to the GUI. Neither Hi-Res Adventure 1: Mystery House nor Starship Titanic were detected, however, Beneath a Steel Sky was detected, and could be launched without crashing both from ScummVM's GUI and RetroArch's Load Content option.
  2. Log from trying to launch Hi-Res Adventure 1: Mystery House. retroarch.log
spleen1981 commented 1 year ago

The two engines from your test are not available in the 3DS build, as they are flagged as highres, which is not supported on this platform. This flag is coming from legacy libretro core. This is the list of engines currently available in 3DS build:

access
agi
agos
ags
bbvs
cge
cge2
chewy
cine
cruise
versailles
director
draci
dragons
drascula
dreamweb
glk
gob
griffon
groovie2
hugo
hypno
illusions
kyra
lol
eob
lab
lure
made
mads
riven
myst
mystme
parallaction
queen
saga
sci
scumm
scumm_7_8
sherlock
sky
supernova
teenagent
tinsel
tsage
tucker
voyeur
foxtail
herocraft
xeen

However there are two points:

sonic65101 commented 1 year ago

I get a 404 page when trying to download the linked build.

spleen1981 commented 1 year ago

I get a 404 page when trying to download the linked build.

uploaded here

sonic65101 commented 1 year ago

With that build, both Hi-Res Adventure libretro/scummvm-upstream#1: Mystery House and Starship Titanic are detected by ScummVM's Add Game option, but only Hi-Res Adventure libretro/scummvm-upstream#1: Mystery House launches. Trying to launch Starship Titanic displays the message "Could not find titanic.dat data file." and then closes ScummVM/RetroArch, returning to the 3DS Home menu.

spleen1981 commented 1 year ago

The dat file is included in scummvm.zip, available from retroarch content downloader. You can download for testing from here: https://github.com/scummvm/scummvm/blob/4bf45d922baaf68552c9936491d34361ffb467f2/dists/engine-data/titanic.dat And add to scummvm / extra folder in system

sonic65101 commented 1 year ago

Starship Titanic also launches once the titanic.dat file is present.

spleen1981 commented 1 year ago

do those highres games look like are running properly? any graphical issue?

sonic65101 commented 1 year ago

Hi-Res Adventure libretro/scummvm-upstream#1: Mystery House runs fine. Starship Titanic starts out, just with audio stutter, but it slows down visually and audibly to the point of being unplayable once the ship crashes into the player character's house, though I think this is due to the 3DS's hardware.

spleen1981 commented 1 year ago

I understand there are no real issues directly related to highres flag on 3DS, so I guess we can enable it. Also crash on unrecognized game is fixed by 6ec43063d4d9057c522edc459c3bee17ece51514