ROM Hack DS Auto Trainer Maker (DSATM)

cracker

Nyah!
OP
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
Tempus35 said:
I have a question, When I use codes I have in Codebreaker format in no$gba they work great but when I use those same codes for DSATM and then play the game, they dont' work at all or mess up the game. What could be the issue? Codes and game id below:

Game ID: Dragon Quest The Chapters of the Chosen (E)

Codes:
Money
220C7DD0 000F423F

Max HP
120c92E6 000003e7

Max MP
120c92EA 000003e7

Infinite HP:
D3000000 020C92E8
F20C92E6 00000002
D2000000 00000000

Infinite MP:
D3000000 020C92EC
F20C9E2A 00000002
D2000000 00000000

Update: If I use just the money code in this format:

Money
020C7DD0 000F423F

Then it works and I get money.


Codebreaker codes use a different format than AR codes and aren't supported (well actually type '1' is and type '0' and '2' may work right but probably will act weird). The reason why the code didn't work right for the money (as you found) is that the Codebreaker AR have types '0' and '2' swapped:

Codebreaker: '0' - 1 byte write ; '2' - 4 byte write
AR: '2' - 1 byte write ; '0' - 4 byte write

The other codes you posted are AR codes though but type F was a little borked. I fixed it so grab the new package and it should work fine.
 

Tempus35

Well-Known Member
Newcomer
Joined
Jun 29, 2008
Messages
57
Trophies
0
XP
71
Country
United States
Thanks.

Giving me can't find ndstool now, when I have it in the main folder and in windows folder, and it worked on 3.71.
 

AMWDP

Member
Newcomer
Joined
Jan 5, 2007
Messages
7
Trophies
0
XP
32
Country
Thank you for your answer!
laugh.gif
I will try this method.
yaynds.gif
 

cracker

Nyah!
OP
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
Tempus35 said:
Thanks.

Giving me can't find ndstool now, when I have it in the main folder and in windows folder, and it worked on 3.71.

Argh... Stupid current directories... Keep forgetting that when you use the file dialogs it changes the current directory for your program so "ndstool.exe" will just look for it in the folder of the last loaded file... Anyway it's fixed now.
 

cracker

Nyah!
OP
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
Not sure how many games have problems but I just found out that ndstool messes up NSMB when you rebuild it (was racking my head over this for a bit before I realized it was actually ndstool with the problem!). Hopefully it doesn't have problems with many other games -- NSMB is the first one I've seen luckily. I'm going to attempt (again) to phase out the use of ndstool by making the ROM rebuilding internal.
wacko.gif
 

cracker

Nyah!
OP
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
Big update. DSATM doesn't require any external programs anymore -- codes are converted directly to ARM instructions which are patched into the binary and the game is rebuilt.
yaynds.gif
 

AMWDP

Member
Newcomer
Joined
Jan 5, 2007
Messages
7
Trophies
0
XP
32
Country
2675 - Dragon Ball DS (J)

ARM7/AM9 have not space! DSATM doesn't work!

存档位置变更[SELECT+→]存档1[SELECT+←]存档2[SELECT+↑]存档3
023FE0F0 128CCF02
94000130 FFEB0000
22135BC0 00000000
D0000000 00000000
023FE0F0 128CCF02
94000130 FFDB0000
22135BC0 00000001
D0000000 00000000
023FE0F0 128CCF02
94000130 FFBB0000
22135BC0 00000002
D0000000 00000000

游戏时间00时00分
02135BC4 00000000

金钱最大(999999)
02135C48 000F423F

技能强化(修行证明)点数最大
02135C4C 000F423F

全故事完成
02135BC8 FFFFFFFF
02135BCC 003FFFFF

故事选择画面打开时故事全开
0204DC98 EAFEC8D8
E2000000 00000010
E3A0C001 E781C100
E7910100 EA013722

宝箱回收率100%
22135BD3 000000FC
02135BD4 FFFFFFFF
02135BD8 FFFFFFFF
02135BDC 000FFFFF

模型画面打开时模型全开
0204D908 EAFEC9C0
E2000010 00000010
E3A0C001 E5C0C018
E5D00018 EA01363A

悟空与布尔玛的体力碎片和气力碎片全开
02135D30 0F0F0F0F

悟空技能全开和最大强化完毕
02135E0C 03030303
02135E10 03030303
02135E14 03030303

布尔玛的辅助武器全开
22135C50 000000FF

全道具1个持有
02135D28 01010101
02135D2C 01010101

贵重品全开
22135C58 000000FF

悟空体力最大(不减)
1213D2B8 00000258
1213D2BC 00000258

悟空气力最大(不减)
1213D73C 0000012C
1213D740 0000012C

悟空无敌
2213D5ED 00000004
2213D770 00000008

