[Bug] DevilutionX hangs after attempting to start #107

Closed
opened 2024-10-29 14:35:14 +00:00 by tsunamistate · 8 comments
tsunamistate commented 2024-10-29 14:35:14 +00:00 (Migrated from github.com)

Description of the issue

DevilutionX (source port for Diablo and Hellfire expansion) has a Switch homebrew version. After attempting to start it in this fork, UI hangs and stops being responsive

Reproduction steps

  1. Download DevilutionX Switch version: https://github.com/diasurgical/devilutionX/releases/download/1.5.3/devilutionx-switch.zip
  2. Unpack deviltionx.nro into game folder
  3. (Optional) Place DIABDAT.MPQ from original Diablo install into sdcard folder
  4. Open Ryujinx and double-click on DevilutionX

Log file

Ryujinx_1.2.59_2024-10-29_16-43-20.log

OS

Windows 11

Ryujinx version

1.2.59

Game version

1.5.3

CPU

AMD Ryzen 7 5700X

GPU

Radeon RX 590

RAM

16GB

List of applied mods

None

Additional context?

Ryujinx-mirror fork version r.49574a9 successfully launches DevilutionX

### Description of the issue DevilutionX (source port for Diablo and Hellfire expansion) has a Switch homebrew version. After attempting to start it in this fork, UI hangs and stops being responsive ### Reproduction steps 1. Download DevilutionX Switch version: https://github.com/diasurgical/devilutionX/releases/download/1.5.3/devilutionx-switch.zip 2. Unpack `deviltionx.nro` into game folder 3. (Optional) Place `DIABDAT.MPQ` from original Diablo install into `sdcard` folder 4. Open Ryujinx and double-click on DevilutionX ### Log file [Ryujinx_1.2.59_2024-10-29_16-43-20.log](https://github.com/user-attachments/files/17558634/Ryujinx_1.2.59_2024-10-29_16-43-20.log) ### OS Windows 11 ### Ryujinx version 1.2.59 ### Game version 1.5.3 ### CPU AMD Ryzen 7 5700X ### GPU Radeon RX 590 ### RAM 16GB ### List of applied mods None ### Additional context? Ryujinx-mirror fork version r.49574a9 successfully launches DevilutionX
GabCoolDude commented 2024-10-29 14:42:39 +00:00 (Migrated from github.com)

We can't do anything without a log.

What do you mean "No logs are produced", they're always produced on boot.

Anyhow, follow these instructions to get a log:
File > Open Logs Folder, send the biggest file in the folder

image

We can't do anything without a log. What do you mean "No logs are produced", they're always produced on boot. Anyhow, follow these instructions to get a log: File > Open Logs Folder, send the biggest file in the folder ![image](https://github.com/user-attachments/assets/56008795-a31a-449e-8fef-5a2e1940fc5c)
tsunamistate commented 2024-10-29 14:45:36 +00:00 (Migrated from github.com)

Sorry, I was looking in wrong folder, updated the report with latest log

Sorry, I was looking in wrong folder, updated the report with latest log
GreemDev commented 2024-10-29 14:47:54 +00:00 (Migrated from github.com)

There is no crash in the log you uploaded

There is no crash in the log you uploaded
LukeWarnut commented 2024-10-29 14:48:53 +00:00 (Migrated from github.com)

It's not recommended to run homebrew directly. If you launch the unpacked homebrew loader , place hbmenu.nro at the root of sdcard, and put the nro in sdcard/switch/, the game will run.

image

That being said, this does seem to be an error with some of Greem's cleanup.

It's not recommended to run homebrew directly. If you launch [the unpacked homebrew loader ](https://github.com/user-attachments/files/17558673/hbl_unpacked.zip), place hbmenu.nro at the root of `sdcard`, and put the nro in `sdcard/switch/`, the game will run. ![image](https://github.com/user-attachments/assets/272fa879-da62-4b77-a6d5-07535b141a07) That being said, this does seem to be an error with some of Greem's cleanup.
LukeWarnut commented 2024-10-29 14:50:10 +00:00 (Migrated from github.com)

There is no crash in the log you uploaded

It hangs at ViewModel.LoadApplication(args.Application).Wait(); in MainWindow.axaml.cs. It doesn't crash or show in the log.

> There is no crash in the log you uploaded It hangs at `ViewModel.LoadApplication(args.Application).Wait();` in MainWindow.axaml.cs. It doesn't crash or show in the log.
tsunamistate commented 2024-10-29 15:46:45 +00:00 (Migrated from github.com)

After bisecting, any of these three commits are suspect
a989d28e03
cb31d79164
df9450d2ad

Bisect couldn't narrow it down to one due to these commits being broken for compilation

After bisecting, any of these three commits are suspect a989d28e033932020ce308c1074e52d6b7531072 cb31d79164ddad8d857fd1e84f04185d15c22b30 df9450d2add3838778a3bb31b064ef9886591294 Bisect couldn't narrow it down to one due to these commits being broken for compilation
GabCoolDude commented 2024-11-01 11:51:29 +00:00 (Migrated from github.com)

It should be fixed now, can you test ?

It should be fixed now, can you test ?
tsunamistate commented 2024-11-01 13:49:04 +00:00 (Migrated from github.com)

@GabCoolDude @GreemDev confirmed, on build 1.2.67 DevilutionX loads without issues
Thanks for the fix, closing

@GabCoolDude @GreemDev confirmed, on build 1.2.67 DevilutionX loads without issues Thanks for the fix, closing
Sign in to join this conversation.
No Milestone
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MeloNX/Ryujinx-ryubing#107
No description provided.