From adb5bbfc286c94238e0273e734e39200736a36f7 Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Thu, 11 Mar 2021 00:23:58 +0100 Subject: [PATCH] added MAME64 old version --- optional/desktop/MAME64.lnk | Bin 0 -> 924 bytes optional/unpack-mame.cmd | 39 ++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 optional/desktop/MAME64.lnk create mode 100644 optional/unpack-mame.cmd diff --git a/optional/desktop/MAME64.lnk b/optional/desktop/MAME64.lnk new file mode 100644 index 0000000000000000000000000000000000000000..8442c3f51ba8d6aeb5e9e1fb02d13bc540e69bfb GIT binary patch literal 924 zcmeZaU|?VrVFHp23S})9{68Scx9C-u;>N{gSLUeTuBCfXR8<_WiX~6gCUri6*O~)fP$~1 zuPXzC6$2*&3&Z<;SwYixfW-BHD&l!T%G|+f5rohu9!6gVM+RR8pf;ez2@FOIAcyVu z+QX^9keisBYG$IBT9L}Y;08By2Heb@jvz08Ko|#R=_~Ux<}xHQKY5(BmL~#UMLJ0%)ur zLktQD^GFQPYE0|d8JvLu69e=r#JdR)%N9fcX%I-uEJ{tvEJ}g!7#MyO6>mMiV}buH z*GZo*iaW4uXs_gc-1u6s$=hI#@+!UpLh>y@A96A z2rns4Q&I(rgDsN>GC(N-<}d{Y4X{%+fnp%A5{N+t7<^RS{@z_mVChGugr0e?*MQ`~ zDF|c$HxOg zr9d(rC}>jif4cncmVP9{;jcXPu9Eb3c7PpU-jQ{ IkT?tg0AN137ytkO literal 0 HcmV?d00001 diff --git a/optional/unpack-mame.cmd b/optional/unpack-mame.cmd new file mode 100644 index 0000000..8a4d35f --- /dev/null +++ b/optional/unpack-mame.cmd @@ -0,0 +1,39 @@ + +@echo off + +set T=c:\TEMP +set TOOLS=c:\tools +set ZIP=..\software\mame64.7z +set TARGET=c:\MAME + +if NOT EXIST %ZIP% ( + echo ERROR: %ZIP% not found! + exit /b +) + +echo ####### %0 ####### + +echo killing MAME64 processes... +taskkill /F /IM hakchi.exe 2>nul + +rem create directory ... +mkdir %TARGET% 2>nul + +echo unpacking MAME64 ... +%TOOLS%\7z x -y -aoa -o%T%\mame %ZIP% + +echo moving files ... +move /Y %T%\mame\mame64.exe %TARGET% +move /Y %T%\mame\mame64.sym %TARGET% +mkdir %TARGET%\roms 2>nul +rd /S /Q %T%\mame +echo. + +echo copy desktop link ... +copy /Y desktop\MAME64.lnk "%PUBLIC%\Desktop" + +rem refresh desktop (W10 style) +ie4uinit.exe -show + +echo ####### %0 ####### +pause