is there any trimmer for GBA roms?

Discussion in 'GBA - Console and Game Discussions, Help and Tips' started by test84, Sep 3, 2007.

  1. test84
    OP

    test84 GBAtemp's last ninja 2.

    Member
    3,685
    3
    Sep 8, 2006
    Iran
    Iran, Tehran.
    is there?
     
  2. juggernaut911

    juggernaut911 GBAtemp Slut!

    Member
    4,153
    21
    Jul 13, 2006
    United States
    G6 Writer
     
  3. test84
    OP

    test84 GBAtemp's last ninja 2.

    Member
    3,685
    3
    Sep 8, 2006
    Iran
    Iran, Tehran.
    do u mean the U-Disk Manager? if yes, that doesnt work for me cuz roms get even bigger since it adds some save backups and stuff, and increases the roms's size itself too.
     
  4. Seyiji

    Seyiji Rawr :3

    Member
    493
    10
    Nov 6, 2002
    United States
    PA
    Check for a tool called Flash Advance Tool kit in the GBATemp downloads section under Other Useful tools sometime soon or Google it.

    There is also GBATA which you can find here which is more recent [​IMG]
     
  5. muckers

    muckers GBAtemp Regular

    Member
    247
    18
    Sep 30, 2006
    Warwickshire, UK
    Yep, GBATA is a great app, I use that. Patching for saves, trimming, fixing overdumps...it's a great little tool.

    Another vote for GBA Tool from me! [​IMG]
     
  6. test84
    OP

    test84 GBAtemp's last ninja 2.

    Member
    3,685
    3
    Sep 8, 2006
    Iran
    Iran, Tehran.
    i got it, but the problem is that i have to select each of my 200+ roms individually to trim, is there any batch file type program to just trim GBA roms?
     
  7. reaperman@home

    reaperman@home GBAtemp Regular

    Member
    154
    0
    Sep 6, 2005
    I'm after the same tool, and heck, if there's something that can bulk rename a blank save template for me at the same time that'd be great.

    I find that the m3 software breaks an awful lot of roms.
     
  8. DanTheManMS

    DanTheManMS aka Ricochet Otter

    Member
    4,330
    107
    Jun 2, 2007
    United States
    Georgia
    You could try GBAtrim - http://boards.pocketheaven.com/viewtopic.php?p=25422

    It's not technically made for batch processing, but you can just select 20 roms and drag them over, make sure the window is highlighted, and then hold the Enter key for a while. It'll work somewhat.

    EDIT:
    Double-click it and it should automatically create a *.sav file for each .gba file in there. You could use this blank 64 kb save file if you want - http://dannysied.googlepages.com/save.sav
     
  9. reaperman@home

    reaperman@home GBAtemp Regular

    Member
    154
    0
    Sep 6, 2005
    way to think outside the box--or inside the box, just with the half of your brain stuck in 1993--either way, it worked great.
    hell, with very minor jollying up, it moves everything to the card in the folders I need them in. I may even associate this with the gba filetype. I bet there'll be some path issues, though... But why did the world stop thinking of bat files as the quickest and easiest solution to their problems? This works much better than that clumsy game manager.

    anyway, what takes the 64kb saves? ezf4?
    I'd kill for saves that small, I'm stuck with m3's 1mb saves. maybe it's time I considered a hardware downgrade... [​IMG]
     
  10. DanTheManMS

    DanTheManMS aka Ricochet Otter

    Member
    4,330
    107
    Jun 2, 2007
    United States
    Georgia
    I use a slot-2 Supercard, which uses 64 KB save files for GBA games (512 for DS games though). It's not the greatest for GBA games however, so it would indeed be a downgrade, hehe.

    And yes, sometimes batch files provide some quick and easy solutions. I actually made a "unzip and trim" script for DS games some time ago by combining some command-line unzipping and trimming tools with batch file automation. It'll probably break Wifi games, but I just wanted to show it was possible. Link is here if you want to take a look. Not the most useful script ever, but it was a fun way to spend an hour.
     
  11. reaperman@home

    reaperman@home GBAtemp Regular

    Member
    154
    0
    Sep 6, 2005
    speaking of batch files, is there a command line gba rom trimmer? I don't recall any, but that would be a real nice all-in-one solution then.

    of course a better solution would be modifying the m3 firmware to use rom compression like supercard does. Not sure why m3 didn't come up with something for it. Does ezf4 do compression?
     
  12. leetdude_007

    leetdude_007 Official GBAtemp Assassin That Has Never Killed An

    Member
    998
    0
    Nov 25, 2006
    United States
    Pogotoolz v1.1 is a batch trimmer. I'm quite content with it's features.
     
  13. madlobster

    madlobster Member

    Newcomer
    37
    0
    Oct 21, 2006
    United States
    Here's how I trimmed and SRAM patched all my roms. Requires AutoHotKey and gbata.

    Put gbata and the following files into a folder named c:\gbawork. To trim and sram patch all files, go to a command prompt, change to the directory that has the roms, and then type:
    Code:
    for %f in (*.nds) do c:\gbawork\fixrom "%f"
    then leave alone your computer until it's done. It took overnight to finish to do 2764 roms on my system.

    fixrom.bat:
    Code:
    move /y %1 c:\gbawork\orig.gba
    setlocal
    c:
    cd c:\gbawork
    patch.ahk
    move /y output-orig.gba orig.gba
    trim.ahk
    move /y output-orig.gba orig.gba
    endlocal
    move /y c:\gbawork\orig.gba %1
    patch.ahk:
    Code:
    Run, C:\gbawork\gbata.exe
    WinWait, GBA Tool Advance (c)2003-2006 by coolhj, 
    IfWinNotActive, GBA Tool Advance (c)2003-2006 by coolhj, , WinActivate, GBA Tool Advance (c)2003-2006 by coolhj, 
    WinWaitActive, GBA Tool Advance (c)2003-2006 by coolhj, 
    MouseClick, left, Â210, Â100
    Sleep, 100
    MouseClick, left, Â405, Â67
    Sleep, 100
    WinWait, Open, 
    IfWinNotActive, Open, , WinActivate, Open, 
    WinWaitActive, Open, 
    Send, c{SHIFTDOWN};{SHIFTUP}\gbawork\orig.gba{ENTER}
    WinWait, GBA Tool Advance (c)2003-2006 by coolhj, 
    IfWinNotActive, GBA Tool Advance (c)2003-2006 by coolhj, , WinActivate, GBA Tool Advance (c)2003-2006 by coolhj, 
    WinWaitActive, GBA Tool Advance (c)2003-2006 by coolhj, 
    MouseClick, left, Â224, Â250
    Sleep, 100
    WinWait, Information, ,2
    IfWinNotActive, Information, , WinActivate, Information, 
    WinWaitActive, Information, ,2 
    MouseClick, left, Â55, Â102
    Sleep, 100
    WinWait, GBA Tool Advance (c)2003-2006 by coolhj, 
    IfWinNotActive, GBA Tool Advance (c)2003-2006 by coolhj, , WinActivate, GBA Tool Advance (c)2003-2006 by coolhj, 
    WinWaitActive, GBA Tool Advance (c)2003-2006 by coolhj, 
    MouseClick, left, Â420, Â14
    Sleep, 100
    trim.ahk
    Code:
    Run, C:\gbawork\gbata.exe
    WinWait, GBA Tool Advance (c)2003-2006 by coolhj, 
    IfWinNotActive, GBA Tool Advance (c)2003-2006 by coolhj, , WinActivate, GBA Tool Advance (c)2003-2006 by coolhj, 
    WinWaitActive, GBA Tool Advance (c)2003-2006 by coolhj, 
    MouseClick, left, Â294, Â103
    Sleep, 100
    MouseClick, left, Â389, Â61
    Sleep, 100
    WinWait, Open, 
    IfWinNotActive, Open, , WinActivate, Open, 
    WinWaitActive, Open, 
    Send, c{SHIFTDOWN};{SHIFTUP}\gbawork\orig.gba{ENTER}
    WinWait, GBA Tool Advance (c)2003-2006 by coolhj, 
    IfWinNotActive, GBA Tool Advance (c)2003-2006 by coolhj, , WinActivate, GBA Tool Advance (c)2003-2006 by coolhj, 
    WinWaitActive, GBA Tool Advance (c)2003-2006 by coolhj, 
    MouseClick, left, Â224, Â303
    Sleep, 100
    WinWait, Information, ,2
    IfWinNotActive, Information, , WinActivate, Information, 
    WinWaitActive, Information, ,2
    MouseClick, left, Â62, Â93
    Sleep, 100
    WinWait, GBA Tool Advance (c)2003-2006 by coolhj, 
    IfWinNotActive, GBA Tool Advance (c)2003-2006 by coolhj, , WinActivate, GBA Tool Advance (c)2003-2006 by coolhj, 
    WinWaitActive, GBA Tool Advance (c)2003-2006 by coolhj, 
    MouseClick, left, Â423, Â18
    Sleep, 100
     
  14. kesadisan

    kesadisan GBAtemp Regular

    Member
    176
    0
    Oct 13, 2008
    Indonesia
    Farplane
    a little question
    no offense
    can i play trimmed GBA Rom on EZ Flash 3 in 1 on NDS?
    i mean you know we can play GBA Rom using Slot-1 Card+EZ Flash slot 2 right?
     
  15. Aldebaran

    Aldebaran Newbie

    Newcomer
    3
    0
    Feb 13, 2009
    Uruguay
    That's is pracy man!
     
  16. Wehttam

    Wehttam Advanced Member

    Newcomer
    74
    0
    Jul 14, 2008
    United States
    Sioux Falls, SD
    Don't be quick to judge. It's completely legal to dump your own roms from carts you own. If the user wants to trim and put them on a slot 1 and send to a slot 2 to play, that's fine.
     
  17. Agu Fungus

    Agu Fungus Advanced Member

    Newcomer
    75
    1
    Oct 26, 2008
    United States
    USA
    Look for NDSTokyoTrim. It works for both GBA and NDS.
     
  18. Pendor

    Pendor GBAtemp Advanced Fan

    Member
    567
    3
    May 11, 2008
    United States
    I was about to say the same thing.

    I think GBATA has a trimming tool too.
     
  19. Amak

    Amak Advanced Member

    Newcomer
    66
    0
    Mar 15, 2009
    United States
    Does NDSTokyoTrim do a good job with gba games? I've always used GBATA.