Hacking Batch shrink Gamecube games?

XFlak

Wiitired but still kicking
Member
Joined
Sep 12, 2009
Messages
13,830
Trophies
3
Age
38
Location
Cyprus, originally from Toronto
Website
modmii.github.io
XP
9,817
Country
Cyprus
untested and basic, but something like this should work, save it to a bat file in the same folder as gcit, and update the isofolder value on line 3 and give it a try.

Code:
@echo off
setlocal
set isofolder=c:\isos
dir /s /b /a-d "%isofolder%">"dir.txt"
findstr /I /E ".iso" "dir.txt" >"isos.txt"
if not exist c:\games mkdir c:\games
for /F "tokens=*" %%A in (isos.txt) do gcit "%%A" -f DiscEx -d c:\games -q
pause

edit1:

Or use the code below, then no need to make any changes to the code, just drag any folder onto the bat file and it will look in that specific folder including subfolders for isos (again untested)
Code:
@echo off
setlocal
set isofolder=%*
set isofolder=%isofolder:"=%
dir /s /b /a-d "%isofolder%">"dir.txt"
findstr /I /E ".iso" "dir.txt" >"isos.txt"
if not exist c:\games mkdir c:\games
for /F "tokens=*" %%A in (isos.txt) do gcit "%%A" -f DiscEx -d c:\games -q
pause

Edit2: obv feel free to update the output directory, doesn't need to be c:\games. And also obv make sure you have enough free space
 
Last edited by XFlak,

MKW

New Member
Newbie
Joined
Feb 19, 2020
Messages
1
Trophies
0
Age
44
XP
38
Country
Spain
I don't know if this is what you want

I have compressed all Gamecube roms for my WII U in this way

1 - Unzip the roms * .GCZ of the "Dolphin"

Then I run this battery that does two processes.

1 - Compress and rename:
Example: "007 + random name.gcm" a "From Russia With Love [GLZE69]"
2 - Copy them to another location.
Example: "G:\Games"
2 - Deletes them.

Battery.bat

for /R %%x in (*.gcm) do (

if exist * (gcit "%%x" -b -d g:\games\game.iso -q)

del "%%x" /s/q )
 

KeinesR

Well-Known Member
Member
Joined
Feb 14, 2020
Messages
158
Trophies
0
Age
33
XP
433
Country
Venezuela
untested and basic, but something like this should work, save it to a bat file in the same folder as gcit, and update the isofolder value on line 3 and give it a try.

Code:
@echo off
setlocal
set isofolder=c:\isos
dir /s /b /a-d "%isofolder%">"dir.txt"
findstr /I /E ".iso" "dir.txt" >"isos.txt"
if not exist c:\games mkdir c:\games
for /F "tokens=*" %%A in (isos.txt) do gcit "%%A" -f DiscEx -d c:\games -q
pause

edit1:

Or use the code below, then no need to make any changes to the code, just drag any folder onto the bat file and it will look in that specific folder including subfolders for isos (again untested)
Code:
@echo off
setlocal
set isofolder=%*
set isofolder=%isofolder:"=%
dir /s /b /a-d "%isofolder%">"dir.txt"
findstr /I /E ".iso" "dir.txt" >"isos.txt"
if not exist c:\games mkdir c:\games
for /F "tokens=*" %%A in (isos.txt) do gcit "%%A" -f DiscEx -d c:\games -q
pause

Edit2: obv feel free to update the output directory, doesn't need to be c:\games. And also obv make sure you have enough free space

Well, i only need to say THANK YOU MASTER!, i tried both, the first one worked absolutely fine, does exactly the job i wanted, many many thanks (By the way, i only added exit at the end so the command prompt is closed when the task is finished). The other one didn't worked, i dragged a folder (with 2 .iso inside of course) to the .bat and an iso and neither worked. Again many many thanks, you saved me a lot of time.

I don't know if this is what you want

I have compressed all Gamecube roms for my WII U in this way

1 - Unzip the roms * .GCZ of the "Dolphin"

Then I run this battery that does two processes.

1 - Compress and rename:
Example: "007 + random name.gcm" a "From Russia With Love [GLZE69]"
2 - Copy them to another location.
Example: "G:\Games"
2 - Deletes them.

Battery.bat

for /R %%x in (*.gcm) do (

if exist * (gcit "%%x" -b -d g:\games\game.iso -q)

del "%%x" /s/q )

Thanks for the help, but in this case i have my games in .iso format, not in .gcz.

________________________________________________________________________

I'm uploading the .bat file, it is by default the destination folder c:\games and the source folder c:\isos but anyone can change it in notepad, so:
For windows users
1) Download and extract Gamecube ISO Tool.
2) Download and extract the .bat file and place it in the same folder as GCIT.
3) Place the gamecube isos in the folder C:\isos (you need to create it if it doesn't exist or change the path in notepat and save the .bat again.
4) Wait for the isos to be converted and placed in the C:\games folder, of course, you need to have enough free space.

Thanks to XFlak for this.
 

Attachments

  • compress.zip
    325 bytes · Views: 236
  • Like
Reactions: skttrbrain

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    Although even if it's the steam deck and a 1TB MicroSD I would still recommend building it yourself.... Almost all the builds I tried just sucked
  • K3Nv2 @ K3Nv2:
    Yeah but why not just have a img file mounted through us you can still transfer through windows
  • K3Nv2 @ K3Nv2:
    Usb*
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah Batocera has a shared folder it's pretty cool
  • K3Nv2 @ K3Nv2:
    Less clutter for all the 6 usb options we never use
  • Psionic Roshambo @ Psionic Roshambo:
    Just drag and drop your Barbie Roms
  • Psionic Roshambo @ Psionic Roshambo:
    Barbies BDSM Dungeon Adventure Featuring Gimp Ken!
  • K3Nv2 @ K3Nv2:
    It's the Florida meth
  • Psionic Roshambo @ Psionic Roshambo:
    Don't make Barbie put a cigarette out on your nipples!
  • K3Nv2 @ K3Nv2:
    Although expensive Florida meth can rot the brightest of minds
    +1
  • K3Nv2 @ K3Nv2:
    lol qbits almost taking a
    full gb of ram usage
    +1
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, qbittorrent?
  • K3Nv2 @ K3Nv2:
    no I dont torrent
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, then whats qbits?
  • K3Nv2 @ K3Nv2:
    A type of fish
  • Xdqwerty @ Xdqwerty:
    gonna do my homework
  • Xdqwerty @ Xdqwerty:
    see ya
  • K3Nv2 @ K3Nv2:
    Man steams only downloading 15mbps
  • Xdqwerty @ Xdqwerty:
    back
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, wdym thats quite fast
  • Psionic Roshambo @ Psionic Roshambo:
    Just upgraded to 1Gbps Internet, it was cheaper than the other company by a few bucks lol
  • K3Nv2 @ K3Nv2:
    Lol 15mbps is fast
  • Psionic Roshambo @ Psionic Roshambo:
    Ken do I mention that I had 500Mbps and upgraded to 1Gbps and it is only 40 dollars a month?
    Psionic Roshambo @ Psionic Roshambo: Ken do I mention that I had 500Mbps and upgraded to 1Gbps and it is only 40 dollars a month?