ROM Hack cracker's trainers

cracker

Nyah!
OP
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
These are some pretty old trainers from before there were any cheat functions built into carts so there are kept here perhaps for nostalgia or for the few people stuck on a slot 2 flash cart with no ability to cheat in these games. For cheating in any game with codes you want get DSATM.

Here's my ever-growing list of trainers. All of these are coded by hand in ARM assembly code from AR DS codes people have made or from addresses I have found from cheat searching in emulators. Please message me or post a reply if you find a bug caused by a trainer. Apply the patch (cr-xxxpxx.ips) with your favorite IPS patcher to the untouched (verified clean, pure, etc by a scanning tool) game and write the patched game to your cart as usual. (To reiterate in different words: the trainers will more than likely not work on games that have been sent through a utlity such as the EZ4 Client, m3 Manager, etc.) Note that all of the trainers are hardcoded and can't be turned off. This is the reason that most of the trainers included 'unpatches' to turn off cheats that you don't want on. Apply the 'unpatches' of the cheats you want to turn off to the already patched game. Feedback appreciated. And thanks to all the people who made the AR DS codes (Dualscreenman, FNG, gardevor, Hiei-YYH, Imaha486, kenobi, laurens, nolberto83, Parasyte, and all anonymouse codemakers) -- very tedious work.

Advance Wars - Dual Strike (U) +5 Trainer

It includes:
Infinite Funds
Infinite Shop Funds
No Funds Spent After Mission
No Damage Cost After Mission
Press L to Move Again

Asphalt - Urban GT 2 (U) +3 Trainer

It includes:
Infinite Nitro
Infinite Money (Evolution Mode)
All Championship Races Won (Evolution Mode)

Avatar - The Last Airbender (U) +6 Trainer

It includes:
Infinite Health (All Characters)
Max Power (All Characters)
Max Defense (All Characters)
Max Special (All Characters)
All Bender Abilities (All Characters)
Infinite Money

Bleach DS - Souten ni Kakeru Unmei (J) +2 Trainer

It includes:
Infinite Health
Always have Level 3 Power Bar

Bomberman (U) +3 Trainer

It includes:
Infinite Lives
Infinite Time (Hold L+R to let it decrease)
Infinite Powerups

Break 'Em All (U) +3 Trainer

It includes:
Infinite Balls
Infinite Powerup Time
Almost All Powerups Active

Brothers in Arms DS (E) +7 Trainer

It includes:
Infinite Health
Infinite Rocket Launcher Ammo
Infinite Sniper Rifle Ammo
Infinite Machine Gun Ammo
Infinite Grenades
Infinite Tank Ammo
Fast Tank Cannon

Brothers in Arms DS (U) +8 Trainer

It includes:
Infinite Health
Infinite Rocket Launcher Ammo
Infinite Sniper Rifle Ammo
Infinite Machine Gun Ammo
Infinite MG Sub Machine Gun Ammo
Infinite Grenade Launcher Ammo
Infinite Grenades
Weapon Select -
L+R+A = MG Sub Machine Gun
L+R+Up = Machine Gun
L+R+Down = Rocket Launcher
L+R+Left = Sniper Rifle
L+R+Right = Grenade Launcher

Bubble Bobble Revolution (E) +2 Trainer

It includes:
Infinite Lives - New Age Mode
Infinite Hearts - New Age Mode

