ROM Hack GBA Auto Trainer Maker(GBAATM)

cracker

Nyah!
OP
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
dohclude said:
I tried out the new version today. I tried it with a couple of games and none of the cheats seemed to work. They would show up in the trainer menu, but the last character of the cheat descriptions were cut off, and the cheats just didn't work once I started the game. Also, if there is more than one switch set up in the .CHT file when you load it say for instance:

Code:
[Infinite time]
ON=42254,63
OFF=0000,0

It doesn't import correctly. Also if the cheats have any chinese in them (which most of them do until we finish translating them) the cheats won't import correctly. I'll keep playing around with it and see if I can get it to work for me with any more games. Thanks!

Can you post the cheats you tried for the other games so I can see firsthand what happens?

I haven't seen the OFF lines before so I'm guessing they aren't that common. Until (and if) I add support for them just manually remove the OFF line and use the enable/disable function when you need to turn off infinite time, etc. for the countdown at the end of a stage, etc.

Stripping of non-printable characters is by design. Multi-byte characters (or an extended character list -- more than just alphanumeric plus a few extra characters) would be a huge pain in the ass to deal with (especially in the trainer menu).
 

dohclude

Well-Known Member
Member
Joined
Oct 12, 2006
Messages
384
Trophies
0
Age
41
Location
The Patch Walks!
Website
www.MODaWii.com
XP
304
Country
United States
Sure no problem. I tried the games "0297 - Super Mario Advance 2 - Super Mario World" and "0329 - Super Street Fighter II Turbo - Revival".

Here are the cheats:

0297 - Super Mario Advance 2 - Super Mario World

Code:
[Time]
ON=454E2,9,9,9

[Money]
ON=442FF,63

[Lives]
ON=442BC,C8

[Continuously ride the turtle (to ride turtle to be effective)] 
ON=43A33,1

[Invisible]
ON=4402D,64

[Condition]
??=44300,0
??=44300,1
???=44300,2
???=44300,3


0329 - Super Street Fighter II Turbo - Revival

Code:
[All hideaways project and role]
ON=71C8,0f,27

[Infinite time (Disable on Car Stage)]
ON=42254,63
OFF=0000,0

[P1 Health Bar]
ON=464C2,B0;464C4,B0;465D8,B0

[P1 Energy Bar]
ON=466D4,30

[P1 attack in air]
OFF=4659C,1
ON=4659C,0

[P1 simply attack]
OFF=0000,0
Combo Attack(Light kick¡¢heavy punch)=46714,03
Just spam this(heavy punch)=46714,04

[P2 Life value]
OFF=0000,0
HP is zero=468D2,0;468D4,0;469E8,0
HP does not drop=468D2,b0;468D4,b0;469E8,b0


These cheat descriptions aren't 100% translated into English yet (some are in "broken" English too), but the cheats work fine on my M3 Real nonetheless. If I get the chance I will try some others and post the results for you.
 

cracker

Nyah!
OP
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
dohclude said:
Sure no problem. I tried the games "0297 - Super Mario Advance 2 - Super Mario World" and "0329 - Super Street Fighter II Turbo - Revival".

Here are the cheats:

0297 - Super Mario Advance 2 - Super Mario World

Code:
[Time]
ON=454E2,9,9,9

[Money]
ON=442FF,63

[Lives]
ON=442BC,C8

[Continuously ride the turtle (to ride turtle to be effective)] 
ON=43A33,1

[Invisible]
ON=4402D,64

[Condition]
??=44300,0
??=44300,1
???=44300,2
???=44300,3


0329 - Super Street Fighter II Turbo - Revival

Code:
[All hideaways project and role]
ON=71C8,0f,27

[Infinite time (Disable on Car Stage)]
ON=42254,63
OFF=0000,0

[P1 Health Bar]
ON=464C2,B0;464C4,B0;465D8,B0

[P1 Energy Bar]
ON=466D4,30

[P1 attack in air]
OFF=4659C,1
ON=4659C,0

[P1 simply attack]
OFF=0000,0
Combo Attack(Light kick¡¢heavy punch)=46714,03
Just spam this(heavy punch)=46714,04

