ROM Trimming - recommended??

Discussion in 'NDS - Flashcarts and Accessories' started by evilhomura89, Oct 23, 2008.

  1. evilhomura89
    OP

    evilhomura89 GBAtemp Regular

    Member
    140
    0
    Jan 9, 2008
    Malaysia
    Hi guys,

    Just wanna know whether ROM trimming is recommended or not...will it affect the stability and gameplay on flashcard using trimmed ROM?
     
  2. Vague Rant

    Vague Rant Deceptively cute

    Member
    2,053
    414
    Aug 7, 2008
    Melbourne
    As long as you're using a good trimmer, it shouldn't have any effect on your playback of games. I've used NDSTokyoTrim and RToolDS (the latter is more of a ROM manager than just a trimmer), and both have proven to trim safely. I recommend it; it'll save you a whole lot of space, and if you find a game isn't working, you can always try it untrimmed and see if it works any better.
     
  3. evilhomura89
    OP

    evilhomura89 GBAtemp Regular

    Member
    140
    0
    Jan 9, 2008
    Malaysia
    untrim it??
    never heard of untrim...i always thought it was a one-way process

    i'm using dsbuff to trim some of my ROM though
     
  4. kobykaan

    kobykaan GBAtemp Addict

    Member
    2,994
    0
    Aug 27, 2007

    who mentioned anything about UNTRIMMING a rom ??


    the suggestion was to try it UNTRIMMED .. ie not trimmed at all or a clean untouched rom [​IMG]
     
  5. Bri

    Bri GBAtemp Psycho!

    Member
    3,413
    2
    Dec 25, 2007
    United States
    I'm pretty sure I saw an "untrim" option on one of the ROM managers (can't remember which one). Presumably it keeps a copy of the trimmed part (or the entire untrimmed ROM) somewhere so that you can "undo" the trim.

    Even if a ROM is overtrimmed, it will most likely only affect download play. If you don't use download play, you'll probably never notice a problem.

    Anyway, you can always just grab a clean version of the ROM and replace your trimmed version if there's a problem. I use Rominator to trim all of mine, and have so far never had a problem.

    -Bri
     
  6. Ferrariman

    Ferrariman Hip-Flop and cRap

    Member
    3,357
    1
    Dec 9, 2007
    Canada
    Canader.
    Don't use DS buff, use something like NDSTokyoTrim.
     
  7. xalphax

    xalphax Internet killed the Ponystar.

    Member
    1,270
    14
    Nov 18, 2006
    Croatia
    here'n'there
    +1 for NDSTokyoTrim
     
  8. Searinox

    Searinox <3

    Member
    1,756
    167
    Dec 16, 2007
    Romania
    +10 for EZ-trim+. Extremly straightforward, very fast, supports archives, I trimmed through 40 games so far all 40 work fine with download play and wifi.
     
  9. DeMoN

    DeMoN GBAtemp Guru

    Member
    7,651
    102
    May 12, 2004
    United States
    It really depends on chance and the game you're playing. Some games can not run on any flash cards if they are trimmed.
     
  10. DanTheManMS

    DanTheManMS aka Ricochet Otter

    Member
    4,330
    107
    Jun 2, 2007
    United States
    Georgia
    Trimming by definition doesn't modify the file in a way that can't be reversed. All trimming does is remove the empty data (tons of bytes consisting of either 00 or FF) from the end of the rom file. To untrim it, all you do is insert enough 00 or FF bytes to bring it back up to its original game size, which will be a power of 2. No need to waste space by keeping a copy of the untrimmed rom.
     
  11. Searinox

    Searinox <3

    Member
    1,756
    167
    Dec 16, 2007
    Romania
    Untrimming is REALLY unnecessary but if ya really want to do it what was said above works. I've done it before with save files that were smaller for an emulator but had fixed size on the flashcart. I added bytes to its end until it was original size. Really it doesn't matter if you add 00s or the letter A(65) or blank spaces(32), I added As. The file has all the data it needs to access within the untrimmed space and whatever is beyond that space doesn't even get read.

    If the trimmed ROM was altered in a way that some data was lost or modified no untrim can guess what was there and restore it.
     
  12. Bri

    Bri GBAtemp Psycho!

    Member
    3,413
    2
    Dec 25, 2007
    United States
    I assumed that if a ROM is overtrimmed, it's because it removed some actual data that was needed at the end (presumably data that isn't a 00 or FF), and therefore to restore it would have to store the data that was trimmed in order to return the ROM to its pre-trim state.

    But it's possible that I misunderstand the problem with overtrimming. Is the issue that some games that require 00's or FF's at the end of the ROM for some reason? Does download play for some games require 00's or FF's at the end to work?

    -Bri
     
  13. Rod

    Rod GBAtemp Fan

    Member
    339
    0
    May 16, 2008
    Brazil
    It's not only recommended, it should be common knowledge between flashcart users!
    I HIGHLY recommend NDSTokyoTrim (never gave me a single problem), and i DON'T recommend R4DS Rom Trimmer 2.0 (sure, it does its work, but it's slooow and ROMs get buggy here and there).


    You know, I always keep a backup of ROMS in my PC, but when they're zipped with WinRAR there's virtually no size difference between a trimmed and untrimmed ROM. So isn't it just easier to keep a backup of the untrimmed one, and trim them all at once before putting them on a flashcard? Plus, japanese translated ROMs need to be clean to be patched, so it's two birds with one stone.
     
  14. blackwolf1006

    blackwolf1006 Member

    Newcomer
    26
    0
    May 5, 2008
    United States
    Northern New Jersey USA
    I trimed all the roms on my 8gb micro sd with the exception of Elite beat masters. it always crash my rom trimmer. After trimming the roms I end up getting a little over 1gb of free space. Some games drop 50mb other a few KB. but every little counts.
     
  15. DanTheManMS

    DanTheManMS aka Ricochet Otter

    Member
    4,330
    107
    Jun 2, 2007
    United States
    Georgia
    When in some compressed format, the empty data on the end will pretty much be compressed to almost nothing, just due to the way compression works. If you keep all your games in RAR format, then yes it would probably be just as easy to do that. Or you can store them uncompresed and untrimmed if you'd like. It's all up to personal preference.
     
  16. UltraMagnus

    UltraMagnus hic sunt dracones

    Member
    1,967
    0
    Aug 2, 2007
    Portsmouth
    exactly how much space can you save by trimming?

    the only roms i have trimmed myself have been large gba roms
     
  17. currynoodles

    currynoodles GBAtemp Regular

    Member
    124
    0
    Jul 29, 2007
    Malaysia
    Absolutely! Some roms when trimmed can save you 50 MB. That's a lot of wasted space!!
     
  18. jaywilson

    jaywilson GBAtemp Fan

    Member
    322
    0
    May 29, 2008
    Western Australia
    off the top of my head mortal kombats rom size halves after trimming