• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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 538.1k 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.
  • M
    maxiducoli @LiveFreeDead
    last edited by 3 Jan 2020, 00:23

    @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 3 Jan 2020, 00:28

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

      L 1 Reply Last reply 3 Jan 2020, 00:38 Reply Quote 0
      • L
        LiveFreeDead @maxiducoli
        last edited by LiveFreeDead 1 Mar 2020, 00:41 3 Jan 2020, 00:38

        <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 3 Jan 2020, 01:31 Reply Quote 0
        • F
          f.caruso @maxiducoli
          last edited by 3 Jan 2020, 00:53

          @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 3 Jan 2020, 01:34 Reply Quote 0
          • M
            maxiducoli @LiveFreeDead
            last edited by 3 Jan 2020, 01:31

            @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 3 Jan 2020, 01:34

              @f-caruso thank you for the help!

              1 Reply Last reply Reply Quote 0
              • M
                maxiducoli @f.caruso
                last edited by 4 Jan 2020, 15:43

                @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 4 Jan 2020, 15:57

                  @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
                  • D
                    dukeblooders
                    last edited by 6 Jan 2020, 21:46

                    @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 1 Reply Last reply 6 Jan 2020, 23:01 Reply Quote 0
                    • F
                      f.caruso @dukeblooders
                      last edited by 6 Jan 2020, 23:01

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

                      D 1 Reply Last reply 7 Jan 2020, 06:59 Reply Quote 0
                      • M
                        maxiducoli
                        last edited by maxiducoli 1 Jun 2020, 23:20 6 Jan 2020, 23:18

                        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?

                        M 1 Reply Last reply 7 Jan 2020, 05:37 Reply Quote 0
                        • M
                          mitu Global Moderator @maxiducoli
                          last edited by 7 Jan 2020, 05:37

                          @maxiducoli said in Updated EmulationStation for Windows:

                          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?

                          That's how custom collections already work - except there's no XML for them, just a simple list of ROM paths. The metadata for them is already present in the system's gamelist, so it taken from there.

                          1 Reply Last reply Reply Quote 0
                          • D
                            dukeblooders @f.caruso
                            last edited by 7 Jan 2020, 06:59

                            @f-caruso Hi,

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

                            I will check again, didn't find it the first time. Maybe I'm just blind :P

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

                            Just like the current system carousel, but it's more an images gallery (for systems list) : we provide a folder full of pictures (screenshots, boxes or support), the carousel displays images randomly and switch automatically.
                            gallery.png

                            That's an example, it's may be too complicated this way. A simple change of image can do the job too.

                            F 1 Reply Last reply 7 Jan 2020, 19:41 Reply Quote 1
                            • F
                              f.caruso @dukeblooders
                              last edited by 7 Jan 2020, 19:41

                              @dukeblooders said in Updated EmulationStation for Windows:

                              like the current system carousel, but it's more an images gallery

                              If I understand well, it already exists. Look at the "carousel" view in my fork of the carbon theme on my git.

                              D 1 Reply Last reply 8 Jan 2020, 17:09 Reply Quote 0
                              • D
                                dukeblooders @f.caruso
                                last edited by 8 Jan 2020, 17:09

                                @f-caruso Hi,

                                I took a look at your theme, but unless I'm mistaken, it's not quite the same. Here's a screenshot of my theme : link

                                As you can see, there's a "list" of GD-roms, but it's static (it's integrated into the png background). In a general way, I find the system list too static in ES, a small dynamic images gallery can change that :)
                                (or even video(s), why not)

                                But, it's still a suggestion of course.

                                F 1 Reply Last reply 8 Jan 2020, 17:23 Reply Quote 0
                                • F
                                  f.caruso @dukeblooders
                                  last edited by f.caruso 1 Aug 2020, 17:31 8 Jan 2020, 17:23

                                  @dukeblooders said in Updated EmulationStation for Windows:

                                  s you can see, there's a "list" of GD-roms, but it's static (it's integrated into the png background). In a general way, I find the system list too static in ES, a small dynamic images gallery can change that :)

                                  Oh, ok... You can also (almost) do it , using random playlist, see my theme (smallbox.xml or smallscreen.xml). Images are static but they change everytime.
                                  Et sinon tu serais pas francais par hasard ?

                                  D 1 Reply Last reply 8 Jan 2020, 19:19 Reply Quote 0
                                  • D
                                    dukeblooders @f.caruso
                                    last edited by dukeblooders 1 Aug 2020, 19:20 8 Jan 2020, 19:19

                                    @f-caruso
                                    I did a few tests, and I think it could get the job done.
                                    However, I have a few questions :

                                    • Can we use a folder path for {random:} ? Or what game properties can be used ? I tried to add some properties in my gamelist, but I doesn't work.
                                    • I saw a delay property for videos, can we use a similar property for images ?

                                    (Suisse, mais je parle français ;-)

                                    F 1 Reply Last reply 9 Jan 2020, 18:07 Reply Quote 0
                                    • M
                                      maxiducoli
                                      last edited by 9 Jan 2020, 11:22

                                      @f-caruso

                                      Hello, how are you? I wanted to ask you if you have any idea how, from the es_input.cfg file, to be able to transcribe the different emulators other than those of Retroarch. Because for example Cemu or PCSX2 have an INI file but the values ​​that go in the X and Y do not understand how to transcribe them. Do you know anything about the subject? Would you have an email where you can conttact you for these matters? Thank you!

                                      1 Reply Last reply Reply Quote 0
                                      • F
                                        f.caruso @dukeblooders
                                        last edited by 9 Jan 2020, 18:07

                                        @dukeblooders

                                        Can we use a folder path for {random:} ? Or what game properties can be used ? I tried to add some properties in my gamelist, but I doesn't work.

                                        No {random:image}, {random:thumbnail}, {random:marquee} only. It takes random scrapped resources only.

                                        I saw a delay property for videos, can we use a similar property for images ?

                                        No...

                                        @maxiducoli

                                        No. I tried to do that in a CEmu launcher written in c#.
                                        But it's complex code, and it's very far from perfect.
                                        I didn't try with pcsx2.

                                        Also, you can find me on discord. The easiest one is Batocera's Discord...

                                        M D 4 Replies Last reply 9 Jan 2020, 19:20 Reply Quote 0
                                        • M
                                          maxiducoli @f.caruso
                                          last edited by 9 Jan 2020, 19:20

                                          @f-caruso
                                          In Pcsx2 Just copy a already configured xnput INI and works perfecto. The problem is dinput, cause change on diferents controllers

                                          1 Reply Last reply Reply Quote 0
                                          643 out of 741
                                          • First post
                                            643/741
                                            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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received