Created
February 26, 2026 00:23
-
-
Save jaum20/a9f3077610f85b9034089b04ef6070f4 to your computer and use it in GitHub Desktop.
Batch convert RVZ image files to WBFS - Windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| setlocal enabledelayedexpansion | |
| :: ====== CHANGE THE PATHS FOR DolphinTool and WIT ====== | |
| set DOLPHIN="C:\Users\jaum20\Downloads\Dolphin-x64\DolphinTool.exe" | |
| set WIT="C:\wit\bin\wit.exe" | |
| :: ====== SET IMPUT AND OUTPUT DIRs ====== | |
| set INPUT=C:\Users\jaum20\Downloads\Redump\Nintendo - Wii - NKit RVZ [zstd-19-128k] | |
| set TMP=C:\Users\jaum20\Downloads\Redump\ISO_TMP | |
| set OUTPUT=C:\Users\jaum20\Downloads\Redump\WBFS | |
| :: ================================= | |
| mkdir "%TMP%" >nul 2>&1 | |
| mkdir "%OUTPUT%" >nul 2>&1 | |
| echo =============================== | |
| echo RVZ => ISO => WBFS (AUTOMATIC) | |
| echo =============================== | |
| echo. | |
| for %%F in ("%INPUT%\*.rvz") do ( | |
| echo ------------------------------- | |
| echo Processing: %%~nxF | |
| set ISO="%TMP%\%%~nF.iso" | |
| echo [1/2] Convertendo RVZ -> ISO... | |
| %DOLPHIN% convert ^ | |
| --input "%%F" ^ | |
| --output !ISO! ^ | |
| --format iso | |
| if errorlevel 1 ( | |
| echo ERROR converting %%~nxF | |
| echo. | |
| goto :continue | |
| ) | |
| echo [2/2] Converting ISO -> WBFS... | |
| %WIT% copy !ISO! "%OUTPUT%" --wbfs --split --progress | |
| if errorlevel 1 ( | |
| echo ERROR in wit for %%~nxF | |
| echo. | |
| goto :continue | |
| ) | |
| echo Cleaning temp ISO... | |
| del !ISO! | |
| :continue | |
| echo. | |
| ) | |
| echo =============================== | |
| echo DONE | |
| echo =============================== | |
| pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment