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

    WebtroPie

    Scheduled Pinned Locked Moved Projects and Themes
    retropieweb interfacewebtropie
    157 Posts 27 Posters 62.5k 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.
    • darkniorD
      darknior @kixut
      last edited by

      @kixut I think he ask for it because the ES scrapper use them : https://github.com/retropie/retropie-setup/wiki/scraper

      -image_suffix suffix
      The suffix added after rom name when creating image files. (default "-image")
      -marquee_suffix suffix
      The suffix added after rom name when creating marquee files. (default "-marquee")
      -video_suffix suffix
      The suffix added after rom name when creating video files. (default "-video")

      And if you use default settings, UniversalXMLScrapper too because they put all the images in the same directory with the same name than the game Rom. Suffix is the only solution to not overwrite images...

      To add them you must add 3 new input to options ... leave them empty by default please.
      But i think it can be cool to add "placeholder" to these inputs to help user : https://www.w3schools.com/tags/att_input_placeholder.asp

      Directory Placeholder : /home/pi/.emulationstation/downloaded_images/${system_name}
      If i remember fine ... because i don't use it.

      Issue here

      Life is game, just play it !

      K 1 Reply Last reply Reply Quote 0
      • J
        jwcbronski
        last edited by

        @kixut Yes I'm using different suffixes for each media type.

        The suffix for images is "-image" and the suffix for videos is "-video".

        1 Reply Last reply Reply Quote 0
        • K
          kixut @darknior
          last edited by

          @darknior strange, I've often used placeholder before but didn't think to add it here ! (I use Material Design quite a bit which uses placeholder also as an animated label), I'll see how it looks but think if I add it here I should add it everywhere else too, so will have a look at that later

          @jwcbronski it's in the development version now, so please git pull if that's the way that you installed

          wiki

          1 Reply Last reply Reply Quote 0
          • J
            jwcbronski
            last edited by

            @kixut great, it's working. thanks!!!

            1 Reply Last reply Reply Quote 1
            • robotronmanR
              robotronman
              last edited by

              @kixut Awesome work! I can definitely see myself using this a lot.

              I have a major issue though: The Game editor screen refuses to popup. I've tried both the stable and development versions, multiple PCs, browsers etc. Is there something I'm missing? I also made sure popup blockers were disabled, and tried double left-clicking and also using the Enter key without luck.

              Thanks for any guidance :)

              K 1 Reply Last reply Reply Quote 0
              • K
                kixut @robotronman
                last edited by kixut

                @robotronman thanks, the only thing that comes to mind is that it is mistakingly treating you as a WAN user instead of LAN user, by default editing is blocked if you are not on 192.168 network.

                If there isn't an easy way for you to access it from a client on 192.168 network for some reason then you could try manually adding this line to ~/.webtropie/settings.cfg

                <bool name="WanEditMode" value="true"/>
                

                but note that, if your pi is visible to wan then others would have edit access too.

                Also, note that there are a few other settings not available to WAN users like starting and stopping ES, changing upload settings and setting the WanEditMode itself, but you should at least be able to use the Editor

                If it's not above then maybe F12 and see it there are any console.log errors ?

                robotronmanR 1 Reply Last reply Reply Quote 0
                • robotronmanR
                  robotronman @kixut
                  last edited by

                  @kixut That did it! All fixed.

                  Note not all folks have 192.168.x as an internal subnet in their houses. I actually use the internal network of 10.0.x.x. It might be a good idea to extend what is considered to be LAN to all private network subnets.

                  https://en.wikipedia.org/wiki/Private_network

                  Thanks again for the awesome tool and assistance. I'm super excited to see how your work progresses and WebtroPie evolves.

                  K 1 Reply Last reply Reply Quote 1
                  • K
                    kixut @robotronman
                    last edited by

                    @robotronman hi, I've changed the private network detection now to include class A and B private networks, so, you should also be able to Start/Stop ES, launch Game remotely and see the local options menus.

                    You can turn off WanEditMode now and still be able to Edit.

                    robotronmanR 1 Reply Last reply Reply Quote 1
                    • robotronmanR
                      robotronman @kixut
                      last edited by robotronman

                      @kixut thank you very much! The change worked perfectly. I reverted my WanEditMode to false, and everything works fine :)

                      Thanks again for the great tool.
                      Have a wonderful day.

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

                        A little demo of my RVGM skin working on a real PI to show you @kixut what we can do with your excellent Webtropie editor :)

                        All elements are different sprites ... it is really magic :)
                        I will make a video tutorial how to use Webtropie to do this when it will be finish and your editor too.
                        Thanks a lot

                        Life is game, just play it !

                        1 Reply Last reply Reply Quote 0
                        • FlightRiskF
                          FlightRisk
                          last edited by

                          How much space on the sdcard does this take up? Including Apache as it looks that must be installed. And I am not that familiar with linux yet, but running a webserver is a security risk, no? Can you enable it and enable it with a command?

                          ClydeC 1 Reply Last reply Reply Quote 0
                          • ClydeC
                            Clyde @FlightRisk
                            last edited by

                            @flightrisk said in WebtroPie:

                            How much space on the sdcard does this take up? Including Apache as it looks that must be installed. And I am not that familiar with linux yet, but running a webserver is a security risk, no?

                            Only if it's accessible from outside. Is your Retropie connected to unsafe networks, e.g. the internet? If so, is is accessible from that net? For example, if your Pi is part of your LAN and your LAN is connected to the internet, but through a router with a firewall that only allows outgoing connections and has no port forwarding to your Pi, the risk should be negligible. A potential attacker has to reach your Pi to attack it.

                            FlightRiskF 1 Reply Last reply Reply Quote 0
                            • J
                              jwcbronski
                              last edited by

                              I just updated to the latest development version and now it doesn't show any systems, only allgames, favourites and last played which are all empty. I also noticed that the suffix function for uploading media isn't there anymore.

                              1 Reply Last reply Reply Quote 0
                              • FlightRiskF
                                FlightRisk @Clyde
                                last edited by

                                @clyde You are right. Does the standard Retropie image come with Apache installed? And how many bytes does webtropie take up on my sdcard? It is really great looking software and a fantastic idea.

                                ClydeC 1 Reply Last reply Reply Quote 0
                                • J
                                  jwcbronski
                                  last edited by

                                  I cleared my browsercache. Now the suffix settings are back but I still got no systems/roms. I've got my roms on an external usb-drive. Is that the problem?

                                  1 Reply Last reply Reply Quote 0
                                  • ClydeC
                                    Clyde @FlightRisk
                                    last edited by

                                    @flightrisk said in WebtroPie:

                                    Does the standard Retropie image come with Apache installed?

                                    I don't know, but you can look if a package is installed by this command:

                                    dpkg -s apache2  # shows if the package "apache2" is installed.
                                    

                                    And how many bytes does webtropie take up on my sdcard?

                                    Alas, that I also don't know.

                                    FlightRiskF 1 Reply Last reply Reply Quote 0
                                    • K
                                      kixut
                                      last edited by kixut

                                      Hi, Webtropie itself is about 1 or 2 Mb when installed, the zipped release is 172 Kb.

                                      If you git clone the development version it will be approx 11 Mb which is mostly the source code repo in the .git directory.

                                      I'm not sure how comprehensive below is but these are the rough sizes of apache php directories on my pi

                                      du -sh /usr/lib/apache2 /usr/share/apache2 /usr/share/php5 /usr/sbin/apache*
                                      11M /usr/lib/apache2
                                      1.7M /usr/share/apache2
                                      276K /usr/share/php5
                                      500K /usr/sbin/apache2
                                      8.0K /usr/sbin/apache2ctl
                                      0 /usr/sbin/apachectl

                                      maybe there are other doc, man pages etc that I've missed but all in all it's tiny compared to roms and themes and maybe even smaller than some single theme or game images. Putting it into perspective the release image size is smaller than the tiny fav icon on this website.

                                      I'm sorry if I have broken the dev version and have not been very attentive to the project lately I will have a look at this, in the meantime the release version is available and working.

                                      Edit: correction the 3 fav icons here are 55Kb in total :)

                                      FlightRiskF 1 Reply Last reply Reply Quote 1
                                      • FlightRiskF
                                        FlightRisk @Clyde
                                        last edited by

                                        @clyde I don't think the standard RetroPie images come with apache since that is what I downloaded and the dpkg command came up empty

                                        1 Reply Last reply Reply Quote 0
                                        • FlightRiskF
                                          FlightRisk @kixut
                                          last edited by FlightRisk

                                          @kixut Thank you for the amazing work on this. Could there be an easier way to install and update the stable release? The development release is 3 easy to type commands. To get the stable release, you pretty much have to copy and past the text since it is a lot to type and uses grep type code. One missing space and it won't work.

                                          And lastly, do I need a static IP? I figure I can find the IP assigned by DHCP each time it changes, or just use http://retropie.local/app. Not sure what makes the most sense. The last method seems to work fine.

                                          K 1 Reply Last reply Reply Quote 0
                                          • K
                                            kixut @FlightRisk
                                            last edited by kixut

                                            @flightrisk thanks very much

                                            I guess below is about as small as it can be but requires you to know what the latest release version is, I haven't tested it but I think it should work

                                            wget -nc https://github.com/gazpan/WebtroPie/archive/0.9.1.tar.gz | tar xvz
                                            cd WebtroPie-0.9.1
                                            sudo ./INSTALL.sh
                                            

                                            @jwcbronski by the way, I have posted changes regarding the carousel but am unsure if it has resolved the issue above as I have not been able to reproduce the error or confirm the fix yet.

                                            Edit. I agree though, I think I'll update the wiki https://github.com/gazpan/WebtroPie/wiki/Installation-and-Files-altered#install as above

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