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
The problem is related to the formatting of the cheats. Until I can fix it you can get around the problem by formatting the cheats like:

90957B4E[SPACE]F0E3

Also the game has an intro that you will want to get rid of because it trashes the area of RAM you are using. Apply this patch before you patch the trainer into it.

Also, it appears there might be issues with the infinite time code but it might just be the emulator. If not I suggest using enable/disable and switching the code off before you go through the portal.
 

BastarB

Well-Known Member
Member
Joined
Apr 16, 2007
Messages
120
Trophies
1
XP
704
Country
cracker said:
The problem is related to the formatting of the cheats. Until I can fix it you can get around the problem by formatting the cheats like:

90957B4E[SPACE]F0E3

Also the game has an intro that you will want to get rid of because it trashes the area of RAM you are using. Apply this patch before you patch the trainer into it.

Also, it appears there might be issues with the infinite time code but it might just be the emulator. If not I suggest using enable/disable and switching the code off before you go through the portal.

Hi again cracker and thanks for the info=). My rom did not have an intro in the first place, but still thanks^^
However I got no success with your info, as soon as I enable the codes ingame using L+R+A, the game just hangs, this happen when I have patched the game with the trainer menu function.
However, if i don't patch the game with a trainer menu, the codes seems to work fine when i'm press L+R+A, it does not hang. It seems to be a problem with the trainer menu!!?

I tried this with just the following data:

CODE
M Must Be On
90957B4E F0E3
96A3A22C 899F
7281BD45 C80F

Moon Jump
F074FA8E 30A9
307E5EEC 74ED

RAM address that I used: 0x3007FA0

When use this code with a trainer menu, and enable it(L+R+A) at a stage ingame, it just hangs the game
When I use this code without a trainer menu, and enable it(L+R+A) at the same stage ingame, it seems to work fine.
It seems to hang with every code when I'm using the trainer menu function, even when i also tried to just use the "Must be on" code with nothing more

Maybe the problems is in the menu function!?



Once again, thank you for this great program^^ And for your fast answer^^
 

cracker

Nyah!
OP
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
I found and corrected the two bugs that you were experiencing. It's all good now.
gbasp.gif
 

BastarB

Well-Known Member
Member
Joined
Apr 16, 2007
Messages
120
Trophies
1
XP
704
Country
WOW, thanks cracker, you're too fast
biggrin.gif
gbasp.gif
It's working like a charm now^^

Thank you thank you
biggrin.gif
Keep up the great work^^
 

BastarB

Well-Known Member
Member
Joined
Apr 16, 2007
Messages
120
Trophies
1
XP
704
Country
Hi again cracker, sorry for double posting, but now I'm back, another day, another problem
happy.gif


I tried to use your new fresh 1.9 version on Grand theft auto advance (U) With no success=P


The signs of the problem occurs first when I deadbeef the game:

The location at 0x3007FA0 that normally contains "efbeadde efbeadde efbeadde efbeadde" in other games, contained instead
"efefefef efefefef efefefef efefefef"

normally: 0x3007FA0 efbeadde efbeadde efbeadde efbeadde

in this case: 0x3007FA0 efefefef efefefef efefefef efefefef

I tried to look for a correct deadbeef place beetween 0x3000000-0x3007FFF without any success.

So instead i tried to use the standard place at 0x3007FA0 that contained those "efefefef", to see if it acctually worked.

And then i tried to use the following codes:

CODE M Must Be On
916CA551DA17
DB5FE57E8FCA
8AD176385AE0

Start with $50,000
DBDA5AAA6EC2
5BEE32C2CCD2

Have Maximum Cash
AC65B535103C
8EE9B5BD50CC

Infinite Health
967E70D34BD1

Well it did not work. even with or without a trainer menu. When I run the patched game with the cheats enabled, i can went though the first menu with
no problem, typing my name, and see the start dialogue. However, when the game try to load the GTA city, the screen just turns black, it hangs.
When I use very many cheats codes, the main menu grapichs looks weird.

All the cheats I used to get corrupt menu graphics:

CODE M Must Be On
916CA551DA17
DB5FE57E8FCA
8AD176385AE0

Start with $50,000
DBDA5AAA6EC2
5BEE32C2CCD2

Have Maximum Cash
AC65B535103C
8EE9B5BD50CC

Infinite Health
967E70D34BD1

Infinite Armor
A80048D85872

Infinite Stamina
CBA80E2D38CC

