ROM Hack DS Auto Trainer Maker (DSATM)

BiometalOX

Member
Newcomer
Joined
Mar 17, 2007
Messages
13
Trophies
0
XP
96
Country
Brazil
Yo
That didn't come out well, huh?
sorry for the stupid nickname, dude...
also...
do I need to keep the names of the codes and the game name or not?
and do I need to run arm7 fix before, after or not at all?
tnx and sorry again...
 

cracker

Nyah!
OP
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
³³³ said:
Could not open arm7.bin

I think you are getting this error because you don't have ndstool. Also make sure to get arm-eabi-as. Extract both of the files into the same directory as DSATM.

QUOTE(BiometalOX @ Jun 20 2008, 08:03 PM) Yo
That didn't come out well, huh?
sorry for the stupid nickname, dude...
also...
do I need to keep the names of the codes and the game name or not?
and do I need to run arm7 fix before, after or not at all?
tnx and sorry again...

I think the arm7 problems have been fixed for every cart now? If you still have to use the arm7 fix with your games normally then: yes. If you don't have to then: no. The arm7 fix would need to be applied first.
 

BiometalOX

Member
Newcomer
Joined
Mar 17, 2007
Messages
13
Trophies
0
XP
96
Country
Brazil
Yo!
got it right...
but there is still trouble...
when I enter the game and try to scan it freezes...
and a few codes don't work...
geeez...
this thing is hard...
tnx
 

Shuny

I'm in yr forum, reading yr postz
Member
Joined
Nov 15, 2006
Messages
1,038
Trophies
1
Age
32
Location
Somewhere in the world
Website
www.shunyweb.info
XP
755
Country
France
cracker said:
I fixed a couple code types. Seems that their is either poor implementation of some of the codetypes or misinformation on them.
wacko.gif
Some codes are known not to be compatible on different versions so I think it is the former for some of them. In any event I think I have all codetypes working ok except for the 'E' codetype which I'll need to spend some more type on later.
tongue.gif


@Shuny
I used all the same codes except the ones below for the lives and invincibility. You don't need the map codes. I tested it a while and it seemed to work fine.

Code:
Invincibility
6212F39C 00000000
B212F39C 00000000
DC000000 00002EC8
50000000 00000001
00000000 00000007
D2000000 00000000

Inf Lives, All Stages
9230FB8A 0000FFFF
2230FB9C 00000063
D2000000 00000000
922BCB6A 0000FFFF
222BCB7C 00000063
D2000000 00000000
922CD20A 0000FFFF
222CD21C 00000063
D2000000 00000000
92294F2A 0000FFFF
22294F3C 00000063
D2000000 00000000
922940EA 0000FFFF
222940FC 00000063
D2000000 00000000
922A88EA 0000FFFF
222A88FC 00000063
D2000000 00000000
922DBCEA 0000FFFF
222DBCFC 00000063
D2000000 00000000
922C548A 0000FFFF
222C549C 00000063
D2000000 00000000

Hello and thank you for your great support and your great app
wink.gif


I have a question, non-related to the software itself : What's the utility of the mastercode ? Why do AR users need this code to cheat ?

Thank you
biggrin.gif
 

cracker

Nyah!
OP
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
BiometalOX said:
Yo!
got it right...
but there is still trouble...
when I enter the game and try to scan it freezes...
and a few codes don't work...
geeez...
this thing is hard...
tnx

I'll check out the game when I get time if you can send me the codes you used.

QUOTE(Shuny @ Jun 21 2008, 07:26 PM) Hello and thank you for your great support and your great app
wink.gif


I have a question, non-related to the software itself : What's the utility of the mastercode ? Why do AR users need this code to cheat ?

Thank you
biggrin.gif

I'm glad you find it useful.
yaynds.gif


The mastercode can be used for many reasons. It can tell the AR what address(es) to alter (instead of searching and patching the game automatically), can tell the AR where to store the cheat function at, etc. There are very few games that require it to work but in DSATM hooking into the ARM9 seems to be just as effective for the games I have tried.
 

BiometalOX

