Homebrew How to get patches and trainers to work

Gifted1

Well-Known Member
OP
Member
Joined
Jul 26, 2006
Messages
499
Trophies
1
XP
506
Country
United States
Ok, I have no idea how to patch a rom or use a trainer so I'm asking for help, mainly to patch use a trainer with a rom.

What do I need in order to apply the patch? And can someone walk me through the steps I need to do? I'm still kinda new to all of this so I have no idea what needs to be done. I use an M3 mini sd in case that matters any.

Thanks.
smile.gif
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,348
Country
United Kingdom
Trainers come in three forms: IPS, XDelta and BSDiff

Edit: Once you patched the roms (you patch before you write) burn as usual, you can usually do any fiddling with the rom as well (I dropped the intro to castlevania after patching).

IPS, I suggest using GBATA:
http://www.gbadat.altervista.org/tools.htm
ips101ul9.jpg


Some alternative patchers: http://www.romhacking.net/?Category=2&Cons...action=utillist

XDelta:
XDelta download page That version is for windows although it originally was a linux app and I believe there is a mac version around somewhere as well.

The syntax is as follows xdelta patch (patchname) (original file) output file)

Here is the command line I gave with my NSMB translations:
Code:
rename *.nds NSMB.nds
xdelta patch TRANS2.patch NSMB.nds NSMBfre.nds

With regard to a GUI the NINJA2.0 betas had a kind of frontend (you needed the xdelta app in the same dir) but things are a bit hazy regarding its present state: http://ninja.cinnamonpirate.com/


BSDiff (a lot of the release group made trainers):
Here is a batch file I made for the sonic rush trainer
Code:
rename *.nds sonic.nds
bspatch sonic.nds sonictrainer.nds V-SONICT.BDF

simply put it goes bspatch original.file new.file patch.bdf
You may also need a copy of bspatch (the trainers came with it but GBATemp removed the exe files from the archive):
http://sites.inka.de/tesla/f_others.html#bsdiff
 

Depravo

KALSARIKÄNNIT
Former Staff
Joined
Oct 13, 2008
Messages
5,359
Trophies
2
Location
Purgatory
XP
4,149
Country
United Kingdom
Patches and trainers usually come with their own readme files. If not try using the search function to look up information about specific patches/trainers.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/watch?v=KYZD7ykz9aQ +1