Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shutdown to option powers off Wii despite setting it to Priiloader (or Autoboot) #382

Open
aop-runs opened this issue Feb 1, 2025 · 16 comments

Comments

@aop-runs
Copy link

aop-runs commented Feb 1, 2025

Describe the bug
After changing the "Shutdown to" option in Priiloader, my Wii will always power off completely instead of taking you back to Priiloader or any application stored in Autoboot. Same thing happens regardless where you power off. (System Menu, Title, HB App, etc.)

To Reproduce
Steps to reproduce the behavior:

  1. Launch Priiloader by any means
  2. Select Settings
  3. Change "Shutdown to" option to Priiloader (or Autoboot)
  4. Save Settings
  5. Access anything of your choice on the Wii
  6. Press the power button on the Wii

Version
0.10.0

Expected behavior
When pressing the power button, it should go back to Priiloader rather than turn off

Additional context
My Wii only has boot1 installed plus Autobooting wherever doesn't change anything. Wii is patched with cIOS files from official HB guide, but the issue occurred with vanilla IOS for me as well.

@aop-runs aop-runs changed the title Shutdown to option turns off Wii despite setting it to Priiloader (or Autoboot) Shutdown to option powers off Wii despite setting it to Priiloader (or Autoboot) Feb 1, 2025
@Masamune3210
Copy link

Masamune3210 commented Feb 1, 2025

Not going anywhere fast without boot2 and a whole lot more lol

Joking aside, do you mean you have bootmii installed as boot2?

@aop-runs
Copy link
Author

aop-runs commented Feb 1, 2025

I didn't have the option for boot2 so bootmii as IOS is what I have (if that's the correct name)

@Masamune3210
Copy link

Ok, just making sure. The difference between the two can matter quite a lot

@DacoTaco
Copy link
Owner

DacoTaco commented Feb 8, 2025

i just tested this by setting the option, going to SM and pressing power.
this booted priiloader, so it works for me.

what is running when you press the power off button? have you tried booting System Menu and pressing power?

@FipekPL
Copy link

FipekPL commented Feb 8, 2025

I actually face the identical issue on my wii. It doesn't matter from which screen I press the Power button the WII always shutsdown. System Menu/Homebrew/Inside a game.

@aop-runs
Copy link
Author

aop-runs commented Feb 8, 2025

HB Channel + Apps and Virtual Console titles is mainly what I use in which it always happens. Booting to System Menu will also shut off completely when pressing power.

@DacoTaco
Copy link
Owner

DacoTaco commented Feb 9, 2025

freaking weird that it works fine on my wii, the one wii it should break on haha

if you don't mind, i would like to share a few priiloader installers that will install priiloader versions that have things changed, so i can hopefully debug the issue.

we will start with the first one: the latest version that is up to date with all code fixes and changes :
boot.dol.zip

place, and overwrite, the boot.dol on your SD (apps/priiloader) with this boot.dol.
remove all usb devices from the wii and install priiloader using this installer.
then try again

@FipekPL
Copy link

FipekPL commented Feb 9, 2025

Thank you for the new file and help!
I just had some time to test it with the new boot.dol and it's sadly the same result.
The Autoboot: and Return to: settings work as expected with any selection value. But the Shutdown to: always shuts down my Wii regardless of what I selected. (I tested from the HB channel, System Menu and a WiiVC game)

Just in case I added a screenshot of my priiloader version to make sure its the one you shared.

Image

@DacoTaco
Copy link
Owner

DacoTaco commented Feb 9, 2025

@FipekPL : do you have boot2 @ bootmii by any chance?

@FipekPL
Copy link

FipekPL commented Feb 9, 2025

No I have only boot1 in bootmii. (its a newer Wii according to Syscheck Boot2 v4)

@DacoTaco
Copy link
Owner

DacoTaco commented Feb 9, 2025

that sucks. im not 100% comfortable with the next build, it changes things a bit and if it crashes...

If you want to risk it, this mounts the SD a bit earlier, before it decides what to do with the bootstate, so it can be logged.
Could you remove all USB devices, enable the dump debug setting and shutdown the wii when inside System menu? on the sd there should be a Prii.log that i would love to see its input of.

but please be careful with this build if you install it, and install regular priiloader back after the test.

boot.dol.zip

@FipekPL
Copy link

FipekPL commented Feb 9, 2025

I am out for the rest of the day but I can test it tomorrow and send you the Prii.log.

@FipekPL
Copy link

FipekPL commented Feb 10, 2025

@DacoTaco

OK so I just had some time to test with the last build you attached. (Booting to System menu then pressing the Power button on the Wii with logs enabled).
The behavior is still the same, basically nothing has changed (don't know if I make something wrong during installation).
I tested it twice and double checked my settings (Shutdown to: Priiloader).

I also included my System Menu Hacks just in case.

prii.log

Image

Image

Image

Image

@DacoTaco
Copy link
Owner

@FipekPL : it did exactly what i was hoping to see. I needed that Bootstate log line in your log to figure out what its doing.
However, it has set bootstate 3 which is restart/reboot not shutdown ( 5 ) ...

any information on the wii you have? is this a regular wii? wii mini? vwii ?
is WC24 setup, any changes to settings/shutdown behaviour?

also, this is not related to your shutdown issue @Ingunar i think, since you got 255 which is invalid normally

@FipekPL
Copy link

FipekPL commented Feb 10, 2025

@DacoTaco

Its a "normal" wii (red case RVL-001(EUR)) which I just bought off ebay.
I installed some cIOS for USB Loader GX maybe thats an issue?

Here the full syscheck info for my system

SysCheck.csv

WC24 isn't setup I get the following info in settings

Image

@aop-runs
Copy link
Author

Sorry for not contributing as much as I was busy yesterday. I also have a normal red wii (mine is the 25th anniversary one) and my SysCheck is similar to FipekPL's wii. Could be a trend of which wiis may have this issue, but can't really vouch beyond that. Don't have WC24 set up, but do have a Internet connection to use some HB apps.

IOSsyscheck.log
SysCheck.csv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants