Hacking Batch shrink Gamecube games?

XFlak

Wiitired but still kicking
Member
Joined
Sep 12, 2009
Messages
13,849
Trophies
3
Age
38
Location
Cyprus, originally from Toronto
Website
modmii.github.io
XP
9,846
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
45
XP
48
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
434
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
  • No one is chatting at the moment.
    Veho @ Veho: Nope.