Hacking Compress Multiple Roms 7zip???

dohclude

Well-Known Member
OP
Member
Joined
Oct 12, 2006
Messages
384
Trophies
0
Age
41
Location
The Patch Walks!
Website
www.MODaWii.com
XP
304
Country
United States
I've got a bunch of NDS and GBA roms that I need to compress to .7z files. Is there a rom zipper (or anything for that matter) that I can use to create multiple 7z archives from a directory of files? I had a cmd script that I wrote and it was working fine until a recent update from microsoft (running Vista Ultimate 64) and now it's not working at all, it just closes with no error messages and nothing done:

CODE@echo off
setlocal

REM Location of 7z.exe
set exe=c:\program files\7-zip\7z.exe

REM Location of root folder
set root=.\

for /F "tokens=* usebackq" %%G in (`dir "%root%" /A:D /B`) do (
"%exe%" a -t7z "%root%\%%G.7z" "%root%\%%G" -mx0 > NUL
if exist "%root%\%%G.7z" echo rd /s /q "%root%\%%G"
)

endlocal
 

TrolleyDave

Philosolosophising
Former Staff
Joined
Jan 1, 2007
Messages
7,761
Trophies
1
Age
52
Location
Wales, UK
XP
933
Country
I wrote this util quickly a while ago to do the same thing you're looking for. It doesn't look very pretty but it works. The box in the bottom left corner let's you apply a filter to the file list, the rest is pretty straight forward. It names the 7z file the same with the same name as the file being compressed minus the extension.

http://www.filefactory.com/file/8dbbb3/n/Quick7z_rar

edit : Oh yeah, it 7zips everything in the file list box. There's no way to select individual files apart from setting the file filter to the file name you want 7zipped.
 

dohclude

Well-Known Member
OP
Member
Joined
Oct 12, 2006
Messages
384
Trophies
0
Age
41
Location
The Patch Walks!
Website
www.MODaWii.com
XP
304
Country
United States
upon further inspection, I noticed this app compresses the entire path inside of the 7z file instead of just the rom. I will have to just put them on the root of a drive to get it to put them in without the full path.
 

TrolleyDave

Philosolosophising
Former Staff
Joined
Jan 1, 2007
Messages
7,761
Trophies
1
Age
52
Location
Wales, UK
XP
933
Country
dohclude said:
upon further inspection, I noticed this app compresses the entire path inside of the 7z file instead of just the rom. I will have to just put them on the root of a drive to get it to put them in without the full path.

Never even noticed it was doing it. Give me a half hour to update DSFCC/EZ-Trim release lists and I'll see if I can fix it for you.

edit : Fixed version http://www.filefactory.com/file/2edffc/n/Quick7z_rar
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • S @ salazarcosplay:
    the author has the final aproval
  • S @ salazarcosplay:
    hunter x hunter
  • S @ salazarcosplay:
    he has not allowed anyone to continue it for him for example
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay, theres a dragon ball af mod for budokai 3
  • Xdqwerty @ Xdqwerty:
    updated ship of harkinian, gonna install some hd texture pack
  • Xdqwerty @ Xdqwerty:
    I might download rayman revolution for my ps3
  • BigOnYa @ BigOnYa:
    I may try the new ram site, and download more RAM to my Switch. Not sure if ddr3 is the right ram
    for it tho. Edit- no it uses floppy Ram, just like @AncientBoi
    +1
  • Xdqwerty @ Xdqwerty:
    aeiou
  • BigOnYa @ BigOnYa:
    And sometimes Z
  • SylverReZ @ SylverReZ:
    @K3Nv2, MAGA supporters be wearing tin foil hats lol.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, whats maga?
  • BigOnYa @ BigOnYa:
    It stands for Maniacs Against General Acceptance
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, people rejecting general consensus about stuff?
    +1
  • BigOnYa @ BigOnYa:
    Yup, nuh its really just Trump followers
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, im not american so i dont care about trump
    +1
  • Xdqwerty @ Xdqwerty:
    or us elections
  • BigOnYa @ BigOnYa:
    Me niether, us north Koreans don't care
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    i don't care either, even if i'm american
  • BakerMan @ BakerMan:
    truth be told, i agree with psi, i dislike both candidates, but i'd probably vote trump simply because the economy was better during his presidency
  • AngryCinnabon @ AngryCinnabon:
    Just be careful, if trump ends up winning and using project 2025 America might really change...for the worse.
  • AngryCinnabon @ AngryCinnabon:
    I'm not american and even that sends shivers down my spine.
  • AngryCinnabon @ AngryCinnabon:
    anything that offers trump an opportunity to become an actual dictator
    is bad in my book, i could care less if it wasn't for that...
  • K3Nv2 @ K3Nv2:
    Canada: America's Russia
    K3Nv2 @ K3Nv2: Canada: America's Russia