HAI-Priiloader, A Bootloader For VC Injects


admin

Administrator
Staff member
HAI-Priiloader uses a similar technique to that used by Priiloader to enable vWii support for enabling support in HAI-IOS used by vc injects. The COMBAT-BS ANCAST image is replaced with the BC-NAND ANCAST image, which boots priiloader in the same way that replacing the system menu ANCAST image with BC_NAND boots Priiloader in vWii.

Both methods boot the same binary, necessitating integrating HAI-Priiloader with Priiloader. HAI-Priiloader checks if the system is in HAI mode, indicated by the SSL module not being loaded, and if it is in HAI mode, load the SSL module and boot a title whose ID is hardcoded in fw.img The disc is booted by default when no titleID is found to retain compatibility to current injects.

This new ability to load modules into HAI-IOS and boot homebrew applications without booting the title in the virtual disc drive facilitates implementing the remaining stubborn functionality in HAI mode.

It should be possible to enable Wiimfii support with Mario Kart Wii injects.
Fakemote can be modified to register the gamepad as a Wii Remote, addressing gamepad compatibility issues in Newer Super Mario Bros Wii and the like.
With Riivolution's source code being available it is theoretically possible to run Riivolution in HAI-Mode, adding support for using the gamepad in Riivolution-based hacks. Riivolution's patches specific to the IOS 37 kernel would need to be reimplemented on the HAI-IOS kernel for this to work.

github repo: https://github.com/ymweiss/HAI-Priiloader

The current source code has some prints that are not needed but do not impact functionality. Additionally, due to the installation currently requiring manually modifying system files and only being useful for developers, no precompiled binaries are being provided.
 

Back
Top