Skip to content

Batch launcher

DCxDemo edited this page Jun 2, 2024 · 4 revisions

Here's a simple batch file to automate online stuff a bit. Intended to be used for public official lobbies only (private lobbies require IP input and it glitches out with this script). Please be aware it doesn't detect any running instances, so make sure to close both duckstation and onlinectr client if they are running.

Modify the lines with set, providing absolute paths to your applications and iso.

rem	-- path to client exe
	set clientexe="path\to\client.exe"

rem	-- path to patched iso
	set onlineiso="path\to\online_iso.bin"

rem	-- path to duckstation emulator
	set duckexe="path\to\duckstation.exe"

rem	-- your online name
	set netname=your_name_here


rem	-- launching duck
	start "emu" %duckexe% %onlineiso%

rem	-- launching client
	echo %netname% | %clientexe%


echo Job's done.
Clone this wiki locally