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 56.8k 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 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
                        • B
                          Botolo @herb_fargus
                          last edited by

                          @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

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

                            @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

                            herb_fargusH 1 Reply Last reply Reply Quote 0
                            • herb_fargusH
                              herb_fargus administrators @Botolo
                              last edited by

                              @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

                              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 @herb_fargus
                                last edited by

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

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

                                  @Botolo said in Recalbox Manager port:

                                  @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

                                  Do you think we should get rid of the original recalbox variables?

                                  I think yes. I'll try to do it tonight.

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

                                    I found a problem. The RetroPie-Manager isn't able to show subdirs in ROMs directories.
                                    For example, my /home/pi/RetroPie/roms/nes has the following subdirs:
                                    0-9/
                                    a/
                                    b/
                                    c/
                                    d/
                                    etcetera...

                                    When I open the NES' ROMs dir in RetroPie-Manager, it's empty.

                                    • 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:

                                      I found a problem. The RetroPie-Manager isn't able to show subdirs in ROMs directories.
                                      For example, my /home/pi/RetroPie/roms/nes has the following subdirs:
                                      0-9/
                                      a/
                                      b/
                                      c/
                                      d/
                                      etcetera...

                                      When I open the NES' ROMs dir in RetroPie-Manager, it's empty.

                                      I know, but this could be tricky to solve since that module has been designed for a single level folder structure.

                                      1 Reply Last reply Reply Quote 0
                                      • R
                                        Redstoner @Botolo
                                        last edited by

                                        @Botolo dude, you and you're friends are amazing!

                                        "See, if I start running slightly earlier than someone else, I seem faster." -Johan Cruyff

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

                                          @Redstoner said in Recalbox Manager port:

                                          @Botolo dude, you and you're friends are amazing!

                                          Thanks. I'm happy @meleu and @herb_fargus wanted to help :)

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

                                            Hey guys!
                                            A small update:
                                            A did a small script to simplify the commands to start/stop the RetroPie-Manager.
                                            Take a look at https://github.com/botolo78/RetroPie-Manager again ;-)

                                            • Useful topics
                                            • joystick-selection tool
                                            • rpie-art tool
                                            • achievements I made
                                            1 Reply Last reply Reply Quote 1
                                            • 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.