fork/training-mode-ce

git clone https://git.julia.blue/fork/training-mode-ce

Alex Harrisonfix xdelta commandc4a9066

nix
545 B22 linesraw
1@echo off
2setlocal
3
4REM set directory to location of this file. Needed when drag n dropping across directories.
5cd /d %~dp0
6
7set ISO="%~1"
8
9if %ISO%=="" (
10    echo Please drag a v1.02 NTSC melee iso on top of 'DRAG VANILLA MELEE HERE.bat'
11    goto end
12) else (
13    echo iso: %ISO%
14)
15
16xdelta3 -f -d -s %ISO% patch.xdelta TM-CE.iso || ( echo ERROR: The ISO is not a valid v1.02 NTSC melee iso & goto end )
17echo TM-CE.iso has been successfully created!
18
19:end
20
21REM pause if not run from command line
22echo %CMDCMDLINE% | findstr /C:"/c">nul && pause