update "Jimmy White's 2 - Cueball"
update "Billard Nights"
update "Cueball"
update "Billard Clubhouse"
update "Billares"

assertsize <DST>qswmmx.exe 1904640

changeshortcut <PROGRAMS>"Virgin Interactive\Jimmy White's 2 - Cueball\Uninstall.lnk" <UNINSTALLPROG> <UNINSTALLARG>
changeshortcut <PROGRAMS>"Virgin Interactive\Billard Clubhouse\Désinstaller.lnk" <UNINSTALLPROG> <UNINSTALLARG>
changeshortcut <PROGRAMS>"Virgin Interactive\Cueball\Disinstalla.lnk" <UNINSTALLPROG> <UNINSTALLARG>
changeshortcut <PROGRAMS>"Virgin Interactive\Billares\Desinstalar.lnk" <UNINSTALLPROG> <UNINSTALLARG>
changeshortcut <PROGRAMS>"Virgin Interactive\Billard Nights\Deinstallieren.lnk" <UNINSTALLPROG> <UNINSTALLARG>

register "HKEY_LOCAL_MACHINE\Software\Virgin Interactive\Jimmy White's 2 - Cueball\Version" "1.06"
register "HKEY_LOCAL_MACHINE\Software\Virgin Interactive\Jimmy White's 2 - Cueball\Path" <DST>

run patch.exe <DST>q.exe <SRC>q.pat <DST>patch.tmp
delete <DST>q.exe
rename <DST>patch.tmp <DST>q.exe
run patch.exe <DST>qsw16.exe <SRC>qsw16.pat <DST>patch.tmp
delete <DST>qsw16.exe
rename <DST>patch.tmp <DST>qsw16.exe
run patch.exe <DST>qswMMX.exe <SRC>qswMMX.pat <DST>patch.tmp
delete <DST>qswMMX.exe
rename <DST>patch.tmp <DST>qswMMX.exe
run patch.exe <DST>resource\title_england640.bmp <SRC>title_england640.pat <DST>resource\patch.tmp
delete <DST>resource\title_england640.bmp
rename <DST>resource\patch.tmp <DST>resource\title_england640.bmp
run patch.exe <DST>resource\title_france640.bmp <SRC>title_france640.pat <DST>resource\patch.tmp
delete <DST>resource\title_france640.bmp
rename <DST>resource\patch.tmp <DST>resource\title_france640.bmp
run patch.exe <DST>resource\title_germany640.bmp <SRC>title_germany640.pat <DST>resource\patch.tmp
delete <DST>resource\title_germany640.bmp
rename <DST>resource\patch.tmp <DST>resource\title_germany640.bmp
run patch.exe <DST>resource\title_italy640.bmp <SRC>title_italy640.pat <DST>resource\patch.tmp
delete <DST>resource\title_italy640.bmp
rename <DST>resource\patch.tmp <DST>resource\title_italy640.bmp
run patch.exe <DST>resource\title_spain640.bmp <SRC>title_spain640.pat <DST>resource\patch.tmp
delete <DST>resource\title_spain640.bmp
rename <DST>resource\patch.tmp <DST>resource\title_spain640.bmp
run patch.exe <DST>qcache.paq <SRC>qcache.pat <DST>patch.tmp
delete <DST>qcache.paq
rename <DST>patch.tmp <DST>qcache.paq
run patch.exe <DST>swqcache.paq <SRC>swqcache.pat <DST>patch.tmp
delete <DST>swqcache.paq
rename <DST>patch.tmp <DST>swqcache.paq

if <UPDATE> == "Jimmy White's 2 - Cueball"
run patch.exe <DST>readme.txt <SRC>readmetxt.pat <DST>patch.tmp
delete <DST>readme.txt
rename <DST>patch.tmp <DST>readme.txt
endif

if <UPDATE> == "Billard Clubhouse"
run patch.exe <DST>readme.txt <SRC>readmefre.pat <DST>patch.tmp
delete <DST>readme.txt
rename <DST>patch.tmp <DST>readme.txt
endif

if <UPDATE> == "Billard Nights"
run patch.exe <DST>readme.txt <SRC>readmeger.pat <DST>patch.tmp
delete <DST>readme.txt
rename <DST>patch.tmp <DST>readme.txt
endif

if <UPDATE> == "Billares"
run patch.exe <DST>readme.txt <SRC>readmespa.pat <DST>patch.tmp
delete <DST>readme.txt
rename <DST>patch.tmp <DST>readme.txt
endif

if <UPDATE> == "Cueball"
run patch.exe <DST>readme.txt <SRC>readmeita.pat <DST>patch.tmp
delete <DST>readme.txt
rename <DST>patch.tmp <DST>readme.txt
endif

