WiiRd forum

Wii & Gamecube Hacking => Wii help => Topic started by: JFTS on April 28, 2009, 07:16:22 PM

Title: Creating Codes Help Request
Post by: JFTS on April 28, 2009, 07:16:22 PM
Hello guys. Despite the fact I am an experienced Wii brewer, this is my first time in this kind of homebrew. I mean I installed Ocarina the previous week and I only tried a few codes (Super Spinner in TP rocks!). The idea of creating and editing codes is really interesting so I would like to experiment with this app. Unfortunately I am totally nooby so I request some help. If anyone could give me a tutorial on how to create codes I would really appreciate it! Thanks for your time and keep up the good work! :cool:





Sorry for any English mistake. If there is one.
Title: Re: Creating Codes Help Request
Post by: ssbbdude on April 28, 2009, 07:17:56 PM
You need a USBGecko to make cheats
Title: Re: Creating Codes Help Request
Post by: Jassim on April 28, 2009, 07:28:25 PM
and dont using ocarina, use gecko os.

thats step 1, step 2 is get a usbgecko like ssbbdude just said and installing wiird.


step 3: read these guides http://wiird.l0nk.org/forum/index.php/topic,101.0.html (http://wiird.l0nk.org/forum/index.php/topic,101.0.html)



good luck and rememberit takes time to get used to hacking, i started off as a complete noob (still am but can at least make some codes)
Title: Re: Creating Codes Help Request
Post by: ssbbdude on April 28, 2009, 07:37:52 PM
http://wiird.l0nk.org/forum/index.php/topic,2965.0.html (http://wiird.l0nk.org/forum/index.php/topic,2965.0.html) (http://i108.photobucket.com/albums/n31/Romaap/cf1a750f.jpg)
Title: Re: Creating Codes Help Request
Post by: matt123337 on April 28, 2009, 10:52:31 PM
Quote from: Jassim on April 28, 2009, 07:28:25 PM
and dont using ocarina, use gecko os.

thats step 1, step 2 is get a usbgecko like ssbbdude just said and installing wiird.


step 3: read these guides http://wiird.l0nk.org/forum/index.php/topic,101.0.html (http://wiird.l0nk.org/forum/index.php/topic,101.0.html)



good luck and rememberit takes time to get used to hacking, i started off as a complete noob (still am but can at least make some codes)
w00t for us noobs :D
Title: Re: Creating Codes Help Request
Post by: ssbbdude on April 28, 2009, 10:58:21 PM
reminds me when i got mine took like 6 hours to figure out how 2 do some things (http://i452.photobucket.com/albums/qq247/ssbbdude57/XD.png)
Title: Re: Creating Codes Help Request
Post by: dragonboy269 on April 28, 2009, 11:15:35 PM
(You might not need a USBgecko if some codes have already been made for the game and you know how to use assembly, some awesome codes can be created from a single address. I haven't made any single address Wii ASM codes yet but here's an example of an AR DS code [it's a completely different assembly language but similar to powerpc])
[spoiler]@text to AR DS code
@for Animal Crossing Wild World 1.0
@type the AR code into the chat and submit your message
@supports 8, 16, and 32 bit writes

@[[Convert to Thumb]]
add r2,pc,#1
bx r2
.thumb

ldr r1, text
mov r12,lr
mov r0,#0x18
bl textstuff

mov r4, r5
mov r0, #0x1C
bl textstuff

sub r1, #0x11
ldrb r1, [r1]
and r1,r2
cmp r1, #0x1
blt storeword
beq storehalf
strb r5, [r4]
b end

storeword:
str r5, [r4]
b end
storehalf:
strh r5, [r4]

end:
mov lr,r12
b exit

textstuff:
add r1, #0x1
mov r5,#0x0
mov r2,#0xF

@[[Final text address in r5]]
loop:
ldrb r3,[r1]
add r1,#1
cmp r3,#0x3A
blt number
add r3,#9
number:
and r3,r2
lsl r3,r0
add r5,r3
sub r0,#0x4
bpl loop
exit:
bx lr

.arm
text:
.long 0x22AF136

you only need to know the text address, that's it[/spoiler]