WebtroPie
-
@kixut Thanks a lot. Now it works.
Another question: Is it possible to automatically add an -image or -video suffix to the filenames when uploading media in WebtroPie? -
Since i'm planning on reinstalling my Pi (again) when i get a bigger USB stick, i just installed a bunch of extras to try out.
And i also took a look at this, even though I probably have not that much use for it.
There are some things I would like to see.- Have an Option to run the STANDALONE.sh from the RetroPie Menu within ES
- If that option was available, it should probably kill ES beforehand to avoid conflicts
- If ES was killed in that process, it should be possible to either restart ES or reboot the system from WebtroPie
-
@jwcbronski at the moment no but this would be simple to add, there's two options I think
- add a field in the upload config menu for 'suffix' which is appended to the upload filename
- have an upload format mask which could contain: prefix, suffix, and variables $(romName} or ${imageFilename}
- which has the advantage of giving the choice of whether to use the rom name as default or to keep the original filename and to have optional suffix and/or prefix
- but the disadvantage that it's more complicated and wouldn't make sense without the user reads about it.
I think maybe just a suffix field, what do you think ?
@EctoOne thanks for trying it out, yes, it probably needs a few more useful features all to come in time :).
- I was planning on looking at how to make this an installable ES package near to a version release so I'll look at how to do you request above about then
--
I'm sure I could write a dirty script to change the menu but I vaguely remember seeing a config file that is used to generate the menu so that when retropie is updated the menu change wouldn't get overwritten - but maybe this was for systems, I will research
-- - yes, for either way of running it I'm planning on adding the usual warning "ES is running - your changes may be overwritten" popup on first page load of the app and an optional "stop ES" button
--
The non stand alone (apache) install could be used by users who may need to stop ES or may just be looking and not editing and may wish to keep ES running while browsing.
--
But yes, if you choose to run standalone then then killing ES would avoid the issue but given that I have to add the above warnings anyway I'm wondering if it would always be the case that running standalone would always mean that the user wants ES to be stopped ? - yes, perhaps a current status + start / stop ES option in a new menu somewhere too.
Note: If you run standalone and have recently updated please re-run the install, (it needs a new index file to include a couple of new js scripts)
-
@kixut I always use the romname plus the suffix. So the easy suffix solution would work for me.
-
@jwcbronski said in WebtroPie WIP:
have an upload format mask which could contain: prefix, suffix, and variables $(romName} or ${imageFilename}
which has the advantage of giving the choice of whether to use the rom name as default or to keep the original filename and to have optional suffix and/or prefix
but the disadvantage that it's more complicated and wouldn't make sense without the user reads about it.It is the best way for me because i don't use prefix / suffix, using different directories is really better to work.
So many games and media you have ... better directory is !
But if we want to have a flexible use of this feature, maybe for some ES future update and feature ... i prefer this one.I was planning on looking at how to make this an installable ES package
I think the best way to install your Webtropie is to use Retropie-Setup. And it let also update ressource.
Or you can begin with the Retropie-Extra where i add some games myself ;)planning on adding the usual warning "ES is running - your changes may be overwritten"
It is the best way for me because many time i only browse the MEDIA and change nothing, it's juste because it is easier and faster to do it on my computer.
If i make some change, i uncheck save on exit ES option and restart it.
WARNING message is fine. Adding a restart button for ES without saving gamelist.xml from computer will help too :)
But killing ES is not a good solution for me :(yes, perhaps a current status + start / stop ES option in a new menu somewhere too.
Yes that's it, adding a new ES-MENU on the BOTTOM-HELP-MENU to RESTART / STOP / LAUNCH (without saving change).
-
Today RELEASE of the first stable version of Webtropie v0.9 :D
Le grand départ : https://github.com/gazpan/WebtroPie/releases/tag/0.9.0
Include all basic core functionality ... you can now use it perfectly.
The v1.0 will come with some more little updates.
And later other versions will come with major update like adding a Scraper.
For all questions the WIKI is now very helpful : https://github.com/gazpan/WebtroPie/wikiHow to install and add it to Retropie : https://github.com/gazpan/WebtroPie/wiki/Installation-and-Files-altered
The auto-install with Retropie-setup or Retropie-Extra will come with version 1.0WHAT IS IT ?
- Auto detect if ES is running on your PI, and his configuration to close it if it can erase your work.
- Auto detect all your systems
- List your games
- Edit all your games metadata
- Upload Media (Image, Marquee, Video) with file explorer or Drag'n drop. You must configure your 3 path.
- Auto resize your uploaded images (you can configure the two size)
- Possible to Zoom the 3 MEDIA (to verify quality)
- Scan your new games ROM (NEW:)
- Show games in gamelist but without ROM (MISSING)
- Scan if you have MEDIA with same ROM name to link them
- Permit to delete games on gamelist and (or not) the ROM on hard drive
- Permit to try your Skins faster than on PI, and help to make one by seeing what you do near real time.
- Permit to filter games by METADATA and file MODIFIED date.
- Permit to a friend to (restricted) access your Webtropie from web and help you to complete games informations.
- And more ...
- And many more in a few time ;)
SEARCH FOR :
I have translate all Webtropie in French and it is really excellent to use for me and my friends.
We search guys to translate it to Spanish, Deutsche, Italian, Portuguese, and other langage you know :)
I'm here to explain you how to do it, only one XML file to edit, and to explain you if you don't know how works an option. Important to translate it fine. -
V0.9.1 https://github.com/gazpan/WebtroPie/releases/tag/0.9.1
- New game save description fix
- Delete game without deleting rom fix
-
Thanks for the update. Do you still plan to include a suffix function for media upload?
-
@jwcbronski yes,
I remembered to have a look at that just before the release but then when I thought about it I wasn't clear if you needed different suffixes for each type of media or just one for all
I meant to ask, sorry about that
-
@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.aspDirectory Placeholder : /home/pi/.emulationstation/downloaded_images/${system_name}
If i remember fine ... because i don't use it.Issue here
-
@kixut Yes I'm using different suffixes for each media type.
The suffix for images is "-image" and the suffix for videos is "-video".
-
@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
-
@kixut great, it's working. thanks!!!
-
@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 :)
-
@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 ?
-
@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?
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.