WebtroPie
-
Ok cool, i will stand you read me :)
I think a priority must be for me to make that area more robust, it needs the es_systems config for the correct paths, rom extensions and system theme so it's important that it is loaded.
You are right because i have 2 problems after that. My 3DO and PCEngine CD are not loaded. 0 games.
And when i search in the XML i found two "&" in description. I replace them and it's rock again. Now i know, but some other can not understand why that don't load.If scanning is switched on it will search for roms that aren't in the game list file, also the logging console mod that I made can be switched on in the settings.cfg (it's not in the app menu).
I have try without success this option. When i enter AMIGA i have 10 roms and it show me only 3 title. And on the 3 titles 2 roms are removed and it not hide them.
<bool name="ScanAtStartup" value="true"/>
It works perfectly for LOG, i love this option <3 I will remove my duplicate entry lol
<bool name="LogSystemTotals" value="true"/>
Edit: Regarding test system not in es_systems file
I don't have test system not in the es_system file, You not understand me but what where, i don't know what about you speak ? Maybe you speak about my SCAN option with a game TAG. It is es_system directories, i speak to scan real rom file to show or hide them from gamelist.xml . Like this the count will be same than on ES, and we can work on new games to add them to our gamelist.xml
I know I have a problem with z-index
Ok it's what's i understand to, ES read a CFG and show the element, the last element read is on the top.
I think with time more skinner will use z-index, i wish, because it is a problem and can make some bugs in ES too.I stand you answer le last questions about Editing inferfase lol
-
- I will change the editor so that you can drag and drop to the image to upload a new image
- The upload tries to write the image to either 'images', 'marquees' or 'videos' directory within the rom directory and should put the uploaded path in the relevant editor field.
I think it's failing if the directory doesn't exist, so it should try to create it which I will fix.
I know you would prefer it write to your external medias directory but it won't know to put it in for example ~/medias/snes/box art front directory... maybe I could add a setting similar to variables
<string name="uploadImageDirectory" value="~/medias/${system_name}/box art front"/>
- I will test / fix saving issues
- When you make a change it doesn't save immediately, you can undo, when you click save it should save
-
The upload tries to write the image to either 'images', 'marquees' or 'videos' directory within the rom directory and should put the uploaded path in the relevant editor field. I think it's failing if the directory doesn't exist, so it should try to create it which I will fix.
Yes i think same, i don't have these directories. I can make the trick.
I know you would prefer it write to your external medias directory but it won't know to put it in for example ~/medias/snes/box art front directory... maybe I could add a setting similar to variables
<string name="uploadImageDirectory" value="~/medias/${system_name}/box art front"/>If you can do it, first time only in the settings.cfg to try, it will be perfect :)
When you make a change it doesn't save immediately, you can undo, when you click save it should save
Yes i have make the change, change game, come back to it, and i can see my change, but when i refresh the page my change disappear. Only saved in cache i think and not on the PI.
-
@darknior thanks, I hope to have a look at some of these changes over the weekend, I've fixed the little saving bug, sorry about that
Edit: I've also improved z-index calculation -
Your Webtropie in action :)
Really so excellent, i stand for the 3 edition bugs update to try it more.
- Description saving.
- Images saving and upload.
- Possibility to scan a system and show news games to add gamelist.xml
-
@darknior nice video although I will have a look at hiding that scrollbar, I think it only happens on Windows, was that with Chrome or IE ?, I have a few more uncommited changes to do with the NES MINI theme to get the carousel feature working properly with it and to better position its fonts. I think it's turned into a bit of an acid test for WebtroPie :)
-
@kixut said in WebtroPie WIP:
@darknior nice video although I will have a look at hiding that scrollbar, I think it only happens on Windows, was that with Chrome or IE ?, I have a few more uncommited changes to do with the NES MINI theme to get the carousel feature working properly with it and to better position its fonts. I think it's turned into a bit of an acid test for WebtroPie :)
- Yes it's on Windows with Chrome, and i forgot to telle you to hide the scrollbar. On PI there isn't :p
- If you can make NES mini working fine on Webtropie it will be excellent. Bugs are little different with SNES Mini. PSX Mini is almost working fine, it has the best code, but it is less interesting for your code challenge lol
For my part i stand more for editing features, because it is the real purpose of this application.
I have many stuff to manage, it will do a great test for your Webtropie ... and on 4, 5 different computers. -
News updates yesterday ...
WOAW, NES and SNES Mini are really working better now :) -
Hi, any news about your project please ? :)
Can you first correct the description saving?
I know you don't have so many free time, but if you can, it will save me many time on game editing for many gameslist.xml i must work on :p
I understand it will be take more time to fix image upload :( -
@kixut THIS IS AWESOME
-
@darknior hi, I will get on that problem next, sorry I've been quiet this last week and I only saw the github issues a few days ago.
I've a few commits that I haven't pushed yet (carousel vertical-wheel for SpaceOddity theme, a speedup, ... I can't remember what else) so I will push them with the github fixes. It was a good idea to move the issues to github I think and was about to suggest it.
@madmodder123 thanks :)
-
@kixut said in WebtroPie WIP:
a speedup
What do you speed up ?
The big thing slower than on PI, is the HOME MENU, it take more time to jump from a system to an other one. -
@darknior if some system lists have several thousand games or so it can take a few seconds to parse, check sizes, paths, media etc and encode the result, so I added a few lines of php code to store the result and if the cache is newer than the gamelists to just send back the cached result from last time to the client instead, it will probably still take a second as it is still a large file to transfer over the network but worth it I think, I've made it an option so it can be compared on or off but I've a feeling it will always be more efficient on.
I've just got in so haven't looked yet but was thinking about the saving problem, I have a little code which prevents updates from clients not on the 192.168 network, I put it there so that if someone served their site to the outside world they wouldn't want to give write access to the world, .... are you editing from 192.168.?.? on your local network ?
-
@kixut said in WebtroPie WIP:
cache is newer than the gamelists to just send back the cached result from last time
Excellent idea :)
To be fastest you can also use the BROWSER CACHE :)
I use it some time a go and it is instant :)are you editing from 192.168.?.? on your local network
Yes i'm am, not problem with that. And all other informations saving fine, only description is not saved :(
updates from clients not on the 192.168 network,
Why not, it can be cool to work with friends too, can we remove this option in settings too ?
-
@darknior see my reply on GitHub. Yes, I will add that as an option, good idea. ta
Edit: The problem with browser cache is that I want it to expire when the gamelist changes, I could give the php script an expiry date but if the gamelist changes before then the user would see old data. Having said that, it gives me an idea, initially I load the configuration file from the server, I could include in this the file dates of the gamelists this gets sent to the client, then, if I request each game list with that as a parameter then it should cache correctly client side without the need to cache server side. I'll have a go for next time.
-
- It's ok for Description saving.
- I know why the home menu is slow, i think it's because you stand to COUNT GAMES, and show GAME COUNT with an translation ANIMATION, before moving to the next system. And it take time ... Maybe is it possible to stand a little to start the animation to let us fastest move to the next system?
-
@darknior just to let you know... after installing and initializing the apache web server it goes to the success page when you load http://retropienamehere so in var/www/html you need to wipe the index.html and add this:
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=./http://127.0.0.1/app/">
<script type="text/javascript">
window.location.href = "./app"
</script>
<title>Page Redirection</title>
</head>
<body>
If you are not redirected automatically, <a href='./app'>click here</a>.
</body>
</html>this will automatically redirect you to the symbolic link of "/home/pi/WebtroPie/app"
you may want to have a script auto generate this...
Thanks for a great add-on!
-
@linuxarcadeguy hey thanks good idea, I have added a REDIRECT_WEBROOT.sh script to install your file.
I'm planning to spend a little time setting up the wiki so I will include an explanation of this there.
-
Yes thanks it works fine for me too :)
-
also.... launch isnt working for me... not that its real handy, just wanted to see it work... :)
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.