-
Notifications
You must be signed in to change notification settings - Fork 0
/
Windows-One-Click-Run-Example.bat
26 lines (20 loc) · 960 Bytes
/
Windows-One-Click-Run-Example.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
@echo off
:: A script to launch all of Emu LiveText's many moving parts all at once.
:: Replace each path with the path on your own windows system. Certain paths may already be correct.
:: Launch BizHawk and immediately load the ROM and the script
set executable="%USERPROFILE%\Downloads\emulivetext\Bizhawk\BizHawk-2.9.1-win-x64\EmuHawk.exe"
set rom="%USERPROFILE%\Documents\roms\Pokemon Blue (Japan).sgb"
set script="%CD%\game_resources\Pokemon_Blue_JP\BizHawk_text_dump.lua"
:start "" %executable% --lua=%script% %rom%
:: Launch the server, using the appropriate resource folder
set python="%USERPROFILE%\AppData\Local\Microsoft\WindowsApps\python.exe"
set server="%CD%\server.py"
set resources="%CD%/game_resources/Pokemon_Blue_JP/"
:: install websockets if you do not already have it
%python% -m pip install websockets
:: launch
start "" %python% %server% %resources% %*
:: Launch the local web client
set client="%CD%\EmuText.html"
%client%
pause