is there any trimmer for GBA roms?

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

Sep 3, 2007
  1. test84
    OP

    Member test84 GBAtemp's last ninja 2.

    Joined:
    Sep 8, 2006
    Messages:
    3,685
    Location:
    Iran, Tehran.
    Country:
    Iran
    is there?
     
  2. juggernaut911

    Member juggernaut911 GBAtemp Slut!

    Joined:
    Jul 13, 2006
    Messages:
    4,153
    Country:
    United States
  3. test84
    OP

    Member test84 GBAtemp's last ninja 2.

    Joined:
    Sep 8, 2006
    Messages:
    3,685
    Location:
    Iran, Tehran.
    Country:
    Iran
    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

    Member Seyiji Rawr :3

    Joined:
    Nov 6, 2002
    Messages:
    492
    Location:
    PA
    Country:
    United States
    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

    Member muckers GBAtemp Regular

    Joined:
    Sep 30, 2006
    Messages:
    247
    Location:
    Warwickshire, UK
    Country:
    United Kingdom
    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

    Member test84 GBAtemp's last ninja 2.

    Joined:
    Sep 8, 2006
    Messages:
    3,685
    Location:
    Iran, Tehran.
    Country:
    Iran
    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

    Member reaperman@home GBAtemp Regular

    Joined:
    Sep 6, 2005
    Messages:
    154
    Country:
    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

    Member DanTheManMS aka Ricochet Otter

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

    Member reaperman@home GBAtemp Regular

    Joined:
    Sep 6, 2005
    Messages:
    154
    Country:
    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

    Member DanTheManMS aka Ricochet Otter

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

    Member reaperman@home GBAtemp Regular

    Joined:
    Sep 6, 2005
    Messages:
    154
    Country:
    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

    Member leetdude_007 Official GBAtemp Assassin That Has Never Killed An

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

    Newcomer madlobster Member

    Joined:
    Oct 21, 2006
    Messages:
    37
    Country:
    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

    Member kesadisan GBAtemp Regular

    Joined:
    Oct 13, 2008
    Messages:
    176
    Location:
    Farplane
    Country:
    Indonesia
    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

    Newcomer Aldebaran Newbie

    Joined:
    Feb 13, 2009
    Messages:
    3
    Country:
    Uruguay
    That's is pracy man!
     
  16. Wehttam

    Newcomer Wehttam Advanced Member

    Joined:
    Jul 14, 2008
    Messages:
    74
    Location:
    Sioux Falls, SD
    Country:
    United States
    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

    Newcomer Agu Fungus Advanced Member

    Joined:
    Oct 26, 2008
    Messages:
    75
    Location:
    USA
    Country:
    United States
    Look for NDSTokyoTrim. It works for both GBA and NDS.
     
  18. Pendor

    Member Pendor GBAtemp Advanced Fan

    Joined:
    May 11, 2008
    Messages:
    567
    Country:
    United States
    I was about to say the same thing.

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

    Newcomer Amak Advanced Member

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

Share This Page