Gaming Help me on how to create AR codes the very very basic info way

weegee57

Member
OP
Newcomer
Joined
Jun 10, 2009
Messages
11
Trophies
0
XP
17
Country
Canada
Hey guys, I know what u guys will be saying about this -.- and yes im a noob at these hex stuff and all....

Well anyways, I wanna know how to do those very very basic AR code creating. All i want to know is the basic stuff and yes i have read the sticky on top but it was kinda confusing. and yes i have done the examples such as the ninja town hacks I just followed what it says but it doesn't really help me.... like when i got the money hack it said

"11. You have to put 12 in front of the first part of the code, so it should look similar to this:
12211F74"

But how do u know if u should put 12 there? What if it was suppose to be 9 or something like that...
also for the next part it says this

"12. The next part of the code is the 270F. So you have to put 0000 in front of this to add up to eight digits."

How do u know that u should put 0000 infront.

I hope u can help me
frown.gif


Reason for posting this topic: I posted this topic because i need help on learning on how to make AR codes, also i don't want to go on other forums or something and say something like "Hey guys, How 'bout some AR codes now? My AR code requesting list: request, request, request, etc...

Wouldn't that be annoying just to keep on asking for more codes when u can make ur own when u can atleast learn the basics then advancing to a better AR coder?

Thx
 

Curley5959

CCC Member!
Member
Joined
Feb 2, 2008
Messages
2,571
Trophies
0
Age
30
Location
Australia
Website
www.holidaygamerz.zoomshare.com
XP
163
Country
Basically thats just the rules of code making.. Just read through the spoilers there and you'll eventually understand..

Extras:
8 bit = 1 bytes
16 bits = 2 bytes
32 bits = 4 bytes
Each byte coontains two nibbles or a half a hexdicimal
So
8 bits = 00
16 bits = 0000
32 bits is 00000000

Understanding the Concept of Codes Even more...

The idea when to use 0 , 1 , 2 is pretty straight forward....
Y - Address, X - Value

1-2 digit value will always be 8 bit - use 2 infront - 22YYYYYY 000000XX
3-4 digit value will always be 16 bit - use 1 infront - 12YYYYYY 0000XXXX
5-8 digit value will always be 32 bit - use 0 infront - 02YYYYYY XXXXXXXX

0XXXXXXX YYYYYYYY
32bit write of YYYYYYYY to location:
(xxxxxxx + ‘offset’)

1XXXXXXX ????YYYY
16bit write of YYYY to location:
(XXXXXX + ‘offset’)

2XXXXXXX ??????YY
8bit write of YY to location:
(XXXXXXX + ‘offset’)

3XXXXXXX YYYYYYYY
32bit ‘If less-than’ instruction.
If the value at (XXXXXXX or ‘offset’ when address is 0) < YYYYYYYY then execute the following block of instructions.
Conditional instructions can be nested.

4XXXXXXX YYYYYYYY
32bit ‘If greater-than’ instruction.
If the value at (XXXXXXX or ‘offset’ when address is 0) > YYYYYYYY then execute the following block of instructions.
Conditional instructions can be nested.

5XXXXXXX YYYYYYYY
32bit ‘If equal’ instruction.
If the value at (XXXXXXX or ‘offset’ when address is 0) == YYYYYYYY then execute the following block of instructions.
Conditional instructions can be nested.

6XXXXXXX YYYYYYYY
32bit ‘If not equal’ instruction.
If the value at (XXXXXXX or ‘offset’ when address is 0) != YYYYYYYY then execute the following block of instructions.
Conditional instructions can be nested.

7XXXXXXX ZZZZYYYY
16bit ‘If less-than’ instruction.
If the value at (XXXXXXX or ‘offset’ when address is 0) masked by ZZZZ < YYYY then execute the following block of instructions.
Conditional instructions can be nested.

8XXXXXXX ZZZZYYYY
16bit ‘If greater-than’ instruction.
If the value at (XXXXXXX or ‘offset’ when address is 0) masked by ZZZZ > YYYY then execute the following block of instructions.
Conditional instructions can be nested.

