RetroPie-Manager web app (Recalbox-Manager fork/mod)
-
@Botolo Did you try to use symbolic links? I think this would be the naive solution! And won't require all that effort to mess with emulationstation config files.
-
@meleu if I add symlinks in the roms folder python can read the links but still crashes with the original folder because they are still in the same path.
I thought to set an alternative roms path in the config and point to a folder that contains simlinks for every emulator but it sounds creazy.
On monday I'll try something on my raspberry and if I'll get somewhere I'll commit in the dev repository. I'd be happy for any help, so let me know if you'd like access on github :)
-
@Botolo what about rename and then symlink to fit the retropie style name? I think it won't crash none of retropie's routine (for example,
genesis
is a symlynk tomegadrive
), and will avoid those crazy emulationstation manual configuration. -
@meleu said in Recalbox Manager port:
@Botolo what about rename and then symlink to fit the retropie style name? I think it won't crash none of retropie's routine (for example,
genesis
is a symlynk tomegadrive
), and will avoid those crazy emulationstation manual configuration.That I didn't try, but I guess nothing would change. I'll try anyway just in case python doesn't bother that much about symlinks :)
I'm sure there is a smart move to do, but I'm not a Coder and I could be missing something stupid.
As it is now it's just a temporary workaround
-
I didn't even test the RetroPie-Manager. I tried to install it on my x86 RetroPie (my ubuntu laptop), and failed. The problem is the absence of that virtualenv package on ubuntu repositories.
Since RetroPie is instalable on other platforms, I think you should warn the users that the RetroPie-Manager is for Raspberry Pi (at least, for now).
I'll try to test it on my raspi when possible.
(...) let me know if you'd like access on github
Yes. I'm not promising an active development, but I think I can, at least, improve/simplify the instructions at README.
Did you see I made a Pull Request correcting the installation instruction? There is an unecessary
dev
string on thegit clone
command. -
@meleu said in Recalbox Manager port:
I didn't even test the RetroPie-Manager. I tried to install it on my x86 RetroPie (my ubuntu laptop), and failed. The problem is the absence of that virtualenv package on ubuntu repositories.
Since RetroPie is instalable on other platforms, I think you should warn the users that the RetroPie-Manager is for Raspberry Pi (at least, for now).
I'll try to test it on my raspi when possible.
(...) let me know if you'd like access on github
Yes. I'm not promising an active development, but I think I can, at least, improve/simplify the instructions at README.
Did you see I made a Pull Request correcting the installation instruction? There is an unecessary
dev
string on thegit clone
command.I'm not home, but I'll check it out as soon as possibile. Thanks
-
Pull request merged.
I tried to as you suggested.
I have a directory .\mamelibretro and I created a simlynk .\mame-libretrodrwxr-xr-x 3 pi pi 4096 Jun 21 21:35 mamelibretro lrwxrwxrwx 1 pi pi 13 Jul 2 13:42 mame-libretro -> mamelibretro/
The django systems view is now giving the same error it does when you keep the folder names with the dash char
NoReverseMatch at /systems/ Reverse for 'roms-list' with arguments '()' and keyword arguments '{u'system': 'mame-libretro'}' not found. 1 pattern(s) tried: ['systems/roms/(?P<system>\\w+)/$'] Request Method: GET Request URL: http://192.168.178.26:8000/systems/ Django Version: 1.8.13 Exception Type: NoReverseMatch Exception Value: Reverse for 'roms-list' with arguments '()' and keyword arguments '{u'system': 'mame-libretro'}' not found. 1 pattern(s) tried: ['systems/roms/(?P<system>\\w+)/$'] Exception Location: /home/pi/RetroPie-Manager/local/lib/python2.7/site-packages/django/core/urlresolvers.py in _reverse_with_prefix, line 495 Python Executable: /home/pi/RetroPie-Manager/bin/python Python Version: 2.7.9 Python Path: ['/home/pi/RetroPie-Manager', '/home/pi/RetroPie-Manager/lib/python2.7', '/home/pi/RetroPie-Manager/lib/python2.7/plat-arm-linux-gnueabihf', '/home/pi/RetroPie-Manager/lib/python2.7/lib-tk', '/home/pi/RetroPie-Manager/lib/python2.7/lib-old', '/home/pi/RetroPie-Manager/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-arm-linux-gnueabihf', '/usr/lib/python2.7/lib-tk', '/home/pi/RetroPie-Manager/local/lib/python2.7/site-packages', '/home/pi/RetroPie-Manager/lib/python2.7/site-packages'] Server time: Sat, 2 Jul 2016 13:42:33 +0000
I have to find out why and if it's possible to fix the error
-
Clearly it's not a problem python has listing the directories.
I did some tests and the test-dir is listed in the array.print(existing_sys)
[('psx', 'psx'), ('fds', 'fds'), ('atarilynx', 'atarilynx'), ('test-dir', 'test-dir'), ('fba', 'fba'), ('zxspectrum', 'zxspectrum'), ('segacd', 'segacd'), ('genesis', 'genesis'), ('gba', 'gba'), ('n64', 'n64'), ('sega32x', 'sega32x'), ('arcade', 'arcade'), ('ngp', 'ngp'), ('sg1000', 'sg1000'), ('megadrive', 'megadrive'), ('mamelibre tro', 'mamelibretro'), ('psp', 'psp'), ('snes', 'snes'), ('mame4all', 'mame4all'), ('atari7800', 'atari7800'), ('gbc', 'gbc'), ('nes', 'nes'), ('gamegear', 'gamegear') , ('pcengine', 'pcengine'), ('gb', 'gb'), ('neogeo', 'neogeo'), ('ngpc', 'ngpc'), ('mastersystem', 'mastersystem'), ('amstradcpc', 'amstradcpc'), ('atari2600', 'atari2 600'), ('msx', 'msx'), ('vectrex', 'vectrex')]I have to understand better that reverse match section
-
@Botolo genesis is a symlink and is present too. The problem is neither the dash nor the symlink.
-
@meleu said in Recalbox Manager port:
@Botolo genesis is a symlink and is present too. The problem is neither the dash nor the symlink.
It was indeed the dash.
The problem was in the urls.py regex that didn't match the name with "-".Now I think it's working. Can you try it?
-
@Botolo said in Recalbox Manager port:
The problem was in the urls.py regex that didn't match the name with "-".
Do you mean no need for those annoying renaming process?! Great!!! :D
Now I think it's working. Can you try it?
I'm away from my rasp, but I'll try it this evening. :-)
-
@meleu said in Recalbox Manager port:
@Botolo said in Recalbox Manager port:
The problem was in the urls.py regex that didn't match the name with "-".
Do you mean no need for those annoying renaming process?! Great!!! :D
Now I think it's working. Can you try it?
I'm away from my rasp, but I'll try it this evening. :-)
And of course another issue come up :D
With the new regex the form seems unable to delete the files.It's a never ending job :/
-
Bug fixed. I hope
-
@Botolo another Pull Request on README. Check it out. :-)
-
@Botolo just out of curiosity how much overhead does this tool have?
-
@meleu said in Recalbox Manager port:
@Botolo another Pull Request on README. Check it out. :-)
Merged, thanks :)
-
@herb_fargus said in Recalbox Manager port:
@Botolo just out of curiosity how much overhead does this tool have?
I'll check the top command later
-
@Botolo said in Recalbox Manager port:
@herb_fargus said in Recalbox Manager port:
@Botolo just out of curiosity how much overhead does this tool have?
I'll check the top command later
I'd say almost nothing
-
@Botolo yeah I just tested it and it's very lightweight. Once we sort out the repository stuff we can add some things like the runcommand log. A few icon changes, maybe the colours too. I can get a working module that will automate the install somewhat and we can throw it on zerojays retropie-extra extra repository
-
@herb_fargus said in Recalbox Manager port:
@Botolo yeah I just tested it and it's very lightweight. Once we sort out the repository stuff we can add some things like the runcommand log. A few icon changes, maybe the colours too. I can get a working module that will automate the install somewhat and we can throw it on zerojays retropie-extra extra repository
Sounds good.
I'd like to add a syntax JS to the editor too.Do you think we should get rid of the original recalbox variables?
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.