[P2 Life value]
OFF=0000,0
HP is zero=468D2,0;468D4,0;469E8,0
HP does not drop=468D2,b0;468D4,b0;469E8,b0


These cheat descriptions aren't 100% translated into English yet (some are in "broken" English too), but the cheats work fine on my M3 Real nonetheless. If I get the chance I will try some others and post the results for you.

I fixed the problem with the 4XXXX,YY cheats not working right. Didn't know the '4' was a flag that meant to use the address 300XXXX instead of 204XXXX...

I blocked OFF= lines from being shown as they aren't implemented and thus useless.

Also codes such as this wont work:

Code:
[P2 Life value]
OFF=0000,0
HP is zero=468D2,0;468D4,0;469E8,0
HP does not drop=468D2,b0;468D4,b0;469E8,b0

Those codes are meant to be toggled with an in game menu such as the one the m3 has. There is somewhat of a workaround:

CODE[P2 Infinite health]
ON=468D2,b0;468D4,b0;469E8,b0
[P2 Instant kill - Press L+R+A]
ON=400130,fe;468D2,0;468D4,0;469E8,0

Of course this would mean manually editing the .chts that you were going to use but cheating isn't always easy.
wink.gif
This is why I much prefer proper - Codebreaker - codes!
 

dohclude

Well-Known Member
Member
Joined
Oct 12, 2006
Messages
384
Trophies
0
Age
41
Location
The Patch Walks!
Website
www.MODaWii.com
XP
304
Country
United States
I hear ya. I knew with the wacky way these codes are set up that they wouldn't be able to convert over 100%. I guess they were designed for RTS menu access like on the G6 Lite, when you open the RTS menu you can access the cheats and toggle them on and off during your game. There's not much documentation about this format so anything important that you figure out feel free to let me know. I'd like to make some documentation for these .CHT codes and post them to a wiki or something.


Update* - Tested out the new build and it works pretty good for me now. Tested it with no$gba and my M3 Real. Maybe someday when we have finished translating all these I can go back through and clean up some of these codes so that they are compatible with your converter. Do you mind if I put a link up on cheats.gbatemp.net for this now?
 

cracker

Nyah!
OP
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
dohclude said:
I hear ya. I knew with the wacky way these codes are set up that they wouldn't be able to convert over 100%. I guess they were designed for RTS menu access like on the G6 Lite, when you open the RTS menu you can access the cheats and toggle them on and off during your game. There's not much documentation about this format so anything important that you figure out feel free to let me know. I'd like to make some documentation for these .CHT codes and post them to a wiki or something.


Update* - Tested out the new build and it works pretty good for me now. Tested it with no$gba and my M3 Real. Maybe someday when we have finished translating all these I can go back through and clean up some of these codes so that they are compatible with your converter. Do you mind if I put a link up on cheats.gbatemp.net for this now?

I updated the .CHT importing function to use the multiple modifier codes (only one can be used at a time obviously).

Sure. It would probably be best linking to this thread instead of a direct link to the download so that it can be checked for updates.
 

dohclude

Well-Known Member
Member
Joined
Oct 12, 2006
Messages
384
Trophies
0
Age
41
Location
The Patch Walks!
Website
www.MODaWii.com
XP
304
Country
United States
Thanks, I added a link to this thread. Also, I tried the latest build and it seems to work pretty well, but sometimes it won't load certain .CHT files. I'm not sure why, and so far I've only found one that it does this with, but when you select the file it does nothing at all.

0050 - Super Mario Advance (UE).cht

Code:
[Lives]
ON=41161,63

[Largen]
ON=41C76,1F

[Full A]
ON=41C35,1F

[Float in the air(Press jump key)]
ON=41C7E,5F

[Transparency]
OFF=41C7D,0
ON=41C7D,5F

[SM Score 9999999]
ON=4114C,7F,96,98

[SM 100% Golden Coins]
ON=41150,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,F

[SM 99 Lives]
ON=41161,63

[SM Characters change]
Mario=41C70,0
Peach=41C70,1
Kinopio=41C70,2
Luigi=41C70,3

[SM Illimitable jump]
ON=41C71,0

[SM Power]
ON=41C76,FF

[SM Heart7]
ON=41C77:07

[SM Invincible condition]
ON=41C7C,FF

[SM Star condition]
ON=41C88,FF

[SM The enemy does not move]
ON=41CAC,FF

[MB Fight the enemy and pass]
ON=41DEE,0

[MB Score 99999]
ON=41D10,3F,42,F

[MB remained continuous time4] 
ON=41D34,4

[MB Life number 99]
ON=41D35,63

[GameInfo]
Name=0050 - Super Mario Advance (UE)
System=GBA
Text=By MODaWii - OptimisticPessimist

I'll try to find any others that do the same thing.
 

cracker

Nyah!
OP
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
What broke it is a very subtle variation in one code...

Code:
[SM Heart7]
ON=41C77:07

I fixed it but I'm in the middle of working on something else I forgot to finish. I'll release the new version as soon as I'm done with all of that...
 

Zeromaru

New Member
Newbie
Joined
Jul 29, 2005
Messages
4
Trophies
0
XP
134
Country
Thailand
When I patch 2322 - Yu-Gi-Oh Duel Monsters Expert 2006 (J)

Game is still freeze and white screen with sound cracking.

sorry for my english
smile.gif
 

cracker

Nyah!
OP
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
Updated. The .CHT importing should work fine with whatever is thrown at it now (with the exception of some of the non-standard cheats
rolleyes.gif
).

ZeroMaru said:
When I patch 2322 - Yu-Gi-Oh Duel Monsters Expert 2006 (J)

Game is still freeze and white screen with sound cracking.

What codes and options are you using?
 

Zeromaru

New Member
Newbie
Joined
Jul 29, 2005
Messages
4
Trophies
0
XP
134
Country
Thailand
cracker said:
Updated. The .CHT importing should work fine with whatever is thrown at it now (with the exception of some of the non-standard cheats
rolleyes.gif
).

ZeroMaru said:
When I patch 2322 - Yu-Gi-Oh Duel Monsters Expert 2006 (J)

Game is still freeze and white screen with sound cracking.

What codes and options are you using?


LP Code
CODE
Press Select to Win
D0000020 0004
8201CD48 0000
 

Narin

The Cheat Master, kupo!
Former Staff
Joined
Feb 19, 2008
Messages
2,629
Trophies
2
Age
38
Website
cheats.gbatemp.net
XP
1,108
Country
United States
Cracker,

Mind sending me over the code you used to read and parse the .cht files or in the very least, could you fill me in on the file structure and each variation of the .cht format? I have been looking to make a parser for the .cht files for a while now but there is little documentation on the format.

Thanks again,
Narin
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,377
Country
United Kingdom
@Narin there is little documentation for it might as well be like .bin, every company has a slightly different version and there can be subversions within those. Add in the badly written cheats and it goes up again.

Still EZFlash version:
http://ezflash.sosuke.com/wiki/index.php?title=Cht
You might also want to hit up Hankchill as he did some work a while back.
 

cracker

Nyah!
OP
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
Zeromaru said:
cracker said:
Updated. The .CHT importing should work fine with whatever is thrown at it now (with the exception of some of the non-standard cheats
rolleyes.gif
).

ZeroMaru said:
When I patch 2322 - Yu-Gi-Oh Duel Monsters Expert 2006 (J)

Game is still freeze and white screen with sound cracking.

What codes and options are you using?


LP Code
Code:
Press Select to Win
D0000020 0004
8201CD48 0000

The GBA is only capable of accessing 32MB of memory at a time. The problem is that the game is 32MB. This normally wouldn't be a problem except for that the game is probably padded with random data at the end (it is highly unlikely that it would be EXACTLY 32MB w/o padding). I trimmed off 400 bytes or so at the end of the game before I patched it and it worked fine as far as I tested it.

Narin said:
Cracker,

Mind sending me over the code you used to read and parse the .cht files or in the very least, could you fill me in on the file structure and each variation of the .cht format? I have been looking to make a parser for the .cht files for a while now but there is little documentation on the format.

Thanks again,
Narin

Done.

QUOTE(FAST6191 @ Dec 12 2008, 07:26 PM)
@Narin there is little documentation for it might as well be like .bin, every company has a slightly different version and there can be subversions within those. Add in the badly written cheats and it goes up again.

Still EZFlash version:
http://ezflash.sosuke.com/wiki/index.php?title=Cht
You might also want to hit up Hankchill as he did some work a while back.

Where were you 2 days ago? JK.. The EZ3 follows the standard pretty well as far as I've seen so it wasn't hard to figure it out. The G6 and m3 not so much.
 

Zeromaru

New Member
Newbie
Joined
Jul 29, 2005
Messages
4
Trophies
0
XP
134
Country
Thailand
cracker said:
The GBA is only capable of accessing 32MB of memory at a time. The problem is that the game is 32MB. This normally wouldn't be a problem except for that the game is probably padded with random data at the end (it is highly unlikely that it would be EXACTLY 32MB w/o padding). I trimmed off 400 bytes or so at the end of the game before I patched it and it worked fine as far as I tested it.

When I use Flash Advance Tool Kit v8 to Trim this Rom it say no FF or 00 trim...
blink.gif
 

cracker

Nyah!
OP
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
Zeromaru said:
cracker said:
The GBA is only capable of accessing 32MB of memory at a time. The problem is that the game is 32MB. This normally wouldn't be a problem except for that the game is probably padded with random data at the end (it is highly unlikely that it would be EXACTLY 32MB w/o padding). I trimmed off 400 bytes or so at the end of the game before I patched it and it worked fine as far as I tested it.

When I use Flash Advance Tool Kit v8 to Trim this Rom it say no FF or 00 trim...
blink.gif



Download this and extract the contents to a new folder. Put the game (and only that game) into the folder and run trimbiggame.bat. Then apply the cheat patch with GBAATM to biggame-cut.gba.

QUOTE(Narin @ Dec 13 2008, 04:41 AM)
Thanks Cracker, I appreciate the help
smile.gif

NP man.
gbasp.gif
 

Zeromaru

New Member
Newbie
Joined
Jul 29, 2005
Messages
4
Trophies
0
XP
134
Country
Thailand
cracker said:
Download this and extract the contents to a new folder. Put the game (and only that game) into the folder and run trimbiggame.bat. Then apply the cheat patch with GBAATM to biggame-cut.gba.

It's work now thank you
smile.gif


but when I use all of this code it will freeze again.
and Raigeki/Harpies Duster/Monster Reborn Code is not work great like use by Emulator.

CODEPress Select+Left to Win
74000130 03DB
8201CD48 0000

Press Select+Right to Restore 8000 LP
74000130 03EB
8201C4E0 1F40

Press Select+Down to Repeat Draw Phase
74000130 037B
4201E1F8 0000
00000002 0034

Press Select+Up to End Phase
74000130 03BB
4201E1F8 0004
00000002 0034

Raigeki [SEL + B]
74000130 03F9
4201E224 10F7
EF140002 0028
74000130 03F9
4201E22C 0000
00030002 0010
74000130 03F9
4201E234 0001
00000002 000C
7201B590 10F7
3201B592 0000

Harpies Duster [SEL + R]
74000130 02FB
4201E224 1246
EDC50002 0028
74000130 02FB
4201E22C 0000
00030002 0010
74000130 02FB
4201E234 0001
00000002 000C
7201B590 1246
3201B592 0000

Monster Reborn [SEL + A]
74000130 03FA
4201E224 12EA
ED210002 0028
74000130 03FA
4201E22C 0000
00030002 0010
74000130 03FA
4201E234 0001
00000002 000C
7201B590 12EA
3201B592 0000
 

cracker

Nyah!
OP
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
I tested the codes in an emulator and they are writing the right values to where they should be. I'll admit card battling games aren't my forte and I have no idea how to get into the game because I don't know Japanese. What exactly do you mean when you say it doesn't work? Also are you using the trainer menu? If so then more space will be needed at the end of the game so it will need to be trimmed a bit more.
 

BastarB

Well-Known Member
Member
Joined
Apr 16, 2007
Messages
120
Trophies
1
XP
730
Country
Whoa, it's been a while since I last visited this thread, and I can see that there have been some great updates=D Thanks alot for those updates Cracker^^, I will test it out right away^^ And another question! Do someone know where to find .cht files???
rolleyes.gif
 

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?