9XXXXXXX ZZZZYYYY
16bit ‘If equal’ instruction.
If the value at (XXXXXXX or ‘offset’ when address is 0) masked by ZZZZ == YYYY then execute the following block of instructions.
Conditional instructions can be nested.

AXXXXXXX ZZZZYYYY
16bit ‘If not equal’ instruction.
If the value at (XXXXXXX or ‘offset’ when address is 0) masked by ZZZZ != YYYY then execute the following block of instructions.
Conditional instructions can be nested.

BXXXXXXX ????????
Load offset register.
Loads the offset register with the data at address (XXXXXXX + ‘offset’)
Used to perform pointer relative operations.

C??????? NNNNNNNN
Repeat operation.
Repeats a block of codes for NNNNNNNN times. The block can include conditional instructions.
Repeats blocks cannot contain further repeats.

D0?????? ????????
End-if instruction.
Ends the most recent conditional block.

D1?????? ????????
End-repeat instruction.
Ends the current repeat block. Also implicitly ends any conditional instructions inside the repeat block.

D2?????? ????????
End-code instruction.
Ends the current repeat block (if any), then End-if's any further outstanding conditional statements.
Also sets ‘offset’ and ‘stored’ to zero.

D3?????? YYYYYYYY
Set offset register.
Loads the offset register with the value YYYYYYYY.

D4?????? YYYYYYYY
Add to ‘stored’.
Adds YYYYYYYY to the ‘stored’ register.

d5?????? YYYYYYYY
Set ‘stored’.
Loads the value YYYYYYYY into the ‘stored’ register.

D6?????? XXXXXXXX
32bit store and increment.
Saves all 32 bits of ‘stored’ register to address (XXXXXXXX + ‘offset’). Post-increments ‘offset’ by 4.

D7?????? XXXXXXXX
16bit store and increment.
Saves bottom 16 bits of ‘stored’ register to address (XXXXXXXX + ‘offset’). Post-increments ‘offset’ by 2.

D8?????? XXXXXXXX
8bit store and increment.
Saves bottom 8 bits of ‘stored’ register to address (XXXXXXXX + ‘offset’). Post-increments ‘offset’ by 1.

D9?????? XXXXXXXX
32bit load "stored" from address.
Loads ‘stored’ with the 32bit value at address (XXXXXXXX + ‘offset’)

DA?????? XXXXXXXX
16bit load ‘stored’ from address.
Loads ‘stored’ with the 16bit value at address (XXXXXXXX + ‘offset’)

DB?????? XXXXXXXX
8bit load "stored" from address.
Loads ‘stored’ with the 8bit value at address (XXXXXXXX + ‘offset’)

EXXXXXXX NNNNNNNN VVVVVVVV VVVVVVVV * ((NNNNNNNN+7)/8)
Direct memory write.
Writes NNNNNNNN bytes from the list of values VVVVVVVV to the addresses starting at (XXXXXXX + ‘offset’)

FXXXXXXX NNNNNNNN
Memory copy.
Copies NNNNNNNN bytes from addresses starting at the ‘offset’ register to addresses starting at XXXXXXXX.

Dc000000: //0xdcxxxxxx : Add a value onto offset register

C4000000: //Load offset register with address of the current position in the codelist (can self modify)

C5000000: //Every x frames code.. c5000000 mmmmnnnn //If ((frame_count & nnnn)==mmmm) then..

C6000000: //c6000000 : Store offset register to address
 

weegee57

Member
OP
Newcomer
Joined
Jun 10, 2009
Messages
11
Trophies
0
XP
17
Country
Canada
Curley5959 said:
Basically thats just the rules of code making.. Just read through the spoilers there and you'll eventually understand..

Extras:
8 bit = 1 bytes
16 bits = 2 bytes
32 bits = 4 bytes
Each byte coontains two nibbles or a half a hexdicimal
So
8 bits = 00
16 bits = 0000
32 bits is 00000000

Understanding the Concept of Codes Even more...

The idea when to use 0 , 1 , 2 is pretty straight forward....
Y - Address, X - Value

