-
Notifications
You must be signed in to change notification settings - Fork 17
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
WiiFlow compatibility for autolauch games. (FIX94) #98
base: master
Are you sure you want to change the base?
Conversation
From FIX94/Wii64 I added a small change which allows the user to change the ROM even after using autoboot.
main/main_gc-menu2.cpp
Outdated
if (menu->Autoboot) | ||
{ | ||
// after init wpad wait a bit | ||
sleep(2); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed this also came up in Not64. I'd rather spin with a message box here until there's a controller detected by the menu, I can have a look at adding that though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i've noticed Extrems already fixed that here, so this sleep function would be useless anyway: extremscorner/not64@745a66a#diff-515d9a7589dc16cc8b4da22fdd8bba23732a67fa26bb63081149dcdacfc64e1c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've removed the sleep function in d3395d8, cause this commit from Not64 fixes controllers when in autoboot anyway: extremscorner/not64@745a66a#diff-515d9a7589dc16cc8b4da22fdd8bba23732a67fa26bb63081149dcdacfc64e1c
Only thing remaining if adding the controller fix from Not64, but this can be done later.
From http://github.com/FIX94/Wii64
Adds arguments support for autolaunch games via WiiFlow.
In the meta.xml file, the arguments for use are:
<arguments>
<arg>{device}:/{path_of_ROM}</arg>
<arg>{ROM_file}</arg>
</arguments>
For example:
<arguments>
<arg>sd:/apps/wii64_singlegame/rom</arg>
<arg>SuperMario64.z64</arg>
</arguments>
This will be useful for WiiFlow, and other game launchers including making custom simple game loaders along with forwarder channels, specially since Wii64 is the only N64 emulator for Wii which has Rice GFX for that problematic games that wouldn't run in glN64 GFX.
Also I added a small change which allows the user to change the ROM even after using autoboot.
This code i'm adding will not interfiere with other arguments that can be used also in meta.xml (such CountPerOp, FBTex, ScreenMode, etc.)
Thanks! @saulfabregwiivc