diasurgical / devilutionX

Diablo build for modern operating systems
Other
8.03k stars 786 forks source link

Fails to launch in Yuzu (Are Switch instructions correct?) #3685

Closed heinermann closed 3 months ago

heinermann commented 2 years ago

Since I'm making commits to Yuzu (Switch emulator) I will be looking into this. For context I think it will be easier to debug from this side than emulator-side.

Since this is probably the fault of Yuzu, I'll create a sister issue for them once I can compile and rule out anything dumb such as not checking the right directory.

Steps

  1. Copied DIABDAT.MPQ, devilutionx.nro, and devilutionx.mpq to AppData\Roaming\yuzu\sdmc\switch\devilutionx.
  2. In Yuzu (master), File -> Load File... -> devilutionx.nro (or from the games list).
  3. Yuzu shows loading bar for 1s, followed by game immediately closing back to the rom list.

Notes

Trihedraf commented 2 years ago

Try removing devilutionx.mpq. For some of the platforms it is built in to the executable now instead.

heinermann commented 2 years ago

Try removing devilutionx.mpq. For some of the platforms it is built in to the executable now instead.

Same issue. I'll deep dive tomorrow.

heinermann commented 2 years ago

With the latest build from CircleCI, if I move DIABDAT.mpq to the sdmc root folder, it plays the intro video before closing.

heinermann commented 2 years ago

Ah was missing devilutionx.mpq in sdmc root. Otherwise appears to be working perfectly fine. But that means there's a discrepancy in the instructions.

Can someone confirm that on actual hardware it must be placed in sdmc://switch/devilutionx/ rather than root?

Per readme:

 - Put `devilutionx.nro` and `devilutionx.mpq` in into `/switch/devilutionx`
 - Copy diabdat.mpq from your CD (or GoG install folder) to `/switch/devilutionx`.
StephenCWills commented 3 months ago

Closed due to inactivity and unfortunate circumstances for Yuzu.