WebtroPie
-
@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.
-
@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.
-
@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. -
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 -
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?
-
@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.
-
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.
-
@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.
-
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?
-
@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.
-
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/apachectlmaybe 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 :)
-
@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
-
@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.
-
@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
-
@kixut The update didn't solve my problem. I noticed that all games are marked as "new:" when I use the "SCAN NEW GAMES AT START SETTING". So it looks like the roms are found but the gamelists are not read.
-
@jwcbronski , sorry, can you try again please?
thanks -
@kixut Now it's working again. Thanks.
-
@kixut I still got an issue: roms are only found when there is just the filename in the gamelists <path> tag. When there is a full path like "/home/pi/RetroPie/roms/c64/" the rom is not found and show as NEW:
-
Note: For stretch users, since PHP 5 is obsolete on stretch I've changed the INSTALL.sh to use PHP 7, ... this should be working now.
-
@kixut When I try to install WebtroPie on stretch under apache I get the following errors:
cp: cannot stat '/var/www/html/index.html': No such file or directory
cp: cannot create regular file '/var/www/html/index.html': No such file or directoryLooks like the apache server is not installed.
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.