Opposite of Trimming?

Discussion in 'NDS - Flashcarts and Accessories' started by Diablo1123, Jun 28, 2008.

  1. Diablo1123
    OP

    Diablo1123 Newcomer

    Member
    1,432
    0
    Mar 9, 2008
    United States
    Underground
    Just wondering, would adding a whole bunch of FFFFs in a rom file with a hex editor still work?
     
  2. WB3000

    WB3000 GBAtemp Advanced Fan

    Member
    668
    1
    Apr 5, 2007
    United States
    Perhaps, although it would be much easier to write a program which reads the actual size from the ROM, and add the necessary empty data back on. I'm thinking something out there already does this, did you take a look at NDSTokyoTrim?
     
  3. TrolleyDave

    TrolleyDave Philosolosophising

    Former Staff
    7,762
    230
    Jan 1, 2007
    Wales, UK
    I'm not sure if there's any software for padding roms.
     
  4. Rayder

    Rayder Mostly lurking lately....

    Former Staff
    6,613
    130
    Jan 14, 2007
    United States
    USA
    My question is is why the heck would you want to do that anyway? What possible use would it serve?
     
  5. jan777

    jan777 motion control..? srsly? so 2008. 3DS is teh bombz

    Member
    2,829
    36
    Jan 4, 2008
    how about filechop?
     
  6. Sir-Fritz

    Sir-Fritz GBAtemp Maniac

    Member
    1,336
    8
    May 4, 2008
    Brisbane, Australia
    Or rom patching?
     
  7. Diablo1123
    OP

    Diablo1123 Newcomer

    Member
    1,432
    0
    Mar 9, 2008
    United States
    Underground
    I don't want to restore a trimmed rom, what I want is a rom that is normally like 64 MB to be 128 MB
    xD

    Just to screw with my cousin [​IMG]
     
  8. Destructobot

    Destructobot Crave the Hammer

    Member
    5,005
    4
    Oct 15, 2006
    United States
    Portland, OR
    It will work.
     
  9. Sticks

    Sticks GBAtemp Regular

    Member
    215
    1
    Jan 31, 2008
    Why not go the full way? Pad it to 256MB. Heck, make it a 2GB rom. Say it's a "special" version and full of vocals/graphics/movies and whatnot. [​IMG]
     
  10. starfox468

    starfox468 GBAtemp Regular

    Member
    160
    0
    Jul 25, 2007
    Canada
    Hiding In Your House
    do you want it to ROM hack, for things like DP
     
  11. DanTheManMS

    DanTheManMS aka Ricochet Otter

    Member
    4,329
    105
    Jun 2, 2007
    United States
    Georgia
    I'm sure there's an easier way to do it than this (perhaps Destructobot already made a tool for it) but I usually use the GBAfix command-line program with the "-p" argument to make it pad up to the next power of 2. If I need to do it again, I open the file with a hex editor, add a single blank byte to the end of the file, and use GBAfix -p again.
     
  12. Frederica Bernkastel

    Frederica Bernkastel WebPerf and PWA advocate; @antoligy on Twitter

    Member
    3,150
    758
    Jan 31, 2008
    Hinamizawa
    Ah, for the cause of justuice eh?
    Patch an empty rom file with the same name into it, It worked once... I think...