No, but I know the El Hendri work.
In Closemul,
Program and
Program2 have a trick: if you don't specify the
Program2, Closemul will run and monitor
Program, this is the default mode. However, if you specify
Program2 , Closemul will run
Program as usual, but will monitor and close
Program2 instead
Program .
I your case, the bat just run the game and close itself, after that what will be running is the
Game.exe and it is that we should close.
I've used it this way, my bat file was like this:
CODICE
@echo off
if %1 == ah3 goto ah3
if %1 == bbcs goto bbcs
if %1 == bbct goto bbct
if %1 == bf goto bf
if %1 == cb goto cb
if %1 == kof98um goto kof98um
if %1 == kofmia goto kofmia
if %1 == kofxii goto kofxii
if %1 == kofxiii goto kofxiiiS
if %1 == otmd goto otmd
if %1 == pi5 goto pi5
if %1 == sa goto sa
if %1 == sfvi goto sfvi
if %1 == ssed goto ssed
if %1 == ssfivae goto ssfivae
if %1 == thg5 goto thg5
if %1 == ttgm3 goto ttgm3
if %1 == tw goto tw
if %1 == bmiidx17 goto bmiidx17
if %1 == gwg goto gwg
if %1 == snsiii goto snsiii
if %1 == hmr goto hmr
if %1 == riii goto riii
if %1 == riv goto riv
goto exit
:ah3
E:CD\Arcade\TaitoTypex\Roms\ah3
Closemul.exe
goto exit
:bbcs
E:CD\Arcade\TaitoTypex\Roms\bbcs
Closemul.exe
goto exit
:bbct
E:CD\Arcade\TaitoTypex\Roms\bbct
Closemul.exe
goto exit
:bf
E:CD\Arcade\TaitoTypex\Roms\bf
Closemul.exe
goto exit
:cb
E:CD\Arcade\TaitoTypex\Roms\cb
Closemul.exe
goto exit
:gwg
E:CD\Arcade\TaitoTypex\Roms\gwg
Closemul.exe
goto exit
:hmr
E:CD\Arcade\TaitoTypex\Roms\hmr
Closemul.exe
goto exit
:kof98um
E:CD\Arcade\TaitoTypex\Roms\kof98um
Closemul.exe
goto exit
:kofmia
E:CD\Arcade\TaitoTypex\Roms\kofmia
Closemul.exe
goto exit
:kofxii
E:CD\Arcade\TaitoTypex\Roms\kofxii
Closemul.exe
goto :run
:kofxiii
E:CD\Arcade\TaitoTypex\Roms\kofxiii
Closemul.exe
goto exit
:otmd
E:CD\Arcade\TaitoTypex\Roms\otmd
Closemul.exe
goto exit
:pi5
E:CD\Arcade\TaitoTypex\Roms\pi5
Closemul.exe
goto exit
:riii
E:CD\Arcade\TaitoTypex\Roms\riii
Closemul.exe
goto exit
:riv
E:CD\Arcade\TaitoTypex\Roms\riv
Closemul.exe
goto exit
:sa
E:CD\Arcade\TaitoTypex\Roms\sa
Closemul.exe
goto exit
:sfvi
E:CD\Arcade\TaitoTypex\Roms\sfvi
Closemul.exe
goto exit
:snsiii
E:CD\Arcade\TaitoTypex\Roms\snsiii
Closemul.exe
goto exit
:ssed
E:CD\Arcade\TaitoTypex\Roms\ssed
Closemul.exe
goto exit
:ssfivae
E:CD\Arcade\TaitoTypex\Roms\ssfivae
Closemul.exe
goto exit
:thg5
E:CD\Arcade\TaitoTypex\Roms\thg5
Closemul.exe
goto exit
:ttgm3
E:CD\Arcade\TaitoTypex\Roms\ttgm3
Closemul.exe
goto exit
:tw
E:CD\Arcade\TaitoTypex\Roms\tw
Closemul.exe
goto exit
:bmiidx17
E:CD\Arcade\TaitoTypex\Roms\bmiidx17
Closemul.exe
goto exit
:exit
I put a copy of the Closemul in each game directory and set it up like the El Hendri video, except that I indicated in Program the bat file and in Program2 the game.exe.
Worked fine.
Edited by jeus - 25/6/2021, 18:55