Batch Scripts - HerbFargus/Portable-Game-Station GitHub Wiki

Batch Script Examples:

DOS

.emulationstation\systems\dosbox\dosbox  -c "mount c .emulationstation\roms\pc" -c "c:" -c "cd raptor" -c "rap.exe" -c "exit"

SCUMMVM

pushd "%HOMEPATH%\.emulationstation\roms\scummvm\Pajama Sam 1 No Need to Hide When It's Dark Outside"
%HOMEPATH%\.emulationstation\systems\scummvm\scummvm.exe -f "pajama-us"

Example Batch Scripts for the Ports Menu:

//Prboom
.emulationstation\systems\retroarch\retroarch.exe -L .emulationstation\systems\retroarch\cores\prboom_libretro.dll .emulationstation\roms\ports\doom\doom.wad
 
//Dinothawr
.emulationstation\systems\retroarch\retroarch.exe -L .emulationstation\systems\retroarch\cores\dinothawr_libretro.dll .emulationstation\roms\ports\dinothawr\dinothawr.game
 
//cavestory
.emulationstation\systems\retroarch\retroarch.exe -L .emulationstation\systems\retroarch\cores\nxengine_libretro.dll .emulationstation\roms\ports\CaveStory\Doukutsu.exe
 
//eDuke32
cd .emulationstation\roms\ports\eduke32
.\eduke32.exe