Hello there!
Here it is,
PC Games:
write file Angry Birds.bat
and put it in root of ur PC GAMES folder
Apparently Attract Mode is heaving issue with BAT command start MINIMIZED. If its used in script AM will keep on running in background.. i am not sure how to resolve issue, for now minimized cant be used@echo off
set "GAMENAME=AngryBirds.exe"
set "GAMEPATH=Angry Birds\Angry Birds\"
set HOME="%~dp0"
set "GAMEROOT=%~dp0%GAMEPATH%"
cd %GAMEROOT%
start "" /WAIT "%GAMEROOT%%GAMENAME%"
exit
CEMU:
write file New Super Mario Bros U.bat
and put it in root of ur WiiU folder
@echo off
set "GAMENAME=red-pro2.rpx"
set "GAMEPATH=Roms\New Super Mario Bros U\code\"
set "CEMUPATH=..\..\Emulators\Cemu\"
set "ROM=%~dp0%GAMEPATH%"
set HOME="%~dp0"
set "EMUROOT=%~dp0%CEMUPATH%"
cd %EMUROOT%
start "" /WAIT "%EMUROOT%Cemu.exe" -g "%ROM%%GAMENAME%" -f
exit
Budford:
@echo off
set "GAMENAME=U-King.rpx"
set "GAMEPATH=Roms\The Legend of Zelda Breath of the Wild [ALZP0101]\code\"
set "CEMUPATH=..\..\Emulators\Cemu\Budford\"
set "ROM=%~dp0%GAMEPATH%"
set HOME="%~dp0"
set "EMUROOT=%~dp0%CEMUPATH%"
cd %EMUROOT%
start "" /WAIT "%EMUROOT%Budford.exe" "%ROM%%GAMENAME%"
exit
It is compatible across front-ends. ES/HS/AM.It is portable proof as well.
Now some explanation:
Point of origin is where .bat file is located. So always look from that point of view.(Also always point front-ends to those .bat files.)
Now example in pc games. C:/some folder/some folder/pc games(bat files here)/Angry Birds/Angry Birds/AngryBirds.exe
So from .bat point of view u start where they are. So GAMEPATH=Angry Birds\Angry Birds\
Simple isnt it?
So even if u move games to any other folder and or hard disk (drive/letter) and move bat files from their root with them , games will always work if you point frontend to those bat files.
---
Now in case of CEMU it gets slightly more complicated, simply because i keep my emulator for CEMU in totally different folder not linked to folder where my games are.Simply because i love structuring them the way i am
SO, from bat point of view:
set "CEMUPATH=..\..\Emulators\Cemu\"
(..\..\) meaning: (return folder up \return folder up\ )
then go folders forward (Emulators\Cemu\)
Example:
somefolderX/roms/wiiugames(bat files here)
..\
somefolderX/roms/
*again*
..\
somefolderX
Now going forward:
somefolderX/Emulators/Cemu/
Simple isnt it?
Just edit
GAMENAME
GAMEPATH
CEMUPATH
per instructions.
And Enjoy!
If u attempt differently great deal of problems may occur. Even some games will not work because they will look for their config or related files in wrong folders.
P.S
Happy NEW Year!.....i need bigger signature space..
P.P.S
...some may need this too
ES: <system>
<name>PC Games</name>
<fullname>PC Games</fullname>
<path>PC GAMES PATH</path>
<extension>.bat</extension>
<command>"%ROM_RAW%"</command>
<platform>pc</platform>
<theme>pc</theme>
</system>
AM:executable cmd
args /c "[romfilename]"
rompath PC GAMES PATH
romext .lnk;.bat;.cmd
HS:[exe info]
path=
rompath=PC GAMES PATH
userompath=true
exe=
romextension=bat
parameters=
searchsubfolders=true
pcgame=true
winstate=HIDDEN
hyperlaunch=false
Edit PC GAMES PATH to match where u stored bat files , usually root where games for system are
Use the exact same config for both PC games AND Cemu, because they use bat files they should behave like they are activating PC games
NOTE:You can use relative paths for emulationstation game rom path as well.
Example : (es_systems.cfg)
<path>..\..\Roms\PC Games</path>