Infinite Ammo
47B1E351D6B3
8E934AA03EE2

Have all Weapons
12D7CBB2C7A3
8A934AAA2EE2

Have Borgnine Taxi
DFA80E2728CC

Stop Mission Timer
6D71B535922C

Can't be Arrested
D3D672B85FE3

Low Felony Meter R+B+Down
A03930C91E59
925674DC5FFB

High Felony Meter R+B+Up
205D99C99F1D
92D7724873F1



Another problem that occurs is when I use GBAATM 1.9. I open GBAATM, then I open the Grand theft auto rom, choose save path, I paste the codes in the cheat code box, and then I just select the "Enable/Disable" checkbox, "enabled or not at start" does not matter. The "trainer" checkbox is still selected as it is as default when you start the program, keep it that way(if you uncheck it, the problem will not occur). When I patch the game with these options GBAATM will crash. I use XP home
 

cracker

Nyah!
OP
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
I found and fixed some bugs that were causing the graphic corruption in the menu and eventual freezing in game.

GTAA floods the memory with EFs when it first boots up. I think it is possibly to prevent trainers since EF is a strange value. (Super Monkey Ball Jr. does the same thing BTW.) In order to prevent this from happening apply this patch.

Unfortunately, the problem doesn't end there and I wasn't able to get the menu working with GTAA (which is very strange). It's as if it is watching the memory but not using it. Yet setting a breakpoint on reading/writing the memory didn't get a hit.
wacko.gif
 

BastarB

Well-Known Member
Member
Joined
Apr 16, 2007
Messages
120
Trophies
1
XP
704
Country
Again, great job cracker
gbasp.gif
You did your best to solve those problems^^
Maybe you will find a way to get the trainer menu to work with GTAA hopefully, thanks for the patch anyway and for the grapics corruption bugfix!
You're quick
biggrin.gif




