Opposite of Trimming?

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

Jun 28, 2008

Opposite of Trimming? by Diablo1123 at 4:09 AM (1,190 Views / 0 Likes) 11 replies

  1. Diablo1123
    OP

    Member Diablo1123 Newcomer

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

    Member WB3000 GBAtemp Advanced Fan

    Joined:
    Apr 5, 2007
    Messages:
    668
    Country:
    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

    Former Staff TrolleyDave Philosolosophising

    Joined:
    Jan 1, 2007
    Messages:
    7,762
    Location:
    Wales, UK
    Country:
    United Kingdom
    I'm not sure if there's any software for padding roms.
     
  4. Rayder

    Former Staff Rayder Mostly lurking lately....

    Joined:
    Jan 14, 2007
    Messages:
    6,613
    Location:
    USA
    Country:
    United States
    My question is is why the heck would you want to do that anyway? What possible use would it serve?
     
  5. jan777

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

    Joined:
    Jan 4, 2008
    Messages:
    2,829
    Country:
    Philippines
    how about filechop?
     
  6. Sir-Fritz

    Member Sir-Fritz GBAtemp Maniac

    Joined:
    May 4, 2008
    Messages:
    1,336
    Location:
    Brisbane, Australia
    Country:
    Australia
    Or rom patching?
     
  7. Diablo1123
    OP

    Member Diablo1123 Newcomer

    Joined:
    Mar 9, 2008
    Messages:
    1,432
    Location:
    Underground
    Country:
    United States
    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

    Member Destructobot Crave the Hammer

    Joined:
    Oct 15, 2006
    Messages:
    5,005
    Location:
    Portland, OR
    Country:
    United States
    It will work.
     
  9. Sticks

    Member Sticks GBAtemp Regular

    Joined:
    Jan 31, 2008
    Messages:
    215
    Country:
    Australia
    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

    Member starfox468 GBAtemp Regular

    Joined:
    Jul 25, 2007
    Messages:
    160
    Location:
    Hiding In Your House
    Country:
    Canada
    do you want it to ROM hack, for things like DP
     
  11. DanTheManMS

    Member DanTheManMS aka Ricochet Otter

    Joined:
    Jun 2, 2007
    Messages:
    4,325
    Location:
    Georgia
    Country:
    United States
    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

    Member Frederica Bernkastel WebPerf and PWA advocate; @antoligy on Twitter

    Joined:
    Jan 31, 2008
    Messages:
    3,145
    Location:
    Hinamizawa
    Country:
    United Kingdom
    Ah, for the cause of justuice eh?
    Patch an empty rom file with the same name into it, It worked once... I think...
     

Share This Page