Note: Extract the contents of the zip to a folder along with your game and Xdelta (http://evanjones.ca/software/xdelta.exe) then run cr-bbrep2.bat


Burnout Legends (U) +1 Trainer

It includes:
Infinite Boost

Castlevania - Portrait of Ruin (U) Trainers

The +2 trainer includes:
Infinite HP
Infinite MP

The alternate +2 trainer includes:
Infinite Gold
Quick Level Up

The +4 trainer includes:
Infinite HP
Infinite MP
*Infinite Gold
*Quick Level Up

Note: Infinite Gold and Quick Level Up are activated by entering the menu. Quick Level Up gives you level 99 on your first level up. The graphics in the menus won't be completely drawn with this trainer. If this bothers you then get the +2 trainer instead.

Chicken Little - Ace in Action (U) +2 Trainer

It includes:
Infinite Health
Infinite Shield

Children of Mana (U) +5 Trainer

It includes:
Infinite HP
Infinite MP
Infinite Money
Max Level
Fury Refill (Press Select)

Club House Games (U) +1 Trainer

It includes:
All Games Unlocked

Contact (U) +5 Trainer

It includes:
Infinite Health
Infinite Money
Tech Meter Always Full
Refill Weapons and Food (Press L+R)
Have All Costumes

Cooking Mama (U) +1 Trainer

It includes:
Infinite Time

Note: Press L+R to end time

Custom Robo Arena (U) +5 Trainer

It includes:
Infinite GP
Refill Health (Press L+R+B)
Instant Win (Press L+R+A)
King Class
All Equipment (Press L+R+Select)

Note: The equipment code still results in some parts showing as dirty in the list even though they are clean when you try to clean them. I'm not sure how to fix this since there are no official AR codes for this game yet (they probably are holding off until they can find a fix for this too). So if this is a concern then DON'T USE IT.

Dead 'N' Furious (E) +3 Trainer

It includes:
Infinite Health
Infinite Lives
Infinite Handgun Ammo

Deep Labyrinth (U) +6 Trainer

It includes:
Infinite HP
Infinite MP
Infinite Items
Have All Spells
Quick Level Up
Quick Weapon Level Up

Diddy Kong Racing DS (U) +4 Trainer

It includes:
Max Adventure Balloons
Max Adventure Coins
Max Trophy Race Points
All Characters and Extras Unlocked

Digimon World DS (U) +5 Trainer

It includes:
Infinite Money
Infinite Food
No Random Battles (Hold L to disable)
All Digimon Have 999% Scan
Digimon Gallery Complete

Dig Dug - Digging Strike (U) +1 Trainer

It includes:
Infinite Lives

Dragon Ball Z - Supersonic Warriors 2 (U) +4 Trainer

It includes:
Infinite Health
Infinite Time
Infinite Power
Instant Win (Press L+R+Select)

Dragon Quest Heroes - Rocket Slime (U) +4 Trainer

It includes:
Infinite Health
Infinite Money
Infinite Tank Health
Enemy's Tank Health is 0 (Press L+R)

Dynasty Warriors DS - Fighter's Battle (U) +7 Trainer

It includes:
Infinite HP
Infinite Musou
Infinite Gold Coins
Max KO
Max Combos
Bosses Can't Advance Past Troops
Weak Bosses

Elite Beat Agents (U) +3 Trainer

It includes:
Always Full Elite Meter
Always Get S Rank
Max Score

Eragon (U) +4 Trainer

It includes:
Infinite Health
Infinite Arrow
Quick Knife Level Up
Reset Time (Press L+R)

Fantastic Four - Rise of the Silver Surfer (U) +2 Trainer

It includes:
Infinite Health
Infinite Pow

Final Fantasy Fables - Chocobo Tales (U) +1 Trainer

It includes:
Have All Cards

Final Fantasy III (U) +9 Trainer

It includes:
Infinite Gil
Full HP (All characters - Press L+Select)
Infinite MP (All characters)
Quick Level Up (All characters)
Status Always Normal (All characters)
One Hit Kills (Hold L+B during fight)
Low Time
Save Anywhere (Hold L+A while 'Save' is selected)
Load Corrupt/Hacked Saves

Finding Nemo - Escape to the Big Blue (U) +2 Trainer

It includes:
Infinite Health
Always Have 9999 Tokens

Flushed Away (U) +5 Trainer - 07.08.07

It includes:
Infinite Lives
Infinite Quid
Invincibility
Reset Time (Press Select)
Easy Lock Pick (Press L)

Fossil League - Dino Tournament Championship (U) +2 Trainer

It includes:
Infinite Money
Infinite Items (All)

Freedom Wings (U) +7 Trainer

It includes:
Infinite Health
Infinite Machine Gun Ammo
Infinite Fuel
Infinite Gold
Max EXP
Max Shoot Downs
Max Break Object

Frogger - Helmet Chaos (U) +5 Trainer

It includes:
Infinite Health
Max Coins
Max Score
All Hats and Costumes Unlocked
All Mini Games Unlocked

Fullmetal Alchemist - Dual Sympathy (U) +1 Trainer

It includes:
Infinite Health

GoldenEye: Rogue Agent (U) +3 Trainer

It includes:
Infinite Health
Infinite Armor
Infinite Grenades

Guilty Gear Dust Strikers (U) +3 Trainer

It includes:
Infinite Health
Infinite Time (Press L+R+Start to end time)
Special Meter Always Full

Hoshigami - Ruining Blue Earth Remix (U) +9 Trainer - 07.11.07

It includes:
Infinite Money
Level Up Every Hit (All characters)
Dev Up Every Hit (All characters)
Max STR (All characters)
Max SPI (All characters)
Max CON (All characters)
Max DEX (All characters)
Max AGL (All characters)
Max LUCK (All characters)

Impossible Mission (E) +3 Trainer - 07.08.07

It includes:
Infinite Time
No Time Used
Don't Die From Attacks* (L+R+A+B to die)

InuYasha - Secret of the Divine Jewel (U) +3 Trainer

It includes:
Infinite HP (All Characters)
Infinite EP (All Characters)
Infinite Money

Izuna: Legend of the Unemployed Ninja (U) +5 Trainer

It includes:
Infinite HP
Infinite MP
Infinite GP
Max Level
Max EXP when you press L+R (use only in dungeon)

Jump Super Stars (J) +2 Trainer

It includes:
Infinite Energy
Infinite Specials

Jump Ultimate Stars (J) +3 Trainer - 07.09.07

It includes:
Infinite Health (Both Characters)
Infinite Power Moves
Infinite Time (L+R+A+B to end time)

Justice League Heroes (U) +3 Trainer

It includes:
Infinite Health (Both Characters)
Infinite Energy (Both Characters)
Always Have Support (Both Characters)

Kim Possible - Kimmunicator (U) +7 Trainer

It includes:
Infinite Health
Infinite Lives
Infinite Electronic Parts
Infinite Items
All Items Selectable
All Travel Locations Unlocked
All Outfits Unlocked

Kirby - Canvas Curse (U) +3 Trainer

It includes:
Infinite Health
Infinite Lives
Max Stars

Kirby - Squeak Squad (U) +3 Trainer

It includes:
Infinite Lives
Infinite Health
Invincibility

Labyrinth (U) +2 Trainer

It includes:
Infinite Time
No Time Used

Lego Star Wars II (U) +4 Trainer

It includes:
Infinite Studs
Episode V & VI Doors Opened
All Episode Stages Unlocked
Free Play Unlocked for All Episodes

Lost in Blue (U) +4 Trainer

It includes:
Refill HP (both characters)*
Refill Stamina (both characters)*
Refill Water (both characters)*
Refill Stomach (both characters)*

*Note: Press Start to refill everything.

LostMagic (E) +10 Trainer

It includes:
Infinite HP
Infinite MP
Max Magic Attack
Max Defense
Max Magic Defense
Max Attack
Max Movement
Infinite Time
All Spells In Battle
All Spells Out Of Battle

LostMagic (U) +1 Trainer

It includes:
Max EXP After Battle (Press Select During Battle)

Lunar: Dragon Song (U) +1 Trainer

It includes:
Infinite Money

Lunar Knights (U) +12 Trainer

It includes:
Max LIFE (Both Characters)
Max ENE (Both Characters)
Max SPR (Both Characters)
Max TRC (Both Characters)
Max VIT (Both Characters)
Max EXP (Both Characters)
Max SKILL (Both Characters)
Quick Level Up (Press L+R - Both Characters)
Infinite Bank
Infinite Solar Station
Infinite Junk Parts
Infinite Status Points (Both Characters)

Mage Knight - Destiny's Soldier (U) +3 Trainer

It includes:
Infinite Funds
Max Respect
Any Size Army Allowed

Magical Starsign (U) +4 Trainer

It includes:
Max HP (All Characters)
Max MP (All Characters)
Quick Level Up (All Characters)
Infinite Money

Mario and Luigi - Partners in Time (U) +5 Trainer

It includes:
Infinite Coins
9999 Health*
All Items*
All Clothes
All Badges

*These cheats aren't truly infinite because they run down during battles but they will reset to max when the battle is over so there shouldn't be any problem maintaining good health.

Mario Kart DS (U) +11 Trainer

It includes:
Nitro Courses Unlocked
Retro Courses Unlocked
All Characters Unlocked
All Cars Unlocked
All Classes Unlocked
Play As Shy Guy (Hold L+R+A while loading)
Bullet Bill (Press L+Up+A)
Star (Press L+Down+A)
Triple Red Shells (Press L+Left+A)
Spiny Shell (Press L+Right+A)
Super Mushroom (Press L+R+Up+A)

Note: Don't use the Super Mushroom on Time Trials or the game will freeze after the menu following the race.

Mario vs Donkey Kong 2 - March of the Minis (U) +3 Trainer

It includes:
Infinite Time
Infinite Blocks
All Levels Unlocked

Marvel Nemesis - Rise of the Imperfects (U) +3 Trainer

It includes:

Infinite Health
Infinite Time
Infinite Special Powers

Marvel Trading Card Game (U) +1 Trainer

It includes:
Infinite Points

Megaman ZX (U) +6 Trainer
It includes:
Infinite Health
Infinite Lives
Infinite Crystals
Invinicibility
Multi-Jump/Fly
Suit Modifier (Press L+R For Next Suit)

Metroid Prime Pinball (U) +5 Trainer

It includes:
Infinite Balls
Infinite Ball Health
Infinite Bombs
Infinite Power Bombs
Infinite Missiles

Moero! Nekketsu Rhythm Damashii - Osu! Tatakae! Ouendan 2 (J) +1 Trainer - 07.11.07

It includes:
EBA Unlocked


Monster House (U) +2 Trainer

It includes:
Infinite Health
Invincibility

Naruto - Saikyou Ninja Daikesshuu 3 (J) +4 Trainer

It includes:
Infinite Lives
Infinite Health
Infinite Support (Both Support Characters)
Change Weapon (L+R+Up for Metal Scrap, L+R+Down for Knives, L+R+Left for Shurikens, L+R+Right for Big Shurikens)

Nervous Brickdown (U) +3 Trainer - 07.07.07

It includes:
Infinite Hearts
Ball Goes Through Bricks
Always Have Protective Line

New Super Mario Bros. (U) +4 Trainer

It includes:
Infinite Lives
Infinite Time
Invincibility
Change Powerup (Press R)

Nicktoons - Battle for Volcano Island (U) +1 Trainer

It includes:
Infinite Health (All Characters)

Nicktoons Unite! (U) +2 Trainer

It includes:
Infinite Health (All Characters)
Infinite Power (All Characters)

Open Season (U) +2 Trainer

It includes:
Infinite Health (Both Characters)
Infinite Roar

Pac-Man World 3 (U) +4 Trainer

It includes:
Infinite Health
Infinite Lives
Infinite Ground Pounds
Press L+B To Float

Pokemon Mystery Dungeon - Blue Rescue Team (U) +6 Trainer - 07.10.07

It includes:
Max/Infinite Stats
Infinite Money
Infinite Belly
Low Game Time
Infinite Savings
15,000 Rescue Points

Pokemon Ranger (U) +7 Trainer

It includes:
Super Max Styler Power
Instant Max Level
Max Line Length
Max Pokemon Assistant Bar
Max # of Friends
Max Capture Challenge Score
Max Pokemon Captured

Rainbow Islands Revolution (U) +5 Trainer

It includes:
Infinite Lives
Infinite Hearts
Infinite Rainbow Energy
Invincible
All Worlds Unlocked

Ratatouille (U) +2 Trainer

It includes:
Infinite Health
Infinite Lives

Rayman DS (E) +3 Trainer

It includes:
Infinite Health
Infinite Breath
Multi-jump/Fly

Rayman Raving Rabbids (E) +2 Trainer

It includes:
Infinite Health
Moon Jump

Resident Evil - Deadly Silence (U) +2 Trainer

It includes:
Infinite Health (Both Characters)
Infinite Items (All Slots)

Scurge: Hive (U) +7 Trainer

It includes:
Infinite Health
Infinite Weapon Energy
Always 1% Infection
Quick Level Up
Have All Weapons
Have All Upgrades
Multi-jump/Fly

SimCity DS (U) +3 Trainer

It includes:
Infinite Money
Increase Population by 1000 (L+R+Up)
Decrease Population by 1000 (L+R+Down)

Spectrobes (U) +6 Trainer

It includes:
Infinite Gura
Infinite Plasma Geo
Infinite Ice Geo
Infinite Wing Geo
Infinite Recovery Tool
Infinite Total Serum

Spider-Man 2 (U) +4 Trainer

It includes:
Infinite Health
Infinite Web
Infinite Time
All Abilities Unlocked

Spider-Man 3 (U) +6 Trainer

It includes:
Infinite Health
Infinite Hero Points
Low Threat Meter
Always Max Combo
All Extras Unlocked
All Cheats Unlocked (Press L+R)

Spider-Man - Battle for New York (U) +4 Trainer

It includes:
Infinite Health
Infinite Special
All Levels Unlocked
All Special Abilities Unlocked

Star Fox Command (U) +5 Trainer

It includes:
Infinite Health
Infinite Lives (Fox only)
Infinite Time
Always First Turn
All Stages Unlocked

Star Wars Episode III - Revenge of the Sith (U) +5 Trainer

It includes:
Infinite Health
Infinite Lives
Infinite Fury
Infinite Force Power
Infinite Upgrade Points

Super Mario 64 DS (U) +12 Trainer

It includes:
Infinite Health
Infinite Lives
Infinite Coins (Current Level)
Invincibility
Multi-Jump/Fly
Never Lose Cap (Mario, Wario, Luigi)
Have All Stars
Have All Coins
All Mini Games Unlocked
All Castle Doors Unlocked
Character Modifier (Hold Key Combo When Entering Door/Painting) -
Yoshi = L+R+Up
Wario = L+R+Left
Luigi = L+R+Right
Mario = L+R+Down
Size Modifier -
Big = L+R+A+Up
Huge = L+R+A+Down
Small = L+R+A+Right
Normal = L+R+A+Select
Paper Mario = L+R+A+B
Paper Mario 2 = L+R+A+Left

Super Monkey Ball - Touch & Roll (U) +2 Trainer

It includes:
Infinite Lives
Infinite Time

Note: This replaces my previous Super Monkey Ball - Touch & Roll (U) +1 Trainer

Tank Beat (U) +2 Trainer

It includes:
Infinite Life
Infinite Time

Teenage Mutant Ninja Turtles 3 - Mutant Nightmare (U) +2 Trainer

It includes:
Infinite Health
Infinite Special Moves

Tenchu: Dark Secret (U) +4 Trainer

It includes:
Restore Health (Press L+R)
Max Money (Resets after each mission)
Max Ninja Gear (Resets after each mission)
Fly (Hold B)

Theme Park (U) +2 Trainer

It includes:
Start With $999,999,999
Park Select*

*Hold the following button combinations while hitting OK on the park selection screen
- L+R+Up = UK
- L+R+Down = USA
- L+R+Left = Japan
- L+R+Right = France

The Legend of Zelda - Phantom Hourglass (U) +9 Trainer

It includes:
Infinite Health
Max Health
Infinite Rupees
Invincibility
Have All Items (Press L+R+A+B, save your game and reload the save)
Arrow Capacity Upgraded
Bomb Capacity Upgraded
BombChu Capacity Upgraded
Run 3x Faster (L+R+Right to enable, L+R+Up to disable)

The Sims 2 (U) +8 Trainer

It includes:
Infinite Simoleons
Max Simoleons Earned
No Simoleons Spent
Max Sanity While Wandering Around
Max Skills
Infinite Fuel Rods
Infinite License Plates
Infinite Strange Gourds

The Urbz - Sims in the City (U) +3 Trainer

It includes:
Infinite Simoleons
Always Perfect Stats
Accelerated Time (Hold R)

Tomb Raider Legend (U) +3 Trainer

It includes:
Infinite Health
Infinite First Aid Kits
Infinite Ammo/Grenades

Tony Hawk's American Sk8land (U) +1 Trainer

It includes:
All Cheats Unlocked

Transformers - Autobots / Transformers - Decepticons (U) +3 Trainer - 07.07.07

It includes:
Infinite Health (Press L+R+A to turn on, L+R+B to turn off)
Infinite Energy (Press L+R+A to turn on, L+R+B to turn off)
All Transformers Unlocked

The trainer patch works on both versions of the game.

Trauma Center - Under the Knife (U) +4 Trainer

It includes:
Infinite Misses
Missing Resets Patient Health
Missing Resets Time
Patient Health Recovers Full

Note: Miss to reset the patient health and time.
smile.gif
I had to do this to work around the game script that prevents the game from progressing if the patient health or time isn't low enough.

Ultimate Spider-Man (U) +2 Trainer

It includes:
Infinite Health
All Levels Unlocked (Press L+R+A+Up for X Choices, L+R+A+Down for Y Choices)

Viewtiful Joe - Double Trouble! (U) +4 Trainer

It includes:
Infinite Health
Infinite Lives
Infinite V-Points
Infinite VFX Power

Wario - Master of Disguise (U) +6 Trainer

It includes:
Infinite Health
Infinite Time
Invincibility
Infinite Chest Time
Infinite Chest Misses
Moonjump

WarioWare - Touched! (U) +2 Trainer

It includes:
Infinites Lives (Hold L+R to lose lives)
Infinite Time (Hold L)

Worms - Open Warfare 2 (U) +2 Trainer

It includes:
Infinite Credits
Infinite Weapons

Xiaolin Showdown (U) +4 Trainer

It includes:
Infinite Health
Infinite Lives
Infinite Chi
Infinite Blessing Tokens

Yoshi's Island DS (U) +7 Trainer

It includes:
Infinite Lives
Infinite Mario Time
Infinite Eggs
Have All Red Coins
Have All Flowers
Have All Character Coins
Museum Complete

Yoshi Touch & Go (U) +5 Trainer

It includes:
Mario is Invincible
999 Points
9999 Yards
Infinite Eggs
Refill Balloons (Press L+R)

Zelda no Densetsu - Mugen no Sunadokei (J) +10 Trainer

It includes:
Invincibility
Infinite Rupees
Infinite Arrows
Infinite Mice Bombs
Infinite Trade Items
Refill Health (L+R+A)
Refill Hourglass Time (L+R+B)
Have All Ship Parts
Ship Invincibility
Infinite Ship Grappling Hook Power
 

Slade.AU

Well-Known Member
Member
Joined
May 23, 2006
Messages
259
Trophies
1
Location
Yes
Website
127.0.0.1
XP
544
Country
Australia
Even though I've had advanced warning of these, and I've seen and used some of them, I still have to come along and say this:

Well done ! It's impressive work hacking all those games. Congrats and keep it up. I for one am loving it.
 

cracker

Nyah!
OP
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
Yes you have to patch a pure (verified) game. Games that are copied via patching software are encrypted and/or altered so the patch won't work right on pre-patched games.
 

Rocco Savadgie

Well-Known Member
Member
Joined
Jun 26, 2006
Messages
154
Trophies
0
XP
288
Country
Cheers mate! I made a trainer once before for the GBA years ago (Army Men +1). It took me a whole weekend to figure out how to do it and code a tiny intro. Really appreciate the hard work involved
smile.gif
 

WangJang

Well-Known Member
Newcomer
Joined
Jul 16, 2006
Messages
78
Trophies
0
Age
42
Location
USA
Website
Visit site
XP
104
Country
United States
They aren't trainers as such as they are just patches, basically you take what you are writing in memory and apply it to the rom image directly.

Anyways, awesome work
smile.gif
they are great for people that can't use disptar or action replay, and it looks like you spent a lot of time on them.

As i recall, i wrote a few of these patch's when Pokemon Diamond came out, albeit a little more elaborate as i had to write all the routines in assembly, but the concept was the same.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,321
Country
United Kingdom
We spoke on IRC and forums already but once again I will say whoo trainers.

@Heran Bago
Most of this is from conversations with cracker so do not thank me for this.
I will keep this short and sweet (no examples or issues to deal with) but you need to have codes already made or an emu/debugger available to find ram section/registers responsible.
You then need to disassemble the rom (this assembler works especially for the DS which is nice):
http://hp.vector.co.jp/authors/VA018359/ndsdis/
You then find the instruction dealing with the memory location/register you want and change it to another one (you can encode by hand or use an ARM7/9 assembler), having now got a new instruction simply replace the old one and enjoy.
 

bunsy

Well-Known Member
Newcomer
Joined
Nov 23, 2005
Messages
88
Trophies
0
XP
94
Country
Not to take away from your effort, but since they don't aren't toggleable options it's not a trainer per se, it's 'merely' a hack to do what you want it to do.

Now all you need to do is make a small menu, insert it into the game arm9 and point the start up execution there. From there you poke a bit or byte in ram for each option you made and hook into some routine which is executed repeatedly during gameplay and from there alter the ram locations for the variables.

Simple as pi.


vvvv Again, not to take away from the effort, but an unselectable trainer is a hack. Not that hacks are inherently worse or lesser worth than a trainer. There are some cools hacks made to games. With that said, keep on trucking, sir! Exploration and curiosity are good traits to pursue.

grog.gif
 

cracker

Nyah!
OP
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
@WangJang: Actually I did a fair bit of assembler programming between all of them. I gotta say that Yoshi's Island was the coolest one of all and was definitely not a simple byte replacement.
smile.gif


@bunsy: Well it's semantics really. You can call an unselectable trainer a hack if you want but it won't change what it does. There are two reasons why I don't do a menu-selectable trainer:
1) I haven't done much DS programming so I would have to learn it first and I'm more interested in getting the trainers (or hacks if you prefer) out
2) menu-selectable trainers break compatibility with many flash carts