1-2 digit value will always be 8 bit - use 2 infront - 22YYYYYY 000000XX
3-4 digit value will always be 16 bit - use 1 infront - 12YYYYYY 0000XXXX
5-8 digit value will always be 32 bit - use 0 infront - 02YYYYYY XXXXXXXX

0XXXXXXX YYYYYYYY
32bit write of YYYYYYYY to location:
(xxxxxxx + ‘offset’)

1XXXXXXX ????YYYY
16bit write of YYYY to location:
(XXXXXX + ‘offset’)

2XXXXXXX ??????YY
8bit write of YY to location:
(XXXXXXX + ‘offset’)

3XXXXXXX YYYYYYYY
32bit ‘If less-than’ instruction.
If the value at (XXXXXXX or ‘offset’ when address is 0) < YYYYYYYY then execute the following block of instructions.
Conditional instructions can be nested.

4XXXXXXX YYYYYYYY
32bit ‘If greater-than’ instruction.
If the value at (XXXXXXX or ‘offset’ when address is 0) > YYYYYYYY then execute the following block of instructions.
Conditional instructions can be nested.

5XXXXXXX YYYYYYYY
32bit ‘If equal’ instruction.
If the value at (XXXXXXX or ‘offset’ when address is 0) == YYYYYYYY then execute the following block of instructions.
Conditional instructions can be nested.

6XXXXXXX YYYYYYYY
32bit ‘If not equal’ instruction.
If the value at (XXXXXXX or ‘offset’ when address is 0) != YYYYYYYY then execute the following block of instructions.
Conditional instructions can be nested.

7XXXXXXX ZZZZYYYY
16bit ‘If less-than’ instruction.
If the value at (XXXXXXX or ‘offset’ when address is 0) masked by ZZZZ < YYYY then execute the following block of instructions.
Conditional instructions can be nested.

8XXXXXXX ZZZZYYYY
16bit ‘If greater-than’ instruction.
If the value at (XXXXXXX or ‘offset’ when address is 0) masked by ZZZZ > YYYY then execute the following block of instructions.
Conditional instructions can be nested.

9XXXXXXX ZZZZYYYY
16bit ‘If equal’ instruction.
If the value at (XXXXXXX or ‘offset’ when address is 0) masked by ZZZZ == YYYY then execute the following block of instructions.
Conditional instructions can be nested.

AXXXXXXX ZZZZYYYY
16bit ‘If not equal’ instruction.
If the value at (XXXXXXX or ‘offset’ when address is 0) masked by ZZZZ != YYYY then execute the following block of instructions.
Conditional instructions can be nested.

BXXXXXXX ????????
Load offset register.
Loads the offset register with the data at address (XXXXXXX + ‘offset’)
Used to perform pointer relative operations.

C??????? NNNNNNNN
Repeat operation.
Repeats a block of codes for NNNNNNNN times. The block can include conditional instructions.
Repeats blocks cannot contain further repeats.

D0?????? ????????
End-if instruction.
Ends the most recent conditional block.

D1?????? ????????
End-repeat instruction.
Ends the current repeat block. Also implicitly ends any conditional instructions inside the repeat block.

D2?????? ????????
End-code instruction.
Ends the current repeat block (if any), then End-if's any further outstanding conditional statements.
Also sets ‘offset’ and ‘stored’ to zero.

D3?????? YYYYYYYY
Set offset register.
Loads the offset register with the value YYYYYYYY.

D4?????? YYYYYYYY
Add to ‘stored’.
Adds YYYYYYYY to the ‘stored’ register.

d5?????? YYYYYYYY
Set ‘stored’.
Loads the value YYYYYYYY into the ‘stored’ register.

D6?????? XXXXXXXX
32bit store and increment.
Saves all 32 bits of ‘stored’ register to address (XXXXXXXX + ‘offset’). Post-increments ‘offset’ by 4.

D7?????? XXXXXXXX
16bit store and increment.
Saves bottom 16 bits of ‘stored’ register to address (XXXXXXXX + ‘offset’). Post-increments ‘offset’ by 2.

