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.
    • f.carusoF
      f.caruso @CarissaIsWierd
      last edited by f.caruso

      @CarissaIsWierd Your theme is full of very good ideas, and I totally understood the need for saving subset per system in some "conditions". So....

      I took time to think & code something, but, I've just commited a new version containing something that will interest you very much : I added support for a new 'hierarchy' for subsets, and added the attribute appliesTo -> You can name the view/customView the "subset option" is for ( and name several separating them with a comma ) & then you can have per system options for your gamelists ( using a "view customisation" screen )

      Here's a sample :

      <subset name="tileborders" appliesTo="Tiles">
        <include name="yes" />
        <include name="no">./tilesquareborders.xml</include>
      </subset>
      
      1 Reply Last reply Reply Quote 1
      • CarissaIsWierdC
        CarissaIsWierd
        last edited by CarissaIsWierd

        @f-caruso That's actually really nice! I think I've found a bug already though. Replace the List BG subset in my theme with this:

        <subset name="> List > BG" appliesTo="detailed">
          <include name="Retro">./options/list-bg-2.xml</include>
          <include name="Pixel">./options/list-bg-1.xml</include>
          <include name="Shapes">./options/list-bg-3.xml</include>
        </subset>
        

        Now change it to Pixel or Shapes under Theme Configuration. Trying to select Retro under View Customisation will change it to whatever you just selected for all systems. It basically locks out selecting the first option if something different is selected under Theme Configuration. So far it's doing it for all the subsets I'm writing out like that.

        Edit: Looking at es_settings.cfg, it might be because all options are no longer saved there if the first is selected.

        mituM f.carusoF 2 Replies Last reply Reply Quote 0
        • mituM
          mitu Global Moderator @CarissaIsWierd
          last edited by mitu

          @CarissaIsWierd The > character should be escaped when used in an XML file, your fragment above is not valid XML. Use &gt; instead.

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

            @CarissaIsWierd True... Fixed..

            1 Reply Last reply Reply Quote 0
            • CarissaIsWierdC
              CarissaIsWierd
              last edited by

              @f-caruso Almost perfect! But I can't get it to appear for two views with a comma like you mentioned. It should be like this, right?

              <subset name="tileborders" appliesTo="detailed, grid">
                <include name="yes" />
                <include name="no">./tilesquareborders.xml</include>
              </subset>
              

              I'm probably being a nuisance now, but I found another issue :x

              Step 1. Set up a system with its own options via View Customisation.
              Step 2. Select some of the same options for all systems via Theme Configuration.
              Step 3. Edit any option for the customised system/s and it'll remove options from es_settings.cfg that now match to what is being used universally.

              ...Meaning when the Theme Config options are changed again, those system specific options from before are now lost. Making them permanent in es_settings would be a better solution, adding a "Reset Gamelist Customisations" to each system to clear them out. (Changing the theme resets everything as well, so that could be used too.)

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

                @CarissaIsWierd

                • I didn't say "a comma and a space" ;-) Try without space.Custom view names can have spaces so, spaces are tested too.
                • Not an issue to me. It acts just like it should : If the custom setting is the same that the global settings, it has to be set to "default" and then, removed from es_settings. If you don't remove them, changing a global setting will not change anymore views that have been customized at least one time : it's worse...
                CarissaIsWierdC 1 Reply Last reply Reply Quote 0
                • CarissaIsWierdC
                  CarissaIsWierd @f.caruso
                  last edited by

                  @f-caruso

                  If you don't remove them, changing a global setting will not change anymore views that have been customized at least one time.

                  That's the idea, locking those settings so they don't get changed. (Unless they're reset.) I can see how that'd be an issue, if one was to change a lot until they get things right, but that goes both ways. Having a way to "lock" a system subset option (with a button?) and a lock icon with it could work, but that could be making it too complicated. Oh well! I still appreciate all the time you've put into this fork. Looking at the commits on Github is like wizardry. My brain is too squishy for it ϵ( 'Θ' )϶

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

                    excuse the really n00by question, but if I want to update my existing Emulation Station build, am I okay to replace all of my existing Emulation Station files with the entire contents of the latest build from github? Or if I do that, will I lose all my custom settings? Thanks in advance!

                    1 Reply Last reply Reply Quote 0
                    • CarissaIsWierdC
                      CarissaIsWierd
                      last edited by

                      @f-caruso I started playing with my 3DS again and forgot all about the great background music so many themes have. So now I'm extracting a bunch of them and wondering if there's a way to make them loop in ES. I've found the code to add them, but they don't loop, and they also don't start up again when exiting a game. (I have to cycle to a different system or return to the carousel for it start playing again.)

                      Themes also have very short sound files for opening games. Is there ES code for similar functionality?

                      As for an idea, pointing <path> to a folder rather than a file could play a random file each time:

                      <sound name="bgsound">
                          <path>./assets/sound/bgm/</path>
                      </sound>
                      

                      @MiL0 Settings are stored at C:\Users\----\.emulationstation, so it's save to replace the files in Program Files.

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

                        @CarissaIsWierd it already exists for a while. Use the name "directory".

                        <sound name="directory">
                            <path>./assets/sound/bgm/</path>
                        </sound>
                        
                        1 Reply Last reply Reply Quote 0
                        • CarissaIsWierdC
                          CarissaIsWierd
                          last edited by CarissaIsWierd

                          @f-caruso I think "directory" doesn't work because 3DS bgm's extract as .wav files. I found this in AudioManager.cpp. Would adding .wav make them play?

                          if (extension == ".mp3" || extension == ".ogg")
                          

                          Nevermind entirely, .wav files are huge! I'll just convert them all to .mp3.

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

                            @f-caruso

                            Is posible add to your EmulationStation for Windows the posibilitie to close the emulator window with HOTKEY+START just like RetroArch and Attrack Mode do????

                            mituM f.carusoF 2 Replies Last reply Reply Quote 0
                            • mituM
                              mitu Global Moderator @maxiducoli
                              last edited by mitu

                              @maxiducoli That's something you configure in RetroArch, not in EmulationStation.

                              Even on RetroPie, that's part of RetroArch's joystick auto-configuration file. Just find your joypad auto-configuration file - should look like one of these if you download it from RetroArch's updater - and add 2 lines to it:

                              input_enable_hotkey_btn = "X"
                              input_exit_emulator_btn = "Y"
                              

                              where X is the key for your Hotkey button and Y is the one for the Start button.

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

                                @mitu
                                thats works fine with RetroArch, but not with others emulators.
                                Like PCSX2 or Cenu or Citra, etc, etc.

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

                                  @mitu

                                  Attrack Mode Launcher have an option for that.

                                  you can configure wath button or key use to close the system.

                                  Maybe @f-caruso can do somthing like that in EmulationStation for Windows (or linux or another SO)

                                  I try, but not know much about C++ and can´t make it.

                                  Sorry my poor english, but i speak spanish.

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

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

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

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

                                      Sorry my poor english. I speak spanish.

                                      f.carusoF 1 Reply Last reply Reply Quote 0
                                      • 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
                                            • 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.