Kodewerx

Our culture has advanced beyond all that you could possibly comprehend with one hundred percent of your brain.
It is currently Mon Mar 16, 2026 4:05 pm

All times are UTC - 8 hours [ DST ]


Forum rules





Post new topic Reply to topic  [ 12 posts ] 
Author Message
PostPosted: Wed Sep 05, 2007 12:24 pm 
Offline
Kommunist
Kommunist

Joined: Tue Oct 10, 2006 9:32 am
Posts: 445
Code:
Game Code/ID : YVTE 7BAECEA9

For the fun of it, here are different versions of an infinite life code. I hope it will not confuse too many peoples... :

1) As it uses the C4 code type, this code will only work on the real AR v1.54 (or higher I suppose), the trainer toolkit (with the AR v1.52 or 1.54), and I guess NitroHax. 17 lines total.

Code:
Infinite Life *
C4000000 00000000
00000054 000040E4
C0000000 00000003
C4000000 00000000
D9000000 0000003C
D4000000 00000004
D6000000 0000003C
D3000000 0209DA40
60000000 00000000
B0000000 00000000
DC000000 000040E4
60000000 00000000
B0000000 00000000
00000104 00000060
D2000000 00000000
* It should work for every warrior (tested with 3 warriors up to level 2).



2) The same code without the C4 code type, a bit longer (15 more lines, for a wooping 32 lines !) and less interessing to do, but that will work for everyone.

Code:
Infinite Life *
6209DA40 00000000
B209DA40 00000000
DC000000 000040E8
F2000000 00000004
62000000 00000000
B0000000 00000000
00000104 00000060
D2000000 00000000
6209DA40 00000000
B209DA40 00000000
DC000000 000040EC
F2000000 00000004
62000000 00000000
B0000000 00000000
00000104 00000060
D2000000 00000000
6209DA40 00000000
B209DA40 00000000
DC000000 000040F0
F2000000 00000004
62000000 00000000
B0000000 00000000
00000104 00000060
D2000000 00000000
6209DA40 00000000
B209DA40 00000000
DC000000 000040F4
F2000000 00000004
62000000 00000000
B0000000 00000000
00000104 00000060
D2000000 00000000
* It should work for every warrior (tested with 3 warriors up to level 2).


3) Asm hack. Works on anything that holds the AR code handler, and is way faster to execute than any regular code. 14 lines.

Code:
Infinite Life *
023FE074 012FFF11
E0000000 00000058
E92D0007 E3A02060
E59F0044 E5900000
E3500000 0A00000C
E2800901 E59010E8
E3510000 15812104
E59010EC E3510000
15812104 E59010F0
E3510000 15812104
E59010F4 E3510000
15812104 E8BD0007
E12FFF1E 0209DA40
023FE074 E3520003
* It should work for every warrior (tested with 3 warriors up to level 2).


Top
 Profile  
Reply with quote  
PostPosted: Wed Sep 05, 2007 3:14 pm 
Offline
Kommunist
Kommunist
User avatar

Joined: Sun May 27, 2007 7:43 pm
Posts: 775
Location: Makai
Title: The HENTAI M@ster
what's the use of this C4 one?

_________________
Image
DO NOT send me code requests/conversions via pm. I DON'T GIVE PERMISSION, READ THE FUCKING RULES.
I Hate You So Much!!! Fuck & Peace!

Everyone has AIDS!
My grandma and my dog 'ol blue
My father
My sister
My uncle and my cousin and her best friend
The pope has got it and so do you.


My SITE

My Official Code Breaker DS Codes


Top
 Profile  
Reply with quote  
PostPosted: Wed Sep 05, 2007 9:44 pm 
Offline
Kommunist
Kommunist

Joined: Tue Oct 10, 2006 9:32 am
Posts: 445
The C4 code type (as I explained in the AR codes types thread) makes offset = address of the C4 code type in RAM. With it, I can then choose to modify any codes 'on the fly', as I know exactly at which distance from(/to?/of?) the C4 code type they are stored.