D8?????? XXXXXXXX
8bit store and increment.
Saves bottom 8 bits of ‘stored’ register to address (XXXXXXXX + ‘offset’). Post-increments ‘offset’ by 1.

D9?????? XXXXXXXX
32bit load "stored" from address.
Loads ‘stored’ with the 32bit value at address (XXXXXXXX + ‘offset’)

DA?????? XXXXXXXX
16bit load ‘stored’ from address.
Loads ‘stored’ with the 16bit value at address (XXXXXXXX + ‘offset’)

DB?????? XXXXXXXX
8bit load "stored" from address.
Loads ‘stored’ with the 8bit value at address (XXXXXXXX + ‘offset’)

EXXXXXXX NNNNNNNN VVVVVVVV VVVVVVVV * ((NNNNNNNN+7)/8)
Direct memory write.
Writes NNNNNNNN bytes from the list of values VVVVVVVV to the addresses starting at (XXXXXXX + ‘offset’)

FXXXXXXX NNNNNNNN
Memory copy.
Copies NNNNNNNN bytes from addresses starting at the ‘offset’ register to addresses starting at XXXXXXXX.

Dc000000: //0xdcxxxxxx : Add a value onto offset register

C4000000: //Load offset register with address of the current position in the codelist (can self modify)

C5000000: //Every x frames code.. c5000000 mmmmnnnn //If ((frame_count & nnnn)==mmmm) then..

C6000000: //c6000000 : Store offset register to address

oh so basically what ur saying here is that

when ur doing 8 bit it will be 22. and when ur doing 16 bit it will be 12? and for 32 bit will be 02 at the beginning? is this correct or is it wrong?

and sry if im not too good at these math things....
---------------------------------------------------------------
EDIT: i reloooked at ur tutorial but when u said to pick 32 bit, and then when u get 1-3 adresses double click the 1st one and then uncheck the locked check and click ok. After that u said to go to tables and double click ur adress that u found and piece them together u said to put 12 infront of 211F74 but shouldn't it be 02 infront of 211F74? because u did a 32 bit scan... this is what i mean by help....

EDIT 2: ok wait... I redid what u told me and then after that i putted 02 infront of 211F74, Then i putted for Hex is 0000 infront of 270F and it works!!...

my code looks like this: 02211F74 0000270F
Does this mean i get it? I mean does this mean I have understanded the basics?

8 bit scan = 22 infront
16bit scan = 12 infront
32bit scan = 02 infront

This is what i think. Please tell me if i have gotten this down.
 

mrfatso

That guy!!
Member
Joined
Apr 17, 2008
Messages
4,932
Trophies
0
Age
33
Location
@Your Home,behind the sofa
Website
Visit site
XP
251
Country
Senegal
yup, that is correct and it pretty simple once u get used to it, although for some games, u wouldn't be able to find it that easily
frown.gif
So, u might need to take a couple of tries
biggrin.gif


and things like life, health can be done this way as well.

and just ignore me, i am just a random guy passing along, so see ya
biggrin.gif
 

weegee57

Member
OP
Newcomer
Joined
Jun 10, 2009
Messages
11
Trophies
0
XP
17
Country
Canada
mrfatso said:
yup, that is correct and it pretty simple once u get used to it, although for some games, u wouldn't be able to find it that easily
frown.gif
So, u might need to take a couple of tries
biggrin.gif


and things like life, health can be done this way as well.

and just ignore me, i am just a random guy passing along, so see ya
biggrin.gif

lol? I never ignore people. And at some subjects, if they are really interesting to me, i become a fast learner at that subject
biggrin.gif
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Jayro @ Jayro:
    The phat model had amazingly loud speakers tho.
    +1
  • SylverReZ @ SylverReZ:
    @Jayro, I don't see whats so special about the DS ML, its just a DS lite in a phat shell. At least the phat model had louder speakers, whereas the lite has a much better screen.
    +1
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +1
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
    rqkaiju2 @ rqkaiju2: i like physical media because it actually feels like you own it. thats why i plan on burning...