Updated EmulationStation for Windows
-
@maxiducoli I have a tool called EmulationStationPortable including a joy2key feature for that, search the thread for more information & download links.
Or you can also use an app called joy2key which is more generic & configurable. -
@f-caruso
Where i can find a readme or info of All features of Your EmulationStation?
And how to use it?
I'm making a SYSTEM like batocera /Recalbox named RetroLife with (for now) 95 systems, with launcher images, video intro, background music (thank you for that) etc, etc.Can you fix The command line features un emulator cores section on EmulationStation?
If I use The second core, All space in %ROM_RAW% is taken like a New parameter.
I use a program madre by me to launch that commandSorry my poor english. I speak spanish.
-
@maxiducoli said in Updated EmulationStation for Windows:
Where i can find a readme or info of All features of Your EmulationStation?
My git's README.me. Sadly, It's not up to date. You have to follow my commits ;-)
I'm making a SYSTEM like batocera /Recalbox named RetroLife
I'm also working with the Retrobat projet. They do the exact same thing as you do.
Maybe you should get in touch with them.Can you fix the command line features
Mmm... No, because, it's not a bug ! ROM_RAW as its name says, is... RAW... Try to replace %ROM_RAW% with "%ROM_RAW%", maybe ;-) -> It's the way the variable is designed.
-
@f-caruso
But i can´t insert more quotesI have that:
<emulators> <emulator name="libretro"> <cores> <core>dolphin</core> </cores> </emulator> <emulator name="DOLPHIN64" command="\RetroLife\RLCExe.exe %ROM_RAW%"/> </emulators>
In the line :
<emulator name="DOLPHIN64" command="\RetroLife\RLCExe.exe %ROM_RAW%"/>
i can`t put command="\RetroLife\RLCExe.exe" "%ROM_RAW%" cause giveme a error and don´t load EmulationStation.
That issue i ask you for fix.I Know Retrobat. Its awesome.
But i`m working since 1 year ago with that project (RetroLife) and i like to finish it.But if you need help with RetroBat, i`m here.
I program in pascal (just for fun) and know something of scripts , etc, etc. -
@maxiducoli said in Updated EmulationStation for Windows:
<emulator name="DOLPHIN64" command="\RetroLife\RLCExe.exe %ROM_RAW%"/>
should be:
<emulator name="DOLPHIN64" command="\RetroLife\RLCExe.exe "%ROM_RAW%""/>Note the double quotes at the end of the line, you need a closing quote for every opening quote (even number)
And if that doesn't work it's a bug in RetroLife and not EmulationStation
-
@LiveFreeDead
Notepad++ Message -
@LiveFreeDead
EmulationStation message with this double quotes. -
<emulator name="DOLPHIN64" command="\RetroLife\RLCExe.exe "%ROM_RAW%""/>
</emulator>The error says that you also never put the "</emulator>" line I show above.
-
@LiveFreeDead said in Updated EmulationStation for Windows:
<emulator name="DOLPHIN64" command="\RetroLife\RLCExe.exe "%ROM_RAW%""/>
</emulator>Heres my system. Sane error,
Whats wrong?? I can´r understand whats happening
<system>
<name>wii</name>
<fullname>Nintendo Wii</fullname>
<path>\RetroLife\roms\wii</path>
<extension>.iso .ISO .cso .CSO .wbfs .WBFS</extension>
<command>"\RetroLife\emulators\retroarch\Launcher.bat" "%ROM_RAW%" "\RetroLife\LaunchIMGS\wii.jpg" %CORE%</command>
<emulators>
<emulator name="libretro">
<cores>
<core>dolphin</core>
</cores>
</emulator>
<emulator name="DOLPHIN64" command="\RetroLife\RLCExe.exe "%ROM_RAW%""/>
</emulator>
</emulators>
<platform>wii</platform>
<theme>wii</theme>
</system> -
-
-
@LiveFreeDead
Double Quote. SEE THE YELLOW MARK.
Ends on the first Quote.
For this reason a thinks that i do a program to manage the parameters and rearm the command line parameter by parameter. -
@LiveFreeDead
I understand that put:<emulator name="ssssss" command="aajjaja"/>
its the sane that
<emulator name"ssssss" command="aahaha">
</emulator>but XML format take the command ends in the second " and not take all ""
I dont know mucho about XML. Its all new to me.
I just do it this for fun. Maybe i have to read more documentation.
-
<system> <name>wii</name> <fullname>Nintendo Wii</fullname> <path>\RetroLife\roms\wii</path> <extension>.iso .ISO .cso .CSO .wbfs .WBFS</extension> <command>"%HOME%\RetroLife\emulators\retroarch\Launcher.bat" "%ROM_RAW%" "%HOME%\RetroLife\LaunchIMGS\wii.jpg" %CORE%</command> <platform>wii</platform> <theme>wii</theme> <emulators> <emulator name="libretro"> <cores> <core>dolphin</core> </cores> </emulator> <emulator name="dolphin64"> <command>"%HOME%\RetroLife\RLCExe.exe "%ROM_RAW%""<command> </emulator> </emulators> </system>
This is a direct copy of the below examples another person gave, maybe it'll work for you.
- Note - you may need to remove the "\RetroLife" part of the folder name if that is where your %HOME% is set:
"%HOME%\RLCExe.exe" for example
- Note - you may need to remove the "\RetroLife" part of the folder name if that is where your %HOME% is set:
-
@maxiducoli said in Updated EmulationStation for Windows:
But i can´t insert more quotes
Yes you can... This is xml ! " !
See there : https://www.freeformatter.com/xml-escape.html -
@LiveFreeDead
%HOME% = Folder Where .emulationstation Directory is?I use \RetroLife cause EmulationStation.exe is in D:\RetroLife
And that way I made RetroLife potable.%HOME% = D:\RetroLife\emulationstation.exe?
-
@f-caruso thank you for the help!
-
-
Hi. see. With that function i do EmulationStation close the emulator with ESC key.
This function is similar to ShellExecute(). Maybe could help you to close all emulators with HOTKEY+START.
For now i do it just for ESCAPE KEY, but i´m working (i hope can i do it, cause SDL is all new for me and i cant undertand nothing about Joysticks and gamepads ja!) ill try to make something with HOTKEY+STARTSee.....
function EjecutarYEsperar( sPrograma: String; Visibilidad: Integer ): Integer;
var
sAplicacion: array[0..512] of char;
DirectorioActual: array[0..255] of char;
DirectorioTrabajo: String;
InformacionInicial: TStartupInfo;
InformacionProceso: TProcessInformation;
iResultado, iCodigoSalida: DWord;begin
StrPCopy( sAplicacion, sPrograma );
GetDir( 0, DirectorioTrabajo ); // Get Work path
StrPCopy( DirectorioActual, DirectorioTrabajo ); // In C++ make the same thing
FillChar( InformacionInicial, Sizeof( InformacionInicial ), #0 );
InformacionInicial.cb := Sizeof( InformacionInicial );InformacionInicial.dwFlags := STARTF_USESHOWWINDOW;
InformacionInicial.wShowWindow := Visibilidad; // Visibilidad = SHOW_WINDOW (SW_HIDE for hide the window and dont show cmd)
CreateProcess( nil, sAplicacion, nil, nil, False,
CREATE_NEW_CONSOLE or NORMAL_PRIORITY_CLASS,
nil, nil, InformacionInicial, InformacionProceso );// Espera hasta que termina la ejecución
// Wait until its finish
repeat
iCodigoSalida := WaitForSingleObject( InformacionProceso.hProcess, 1000 );
//Application.ProcessMessages;
// if then break;until ( iCodigoSalida <> WAIT_TIMEOUT) or (GetAsyncKeyState(VK_ESCAPE) <> 0 ); // This line tell to the process if the process finish OR if i press ESCAPE end the program.
GetExitCodeProcess( InformacionProceso.hProcess, iResultado );
MessageBeep( 0 );
CloseHandle( InformacionProceso.hProcess );
Result := iResultado;
end;I run a BAT file with my launcher, but if you use just the commandline like the original EmulationStaton Source code, you can translate this function to C++ and use it if you want.
My mail is maxiducoli@gmail.com if you wanna keep in contact.
@maxiducoli my tweet o Maximiliano David Ducoli my face -
@f-caruso Hello and happy new year,
I've tested your last version, and, something's wrong with the collections (when they are grouped without a theme).
ES displays only the gamelist and not the folders anymore. I didn't find a way to change that.While I'm here, a few suggestions :-)
- Collections : possibility to have more than one level of folders ?
For example, I'd like to have games by type (Platform, Schmup, …), or by serie (Zelda, Mario, …) - Screensaver : volume of videos (0 to 100 %)
- Images carousel by system, with autochange/autoscrolling and fade in/out, from a folder content (not system logo, but screenshots, boxes or supports).
Anyway, keep up the good work !
- Collections : possibility to have more than one level of folders ?
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.