My goal was to let people w/o the ability to use DipStar, ARDS, CBDS to cheat in games so #2 would destroy the purpose of enabling a lot of those people.


To add to what FAST said:
I get the codes I want to use from the Action Replay software. I then disassemble the game I want to apply the cheats to. I search for the memory address responsible for storing the value I want to alter. If I find it then I can easily manipulate area of ROM where it occurs to load the maximum value into the address instead of loading the current value from the address. If I can't find the address then things aren't as easy. I need to find an area in the game that is repeatedly called (key handling routines are ideal). I can then either 1) try to find some opcodes that aren't vital to the execution of the game and overwrite them with opcodes to load the maximum value into the address or 2) find a good spot to set up a jump to a function that I've coded by hand which then jumps back to the following opcode from where it came when it is done
 

dakine

Member
Newcomer
Joined
Oct 28, 2006
Messages
14
Trophies
0
XP
13
Country
Great work, i hope this kicks off the trainer/patch scene for ds. Keep it up. is there one for other RPGs? children of mana etc...

also on a side note, when i patched my castlevania;POR game it corrupted the current save file and had to start a whole new game. no big deal since i can now get farther. using DSX
 

dakine

Member
Newcomer
Joined
Oct 28, 2006
Messages
14
Trophies
0
XP
13
Country
For the castlevania trainer the money option locks the amount at 999999. In some of the quests you have to have an amount like 777 and even down to 0. just a side note.
 

