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

    NEW RetroPie Web Console

    Scheduled Pinned Locked Moved Ideas and Development
    web interfaceretropiesetupnodejs
    58 Posts 9 Posters 11.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.
    • MileSaculM
      MileSacul
      last edited by

      So I updated the application to Beta level. I added a new monitor page where you can monitor live statistics including:

      • CPU Utilization (Overall and for each core)
      • Memory (RAM)
      • CPU and GPU Temperatures
      • File System memory
      • Application stats including kill commands
      • Bluetooth devices

      I also added execution results to basic and manage pages where you can view the full results.

      Finally, I added queue history search page, since basic and manage only show executions over the last 24 hours.

      Lucas Showerman
      The true sign of intelligence is not knowledge, but imagination. -Albert Einstein

      1 Reply Last reply Reply Quote 2
      • MileSaculM
        MileSacul
        last edited by

        I am working on the Games/Roms section and found out about gamelist.xml

        When pulling games, I could utilize this XML file for looking up the game info, but found some issues regarding conflicting scrapers.

        Now on page load, I check the roms directory for all of the emulator names (psx,snes,etc), so you don't have to pull the full list of all your games. I also added parsing of the gamelist.xml at page load to help with filtering the emulators, like by played game count.

        When I first found gamelist.xml, it included playcount and lastplayed data like:

        <game>
            <path>{path}</path>
            <name>{name}</name>
            <playcount>{playCount}</playcount>
            <lastplayed>{date: YYYYMMDDThhmmss}</lastplayed>
        </game>
        

        I tried loading a game, save stating, and exiting to see if the playcount or lastplayed had been updated, but it wasn't.

        I later found that the XML file was generated by a scraper, so I tried emulationstations' scraper.

        I noticed the emulation station scraper completely wiped that data out and replaced it with this:

        <game>
            <path>{path}</path>
            <name>{name}</name>
            <desc>{desc}</desc>
            <image>{game photo}</image>
            <rating>{rating}</rating>
            <releasedate>{date: YYYYMMDDThhmmss}</releasedate>
            <developer>{developer}</developer>
            <publisher>{publisher}</publisher>
            <genre>{genre}</genre>
        </game>
        

        How/when is playCount and lastPlayed generated?

        Lucas Showerman
        The true sign of intelligence is not knowledge, but imagination. -Albert Einstein

        1 Reply Last reply Reply Quote 0
        • darkniorD
          darknior
          last edited by darknior

          Hi
          Today i finally try your work :)
          Some test and debug already help ;)
          It's really a great web interface ... i like the real time Monitor page with node.js :)

          To answer your question, i know when we play a game it stock the information in memory.
          And ES only update the XML when we leave it, ONLY IF we have check Other Options/Save Metadata on Exit

          • CPU Utilisation is cool and real time, can we also have an (session) history please ? From the time we open the web page, with the last 20 or more mesures?
            When we compile source code with -j3 for exemple, or use so heavy emulator, it can be cool to have a graphic with CPU use and temperatures, maybe in two colors, to see how the pi work. Like this exemple with 4 bars for PROC and one line for TEMP.

          alt text

          • Bluetooh devices working fine, i can see them but only the Address. Name, Company, Manufacturer are empty.
            I have try with my 3 different 8bitDo controlers. I see their name in Retropie-Setup or in Retroarch.

          • Kill Command only show me 3 applications. I can't see Retroach for exemple, or OMXPlayer if they crash and i want to kill them. Have you hard coded the list of software we can see ?
            Maybe it can be cool to make a black or white list that we can edit from your console, like that we can choose ourselves.
            I think black list is a better choice, and you can give us yours. To be sure to hide systems soft, and see that we use, or new one we don't know.
            Kill command is working fine.

          • Games/Roms section is hide for the moment.
            -- What can we do in this section ?
            -- Can you use the es_system file to list systems, because we use it to add custom systems like PCEngine CD, OpenBOR, CPS, etc...
            -- If you show MEDIA and let us change them like update a cover, try tu use the path we already write in our gamelist.xml
            Or give us an input to set : string name="uploadImageDirectory" value="~/medias/${system_name}/box art front"
            For Box front, Logo, Video.

          Life is game, just play it !

          1 Reply Last reply Reply Quote 0
          • darkniorD
            darknior
            last edited by

            • Maybe a bug, now i see the current MP4 playing in Task List ... :)

            • Upload/Download ROMS, saves, and states : Very interesting you think to saves and states.
              Don't forgot we can also change the PATH in RETROACH config.
              I hate to have my savestates mixed with roms, it's a pain to find them, i have change the path to have them in an other directory. It's really better to use. For exemple i use : ~/medias/${system_name}/savestate
              I save them on my USB hard drive with ROM and MEDIA ;)

            • Manage Packages : Really excellent feature :)
              Better if we can also view the Retropie-Extra packages too ;)

            • Update RetroPie-Setup Script : Can you also add the Retropie-Extra Script please ?

            Life is game, just play it !

            1 Reply Last reply Reply Quote 0
            • MileSaculM
              MileSacul
              last edited by

              @darknior Thanks for trying it out and sorry for the slow response. While all of the features you requested are great, I would recommend you add open issues to the project so I can keep better track of them. :P

              Regarding each item:
              CPU Utilisation: I actually have plan to add that, just have to figure it out.
              Bluetooth: Currently, I am using hcitool to get Bluetooth devices. Maybe there is a better tool.
              Kill Command: I had to do a custom hook to filter and cleanup the names for everything. Typically, you have 100+ items running. Will look into a better method and options for the users.
              Games/Roms: Still working on that one. Finally figured up file uploads for Roms. Working on Cheats next and then will release.
              es_system: Haven't heard of that yet. Will look into it. Got a lead where I can find it?
              MP4: A screenshot would be great too see what is up with that. I only display things with Retro in the name.
              Retropie-Extra: That looks great. Going to add before the next update.

              Lucas Showerman
              The true sign of intelligence is not knowledge, but imagination. -Albert Einstein

              darkniorD 1 Reply Last reply Reply Quote 0
              • darkniorD
                darknior @MileSacul
                last edited by

                @milesacul said in NEW RetroPie Web Console:

                Thanks for trying it out and sorry for the slow response. While all of the features you requested are great, I would recommend you add open issues to the project so I can keep better track of them. :P

                Ok has you wish ;)

                Games/Roms: Working on Cheats next and then will release.

                I'm curious lol but what do you want to do with cheat ?
                Only cheat we have are RETROARCH cheat, for some systems ...

                es_system: Haven't heard of that yet. Will look into it. Got a lead where I can find it?

                /opt/retropie/configs/all/emulationstation

                If it can help you, my ES file for custom system list and my XML gems list to see path media.

                http://www.mediafire.com/file/p9kvgpqdq92vnys/es_systems.cfg
                http://www.mediafire.com/file/hzmd20bmh82lmc8/es_gamelists.tgz

                Life is game, just play it !

                darkniorD 1 Reply Last reply Reply Quote 0
                • MileSaculM
                  MileSacul
                  last edited by

                  I will be adding the ability to not only upload cheat files, but also allow you to modify and/or merge those files. I also found cheats in libretro-database that I will allow you to download cheat files from.

                  The main reason I wanted to add cheat functionality is for Earthbound. I got tired of fighting enemies to get the really rare drops for the nth time. Anytime I find a reason to use vi to edit something I add it as a potential enhancement to the web console.

                  Lucas Showerman
                  The true sign of intelligence is not knowledge, but imagination. -Albert Einstein

                  darkniorD 1 Reply Last reply Reply Quote 0
                  • darkniorD
                    darknior @MileSacul
                    last edited by

                    @milesacul said in NEW RetroPie Web Console:

                    I will be adding the ability to not only upload cheat files, but also allow you to modify and/or merge those files. I also found cheats in libretro-database that I will allow you to download cheat files from.

                    The main reason I wanted to add cheat functionality is for Earthbound. I got tired of fighting enemies to get the really rare drops for the nth time. Anytime I find a reason to use vi to edit something I add it as a potential enhancement to the web console.

                    Ok cool, it's why i ask it to you :)
                    I like CHEAT code too, and there are no many cheat in RETROARCH :(

                    I have some more from EmuXtra wa cen maybe import to RETROARCH.
                    And if one day we have an easy way to manually add some more from internet it can be cool :)
                    Some site have ACTION REPLAY code we can copy paste on a web console.

                    Here are my cheat code if you want to try them : http://www.mediafire.com/file/kbev46gcegociqr/Cheats_xbox_pour_Darknior.rar

                    • Atari 78000- NEW system

                    • Mattel Colecovision - NEW system

                    • NEC Turbografx - NEW system

                    • Nintendo NES - For update

                    • Nintendo SNES - For update

                    • Sega MAster System - For update

                    • Sega Megadrive - For update

                    • Sony PSX - For update

                    And the cool feature, for each of them we made RUMBLE code too :)
                    But for the moment this feature is not implement to RETROARCH :(
                    So bad because is is really cool to have it on system never have it before ;)

                    Life is game, just play it !

                    1 Reply Last reply Reply Quote 0
                    • MileSaculM
                      MileSacul
                      last edited by MileSacul

                      Here are my cheat code if you want to try them

                      Interesting that you are using .inf files. Is that what you mean by RUMBLE code? The only file type I found that it supports so far are .cht files using this format:

                      cheat0_desc =
                      cheat0_code =
                      cheat0_enable =

                      I guess I will have to add another parser for reading inf files.

                      If it can help you, my ES file for custom system list and my XML gems list to see path media.

                      es_systems.cfg is awesome. I was trying to find something that specifies the file types so I am not blindly searching through folders for games. Just to double check, I found it at /etc/emulationstation, but is there an alternative directory for that?

                      As for your es_gamelist.tgz, it is also useful to see what options are available.

                      Bluetooh devices working fine, i can see them but only the Address. Name, Company, Manufacturer are empty.

                      I found the es_input.cfg file containing the controller UUID. Problem is finding how to tie that into the bluetooth connection details. The good news is, I might be able to support usb connected devices once I figure that out too.

                      Very interesting you think to saves and states. Don't forgot we can also change the PATH in RETROACH config.

                      Do you know where those settings are saved to? I will add it to my scripts.

                      Lucas Showerman
                      The true sign of intelligence is not knowledge, but imagination. -Albert Einstein

                      darkniorD 1 Reply Last reply Reply Quote 0
                      • darkniorD
                        darknior @MileSacul
                        last edited by

                        Interesting that you are using .inf files.

                        Yes, the emulators on Xbox are using them. And it is not compaatible with RETROARCH :(
                        But if you can convert them, nobody never do it before, there are no more RA code over the net or i don't found them :(

                        Is that what you mean by RUMBLE code? The only file type I found that it supports so far are .cht files using this format:

                        They made them like CHEAT CODE, with a memory adress to survey.
                        And when it change, the emulator not lock it to give you infinite life, but launch an event.
                        And this event is to make the controller RUMBLE with different strong !
                        It is really excellent and a really cool idea :D
                        I have a friend that add this feature today to Zelda Solaris for future release, so strange nobody never do it on RA.

                        /opt/retropie/configs/all/emulationstation/es.systems.cfg is the only PATH for me.

                        I found the es_input.cfg file containing the controller UUID.

                        Excellent :D I have forgot there is the UUID there.

                        Do you know where those settings are saved to? I will add it to my scripts.

                        /opt/retropie/configs/all/retroarch.cfg : Default settings and PATH
                        /opt/retropie/configs/ $SYSTEM$ /retroarch.cfg : Can be modify here, i change PATH by SYSTEM here.

                        # Savefile / Savestate directory
                        savefile_directory = "/home/pi/RetroPie/medias/3do/savefile"
                        savestate_directory = "/home/pi/RetroPie/medias/3do/savestate"
                        screenshot_directory = "/home/pi/RetroPie/medias/3do/screenshots"
                        

                        It can also have file there : /opt/retropie/configs/all/retroarch/config/ $CORE$ /

                        But it's not for change PATH ... i don't use them.
                        And it will be hard for you to verify them because it is not a SYSTEM name you can found on the es_system file but the CORE name.

                        Life is game, just play it !

                        1 Reply Last reply Reply Quote 0
                        • MileSaculM
                          MileSacul
                          last edited by

                          I posted an update to the RetroPie Web Console.
                          If you already have the RetroPie Web Console, you can execute the self-update through the updates page.
                          Also, I have added RetroPie-Extra to the update for RetroPie-Setup.

                          FYI, the monitor page is now unfiltered until I can figure out a good filtering setup, so my apologies if the list is massive.

                          Regarding Games section, I am working on better support for file types and alternative configurations, but it is not in yet. Cheats upload is not functional yet. Also, deeply nested folders are not supported yet. Once I figure out file types configurations, that will be resolved.

                          Lucas Showerman
                          The true sign of intelligence is not knowledge, but imagination. -Albert Einstein

                          darkniorD 1 Reply Last reply Reply Quote 0
                          • darkniorD
                            darknior @MileSacul
                            last edited by

                            I posted an update to the RetroPie Web Console.
                            If you already have the RetroPie Web Console, you can execute the self-update through the updates page.

                            I think it works but i'm not sure ...
                            I have also made an git pull and ./updates.sh

                            Also, I have added RetroPie-Extra to the update for RetroPie-Setup.

                            I don't see it. you have merge it with Retropie-Setup ?

                            FYI, the monitor page is now unfiltered until I can figure out a good filtering setup, so my apologies if the list is massive.

                            I can't see nothing. Before it not works fine all the time, but now i haven't any stats.

                            Regarding Games section, I am working on better support for file types and alternative configurations, but it is not in yet. Cheats upload is not functional yet. Also, deeply nested folders are not supported yet. Once I figure out file types configurations, that will be resolved.

                            I will stand you finish this page before testing it.
                            For the moment it's empty.

                            Life is game, just play it !

                            1 Reply Last reply Reply Quote 0
                            • MileSaculM
                              MileSacul
                              last edited by

                              @darknior Any chance you can clear your browser cache. ctrl+shift+delete (Only cached files and cookies)

                              As for pulling updates for Retropie-Extra, I found there is a lag when dealing with the conversion from shell files to the database to the browser. I will look into that.

                              Lucas Showerman
                              The true sign of intelligence is not knowledge, but imagination. -Albert Einstein

                              darkniorD 1 Reply Last reply Reply Quote 0
                              • darkniorD
                                darknior @MileSacul
                                last edited by

                                @milesacul said in NEW RetroPie Web Console:

                                Any chance you can clear your browser cache. ctrl+shift+delete (Only cached files and cookies)

                                The monitor works with the console opened. Because like you write it clean the cache.

                                Life is game, just play it !

                                1 Reply Last reply Reply Quote 0
                                • MileSaculM
                                  MileSacul
                                  last edited by

                                  I think the games section is almost ready, but I need some opinions on if I should include a feature or not.

                                  Currently, no games are displayed on the page until you select your emulators and then press the search button. For me, a full search takes about 22 seconds to load all 298 games. Should I auto-load from the start or enforce that they select their emulators?

                                  Lucas Showerman
                                  The true sign of intelligence is not knowledge, but imagination. -Albert Einstein

                                  darkniorD 1 Reply Last reply Reply Quote 0
                                  • darkniorD
                                    darknior @MileSacul
                                    last edited by

                                    @milesacul said in NEW RetroPie Web Console:

                                    Should I auto-load from the start or enforce that they select their emulators?

                                    I think it's better to stand we choose a system before show the gamelist.

                                    Life is game, just play it !

                                    1 Reply Last reply Reply Quote 0
                                    • MileSaculM
                                      MileSacul
                                      last edited by

                                      Finally got the game section mostly working. The cheats section cannot update cheats yet, but at least you can view them and see if there are any issues pulling them.

                                      FYI, you can also update your game metadata including uploading the image.

                                      Lucas Showerman
                                      The true sign of intelligence is not knowledge, but imagination. -Albert Einstein

                                      darkniorD 2 Replies Last reply Reply Quote 0
                                      • N
                                        nevsan
                                        last edited by

                                        Not sure if this is the place for this question or not, but would you be able to program a section in this to apply and change graphical overlays and filters that the wonderful peeps on this forum have made.

                                        I ask this as I still haven't got to grips with adding them. Like

                                        ,
                                        and the amazing work done by John Merritt for the mame sets.

                                        I not sure if functionality could be added to this or their could be a separate program to add to Emulation Station but I would love if this came to fruition.

                                        MileSaculM 1 Reply Last reply Reply Quote 0
                                        • darkniorD
                                          darknior @MileSacul
                                          last edited by

                                          @milesacul said in NEW RetroPie Web Console:

                                          Finally got the game section mostly working. The cheats section cannot update cheats yet, but at least you can view them and see if there are any issues pulling them.

                                          FYI, you can also update your game metadata including uploading the image.

                                          I can't try it, i don't know why. I have use the updater.sh with no problem but the web service is down i think.
                                          I have nothing on port 3000. Manager on port 8000 and Webtropie are working fine.
                                          How can i reload your Web Console ?
                                          Thanks

                                          Life is game, just play it !

                                          1 Reply Last reply Reply Quote 0
                                          • MileSaculM
                                            MileSacul
                                            last edited by

                                            @darknior Maybe send me your updater.sh file.
                                            I did add some node modules, so you may have to add "npm install" to it.

                                            Lucas Showerman
                                            The true sign of intelligence is not knowledge, but imagination. -Albert Einstein

                                            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.