Mefiresu / RSDKv5-Decompilation

A complete decompilation of Retro Engine (v5) ported to the Wii
Other
49 stars 6 forks source link

[General] .dol file does not support ForwardMii #15

Closed TrashBandatcoot closed 1 year ago

TrashBandatcoot commented 1 year ago

I created a forwarder using CustomizeMii's ForwardMii plugin, but upon booting I just get to see a black screen. Will this get fixed?

(Here's a screenshot in case if anyone is curious what the forwarder looks like.) image

Mefiresu commented 1 year ago

I don't know much about how this forwarder works, but my guess is that it doesn't change directory before starting the game. So maybe just having the game files at the root of the SD card should work.

Mefiresu commented 1 year ago

After testing it myself, it seems to work just fine when the Data.rsdk file is in the /apps/SonicMania folder. Could you tell me how you created yours to understand what went wrong?

TrashBandatcoot commented 1 year ago

I used CustomizeMii combined with the ForwardMii plugin, the attached image should show you how straight foward that is. After launching, it does load the boot.dol file, but after that just stops on a black screen and never seems to load the Data.rsdk file. Just to be sure, I opened the game through the Homebrew Channel and it worked fine there. Maybe you used some other forwarder creator I could use instead?

image

Mefiresu commented 1 year ago

Figured out why it worked for me, I actually had another Data.rsdk file at the root of the SD card. My first theory was correct then, the forwarder doesn't change the current directory before starting the executable.

I will push a fix soon to hardcode the game path to a specific folder at the root of the SD card (like RSDKv5), so that future versions will read/write game files from there instead of next to the boot.dol.

Mefiresu commented 1 year ago

Fixed by cfa4976.