Batch rom trimmer for all

Discussion in 'R4 DS' started by fitzbean, May 24, 2007.

  1. fitzbean
    OP

    fitzbean Advanced Member

    Newcomer
    60
    0
    Jun 30, 2005
    United States
    Finally got around to making a simply/r4 batch rom trimmer.

    It trims them to the exact same size as the M3 trimmer (tested 10 or 15), and it's faster than M3's to boot; best of all of course, load up as many as you want. It writes the trimmed roms to the same folder that the roms were dragged from, and appends the familiar "_trim" to the filename. It's only 145k.

    get it here.


    [​IMG]

    Let me know if there's any problems.
     


  2. hankchill

    hankchill I Pwn n00bs.

    Member
    2,344
    41
    Nov 5, 2005
    Canada
    Outer Space
    You've already posted this in the M3 thread. Why have you posted it again?

    You should have put it in the 'NDS Hardware, Devices and Utilities' subforum. That's where it belongs.
     
  3. fitzbean
    OP

    fitzbean Advanced Member

    Newcomer
    60
    0
    Jun 30, 2005
    United States
    Jezz Hank, chill. (lol) I'm sure there are many, many people who don't read the M3 specific forum but do read this one, that's why. Just want to give everyone a chance to check it out. Try to give a useful, free utility and I get reprimanded for posting it. Wake up on the wrong side of the bed Hank? Lol.
     
  4. hankchill

    hankchill I Pwn n00bs.

    Member
    2,344
    41
    Nov 5, 2005
    Canada
    Outer Space
    Like I said, post any tools in the 'Hardware, Devices and Utilities' form -- this way it's universal [​IMG]

    I'm not reprimanding you, but we have WAY too many trimmers out there. What we need is some new ideas for software. I've got a few ideas up my sleeve that I'll be developing and releasing to GBAtemp -- can't say what it is though! It's a surprise!

    And yes, I did wake up on the wrong side of the bed, so I'm one pissy sonofabitch! Don't mess with me! [​IMG]

    [​IMG]
     
  5. fitzbean
    OP

    fitzbean Advanced Member

    Newcomer
    60
    0
    Jun 30, 2005
    United States
    Well, don't take it out on me [​IMG]
     
  6. hankchill

    hankchill I Pwn n00bs.

    Member
    2,344
    41
    Nov 5, 2005
    Canada
    Outer Space
    This is too funny we're talking on two different topics about the same thing [​IMG] hehehe

    Yes, many people read the form -- look how many views and responses there are for my software, Rominator for NDS [​IMG]

    I know what you mean about finding a trimmer you liked -- I had the same issue, which is why I wrote one [​IMG] (Plus, people had requested me to write one that did batch trimming with a progress bar, safe trim, and destination to save the game, so I did)

    I can't exclude you from my sonofabitchiness -- If I'm going to be an ass, I need to be an ass to everyone, or else someone'll think I'm choosing favourites [​IMG]

    --Henry
     
  7. - Wrath of God -

    - Wrath of God - God

    Member
    975
    0
    Nov 8, 2003
    United States
    I think the more the merrier [​IMG]
     
  8. hankchill

    hankchill I Pwn n00bs.

    Member
    2,344
    41
    Nov 5, 2005
    Canada
    Outer Space
    I think the more the SHUT UP!! [​IMG]

    [​IMG]







    You know I'm kidding, right [​IMG] Please love me! [​IMG]
     
  9. fitzbean
    OP

    fitzbean Advanced Member

    Newcomer
    60
    0
    Jun 30, 2005
    United States
    So you're saying I should post it there too? [​IMG]

    p.s. What's wrong with your website hank?
     
  10. hankchill

    hankchill I Pwn n00bs.

    Member
    2,344
    41
    Nov 5, 2005
    Canada
    Outer Space
    I haven't really put it up as of yet [​IMG] I've been so busy with work and programming, that I haven't really had a chance to work on my site.
     
  11. Aril

    Aril GBAtemp Regular

    Member
    195
    0
    Jan 23, 2007
    France
    I was looking for something like this for ages, gonna try it for sure ^^
     
  12. Hit

    Hit GBAtemp Advanced Fan

    Member
    813
    1
    Nov 4, 2005
    Netherlands
    Cool tool never was going to trim because its anoying to trim all games but now i can just drag&drop the nds files on the microsd and it ill do it simply
     
  13. fitzbean
    OP

    fitzbean Advanced Member

    Newcomer
    60
    0
    Jun 30, 2005
    United States
    thanks guys, there's a couple more options I'm going to add tonight to make it even easier; they'll be an update at some point tonite.

    fitz
     
  14. outphase

    outphase Custom title

    Member
    1,218
    0
    Nov 21, 2005
    United States
    Which algorithm do you use to trim? The one that doesn't add a few bytes above the header's stated size will not work with wifi games.
     
  15. fitzbean
    OP

    fitzbean Advanced Member

    Newcomer
    60
    0
    Jun 30, 2005
    United States
    I'm going to add "safe trim" tonight.
     
  16. yukine

    yukine GBAtemp Regular

    Member
    123
    0
    Mar 16, 2007
    United States
    Arizona
    This looks very, very useful. Just as long as it safely trims, I've had bad luck with most trimmers overtrimming.
     
  17. fitzbean
    OP

    fitzbean Advanced Member

    Newcomer
    60
    0
    Jun 30, 2005
    United States
    Here's v1.1

    SkinnyRom v1.1

    -drag and drop
    -specify path to output (or have it automatically output to same directory the rom is in)
    -safe trim
    -specify appending text
    -specify byte jump
    -settings saved session-to-session via xml
    -uses unique method which involves working from the end of the file backwards, and jumping x bytes until it
    finds the end of the rom complete with double and triple checks to ensure there's never any over-trimming.
    -much fast than M3s trimmer.
    -does not use header information so this will work with ALL games.

    check out the rollover hints for brief help for most of the functions of the program

    [​IMG]

    Download it here

    If you find any games that don't trim correctly; please let me know! I'll figure out what's going on.

    Enjoy,
    Fitz
     
  18. TrolleyDave

    TrolleyDave Philosolosophising

    Former Staff
    7,762
    230
    Jan 1, 2007
    Wales, UK
    Very nice batch trimmer, great job.
     
  19. HipN

    HipN GBAtemp Advanced Fan

    Member
    548
    0
    May 3, 2007
    Canada
    Will this trim all games? And will the games still work 100%?

    I need to know since I am planning on trimming the following (still don't have my R4 yet...):
    Megaman ZX
    Phoenix Wright: Justice For All
    Trauma Center
    Mario and Luigi - Partners in Time
     
  20. fitzbean
    OP

    fitzbean Advanced Member

    Newcomer
    60
    0
    Jun 30, 2005
    United States
    HipN, it will trim all games (in theory, haven't actually tested every game) correctly and they will work as well as they are going to work. In other words, wifi and local multiplayer that sometimes break during the trimming process should not break using this trimmer, especially with the Safe Trim checked.