@echo off if "%1" == "" goto help goto ok :help echo usage: setinitialcode echo Sets the Game Code for a disc application. goto end :ok for %%i in (%REVOLUTION_SDK_ROOT%\x86\bin\rvl*.bin) do ( %REVOLUTION_SDK_ROOT%\x86\bin\rvlbinconv -f %%i -gc %1 if errorlevel 1 goto failed ) echo Successfully done. Set the Game Code for the disc application to %1. goto mesg :failed echo Failed to set the Game Code for the disc application. goto end :mesg echo ****************************************************************************** echo * If you make master data, you must execute loadrun/odrun before you do so!! * echo ****************************************************************************** :end