Separate names with a comma.
Discussion in 'Wii - Hacking' started by Prime, Apr 4, 2008.
What programing language is used to create a .elf? (for the twilight hack)
C, or C++ compiled with devkitPPC of the devkitPro toolchain.
Ah, right thanks arctic_flame
EDIT: agh i cant get my head around the devkitPPC. How do i compile??
I assume you're on windows. Get the devkitPro installer from devkitpro.org. Make sure you install devkitPPC (GC/Wii) (devkitARM is for the GBA/DS, take a guess for devkitPSP).
After the install is done, restart, or logoff/logon. Then find Msys in your start menu under devkitPro, this will get you a shell. To compile, navigate to the folder (cd /c/devkitPro/.../project/) (CASE SENSITIVE) and type "make".
When i do what you said it says "nothing to be done".
I thought i'd go ahead and put it on my SD Card. I rename it boot.elf but when i start up twilight princess it freezes trying to load the .elf i think.
Post what you're trying to compile.
Try your projects .dol format in the included emulator
If it doesn't work in that in most likely also wont work on the Wii.
And remember to watch the compile log for errors
Wait i might this completely wrong. Can i just make a .elf which contain a simple "Hello World" written in C?
maybe i need to have a special code or something to make it work on the twilight hack.
im very interested in this too..i would like to know the difference and how to compile a program to run on the twliilight hack...
any help is great...iv followed to above instructions....
Well just keep a eye on this thread. Hopefully arctic_flame will write back.
Is there anywhere i can learn about C for the Wii? like a tutorial?
There isn't too much, you just have to look at examples and the sources of other projects...
ligOGC is used by most developers - it makes everything easier.
How to set it up: http://www.tehskeen.com/forums/showthread.php?t=2968
The chances of me making a .elf are slipping away every so slightly.
Don't get discouraged. However, I would learn some C(++) first then write software for specific systems later.