trimming patched games?

Discussion in 'NDS - ROM Hacking and Translations' started by Clydefrosch, Jan 29, 2009.

  1. Clydefrosch

    Clydefrosch GBAtemp Psycho!

    Jan 2, 2009
    I know that usually (always?), you need a clean untrimmed rom if you want to use a patch on something, but can I trim the roms after I patched them? or will that mess them up?

    (I'm using the NDSTokyoTrimmer)

    also, is there, or has there ever been a translation attempt for One Piece Gear Spirit?
  2. aphirst

    aphirst "Aren't girls with pee-pees just men?"

    Oct 22, 2007
    United Kingdom
    All the "patches" I've personlly dealt with for DS ROMs trimmed the ROM as a part of the patching, but I would think that in almost all cases Trimming the ROMs as well shouldn't pose a problem.

    Not too sure about the Translation, maybe there's something in the huge Translations thread?
  3. FAST6191

    FAST6191 Techromancer

    pip Reporter
    Nov 21, 2005
    United States
    We say you need clean roms as some tools (thinking ndstool and the frontends DSLazy and DSbuff along with similar tools) change locations of things within the file which makes no real difference to the DS (the DS just looks up files on a table) but if we tell it to patch a given location and now a new file is there it will mess things up.

    Trimming merely removes the junk and most patchers will not cry foul if they have to add data or simply replace it. Most hacks add something to the game and this extra stuff usually means extra space (which was filled with junk).
    In the case of the DS what is trimmed is determined by the header of the cart, any good tool changes this if it does change things and all the current "safe" trimmers do this too. Old style trimmers will also still work. Hacks as aphirst mentioned tend to not add the junk back when they rebuild the rom so trimming is not necessary for a lot of them.

    The end user however does not really need/want to know all this and clean roms make a good baseline (everyone should be able to find/make them) so we suggest people use them and hackers use them for their baseline just to avoid the hassle with people using all sorts of roms.

    You may also be interested in:

    Regarding one piece, I believe there is a Chinese translation but nothing I now of otherwise. If you go looking and find it post a copy back here and I will see about reverse engineering it.
    Edit: gbatemp thread on the subject.