I've been playing around a little more with Wario Land 4 (UE) and your update of GBAATM to v1.9 solved all problems that occured before.
Except one problem
rolleyes.gif
(all this bugtesting is done with the 1.9.1 version of GBAATM)
I patched the game with a trainer menu with some Gameshark cheats, and in the emulator, all those cheats appear to work fine.
The problem is with the "infinite time" cheat, it works like a charm in Visual Boy Advance.
However, when I run it on real hardware, the infinite time cheat hangs the game just when I'm jumping on the timeswitch in the first level.
And weird noises occur. No other patching mechanisms was involved during the test on real hardware.
Then I tried to use a codebreaker code instead with the same function to see if it worked, and I got the exact same results as with the gameshark code(maybe because it's the same type of codes? If I have understood you FAQ correct!?) It just crash the game on hardware but not in the emulator
wacko.gif


Related code:

The Gamesharkcode I used:

M Must Be On
90957B4E F0E3
96A3A22C 899F
7281BD45 C80F

Stop Timer
56E1A21E 61BB


The Codebreakercode I used:

Enable Code (Must Be On)
0000D0D3 000A
10000954 0007

Unlimited Time
83000BF0 0509

-----------------------------------------------------------------------


Another thing I noticed was that the Codebreaker "Must enable code" (Is it called the mastercode?) wasn't hidden in the trainer menu?
But the gameshark "mastercode" was hidden.
Is it a bad mastercode or something, or is it a bug? I noticed this with the Codebreakercode I used in the previous bug report above.

What function does the mastercode really have? I noticed that cheats could work without it, but not in all cases


------------------------------------------------------------------------

The last bug I noticed is related to this Codebreaker code:
Wario Land 4 (UE)

Enable Code (Must Be On)
0000D0D3 000A
10000954 0007

Press R+L+Down To Have Key
D0000020 0380
33000C0C 0001
D0000020 0380
33000B80 0001
D0000020 0380
33000B82 004B

Press R+L+Up To Open Level Exit
D0000020 0340
33000C0D 0001

When I use the codes with VisualBoyAdvance's own Cheatenabler, the button-input of those cheats works very well (Press R+L+Up etc...).
However, when I patched them into the rom using GBAATM with a trainer menu(have not test without a trainer menu), started the game, and then enabled the cheats in the trainer menu, it does not matter which button I press. I can press just the L button or the R and both cheats above will be instantly activated at the same time.

-----------------------------------------------------

Well, thats all
biggrin.gif
, hope you understand my tired crap english.

Have a nice day Cracker^^ And once again, thank you^^
 

cracker

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

That's strange about the infinite time code because no$gba freezes too when you enter the portal at the end. It makes sense though because no$gba usually operates like the real hardware.

I would use this code instead:
Press L+R to Reset Time
D0000020 0300
83000BF0 0509

I fixed the codes that rely on keypresses (such as that one).

The unencrypted Enable codes:

Code:
0000D0D3 000A
10000954 0007

aren't needed. I added code to prevent them from accidentally getting placed in the menu as if it were a code.

Also note that you shouldn't mix encrypted codes with unencrypted codes. But if you need to then _always_ put all of the unencrypted codes first:

ex:

Code:
Press R+L+Down To Have Key
D0000020 0380
33000C0C 0001
D0000020 0380
33000B80 0001
D0000020 0380
33000B82 004B

Press R+L+Up To Open Level Exit
D0000020 0340
33000C0D 0001

M Must Be On
90957B4E F0E3
96A3A22C 899F
7281BD45 C80F

Stop Timer
56E1A21E 61BB

If you put the unencrypted codes after the mastercode (must be on) then it will 'decrypt' the code and it will be garbage.

I might be able to make it autodetect unencrypted codes when there is a mastercode being used and bypass the decryption routine but it's very possible it would be qwirky and it might cause more problems than fixing them.
unsure.gif
 

BastarB

Well-Known Member
Member
Joined
Apr 16, 2007
Messages
120
Trophies
1
XP
704
Country
Thanks alot cracker for this update^^
gbasp.gif
Fast as always^^ And thanks for the reset cheat!
However, how do I see if an code is unecrypted? is there a system to see such thing?

cracker said:
That's strange about the infinite time code because no$gba freezes too when you enter the portal at the end. It makes sense though because no$gba usually operates like the real hardware...
Wait a second. You said i freezes when you entered the "portal" in the very end of the level, not when you jumping on the timeswitch, as I experienced on real hardware??

Have a nice day^^

EDIT: All of the unecrypted codes has two zeroes in a row!? Is that a sign of unencryption?
And there is much more symmetry beetween the unecrypted codes than the encrypted ones
rolleyes.gif
 

BastarB

Well-Known Member
Member
Joined
Apr 16, 2007
Messages
120
Trophies
1
XP
704
Country
Further Investigation of weird crashes in Wario Land 4 (UE)


At first I thought it was related to the infinte time code, but it is not, atleast not when I using the latest build of GBAATM 1.9.2.
As I told earlier it freezes when I jump on the blue Switch in the first level when I running it on real
hardware, but this will happen with every code now that I use from the codebreaker website. It also crashed
when I tried to load the level "Wild Flower Fields", however, this investigation will fokus on the blue
switch at the end of the first level.


Emulators used: VBA v1.7.2 and NoGBA v2.6

Flashcards used: "M3 Perfect", "EZ-flash IV" and "EZ 3 in 1 in combination with CycloDS"

Consoles used: Gameboy Micro and Nintendo DS Lite

Game: Wario Land 4 (UE)

GBAATM v1.9.2: Options used in program: Trainer and Trainer menu, execute every 1 cycles.
Standard RAM at 0x3007FA0 is used.




1.

First test: build a trainer menu with a codebreaker code taken from the codebreaker website, enable it in
the trainer menu and see what happens when Im jumping on the blue Switch in the end of the first level.

Related code:
Have Compact Disc
33000C0B 0001

The mastercode is not used in this test since you told me that it was not needed:
Enable Code (Must Be On)
0000D0D3 000A
10000954 0007


Results:

Visualboy advance: Seems to work alright

NoGBA: Failure, hangs when entering the "portal" at the very end of the stage NOT at the blue Switch(Huh,
sounds like what you described in your previous post)

EZ flash IV: Failure, Hangs when jumping on the blue switch

EZ 3in1 expansion pack with CycloDS: Failure, same as EZ flash IV

M3adpater: Failure, Hangs when jumping on the blue switch exactly like the EZ flash IV and the 3in1







2.

Second test: Trying to build a trainer for the same game using a different code from the codebreaker
website, enable it in the trainer menu and see if the results differs from test number one

Related code:
Unlimited Hearts
33001910 0008

No mastercode is involved as in the first attempt.

Results:

Visualboy advance: Seems to work Fine, ""same result as the first test""

NoGBA: Failure, again it hangs when entering the "portal" at the very end of the stage NOT at the blue
Switch, ""same result as the first test""

EZ flash IV: Failure, again it hangs when jumping on the blue switch, ""same as the first test""

EZ 3in1 expansion pack with CycloDS: Failure, same as EZ flash IV, ""Same Results as in the first test""

M3adapater: Failure, again it hangs when jumping on the blue switch exactly like the EZ flash IV and the
3in1, ""same result as in the first test""





Okej, so the results of test number 1 was identical with test number 2.


3.


This test number 3 is identical with test number 2, the only exception is that I did not enable the
Unlimited Hearts code in the trainer menu.

Related code:
Unlimited Hearts
33001910 0008

Mastercode not used

Results:

VisualboyAdvance: Works fine! ""same as the first and second test""

NoGBA: Failure, again it hangs when entering the "portal" at the very end of the stage NOT at the blue
Switch ""same as the first and second test""

EZ flash IV: Failure, again it hangs when jumping on the blue switch ""same as the first and second test""

EZ 3in1 expansion pack with CycloDS: Failure again, same as EZ flash IV. ""same as the first and second
test""

M3adapter: Failure, again it hangs when jumping on the blue switch exactly like the EZ flash IV and the
3in1 ""same as the first and second test""




Okej, all these three tests had identical results, and it did not matter if the code was enabled or not in
the trainer menu.






4.


In this test Im going to use the same code as in test 2 and 3, but the GBAATM options differs, I will not
be using the trainer menu fuction, instead, I use the "Enable/Disable" Function with the code enabled as
default in the game.

Related code:
Unlimited Hearts
33001910 0008

Mastercode not used.


Results:

VisualboyAdvance: Works like a charm as always=P

NoGBA: I did not expect this without a trainer menu, but NoGBA Hangs when I jumped into the portal at the
very end of the level. So the result is the the same as in the previous tests as usual in other words. =(

EZ flash IV: Failure, crashes again when jumping on the blue switch.

M3adapter: Failure, Crashes at the usual place when I jump on the blue switch.

EZ 3in1 expansion pack with CycloDS: Failure again at the blue switch.


Okej, all four test had identical results, wonder what's wrong now?




Once again, have a nice day cracker, and everyone else too^^


EDIT: I tried this code from the Gameshark website with the same game:

M Must Be On
90957B4EF0E3
96A3A22C899F
7281BD45C80F

Moon Jump
F074FA8E30A9
307E5EEC74ED

and it crashed the game at exact the same location as the codebreaker codes did(I used them with a trainer menu)
NoGBA crashed when I entered the portal as usual. On hardware it crashed when I jumped on the blue switch.
 

orion001

Well-Known Member
Newcomer
Joined
Aug 23, 2007
Messages
53
Trophies
0
XP
86
Country
Angola
elo cracker, i just tried some codes for yggdra union and after i patch the trainer even if i deadbeef the game there is only a whitescreen, also for golden sun 2 the codes doesnt seem to work. i tried codebreaker and gameshark codes. tnx again for this great app.
smile.gif
 

cracker

Nyah!
OP
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
BastarB: Thanks for doing all the investigative work. It is very strange indeed how there are discrepancies between the ways of running the games. I will do some more no$ debugging and see if I can find a way around it.

orion001: For Yggdra Union I suspect there is something strange with the way it boots up (or maybe a crc check?) and I would guess that using the codes w/o a menu or slow mo by itself would make it work. As for GS2 it sounds like the hook that is being found isn't being executed, the codes aren't getting converted right, or the codes are bad. Can you post the codes you are using and the version? I'll check both games out when I get some free time here.
unsure.gif
 

orion001

Well-Known Member
Newcomer
Joined
Aug 23, 2007
Messages
53
Trophies
0
XP
86
Country
Angola
hi i did try those options that you said for yggdra but it still didnt work only white screen.
here are the codes that i used for yggdra taken from gs website

Must Be On
928817FA381C
1D22A1C0C580
AFC054193935

Gain Level Per Battle
9CEC96A16F69
D0A09C848FA1
3CFD9A81E761
D0A09C848FA1

Have 10 Moves
592681BC3598

Infinite Health
35995A87A460
D2405FBB0EB8
359B62C5E4C0
3479C39B8760
52406379822C
9EA0949D8FA1

Infinite Turns (Press B)
7131839D65B9
3EFBDA800751
3F951A3D85AD

Maximum Card Power
6D5F51A435C8

Maximum Morale
A9B9D4847D60
D0A09C848FA1
A8F9D4807FE0
D0A09C848FA1

Maximum Stats
190E6266A067
D0A09C848FA1
46C2717A928C
D0A09C848FA1

for gs2 here are the codes that i used also taken from gs website.

(m)
C4013A4C00008421
45464741001DC0DE

Have All Characters
3200004000FF
820004580504
8200045A0706
8200045C0100
8200045E0302

ISAAC CODES:
82000554270F

Infinite Health
82000558270F

Max PP
82000556270F

Infinite PP
8200055A270F

GARET CODES:
Max Health
820006A0270F

Infinite Health
820006A4270F

Max PP
820006A2270F

Infinite PP
820006A6270F

IVAN CODES:
820007EC270F

Infinite Health
820007F0270F

Max PP
820007EE270F

Infinite PP
820007F2270F

MIA CODES:
82000938270F

Infinite Health
8200093C270F

Max PP
8200093A270F

Infinite PP
8200093E270F

FELIX CODES:
82000A84270F

Infinite Health
82000A88270F

Max PP
82000A86270F

Infinite PP
82000A8A270F

JENN CODES:
82000BD0270F

Infinite Health
82000BD4270F

Max PP
82000BD2270F

Infinite PP
82000BD6270F

SHEBA CODES:
82000D1C270F

Infinite Health
82000D20270F

Max PP
82000D1E270F

Infinite PP
82000D22270F

PIERS CODES:
82000E68270F

Infinite Health
82000E6C270F

Max PP
82000E6A270F

Infinite PP
82000E6E270F

tnx alot. smile.gif
 

joe2001

Active Member
Newcomer
Joined
Sep 25, 2008
Messages
38
Trophies
0
Age
59
Location
Gallifrey.
XP
225
Country
Well its a cracking bit of kit - but it dont work for me
dry.gif


Tried both Phantasy Star Collection & Super Robot Taisen OG - the trainer came up for both however;

On PSC the game just went to a black screen when starting a new game on Phantasy Star III & on SRTOG the trainer came on but no codes.

Run outta ideas here
cry.gif
 

orion001

Well-Known Member
Newcomer
Joined
Aug 23, 2007
Messages
53
Trophies
0
XP
86
Country
Angola
hey joe2001. srtog 1n2 works for me. i used gameshark codes and i didnt used the trainer menu option. i just used the on/off option and it worked. you should try this option and see if it will work for you.
 

joe2001

Active Member
Newcomer
Joined
Sep 25, 2008
Messages
38
Trophies
0
Age
59
Location
Gallifrey.
XP
225
Country
gba.gif
Thanks, I'll try that & will get back with some sort of result.
yaynds.gif


UPDATE Nope still having no luck - have I got the right hardware? Iam using R4DS & Ez 3in1 V5....
 

joe2001

Active Member
Newcomer
Joined
Sep 25, 2008
Messages
38
Trophies
0
Age
59
Location
Gallifrey.
XP
225
Country
I don't think this program works with what I have.
hate2.gif

Another member has advised me to purchase a slot 1 card which will enable me to use codes with a menu et al.
lecture.gif


Unless anyone else has any ideas?
unsure.gif
 

orion001

Well-Known Member
Newcomer
Joined
Aug 23, 2007
Messages
53
Trophies
0
XP
86
Country
Angola
hi joe 2001. what type of codes are you using? i used the codebreaker codes for srtog 1n2 you can find the ocdes in gamefaqs. also add the master/enable codes in the codes. i tried the trainer menu with the latest release and it works. for phantasy star i tried making it before and it didnt work i also tried it again and it still didnt work. ps i tried the games with the trainer with ez-flash 4, vba, and ez 3in1, also with my psp and it works. hope it helps.
smile.gif
 

joe2001

Active Member
Newcomer
Joined
Sep 25, 2008
Messages
38
Trophies
0
Age
59
Location
Gallifrey.
XP
225
Country
orion001 said:
hi joe 2001. what type of codes are you using? i used the codebreaker codes for srtog 1n2 you can find the ocdes in gamefaqs. also add the master/enable codes in the codes. i tried the trainer menu with the latest release and it works. for phantasy star i tried making it before and it didnt work i also tried it again and it still didnt work. ps i tried the games with the trainer with ez-flash 4, vba, and ez 3in1, also with my psp and it works. hope it helps.
smile.gif

Hello again orion001, ok, will try it again thank you
smile.gif
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Sonic Angel Knight @ Sonic Angel Knight: Or, I also heard that if you use flash memory, it can act as more "RAM" at least windows tell me...