RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Updated EmulationStation for Windows

    Scheduled Pinned Locked Moved Projects and Themes
    emulationstatiowindows
    741 Posts 97 Posters 556.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • f.carusoF
      f.caruso @maxiducoli
      last edited by

      @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.

      M 1 Reply Last reply Reply Quote 0
      • M
        maxiducoli @f.caruso
        last edited by

        @f-caruso
        But i can´t insert more quotes

        I 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.

        LiveFreeDeadL f.carusoF 2 Replies Last reply Reply Quote 0
        • LiveFreeDeadL
          LiveFreeDead @maxiducoli
          last edited by

          @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

          M 2 Replies Last reply Reply Quote 0
          • M
            maxiducoli @LiveFreeDead
            last edited by

            @LiveFreeDead
            Notepad++ Message

            fcc21700-8be9-4f10-850a-1e0de6e70469-image.png

            LiveFreeDeadL 1 Reply Last reply Reply Quote 0
            • M
              maxiducoli @LiveFreeDead
              last edited by

              @LiveFreeDead
              EmulationStation message with this double quotes.

              9281664e-54f3-44de-9155-f8cd6acf5a88-image.png

              1 Reply Last reply Reply Quote 0
              • LiveFreeDeadL
                LiveFreeDead @maxiducoli
                last edited by

                @maxiducoli

                <emulator name="DOLPHIN64" command="\RetroLife\RLCExe.exe "%ROM_RAW%""/>
                </emulator>

                The error says that you also never put the "</emulator>" line I show above.

                M 1 Reply Last reply Reply Quote 0
                • M
                  maxiducoli @LiveFreeDead
                  last edited by

                  @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>

                  LiveFreeDeadL 1 Reply Last reply Reply Quote 0
                  • LiveFreeDeadL
                    LiveFreeDead @maxiducoli
                    last edited by LiveFreeDead

                    @maxiducoli

                    "%ROM_RAW%""/>

                    Get rid of the / before the >

                    "%ROM_RAW%"">

                    M 3 Replies Last reply Reply Quote 0
                    • M
                      maxiducoli @LiveFreeDead
                      last edited by

                      @LiveFreeDead
                      Nope.

                      See ,

                      SIMPLE QUOTE

                      3aaf7b86-28e4-4440-b364-13a50e0c1c9b-image.png

                      1 Reply Last reply Reply Quote 0
                      • M
                        maxiducoli @LiveFreeDead
                        last edited by

                        @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.

                        dc27de52-ee73-4fce-8392-63a38720ac81-image.png

                        1 Reply Last reply Reply Quote 0
                        • M
                          maxiducoli @LiveFreeDead
                          last edited by

                          @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.

                          LiveFreeDeadL 1 Reply Last reply Reply Quote 0
                          • LiveFreeDeadL
                            LiveFreeDead @maxiducoli
                            last edited by LiveFreeDead

                            <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
                            M 1 Reply Last reply Reply Quote 0
                            • f.carusoF
                              f.caruso @maxiducoli
                              last edited by

                              @maxiducoli said in Updated EmulationStation for Windows:

                              But i can´t insert more quotes

                              Yes you can... This is xml ! &quot; !
                              See there : https://www.freeformatter.com/xml-escape.html

                              M 2 Replies Last reply Reply Quote 0
                              • M
                                maxiducoli @LiveFreeDead
                                last edited by

                                @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?

                                1 Reply Last reply Reply Quote 0
                                • M
                                  maxiducoli @f.caruso
                                  last edited by

                                  @f-caruso thank you for the help!

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    maxiducoli @f.caruso
                                    last edited by

                                    @f-caruso
                                    @LiveFreeDead

                                    Here´s the solution.
                                    Thank you to booth.

                                    "%HOME%\RLCExe.exe "%ROM_RAW%""

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      maxiducoli
                                      last edited by

                                      @f-caruso

                                      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+START

                                      See.....

                                      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

                                      1 Reply Last reply Reply Quote 0
                                      • dukebloodersD
                                        dukeblooders
                                        last edited by

                                        @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 !

                                        f.carusoF 1 Reply Last reply Reply Quote 0
                                        • f.carusoF
                                          f.caruso @dukeblooders
                                          last edited by

                                          @dukeblooders said in Updated EmulationStation for Windows:

                                          ES displays only the gamelist and not the folders anymore. I didn't find a way to change that.

                                          I don't have the problem. Content display depends on the value of the option "show folders".

                                          Collections : possibility to have more than one level of folders.

                                          Big job to do... It would needs an UI to create/rename/delete child folders in custom collections, a mecanism to select in which folder to edit, plus user would ask for another mecanism to move a game to a subfolder. Big big work. plus, I'm not sure it's really the point of custom collections.

                                          Screensaver : volume of videos (0 to 100 %)

                                          Interesting idea.

                                          Images carousel by system, with autochange/autoscrolling and fade in/out, from a folder content (not system logo, but screenshots, boxes or supports).

                                          What ? I don't understand your point. Be more precise.

                                          dukebloodersD 1 Reply Last reply Reply Quote 0
                                          • M
                                            maxiducoli
                                            last edited by maxiducoli

                                            For custom collections it would not be better to make an XML list in the custom system folder and for the command line to be made directly with the command line that the system already has where the game is taken to add to the custom list? And in the command line put the complete line with game file and everything, already taken from the original system?

                                            mituM 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            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.