My ultimate goal is launching Swiss with disc games that's as close to a "stock" console experience as possible. A couple options like Boot through IPL and Boot Without Prompts help streamline launching a disc, but it still requires you to select the game's executable and press A to launch it. The Z auto-launch option works well actually, but if you're using it for actual discs it can only remember 1 game at a time.
Would it be possible to streamline any of this further? My proposals would be:
- Adding an option to automatically select a game's executable and launch it on boot. This may be harder than it sounds though, since I don't know the general folder structure for Gamecube discs- is there always only one executable in the root? Do the executables' names vary widely? Is the executable ever in a folder instead of the root?
--- If the logic would get messy here, maybe there could be a way to add multiple Z auto-launch favorites, 1 per unique disc ID? Only one disc can be in at a time of course, though there would have to be some priority choice if it ended up allowing for a disc favorite and say an SD card favorite.
- A "silent" mode that suppresses patching and loading messages, though this isn't too important.
I'm also not sure which source Swiss will try to load from first. Is there a boot priority list it runs through, and can it be customized by the end user?
Curious if this sounds useful to anyone else, or if there are any options I've missed. I could take a stab at it as well if I can get a dev/build environment set up.
Possible to add auto disc game launching?
-
- Posts: 161
- Joined: Fri Jul 26, 2013 11:19 pm
Re: Possible to add auto disc game launching?
This is a good idea and I can probably add a special caveat to the logic or a prompt for DVD when setting auto-load on it since it doesn't make sense to remember a specific disc as autoload.
![Image](http://www.gc-forever.com/files/emusig.jpg)
-
- Posts: 161
- Joined: Fri Jul 26, 2013 11:19 pm
Re: Possible to add auto disc game launching?
Ah glad to hear you think it would be useful, I was actually modifying USB Loader GX for disc autoboot as well tonight (its UI is a lot clunkier than Swiss').
Remembering a specific disc definitely doesn't seem like the best solution, I just thought it might be an easier workaround leveraging the existing favorite option. Is it as easy as just checking for a disc and loading boot.bin or some other main executable that always has the same name if a disc is present, then show a prompt or fallback to menu if there isn't one?
Remembering a specific disc definitely doesn't seem like the best solution, I just thought it might be an easier workaround leveraging the existing favorite option. Is it as easy as just checking for a disc and loading boot.bin or some other main executable that always has the same name if a disc is present, then show a prompt or fallback to menu if there isn't one?
-
- Posts: 161
- Joined: Fri Jul 26, 2013 11:19 pm
Re: Possible to add auto disc game launching?
Works very nicely and cleanly leverages the favorites system much better than I would have managed to. I have yet to install a Kunai or PicoBoot to replace my SD Media Launcher, but it seems to boot and patch the ActionReplay disc when Boot Without Prompt is enabled faster than it takes the OSSC to resync with my display, so plenty fast!emu_kidid wrote: ↑Sun Apr 16, 2023 8:31 pmTake a look at https://github.com/emukidid/swiss-gc/co ... 734539c16a
I think the only potential concern is if other users of disc booting methods favorite a game disc and have the boot prompt turned off, then unexpectedly enter a boot loop on the next Swiss launch. This is a pretty edge case though, so it may not be worth worrying about- most display setups will likely show the patching progress in time for users to better understand what's happening.
Oh, and I'm curious if booting Swiss directly from KunaiGC or PicoBoot (or other older options) will skip the console spinning the drive up on boot. Ideally only one drive reset is ever executed, if that's a scenario that's possible to get to.
Re: Possible to add auto disc game launching?
The drive has to be reset twice anyway due to a firmware bug.
-
- Posts: 161
- Joined: Fri Jul 26, 2013 11:19 pm
Re: Possible to add auto disc game launching?
Ah, well, pretty much perfect then!