cracker

Nyah!
OP
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
@dakine: Hmm I'm not sure why it would mess with the save at all since the area of the game I messed with isn't to do with saving. Thanks for the info on the number specific amount for money in missions. I must admit I haven't played it much at all (only enough to test the trainer) so I wasn't sure if it was in this game like DoS or not and searching the guides yielded no hits.
tongue.gif
What you might want to do is save with the trainer applied and then play with the pure game (or with the trainer that doesn't have infinite money if you want infinite hp/mp) and then buy some stuff to bring the money down when you need to open a door with the right value, etc.
 

joeglens

Active Member
Newcomer
Joined
Mar 24, 2006
Messages
38
Trophies
0
Website
Visit site
XP
156
Country
^--- how do you disassemble?

*Did you use the ndesmume/ideas+hasteds+ndsdis2 combination?
*Are the memory address stated in the Action Replay Codes can be found in the opcodes of the disassembled file?
*And how do you apply the changes?

I want to learn more so i could help in this segment. I have background in programming ASM in 8-bit MCUs(PICmicro, Motorola, and 80C51) so a 32-bit ARM MCU is new to me
 

cracker

Nyah!
OP
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
I use ndsdis2, devkitpro to assemble the assembler instructions (if it isn't a simple one opcode replacement) and XVI32 for hex editing the instructions into a place in the ARM9 binary. To get the offset of where to edit subtract 0x1996000 from the address shown in the disassembly. The addresses can be found sometimes in the disassembly but other times you need to find a place in the game that is called often (key handling routines, etc) and load the addresses and store the max value manually. ex:

mov r1,#0x63
mov r0,#0x2000000 /*make r0 = 0x20D5F90*/
add r0,r0,#0xD5000
add r0,r0,#0xF90
strb r1,[r0,#+0x0]
 

cracker

Nyah!
OP
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
Yes you can produce listings of assembled source. Here's the command line you will want:
arm-eabi-as -o source.o -mlittle-endian source.asm -al
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    I @ idonthave: :)