Speed Modifier

Started by goemon_guy, November 05, 2011, 11:57:24 PM

Previous topic - Next topic

goemon_guy

How would one go about doing a speed modifier?

From what I would do, I would stand still, and search for something, like 00000000.
Then, I would begin to move slowly, and search greater than.
Then I would begin to move quicker, and search greater than.

^ Repeat those until I find results.

But those steps don't work for me.

So, how would one find the speed?

Thanks!
-Currently hacking the following game(s):
...
Request a code via PM, if you wish.

Deathwolf

1)standing = 00000000
2)running = greather than
3)standing = Less than
4)standing = Equal
5)running = Greather than

after those steps you should be able to find the right address.
lolz

goemon_guy

Mmkay.

I think I found it.
There should be two addresses, right? (One for X, and one for Z [and probably another one for Y, but you don't move up or down.])

But, what do I do to make modify the speed?
-Currently hacking the following game(s):
...
Request a code via PM, if you wish.

Deathwolf

Correct. Sometimes there's the Jump address too.
About the speed address, try to write for example 40000000 to it.

BTW what are you trying to do? A Player speed modifier or just a run speed modifier?
lolz

goemon_guy

A movement speed modifier. (Which would probably be similar/same as run speed modifier)

If I write something to it, it makes me move without even pressing anything. :S
-Currently hacking the following game(s):
...
Request a code via PM, if you wish.

Deathwolf

That's the correct address  :D

Just add a button activator to enable the hack
like:

28XXXXXX 0000YYYY
04XXXXXX 40000000
E0000000 80008000
lolz

goemon_guy

That looks good.

But, since the game has more than one axis for movement... The player only moves in that one direction. What I intended for my code, was this:

Move normally, and movement speed is multiplied.... Or something... I'm not too sure if that is all that clear...
-Currently hacking the following game(s):
...
Request a code via PM, if you wish.

Deathwolf

Actually, to run backward you should use the value BF000000.
lolz

goemon_guy

#8
I have another question in regards to this.

How/can you multiply a floating point? (In ASM)
-Currently hacking the following game(s):
...
Request a code via PM, if you wish.

matt123337

#9
Quote from: goemon_guy on November 06, 2011, 12:50:22 PM
I have another question in regards to this.

How/can you multiply a floating point? (In ASM)
fmul f0,f1,f2

f1 & f2 are the registers that you wish to multiply, f0 is the register you're storing the result to.

goemon_guy

#10
Ah, thanks!

I've noticed that you're trying to contact me on MSN, but... My MSN won't let me talk back to people. So, it's not that I'm intentionally ignoring you.

EDIT:

Feeding this ASM [fmul fr0,fr1,fr2] gives..

./tmp/code.txt:3: Error: unsupported relocation against fr0


Shouldn't be fr, but should be f
-Currently hacking the following game(s):
...
Request a code via PM, if you wish.

goemon_guy

Speed Multiplier (X2)
C21B9718 00000004
3DC0933F 3D804000
918E0000 C1CE0000
FCC603B2 D0C30008
60000000 00000000
C21B9708 00000004
3DC0933F 3D804000
918E0000 C1CE0000
FCC603B2 D0C30000
60000000 00000000

code 1:
lis r14,-27841
lis r12,16384
stw r12,0(r14)
lfs f14,0(r14)
fmul f6,f6,f14
stfs f6,8(r3)

code 2:
lis r14,-27841
lis r12,16384
stw r12,0(r14)
lfs f14,0(r14)
fmul f6,f6,f14
stfs f6,0(r3)

The character disappears...? But it still multiplies my speed.
-Currently hacking the following game(s):
...
Request a code via PM, if you wish.

savage

usually when i make a speed hack, i find the coords, then usually around there you will see a 3F800000 <-- usually your max speed bump it up to 40000000 or higher... altho some times it may be a game speed mod so everything will be faster

Deathwolf

3F80 is for player speed.
lolz

Bully@Wiiplaza

okay another question:
How do I use trigonometric functions in ASM? :o
(sine, cose, tan...)
My Wii hacking site...
http://bullywiihacks.com/

My youtube account with a lot of hacking videos...
http://www.youtube.com/user/BullyWiiPlaza

~Bully