布尔玛体力最大(不减)
1213E5A8 000001F4
1213E5AC 000001F4

布尔玛气力最大(不减)
1213EBF8 000034BC
1213EBFC 000034BC

布尔玛无敌
2213E8DC 00000004
2213EC04 00000008
 

cracker

Nyah!
OP
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
Unfortunately, there is no Unicode/multi-byte text support so this is why it is failing. If you use ANSI text it will work properly (but then of course you can't use Kanji, etc).
 

InuYasha

Professional Coke Fiend
Member
Joined
Dec 8, 2007
Messages
1,777
Trophies
0
Website
Visit site
XP
368
Country
United States
cracker said:
What codes are you using?

All this stuff is new to me so i'm sure i'm doing something wrong,first off it's a trimmed file(not sure if that is good or bad when it comes to patching) and as for patching codes (where i'm sure I went wrong) but anyway I basically took an xml cheat file and converted it to txt(which has more then one game in it) sooooo I wouldn't be surprised if that caused my problem,while i'm on the subject here.....is there a limit to the number of codes you should have patched to a game at a time?
 

cracker

Nyah!
OP
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
Yeah that's definitely the problem.
wink.gif
You need to copy and paste the only the codes you want into a text file and then load that into DSATM. There is no set limit to the number of codes that can be used. It is only limited by the amount of RAM needed to store the cheat function at. But there is usually a lot of free space (at the default RAM placement of 0x23fe000) so this isn't a concern.
 

InuYasha

Professional Coke Fiend
Member
Joined
Dec 8, 2007
Messages
1,777
Trophies
0
Website
Visit site
XP
368
Country
United States
Ok there may be hope for my game yet,I'm assuming it has no affect if you tell DSATM to enable codes at the start?,also can codes be used in the middle of a game or do I have to start over on a new save? and one last thing(I hope) i'm alittle confused about how the format of codes look can you paste an example of how they should look in a txt file?
 

cracker

Nyah!
OP
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
When you use enable/disable it allows you to turn on/off the effects of the codes with key presses at any time in the game. You can choose whether you want the codes to be on from the start or off (for example: if a game can get a save messed up when a particular code is active).

For most codes you won't have to start a new game to get the effects of the code. The only exception would be if a certain event happened that the code altered in some way to give you the proper effects (like in an RPG a person was supposed to give you item X and the code is to get item Y from them instead). Then obviously it wouldn't work because the event wouldn't happen again. Other than that there isn't anything special you need to do.

Here's an example of codes for Zelda:PH

Invincible Link
620ee3ec 00000000
b20ee3ec 00000000
2000039c 00000020
d2000000 00000000

Infinite Rupees
121ba4fe 0000270f

Have Sword, Shield, Bow and Bomb Bag
221ba604 000000b3
221ba678 00000001

run 3x
620ee3ec 00000000
b20ee3ec 00000000
20000b69 00000018
d2000000 00000000

Infinite / Max Health
620ee3ec 00000000
221ba348 00000050
b20ee3ec 00000000
2000039e 00000050
d2000000 00000000

It's best to keep codes labeled and 'neat' like that but I have tried to make the text parsing as smart as possible so that it will accept codes that aren't formatted neatly (cuz I know how much it sucks to do that by hand).
 

InuYasha

Professional Coke Fiend
Member
Joined
Dec 8, 2007
Messages
1,777
Trophies
0
Website
Visit site
XP
368
Country
United States
Alright I think I get the picture now,one more small question.....i'm assuming versions matter,for example (U) codes for (U) files right? cause i'm looking for a run speed code for (U) version which I think is the one I got and i'm not finding one but I did see one for the (E) version of the game,codes from cheat files posted on here should do the trick right?
 

cracker

Nyah!
OP
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
I'm not sure if this is the code you were wanting or not:

Press B for double size (and double speed)
E2249A48 0000000C
0000019A 0000019A
0000019A 00000000
94000130 FFFD0000
E2249A48 0000000C
00000334 00000334
00000334 00000000
D2000000 00000000

You should check out Kodewerx.net. It requires a registration but it's not a site that you would just want a throwaway account for. *Many of the codes on there are taken by CodeJunkies.
rolleyes.gif
 

cracker

Nyah!
OP
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
I did some searching and found the right address for running in the US version:

Run 2x
12249ADC 00002000

I tested the cheats you used and it worked fine (except for the wrong address of the running code of course). So I believe it is the cart you are using that is writing to the same RAM that the cheat function is stored at that is causing the problem. Click on the button with a cracker and change the RAM address to 0x23fd000 and try it again. If it still doesn't work then try 0x23fc000.

BTW what cart do you have?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Veho @ Veho: Wow, only $700?