hunterm Admin
Posts : 30 Join date : 2010-03-07 Age : 25 Location : earth
| Subject: LibHM - Easier Wii Coding! Sun 7 Mar - 22:03 | |
| LibHM - Easier Wii Coding! - made by huntermLibHM can make it even easier to code for Wii, make your own homebrew programs, and makes it easier to learn how to code. Current Version Release Notes: }---=== v1.2 ===---{ -Took out ConsoleReturnToLoader, use Quit instead -Made sample code -Added in ConsoleVideoWait, really does VIDEO_WaitVSync() Changelog/Old Version Downloads: - Spoiler:
}---=== v1.1 ===---{ [download old version]-First Offical release on WADder.net Forums -Cleaned up code -Added Quit() function, just does same as return 0; }---=== v1.0 ===---{ [download old version]-Inital Release
How To install: - Spoiler:
1. First grab a download from this thread. 2. Then open your devkitPro folder (ex. C:\devkitPro\) 3. Open the libogc folder, inside that folder will be two folders: include, and lib. Open include. 4. Keep that window open, and copy the downloaded .h file to the include folder said earlier. 5. For easier use, rename it libhm.h. 6. To start learning how to use it, open this file, and study the syntax in it. 7. To use it in a file, put #include <libhm.h> at the very top of the file, which will allow you to use libhm's context and functions in your file. 8. ???? 9. PROFIT!!! Download LATEST VERSIONDownload SAMPLE CODEReport Bugs, suggestions, hate-mail, love-mail, awesomeness, and comments here. When starting to code with Libhm, take a while to study the syntax used with it, and use the sample code to start from, as it will allow you to start coding without needing to create a Makefile, just start editing the .c file included.
Last edited by hunterm on Tue 9 Mar - 22:24; edited 2 times in total | |
|
wiihackerz101
Posts : 49 Join date : 2010-03-07 Location : In the Wii's Nand
| Subject: Re: LibHM - Easier Wii Coding! Sun 7 Mar - 23:27 | |
| Awsome | |
|
wiihackerz101
Posts : 49 Join date : 2010-03-07 Location : In the Wii's Nand
| Subject: Would this Work Mon 8 Mar - 19:03 | |
| I wonder if you guys could test this code out and tel me how it works? - Code:
-
#include <stdio.h> #include <stdlib.h> #include <gccore.h> #include <wiiuse/wpad.h> #include <libhm.h>
ConsoleInit(); ConsoleVideoInit(); ControllerInit(); ClearScreen(); PrintText("\n"); PrintText("\n"); PrintText("\n"); PrintText("\n"); PrintText("Hello World this is Wiihackerz101") while(1) { ControllerScan(); ControllerButtonsDown(); if ( buttonsDown & WPAD_BUTTON_HOME ) { ClearScreen(); PrintText("\n"); PrintText("\n"); PrintText("\n"); PrintText("\n"); PrintText("Wiihackerz101 has pressed the A Button!?!\n"); Quit(); } if ( buttonsDown & WPAD_BUTTON_A ) { ClearScreen(); PrintText("\n"); PrintText("\n"); PrintText("\n"); PrintText("\n"); PrintText("Wiihackerz101 Why You Press The A Button\n"); } if ( buttonsDown & WPAD_BUTTON_B ) { ClearScreen(); PrintText("\n"); PrintText("\n"); PrintText("\n"); PrintText("\n"); PrintText("Wiihackerz101 Why You Press the B Button\n"); } if ( buttonsDown & WPAD_BUTTON_1 ) { ClearScreen(); PrintText("\n"); PrintText("\n"); PrintText("\n"); PrintText("\n"); PrintText("ZOMG Wiihackerz101, you pressed that crazy 1 button again!\n"); } if ( buttonsDown & WPAD_BUTTON_2 ) { ClearScreen(); PrintText("\n"); PrintText("\n"); PrintText("\n"); PrintText("\n"); PrintText("ZOMG wiihackerz101, you pressed that crazy 2 button again!\n"); } ConsoleVideoWait(); } }
| |
|
Sponsored content
| Subject: Re: LibHM - Easier Wii Coding! | |
| |
|