1@echo off 2 3if "%1" == "" goto help 4goto ok 5 6:help 7 echo usage: setinitialcode <Game Code> 8 echo Sets the Game Code for a disc application. 9 goto end 10 11:ok 12 13 for %%i in (%REVOLUTION_SDK_ROOT%\x86\bin\rvl*.bin) do ( 14 %REVOLUTION_SDK_ROOT%\x86\bin\rvlbinconv -f %%i -gc %1 15 if errorlevel 1 goto failed 16 ) 17 18 echo Successfully done. Set the Game Code for the disc application to %1. 19 goto mesg 20 21:failed 22 echo Failed to set the Game Code for the disc application. 23 goto end 24 25:mesg 26echo ****************************************************************************** 27echo * If you make master data, you must execute loadrun/odrun before you do so!! * 28echo ****************************************************************************** 29 30:end 31 32