What I've to know for make my own codes with USB Gecko?

Started by CyaInTheHell, July 27, 2010, 10:13:05 PM

Previous topic - Next topic

CyaInTheHell

Yes, you first start hacking with Cheat Engine, I do but its not for find address, just for change easily values. I mean new scan, expend money, next scan, there you are, value 1452 = 10000000.

So can somebody send me a link with a tutorial for know how to use cheat engine for disassembler any game, To find address, Pointers? whatever? Im just a noob  :-[. Just want to know the first things I've to know about to start hacking. I will appreciate any help.


IRS

disassembler/ASM codes they are both the same thing. one of the places i go to learn what a function is or make sure i know what it is doing is http://pds.twi.tudelft.nl/vakken/in1200/labcourse/instruction-set/
although if you want a larger list of instructions google "powerpc instruction set" and it should come up with some useful items :P just make sure the instructions you are using are 32bit instructions (not the more modern 64bit) wii runs on the 32bit processors.

CyaInTheHell

Quote from: Deathwolf on July 27, 2010, 10:20:46 PM
for disassembler codes look here:
http://wiird.l0nk.org/forum/index.php/topic,3473.0.html

for "into ram hacking tut's" you can look here:
http://www.youtube.com/watch?v=TaEtr3AviYg
http://www.youtube.com/watch?v=Moc5Qs6FvXU&feature=related
http://www.youtube.com/watch?v=v99_Z0N9LmI&feature=related

Breakpoint/Disassembler video tut:
http://www.youtube.com/watch?v=6CJfDHJGSic&feature=related





Guys thanks for the help, the into ram hacking tut whats perfectly explained and it seems easy to create code its awesome. :) thank you all now I need usb Gecko lol

IRS

just a note ;) those are the easiest codes.. on the easiest game.. well that is at least true for anything that relates to super mario galaxy. anything to do with ASM is just hard lol

CyaInTheHell

Quote from: IRS on July 28, 2010, 03:18:48 AM
just a note ;) those are the easiest codes.. on the easiest game.. well that is at least true for anything that relates to super mario galaxy. anything to do with ASM is just hard lol

Thats the reason, lol.
But If there's a game with the life isnt with numbers?, And if you get shoot in the game you receive a red screen?, How you calculate your rate of life?, That must be hard. Like CoD Waw

IRS

nah lol. just go:
(first search never really matters that much)

uknown value:
equal
(while at full health still) equal again
(take damage) less than
(if you die the value likely should be 00000000) so you could search that when you die with a specific value->equal search
then great than last value
repeat process until you find the values you are looking for.

then when you find them (assuming you are going to do a simple RAM write) depends on if its a pointer value or not (go look in the collective they have several good guides for pointers) write the corresponding code fixed address health: 04XXXXXX YYYYYYYY

pointer depends on which memory address.

48000000 XXXXXXXX
DE000000 Y000YYY0
14ZZZZZZ (fill in full health)
E0000000 80008000

X is the address of the pointer code. Y depends on which memory address (80008180 for mem1 9009340 for mem2)
Z is the offset
and i was too lazy to use other letters lol.

other than that its fairly basic.. then you could also work with the ASM but for easy to do codes in the beginning stick to RAM hacks.

Deathwolf

#7
                          hit               hit            hit              hit
equal---equal---less than---less than---less than---less than--->

if you die after searching:
                                       hit              hit             hit              hit
greather than---equal----less than---less than---less than---less than.....

then just poke your addresses.
some addresses need a pointer but u can use disassembly and breakpoint.(it's pointerless)
take your address and set breakpoint *write* on it.
get hit and wiird will show you some instruction.
just overwrite the first instruction via disassembler with  nop.

nop=no operation. (it doesn't do anything so you doesn't lose health)
lolz

CyaInTheHell

What about if you want to make everytime more faster?, I mean, you want to fire your shotgun more speed and without that bothering nunchuck's shake (If the game have it), and if you want a nade blows until 1 seconds has been throwed.  How I can do it?

IRS

i have not done it myself. but it depends largely on how the game works. it could be a float timer that counts down. it could be a hex digit. it could be a constant float value. it could even not show up in the memory records.. and be taken solely by the ASM and all the registers. you really have to just test and try stuff and come up with a good idea (its likely it goes from a high number say 100 and rapidly counts down in float until it hits 0 then the action takes place, although its never a guarantee.)

Dude

Quote from: Deathwolf on July 28, 2010, 08:18:13 PM
                          hit               hit            hit              hit
equal---equal---less than---less than---less than---less than--->

if you die after searching:
                                       hit              hit             hit              hit
greather than---equal----less than---less than---less than---less than.....

then just poke your addresses.
some addresses need a pointer but u can use disassembly and breakpoint.(it's pointerless)
take your address and set breakpoint *write* on it.
get hit and wiird will show you some instruction.
just overwrite the first instruction via disassembler with  nop.


nop=no operation. (it doesn't do anything so you doesn't lose health)


Using this method, there is a small chance that this instruction you nop would also handle the enemies health, making them invincible too.
You'd need to include some checks if this is the case:

If processing YOUR health - step over the decrease.
If processing any OTHER health - process as normal.

Could you please provide and example as to how this could be dealt with, Deathwolf?  Or anybody else?

matt123337

#11
Ok, lets say r30 is free, r29 has the HP value, and r28 contains the pointer made by the game
HP is stored at: 80123337

lis r30, 0x8012 # loads upper half of HP address
addi r30, r30, 0x3337 # adds lower half of HP address
cmpw r30, r28 # compairs address
beq- 0x0008 # if addresses are the same, skip address storing (no dmg taken)
stw r29, 0(r28) # otherwise, store HP