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

    RetroPie-Manager web app (Recalbox-Manager fork/mod)

    Scheduled Pinned Locked Moved Ideas and Development
    89 Posts 15 Posters 55.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.
    • B
      Botolo
      last edited by Botolo

      I managed this port for me and a couple of friends. So far it seems it doesn't interest many other people, but if you want to try it, it could be useful to find out bugs I missed.

      https://github.com/botolo78/RetroPie-Manager

      PokeEngineerP meleuM R 3 Replies Last reply Reply Quote 6
      • PokeEngineerP
        PokeEngineer @Botolo
        last edited by

        @Botolo

        Neat. :)

        Don't sweat it.
        When in doubt, take a BYTE out of life.

        😎

        1 Reply Last reply Reply Quote 0
        • meleuM
          meleu @Botolo
          last edited by meleu

          @Botolo this is great. But I think it would be better to implement a way to avoid the necessity to rename the roms directories before release it to the world.
          It can bring confusions when users follow the RetroPie's documentation...
          I can try to do it and make a Pull Request if you think it's impotant too.

          • Useful topics
          • joystick-selection tool
          • rpie-art tool
          • achievements I made
          B 1 Reply Last reply Reply Quote 1
          • B
            Botolo @meleu
            last edited by

            @meleu it would be great. As far as I understood the problem python, or at last that code, doesn't like the dash in the folder name.

            Keep in mind this is a really crude port. Most of the variables are still named recalbox something for example

            meleuM 1 Reply Last reply Reply Quote 0
            • meleuM
              meleu @Botolo
              last edited by meleu

              @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.

              • Useful topics
              • joystick-selection tool
              • rpie-art tool
              • achievements I made
              B 1 Reply Last reply Reply Quote 0
              • B
                Botolo @meleu
                last edited by Botolo

                @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 :)

                meleuM 1 Reply Last reply Reply Quote 0
                • meleuM
                  meleu @Botolo
                  last edited by

                  @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 to megadrive), and will avoid those crazy emulationstation manual configuration.

                  • Useful topics
                  • joystick-selection tool
                  • rpie-art tool
                  • achievements I made
                  B 1 Reply Last reply Reply Quote 0
                  • B
                    Botolo @meleu
                    last edited by Botolo

                    @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 to megadrive), 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

                    1 Reply Last reply Reply Quote 0
                    • meleuM
                      meleu
                      last edited by meleu

                      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 the git clone command.

                      • Useful topics
                      • joystick-selection tool
                      • rpie-art tool
                      • achievements I made
                      B 1 Reply Last reply Reply Quote 0
                      • B
                        Botolo @meleu
                        last edited by

                        @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 the git clone command.

                        I'm not home, but I'll check it out as soon as possibile. Thanks

                        1 Reply Last reply Reply Quote 0
                        • B
                          Botolo
                          last edited by Floob

                          Pull request merged.

                          I tried to as you suggested.
                          I have a directory .\mamelibretro and I created a simlynk .\mame-libretro

                          drwxr-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

                          1 Reply Last reply Reply Quote 0
                          • B
                            Botolo
                            last edited by

                            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

                            meleuM 1 Reply Last reply Reply Quote 0
                            • meleuM
                              meleu @Botolo
                              last edited by

                              @Botolo genesis is a symlink and is present too. The problem is neither the dash nor the symlink.

                              • Useful topics
                              • joystick-selection tool
                              • rpie-art tool
                              • achievements I made
                              B 1 Reply Last reply Reply Quote 0
                              • B
                                Botolo @meleu
                                last edited by

                                @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?

                                meleuM 1 Reply Last reply Reply Quote 0
                                • meleuM
                                  meleu @Botolo
                                  last edited by

                                  @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. :-)

                                  • Useful topics
                                  • joystick-selection tool
                                  • rpie-art tool
                                  • achievements I made
                                  B 1 Reply Last reply Reply Quote 0
                                  • B
                                    Botolo @meleu
                                    last edited by

                                    @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 :/

                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      Botolo
                                      last edited by

                                      Bug fixed. I hope

                                      meleuM herb_fargusH 2 Replies Last reply Reply Quote 1
                                      • meleuM
                                        meleu @Botolo
                                        last edited by

                                        @Botolo another Pull Request on README. Check it out. :-)

                                        • Useful topics
                                        • joystick-selection tool
                                        • rpie-art tool
                                        • achievements I made
                                        B 1 Reply Last reply Reply Quote 0
                                        • herb_fargusH
                                          herb_fargus administrators @Botolo
                                          last edited by

                                          @Botolo just out of curiosity how much overhead does this tool have?

                                          If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                                          Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

                                          B 1 Reply Last reply Reply Quote 0
                                          • B
                                            Botolo @meleu
                                            last edited by

                                            @meleu said in Recalbox Manager port:

                                            @Botolo another Pull Request on README. Check it out. :-)

                                            Merged, thanks :)

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