WiiRd forum

Wii & Gamecube Hacking => Wii Game hacking help => Topic started by: codhacker on October 23, 2009, 10:16:15 PM

Title: Jump hack question
Post by: codhacker on October 23, 2009, 10:16:15 PM
ok, well this is for COD5 if your wondering.

i want to learn how i can "Fly" like you would jump (high) , then stay at the same point in the air, and you can hit up or down to change your level. i have made a moon jump code, i also nop-ed the jump, so i was thinking, how could i jump, then nop it at the level and un-nop it when i jump??

Also, i am sort of new to ASM, and i was wondering, say the value is Subbi r0 r0 r4 or something, could i just change it to addi r0 r0 r4? without fixing the registers(if thats what they are called)

THANKS :D hope you can help out
Title: Re: Jump hack question
Post by: _Vuze_ on October 24, 2009, 02:24:20 PM
I don't do these codes with ASM  ;)
I'd reccommend simply creating a joker code and then using Gecko register functions for your needs.
Title: Re: Jump hack question
Post by: mdmwii on October 25, 2009, 05:28:37 AM
Quote from: codhacker on October 23, 2009, 10:16:15 PM
ok, well this is for COD5 if your wondering.

i want to learn how i can "Fly" like you would jump (high) , then stay at the same point in the air, and you can hit up or down to change your level. i have made a moon jump code, i also nop-ed the jump, so i was thinking, how could i jump, then nop it at the level and un-nop it when i jump??

Also, i am sort of new to ASM, and i was wondering, say the value is Subbi r0 r0 r4 or something, could i just change it to addi r0 r0 r4? without fixing the registers(if thats what they are called)

THANKS :D hope you can help out

If you want to 'un-nop' an instruction that you just nopped the best way is to use a button activator that replaces '60000000' with original value.

Regarding sub r0,r0,r4 thing, you should check its context: what is r0? A counter or something different?
Title: Re: Jump hack question
Post by: codhacker on October 26, 2009, 08:32:39 PM
Quote from: mdmwii on October 25, 2009, 05:28:37 AM
Quote from: codhacker on October 23, 2009, 10:16:15 PM
ok, well this is for COD5 if your wondering.

i want to learn how i can "Fly" like you would jump (high) , then stay at the same point in the air, and you can hit up or down to change your level. i have made a moon jump code, i also nop-ed the jump, so i was thinking, how could i jump, then nop it at the level and un-nop it when i jump??

Also, i am sort of new to ASM, and i was wondering, say the value is Subbi r0 r0 r4 or something, could i just change it to addi r0 r0 r4? without fixing the registers(if thats what they are called)

THANKS :D hope you can help out

If you want to 'un-nop' an instruction that you just nopped the best way is to use a button activator that replaces '60000000' with original value.

Regarding sub r0,r0,r4 thing, you should check its context: what is r0? A counter or something different?
ahh, i see. ill have to try it. but the r0 r0 r4 thing was just an example, im trying to make a moon jump for the other players to control themself, so i was wondering how i could make the flmuls a higher value, because a normal just is flmuls
Title: Re: Jump hack question
Post by: codhacker on October 28, 2009, 10:41:41 PM
ok, this is the OG value of everyone's speed and jump: EFE00072, how can i add a floating point value? i thought it was add FFFFFFFF to it, but that didnt work
Title: Re: Jump hack question
Post by: codhacker on November 10, 2009, 11:56:41 PM
bump ??? ??? ??? ???
Title: Re: Jump hack question
Post by: Romaap on November 11, 2009, 04:22:41 PM
EFE00072 is a negative floating point value, you cant use immediate instructions on floating point registers so you have to load the floating point value you want to add into a floating point register and use fadd
Title: Re: Jump hack question
Post by: codhacker on November 12, 2009, 10:42:38 PM
Quote from: Romaap on November 11, 2009, 04:22:41 PM
EFE00072 is a negative floating point value, you cant use immediate instructions on floating point registers so you have to load the floating point value you want to add into a floating point register and use fadd
so will i have to change the r40 r40 r0 (example)? becuase i dont know how/what to change it to. i know i can change it to fadd but what do i change the registers to?
thanks
Title: Re: Jump hack question
Post by: codhacker on November 30, 2009, 10:15:12 PM
Quote from: Romaap on November 11, 2009, 04:22:41 PM
EFE00072 is a negative floating point value, you cant use immediate instructions on floating point registers so you have to load the floating point value you want to add into a floating point register and use fadd
Ok, well the registers are fadd f31,f0,f1 so i expermented, and i added a number higher in every register, and nothing happened, also in the mem viewer it says its floating point value is NaN, help anyone?