WADder
Login to WADder forums?



 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 LibHM - Easier Wii Coding!

View previous topic View next topic Go down 
AuthorMessage
hunterm
Admin


Posts : 30
Join date : 2010-03-07
Age : 19
Location : earth

PostSubject: LibHM - Easier Wii Coding!   Sun 7 Mar - 22:03

LibHM - Easier Wii Coding! - made by hunterm

LibHM 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 Very Happy
-Added in ConsoleVideoWait, really does VIDEO_WaitVSync()

Changelog/Old Version Downloads:
Spoiler:
 

How To install:
Spoiler:
 

Download LATEST VERSION
Download SAMPLE CODE

Report 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
Back to top Go down
View user profile http://wadder.forumotion.com
wiihackerz101

avatar

Posts : 49
Join date : 2010-03-07
Location : In the Wii's Nand

PostSubject: Re: LibHM - Easier Wii Coding!   Sun 7 Mar - 23:27

Awsome farao
Back to top Go down
View user profile http://wadder.forumotion.com/profile.forum?mode=viewprofile&
wiihackerz101

avatar

Posts : 49
Join date : 2010-03-07
Location : In the Wii's Nand

PostSubject: Would this Work   Mon 8 Mar - 19:03

I wonder if you guys could test this code out and tel me how it works?afro

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();
   }
}
Smile
Back to top Go down
View user profile http://wadder.forumotion.com/profile.forum?mode=viewprofile&
Sponsored content




PostSubject: Re: LibHM - Easier Wii Coding!   

Back to top Go down
 
LibHM - Easier Wii Coding!
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Revival of Memories, by Brian E. Lowe (Schabbs) - coding by MCS
» Color Scheme planning
» Barroth is joke
» Which Monster, which weapon
» 1500 Highlander Tourney -- Nov 16th, Patched for easier rule reading

Permissions in this forum:You cannot reply to topics in this forum
WADder :: Wii Homebrew :: Releases-
Jump to: