• Welcome to SCdev.org. Please log in.

Welcome to the new SCdev forums!

R4 Batch Trimmer...

Started by zektor, January 25, 2007, 05:43:07 PM

Previous topic - Next topic

zektor

I compiled a script that works alongside the R4 Trimmer and utilizes it to batch trim multiple roms. Simply unzip your .nds rom files to the same directory as these files, and execute "R4 Batch Trimmer". It will cycle through, trimming each rom one after another, and place those trimmed roms into a folder called "trimmed". It will NOT delete your current untrimmed roms...for safety :) Enjoy!
Nintendo DSi
Nintendo Wii - cIOS38 Revision 12 (and more)
Madden PSP Slim v5.00 M33-6

darkuni

What a guy!  Wish I'd had this before I wrote my Directory Opus script ... As it turns out, my script is a bit more robust, but this is FAB for the regualr folks ... THANKS!
hane R. Monroe,
Co-Host of Dual Screen Radio
My Hacking Page | My DS List

dantheman

Heh, I also made a batch script myself in darkuni's thread for the same purpose, although I'm betting that both of your applications are more refined than my simple script.

zektor

Although I wrote it at like 6am, half asleep before work, it works well :)
Nintendo DSi
Nintendo Wii - cIOS38 Revision 12 (and more)
Madden PSP Slim v5.00 M33-6

uzumakishade

cool i plan to use this once i get my r4 next month or so

zektor

In case anybody is interested on what I used, the excellent AutoIt:

http://www.autoitscript.com/autoit3/

Long live the freeware!
Nintendo DSi
Nintendo Wii - cIOS38 Revision 12 (and more)
Madden PSP Slim v5.00 M33-6

darkuni

That's pretty cool stuff!  I'll check that out!

Is there any way to add the unzipping within the program?  Otherwise, it sounds like you could completely duplicate my efforts with a nice free win32...
hane R. Monroe,
Co-Host of Dual Screen Radio
My Hacking Page | My DS List

turtleman

what does a rom trimmer do anyway?

ZAFDeltaForce

Quote from: "turtleman"what does a rom trimmer do anyway?

In summary, it reduces the rom size.

Oh and zektor, sweet script!

zektor

Quote from: "darkuni"That's pretty cool stuff!  I'll check that out!

Is there any way to add the unzipping within the program?  Otherwise, it sounds like you could completely duplicate my efforts with a nice free win32...

Hmm, unzipping should be possible, but I don't have time until next week. I will look into it tho!
Nintendo DSi
Nintendo Wii - cIOS38 Revision 12 (and more)
Madden PSP Slim v5.00 M33-6

mudlouse1

just out of interest, would this work for supercards?

darkuni

Unfortunately, Supercard requires the games to be PATCHED and last I looked, there is no command line patcher to do so.  That would be kinda cool.
hane R. Monroe,
Co-Host of Dual Screen Radio
My Hacking Page | My DS List

mudlouse1

i meant, if you trim the rom before you patch it?

dantheman

Most trimmers will work on any ROM really.  There is no need to have a Supercard-specific trimmer unless it somehow compresses the game in a way that is otherwise impossible to decompress on any other card.  I haven't tested zektor's trimmer, but for instance the trimmer scripts that darkuni and I made should work for any device.

darkuni

Yeah, the trimmed roms should work fine, you'd have to patch them though.

I thought you meant a full "all in one" solution.
hane R. Monroe,
Co-Host of Dual Screen Radio
My Hacking Page | My DS List