Member
Newcomer
Joined
Mar 17, 2007
Messages
13
Trophies
0
XP
96
Country
Brazil
Yo, Master of All Trainers and Patches (has a nicer ring, doncha think?)
the game I was trying to patch is 2230 - The World Ends With You, the European version...
I did use the arm9 config to hook AND embed, whatever that may be...
the codes are like this in my cheat.txt file:

CODEThe World Ends With You

Pins Always Evolve
92085484 00001034
020854c4 e3a00000
020854d8 e3a00000
020854ec e3a00000
02085500 e3a00000
02085514 e3a00000
d2000000 00000000

Quick Level Up Pins
92085d08 000037b6
02085d08 e3a03c27
d2000000 00000000

Infinite Cash
02071d1c 0098967f

Quick Exp. Gain
42071d18 00000001
02071d18 00000001
d2000000 00000000

Food Codes:1 Fight to Digest Food
9208599e 0000e047
0208599c e3a00000
02085a34 e3a03000
d2000000 00000000

All Difficulties Available
920848ae 000013a0
020848a4 e3a00003
d2000000 00000000

Infinite Health
92098dc0 00002df0
02098dc0 e1d12df2
02098dc8 e1c12db0
d2000000 00000000

Super Pin Modifier Code (With this code ON, go to the PIN menu and tap with the stylus the first PIN in the stockpile while pressing L OR R to turn this PIN into another type)
a4000136 ffbf0000
02000100 00000000
d0000000 00000000
9207dc28 00000002
94000136 ffbf0000
a2000100 00000001
a2398be4 0000ffff
da000000 02398be4
94000130 fdff0000
d4000000 00000001
d0000000 00000000
94000130 feff0000
d4000000 ffffffff
d0000000 00000000
d7000000 02398be4
82398be4 0000012f
02398be4 00000000
d0000000 00000000
02000100 00000001
d2000000 00000000
They freeze when I try to scan (Ingame function to enemies and read people's minds)
And the game has a little trouble on one of the movies in the first day for my flashcart, if ya encounter it, I'll send ya my save so ya can bypass the glitch...

tnx fer the help, yo
 

cracker

Nyah!
OP
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
I was working on fixes for a greater part of the day. I fixed some things but want to test them better before I release an update. There should be no need for ARM9 hooking ever again... And as long as that holds true then autopatching will be the only option available.
smile.gif


The Super Pin Modifier Code is a mess if you ask me... I'm pretty sure it is responsible for the freezing when you scan. It appears to really mess your pins up and instead of modifying the first pin it will start trashing them -- by trashing them I mean they all turn into the ummm 'star' pin which you can't get rid of because it won't let you sell it! Is this a known good code?
 

cracker

Nyah!
OP
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
Updated to v2.6. I fixed some big bugs that didn't present themselves until now (nested ifs, data register corruption). Also another big update: multiple IRQ hooking. What this means is that autopatching with ARM7 should _always_ work. Manual patching will be phased out soon.

@BiometalOX: All the TWEWY codes work fine now.
 

BiometalOX

Member
Newcomer
Joined
Mar 17, 2007
Messages
13
Trophies
0
XP
96
Country
Brazil
yo...
finally got time to try the new DSATM, but none of the codes worked...
actually, I couldn't even load the game, cuz I get a white screen
I tried both arm7 and arm9, an' got nothin'
what should I do?
 

cracker

Nyah!
OP
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
I just tried it again and it works fine with all the codes you posted. Are you using the untouched game as the source? Also what cart are you using?
 

BiometalOX

Member
Newcomer
Joined
Mar 17, 2007
Messages
13
Trophies
0
XP
96
Country
Brazil
Yo!!
Hummmmm lemme see...
I'm using a DS-X
lame, could come wid the extra stuff, ye know...
An' cuz of that, I hav to run the game through a ARM7 fixer I found in this forum, and that's what I'm using, the post-fixer version
 

cracker

Nyah!
OP
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
I just tested with an arm7 fix (arm7.bin MD5 = 90565FB708233D59864ACF946E84EB2E). The game runs fine after patching it with DSATM. Run the patched game in an emulator and if it works then it is the DS-X that is the problem. I think it may be ignoring the header and blindly jumping to the normal ARM7 execution address (which would result in the cheat function not getting copied to the safe memory which would cause the crash). This is what the AKRPG did in earlier versions of its loader. If this is the case then the workaround would be to use the normal patching method with ARM7 for both hook into and embed into and 0x23b0000 looks like it is a possible safe area in RAM so try that.
 

BiometalOX

Member
Newcomer
Joined
Mar 17, 2007
Messages
13
Trophies
0
XP
96
Country
Brazil
yo...
boy...
couldn't run it on a emulator
the same thing, only black screen, not white...
and, as I tried to patch it again, it came up with an error and asked me to send u this files: cheat.txt and trainer.asm so here they are:

cheat.txt: CODEThe World Ends With You

Pins Always Evolve
92085484 00001034
020854c4 e3a00000
020854d8 e3a00000
020854ec e3a00000
02085500 e3a00000
02085514 e3a00000
d2000000 00000000

Quick Level Up Pins
92085d08 000037b6
02085d08 e3a03c27
d2000000 00000000

Infinite Cash
02071d1c 0098967f

Quick Exp. Gain
42071d18 00000001
02071d18 00000001
d2000000 00000000

Food Codes:1 Fight to Digest Food
9208599e 0000e047
0208599c e3a00000
02085a34 e3a03000
d2000000 00000000

and trainer.asm
CODEldr r3,numbytes
ldr r2,realtraineraddress
add r1,r15,#0x18
trainercopyloop:
ldr r0,[r1],#0x4
str r0,[r2],#0x4
subs r3,r3,#0x1
bne trainercopyloop
ldr r15,armstart
realtraineraddress: .long 0x23B0000
armstart: .long 0x2380000

trainerstart:
str r0,swap
ldr r0,irqjump0
stmdb r13!,{r0}
ldr r0,swap
b start
str r0,swap
ldr r0,irqjump1
stmdb r13!,{r0}
ldr r0,swap
start:
stmdb r13!,{r0,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r14}
ldr r1,enableflag
ldr r2,enablekey
ldr r3,disablekey
mov r0,#0x4000000
ldr r0,[r0,#0x130]
cmp r0,r2
moveq r1,#0x1
cmp r0,r3
moveq r1,#0x0
str r1,enableflag
cmp r1,#0x0
bne turnedon
ldmia r13!,{r0,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r14}
ldmia r13!,r15

turnedon:

ldr r5,address0
ldrh r5,[r5]
ldr r2,lval0
ldr r0,lval1
and r5,r5,r2
cmp r5,r0
bne label0

ldr r0,lval2

ldr r1,address1
str r0,[r1]
ldr r0,lval2

ldr r1,address2
str r0,[r1]
ldr r0,lval2

ldr r1,address3
str r0,[r1]
ldr r0,lval2

ldr r1,address4
str r0,[r1]
ldr r0,lval2

ldr r1,address5
str r0,[r1]


label0:
ldr r5,address6
ldrh r5,[r5]
ldr r2,lval0
ldr r0,lval3
and r5,r5,r2
cmp r5,r0
bne label1

ldr r0,lval4

ldr r1,address6
str r0,[r1]


label1:
ldr r0,lval5

ldr r1,address7
str r0,[r1]
mov r0,#0x1

ldr r1,address8
ldr r1,[r1]
cmp r0,r1
bge label2

mov r0,#0x1

ldr r1,address8
str r0,[r1]


label2:
ldr r5,address9
ldrh r5,[r5]
ldr r2,lval0
ldr r0,lval6
and r5,r5,r2
cmp r5,r0
bne labelZZ
ldr r0,lval2

ldr r1,address10
str r0,[r1]
ldr r0,lval7

ldr r1,address11
str r0,[r1]

label3:
ldmia r13!,{r0,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r14}
ldmia r13!,{r15}

address0: .long 0x2085484
address1: .long 0x20854C4
address2: .long 0x20854D8
address3: .long 0x20854EC
address4: .long 0x2085500
address5: .long 0x2085514
address6: .long 0x2085D08
address7: .long 0x2071D1C
address8: .long 0x2071D18
address9: .long 0x208599E
address10: .long 0x208599C
address11: .long 0x2085A34
lval0: .long 0xFFFF
lval1: .long 0x1034
lval2: .long 0xE3A00000
lval3: .long 0x37B6
lval4: .long 0xE3A03C27
lval5: .long 0x98967F
lval6: .long 0xE047
lval7: .long 0xE3A03000
enableflag: .long 0x1
enablekey: .long 0xFE ;@L+R+A
disablekey: .long 0xFD ;@L+R+B

swap: .long 0x0
irqjump0: .long 0x37FB9D4
irqjump1: .long 0x3806BE0
trainerend:
numbytes: .long (trainerend-trainerstart)/4

I'm givin' ya so much trouble...
sorry pal...
 

cracker

Nyah!
OP
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
BiometalOX said:
yo...
boy...
couldn't run it on a emulator
the same thing, only black screen, not white...
and, as I tried to patch it again, it came up with an error and asked me to send u this files: cheat.txt and trainer.asm so here they are:

I'm givin' ya so much trouble...
sorry pal...

Don't worry about it. Bugs are something I want to know about.
smile.gif
I fixed the bug with the enable/disable code and also a bug that occurred when there was no blank line at the end of the cheat file (that I thought was fixed before
rolleyes.gif
). It's all good now.
yaynds.gif
 

cobain76

Member
Newcomer
Joined
Nov 15, 2006
Messages
19
Trophies
1
XP
153
Country
Cracker, as BiometalOX wrote, You're the Master of All Trainers and Patches.

I've used your trainers and they all work. But with DSATM never had luck until now, I updated to v2.7 and all the games I've tested worked fine with the cheats. I'm Using autopatch, hook and embed are in ARM7.

I just want to give you a big thanks, great work. I showed the program to some friends and they're happy with your program, they're now spreading the word to other friends.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • S @ salazarcosplay:
    hunter x hunter
  • S @ salazarcosplay:
    he has not allowed anyone to continue it for him for example
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay, theres a dragon ball af mod for budokai 3
  • Xdqwerty @ Xdqwerty:
    updated ship of harkinian, gonna install some hd texture pack
  • Xdqwerty @ Xdqwerty:
    I might download rayman revolution for my ps3
  • BigOnYa @ BigOnYa:
    I may try the new ram site, and download more RAM to my Switch. Not sure if ddr3 is the right ram
    for it tho. Edit- no it uses floppy Ram, just like @AncientBoi
    +1
  • Xdqwerty @ Xdqwerty:
    aeiou
  • BigOnYa @ BigOnYa:
    And sometimes Z
  • SylverReZ @ SylverReZ:
    @K3Nv2, MAGA supporters be wearing tin foil hats lol.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, whats maga?
  • BigOnYa @ BigOnYa:
    It stands for Maniacs Against General Acceptance
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, people rejecting general consensus about stuff?
    +1
  • BigOnYa @ BigOnYa:
    Yup, nuh its really just Trump followers
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, im not american so i dont care about trump
    +1
  • Xdqwerty @ Xdqwerty:
    or us elections
  • BigOnYa @ BigOnYa:
    Me niether, us north Koreans don't care
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    i don't care either, even if i'm american
  • BakerMan @ BakerMan:
    truth be told, i agree with psi, i dislike both candidates, but i'd probably vote trump simply because the economy was better during his presidency
  • AngryCinnabon @ AngryCinnabon:
    Just be careful, if trump ends up winning and using project 2025 America might really change...for the worse.
  • AngryCinnabon @ AngryCinnabon:
    I'm not american and even that sends shivers down my spine.
  • AngryCinnabon @ AngryCinnabon:
    anything that offers trump an opportunity to become an actual dictator
    is bad in my book, i could care less if it wasn't for that...
  • K3Nv2 @ K3Nv2:
    Canada: America's Russia
  • NinStar @ NinStar:
    people are so dramatic that I can't even tell if they are being serious
    NinStar @ NinStar: people are so dramatic that I can't even tell if they are being serious