In the code I created for Operation Vietnam, I used it to modify the data of the DC000000 000040E4 code type. In that game, the pointers to the 4 players life value are at [pointer + 0x40E4], [pointer + 0x40E8],[pointer + 0x40F0], [pointer + 0x40F4].

As you can see, I used a loop (C0000000 00000003), and two C4 codes type (one before the loop, one in the loop).
For the one inside the loop :
When the loop is executed at first, the C4/D9/D4/D6 codes combo will add 4 to the value of the DC000000 000040E4 code (the D9/D6 codes read/write to offset + 0x3C, ie. [second C4 code type address + 0x3C], which points to the data of the DC code type), which will become 0x000040E8 (=offset to reach the pointer to the first warior). The second time the code is executed, another 4 is added, and it becomes 0x000040EC (=offset to reach the pointer to the second warior). Same for the third and forth time the code is executed. So when the code has been fully executed, the DC code type looks like that in RAM : DC000000 000040F4.

For the one before the loop (it could have put it after the loop btw, but then I would have to use a negative offset to reach the DC code type address, which would have make it one line longer) :
When the codes are executed for the first time, it doesn't matter (0x000040E4 is written over 0x000040E4). But when they have been executed fully at least once, the DC000000 000040E4 has changed to DC000000 000040F4. That C4/00 code combo is used to 'reset' the DC code type to its original value (so the other codes are still able to reach the pointers to the players data, located at pointer+0x40E8~0x40F4 ; if I didn't do that, they'll try to get the pointers from 0x40F8~0x4104) (the 00 code after the C4 code writes to offset + 0x54, ie. [first C4 code type address + 0x54], which points to the data of the DC code type).

The C4 code type could also be used to create a place to store data (without having to worry about finding free space in RAM). For exemple, you can store anything in it's data (it's unused), like a counter, or the pad values, or do something like this if you need more space:
C4000000 00000000
50000000 00000000 <- will always be false (([offset]=C4000000)!=00000000)
E0000000 00000020
00000000 00000000 <- free space
00000000 00000000 <- free space
00000000 00000000 <- free space
00000000 00000000 <- free space
D1000000 00000000
...

Then, after the E0 code type, if you add 0x18 to the offset, it'll point to the first 00000000 of the E0 code type, giving you access to some free space (in my exemple 8*32bits of free space) to store anything (one could even imagine to store some game data in there, to be able to backup/restore it).


Top
 Profile  
Reply with quote  
PostPosted: Thu Sep 06, 2007 8:49 am 
Offline
Kommunist
Kommunist
User avatar

Joined: Sun May 27, 2007 7:43 pm
Posts: 775
Location: Makai
Title: The HENTAI M@ster
so you can like, create a virtual space, is that you're trying to say? or I'm just confuse about the free space thing lol

_________________
Image
DO NOT send me code requests/conversions via pm. I DON'T GIVE PERMISSION, READ THE FUCKING RULES.
I Hate You So Much!!! Fuck & Peace!

Everyone has AIDS!
My grandma and my dog 'ol blue
My father
My sister
My uncle and my cousin and her best friend
The pope has got it and so do you.


My SITE

My Official Code Breaker DS Codes


Top
 Profile  
Reply with quote  
PostPosted: Thu Sep 06, 2007 10:23 am 
Offline
Kommunist
Kommunist

Joined: Tue Oct 10, 2006 9:32 am
Posts: 445
Erm no, not virtual :/

With the C4 code type, you can use some space inside the code list to store data. That way you don't have to find some free space at an address that could be used by the game at some point. Also you'll be sure that this space will be yours.

