Hacking Batch shrink Gamecube games?

XFlak

Wiitired but still kicking
Member
Joined
Sep 12, 2009
Messages
13,859
Trophies
3
Age
38
Location
Cyprus, originally from Toronto
Website
modmii.github.io
XP
9,886
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
  • Veho @ Veho:
    Oh God no :ohnoes:
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Pineapple is the safe word?
  • Psionic Roshambo @ Psionic Roshambo:
    But you said pine apple...
  • Psionic Roshambo @ Psionic Roshambo:
    Ughh gonna be bored today, class for new job has a lot of networking material and I'm certified in that already...
  • Veho @ Veho:
    Peen apple.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    "pine unf apple" doesn't count! Lol
  • Psionic Roshambo @ Psionic Roshambo:
    Employee code of conduct videos are awesome!!! Did you know eating the other employees is bad? I didn't know... Lol
    +1
  • AncientBoi @ AncientBoi:
    Anymore males there? :blush:
  • Psionic Roshambo @ Psionic Roshambo:
    All of us lol
  • Psionic Roshambo @ Psionic Roshambo:
    I got free every channel so that's awesome lol
    +1
  • AncientBoi @ AncientBoi:
    Give me ALL the gay pron channels, since you won't be watching them :blush::D
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Lol they exist?
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Hmmm so Mario Does Luigi's plumbing is a bad movie? Lol
  • Psionic Roshambo @ Psionic Roshambo:
    These videos are soooo dry
  • Psionic Roshambo @ Psionic Roshambo:
    Please click all suspicious links sent your email
  • BigOnYa @ BigOnYa:
    What to do today? Cut grass for 3-4 hours, or just get drunk and play video games... Hmm
  • BigOnYa @ BigOnYa:
    I need a remote controlled mower, so I can sit on the couch and do both.
  • BigOnYa @ BigOnYa:
    Sounds good to me, video games and booze it is then.
    +1
  • denpafan @ denpafan:
    Good choice
    +1
  • BigOnYa @ BigOnYa:
    Now what to play, Starfield or Fallout4. And what to drink, beer or Whiskey and Coke. Such tough decisions.
  • BigOnYa @ BigOnYa:
    Looks like its whiskey & coke, only 4 beers left. And think ill start with Falllout. :grog:
    BigOnYa @ BigOnYa: Looks like its whiskey & coke, only 4 beers left. And think ill start with Falllout. :grog: