suloku / gcmm

A gamecube/wii memory card manager
GNU General Public License v3.0
255 stars 24 forks source link

GCMM freeze on gamecube when you press Start to exit. Started with Action Replay. #34

Closed Vinnievovi closed 3 years ago

Vinnievovi commented 5 years ago

GCMM freeze on gamecube when you press Start to exit the homebrew. Started with Action Replay. To solve it, it would be enough to set the reboot when you press Start to choose boot loader.

carstene1ns commented 5 years ago

https://github.com/suloku/gcmm/blob/ba023ef5e73f6798806f76b5f772a49bf500a31d/source/main.c#L862-L863 It already handles the case when pso stub is available, so changing SYS_RETURNTOMENU to SYS_RESTART should suffice IMO.

coolaj86 commented 5 years ago

What is SYS_RETURNTOMENU supposed to do?

I've restored boot.gci (which is copied from swiss.gci) onto the memory card, but it's not loading that (which is what loads after the Wind Waker hack loads, when WW is the booting disc).

I have autoexec.dol (which is copied from swiss.dol) in the root of my SD Gecko, but it's not loading that (which is what is loaded by Action Replay, when AR is the booting disc).

I've put boot.dol into the root directory (again, actually swiss.dol), but it's not loading that.

What is it expecting to load as the boot loader? Or what is it expecting to yield control to?

coolaj86 commented 5 years ago

It looks like perhaps that needs an #ifdef of some sort to return to the Wii menu on Wii, but to reset on GC?

suloku commented 5 years ago

You are right, this needs a different case for gamecube and wii (via #ifdef). SYS_RETURNTOMENU is a quicker way to reboot on wii, for gamecube SYS_RESTART would be needed.

My gc/wii dev is a little rusty, I may try to install latest dev environment and recompile with latest libraries and this change

coolaj86 commented 5 years ago

Do you have some instructions on how to compile it?

I run Mac, but I have a few Linux VPSes, and I run Windows in Parallels and VirtualBox.

Since it has to compile for PowerPC I would imagine that at the very least I need some brief "how to install the toolchain" and "how to cross-compile" instructions - for which very specific commands such as apt-get install xxx-powerpc-xxx would be most helpful.

suloku commented 4 years ago

I'll be adding support for sd2sp2, so I'll address this issue too.

suloku commented 3 years ago

36 See issue