For exemple, if you create a code and want to store some data (let's say a counter) at 0x02000000. Then someone else (me), that don't know about your code, creates his own code that stores data (let's say the pad values) at 0x02000000. That means if an user use both your and my code, there will obviously be a conflict between the codes. But if we both used a C4 code type to store our data, there couldn't be any conflict at all.

edit : another code
Code:
Infinites medkits/grenades/bombs
6209DA40 00000000
B209DA40 00000000
B00040E0 00000000
00000014 00000063
00000018 00000063
0000001C 00000063
D2000000 00000000


Top
 Profile  
Reply with quote  
PostPosted: Sat Sep 08, 2007 3:26 am 
Offline
Kommunist
Kommunist

Joined: Fri Aug 17, 2007 8:34 am
Posts: 38
Thx, will try them today :D


Top
 Profile  
Reply with quote  
PostPosted: Sat Sep 08, 2007 6:39 am 
Offline
Kommunist
Kommunist

Joined: Sat Sep 08, 2007 6:17 am
Posts: 2
Can anyone write a line code for infinite health if possible... thanks


Top
 Profile  
Reply with quote  
PostPosted: Sat Sep 08, 2007 7:06 am 
Offline
Kommunist
Kommunist

Joined: Sun Aug 19, 2007 11:13 am
Posts: 22
Shakirmole wrote:
Can anyone write a line code for infinite health if possible... thanks



Er....dude.....first post in this thread my man.


Top
 Profile  
Reply with quote  
PostPosted: Sat Sep 08, 2007 9:19 am 
Offline
Kommunist
Kommunist
User avatar

Joined: Sun May 27, 2007 7:43 pm
Posts: 775
Location: Makai
Title: The HENTAI M@ster
Rayder wrote:
Shakirmole wrote:
Can anyone write a line code for infinite health if possible... thanks



Er....dude.....first post in this thread my man.


i think he means a SINGLE LINED code, that's is IMPOSSIBLE. sorry to say this but you can't use these cheats in emulators (maybe nogba in future when codes get fully implemented --thanks kenobi-- XD ) ;p

_________________
Image
DO NOT send me code requests/conversions via pm. I DON'T GIVE PERMISSION, READ THE FUCKING RULES.
I Hate You So Much!!! Fuck & Peace!

Everyone has AIDS!
My grandma and my dog 'ol blue
My father
My sister
My uncle and my cousin and her best friend
The pope has got it and so do you.


My SITE

My Official Code Breaker DS Codes


Top
 Profile  
Reply with quote  
PostPosted: Sat Sep 08, 2007 6:06 pm 
Offline
Kommunist
Kommunist

Joined: Fri Aug 17, 2007 8:34 am
Posts: 38
Infinite Live works fine
also the code for all ammo/medkits/etc...
Played about 5 levels

Infinite live works for all 4 soldiers

I used the NOT C4 codes (My AR = v1.52)

I had a lockup when i started a level, but somehow the second try it worked


Top
 Profile  
Reply with quote  
PostPosted: Sat Sep 08, 2007 6:10 pm 
Offline
Kommunist
Kommunist

Joined: Fri Aug 17, 2007 8:34 am
Posts: 38
Ok, just upgraded my AR to v1.54 :D


Top
 Profile  
Reply with quote  
PostPosted: Tue Sep 11, 2007 12:53 am 
Offline
Kommunist
Kommunist
User avatar

Joined: Sun May 27, 2007 7:43 pm
Posts: 775
Location: Makai
Title: The HENTAI M@ster
Turbo Shot
6209DA40 00000000
B209DA40 00000000
B00040E8 00000000
10000108 00000000
D2000000 00000000

EDIT: oops, a mistake XD


my custom CBDS asm hacks for this game, check my page.

_________________
Image
DO NOT send me code requests/conversions via pm. I DON'T GIVE PERMISSION, READ THE FUCKING RULES.
I Hate You So Much!!! Fuck & Peace!

Everyone has AIDS!
My grandma and my dog 'ol blue
My father
My sister
My uncle and my cousin and her best friend
The pope has got it and so do you.


My SITE

My Official Code Breaker DS Codes


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 285 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group