Batch rom trimmer for all

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

May 24, 2007

Batch rom trimmer for all by fitzbean at 2:45 PM (3,554 Views / 0 Likes) 37 replies

  1. fitzbean
    OP

    Newcomer fitzbean Advanced Member

    Joined:
    Jun 30, 2005
    Messages:
    60
    Country:
    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

    Member hankchill I Pwn n00bs.

    Joined:
    Nov 5, 2005
    Messages:
    2,344
    Location:
    Outer Space
    Country:
    Canada
    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

    Newcomer fitzbean Advanced Member

    Joined:
    Jun 30, 2005
    Messages:
    60
    Country:
    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

    Member hankchill I Pwn n00bs.

    Joined:
    Nov 5, 2005
    Messages:
    2,344
    Location:
    Outer Space
    Country:
    Canada
    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

    Newcomer fitzbean Advanced Member

    Joined:
    Jun 30, 2005
    Messages:
    60
    Country:
    United States
    Well, don't take it out on me [​IMG]
     
  6. hankchill

    Member hankchill I Pwn n00bs.

    Joined:
    Nov 5, 2005
    Messages:
    2,344
    Location:
    Outer Space
    Country:
    Canada
    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 -

    Member - Wrath of God - God

    Joined:
    Nov 8, 2003
    Messages:
    975
    Country:
    United States
    I think the more the merrier [​IMG]
     
  8. hankchill

    Member hankchill I Pwn n00bs.

    Joined:
    Nov 5, 2005
    Messages:
    2,344
    Location:
    Outer Space
    Country:
    Canada
    I think the more the SHUT UP!! [​IMG]

    [​IMG]







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

    Newcomer fitzbean Advanced Member

    Joined:
    Jun 30, 2005
    Messages:
    60
    Country:
    United States
    So you're saying I should post it there too? [​IMG]

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

    Member hankchill I Pwn n00bs.

    Joined:
    Nov 5, 2005
    Messages:
    2,344
    Location:
    Outer Space
    Country:
    Canada
    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

    Member Aril GBAtemp Regular

    Joined:
    Jan 23, 2007
    Messages:
    195
    Country:
    France
    I was looking for something like this for ages, gonna try it for sure ^^
     
  12. Hit

    Member Hit GBAtemp Advanced Fan

    Joined:
    Nov 4, 2005
    Messages:
    813
    Country:
    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

    Newcomer fitzbean Advanced Member

    Joined:
    Jun 30, 2005
    Messages:
    60
    Country:
    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

    Member outphase Custom title

    Joined:
    Nov 21, 2005
    Messages:
    1,218
    Country:
    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

    Newcomer fitzbean Advanced Member

    Joined:
    Jun 30, 2005
    Messages:
    60
    Country:
    United States
    I'm going to add "safe trim" tonight.
     
  16. yukine

    Member yukine GBAtemp Regular

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

    Newcomer fitzbean Advanced Member

    Joined:
    Jun 30, 2005
    Messages:
    60
    Country:
    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

    Former Staff TrolleyDave Philosolosophising

    Joined:
    Jan 1, 2007
    Messages:
    7,762
    Location:
    Wales, UK
    Country:
    United Kingdom
    Very nice batch trimmer, great job.
     
  19. HipN

    Member HipN GBAtemp Advanced Fan

    Joined:
    May 3, 2007
    Messages:
    548
    Country:
    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

    Newcomer fitzbean Advanced Member

    Joined:
    Jun 30, 2005
    Messages:
    60
    Country:
    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.
     

Share This Page