Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    How To Regenerate A Specific ROM Folder?

    Emulator Arcade/PC/Console
    regenerate specific rom
    5
    35
    13005
    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.
    • tdelios
      tdelios @Substring last edited by

      @Substring @paradadf

      recalbox's response:

      /boot$ ls -la /recalbox/share_init/roms
      total 184
      drwxr-xr-x 46 root root 4096 Feb 20 04:58 .
      drwxr-xr-x 12 root root 4096 Feb 8 18:36 ..
      drwxr-xr-x 2 root root 4096 Jan 1 1970 amstradcpc
      drwxr-xr-x 2 root root 4096 Jan 1 1970 atari2600
      drwxr-xr-x 2 root root 4096 Jan 1 1970 atari7800
      drwxr-xr-x 2 root root 4096 Jan 1 1970 atarist
      drwxr-xr-x 2 root root 4096 Jan 1 1970 cavestory
      drwxr-xr-x 3 root root 4096 Jan 1 1970 fba
      drwxr-xr-x 2 root root 4096 Jan 1 1970 fba_libretro
      drwxr-xr-x 2 root root 4096 Jan 1 1970 fds
      drwxr-xr-x 2 root root 4096 Jan 1 1970 gamegear
      drwxr-xr-x 2 root root 4096 Jan 1 1970 gb
      drwxr-xr-x 2 root root 4096 Jan 1 1970 gba
      drwxr-xr-x 2 root root 4096 Jan 1 1970 gbc
      drwxr-xr-x 2 root root 4096 Jan 1 1970 gw
      drwxr-xr-x 2 root root 4096 Jan 1 1970 lutro
      drwxr-xr-x 2 root root 4096 Jan 1 1970 lynx
      drwxr-xr-x 4 root root 4096 Jan 1 1970 mame
      drwxr-xr-x 4 root root 4096 Jan 1 1970 mastersystem
      drwxr-xr-x 2 root root 4096 Jan 1 1970 megadrive
      drwxr-xr-x 2 root root 4096 Jan 1 1970 moonlight
      drwxr-xr-x 2 root root 4096 Jan 1 1970 msx
      drwxr-xr-x 2 root root 4096 Jan 1 1970 msx1
      drwxr-xr-x 2 root root 4096 Jan 1 1970 msx2
      drwxr-xr-x 2 root root 4096 Jan 1 1970 n64
      drwxr-xr-x 2 root root 4096 Jan 1 1970 neogeo
      drwxr-xr-x 8 root root 4096 Jan 1 1970 nes
      drwxr-xr-x 2 root root 4096 Jan 1 1970 ngp
      drwxr-xr-x 2 root root 4096 Jan 1 1970 ngpc
      drwxr-xr-x 2 root root 4096 Jan 1 1970 o2em
      drwxr-xr-x 2 root root 4096 Jan 1 1970 pcengine
      drwxr-xr-x 2 root root 4096 Jan 1 1970 pcenginecd
      drwxr-xr-x 3 root root 4096 Jan 1 1970 prboom
      drwxr-xr-x 2 root root 4096 Jan 1 1970 psx
      drwxr-xr-x 2 root root 4096 Jan 1 1970 scummvm
      drwxr-xr-x 2 root root 4096 Jan 1 1970 sega32x
      drwxr-xr-x 2 root root 4096 Jan 1 1970 segacd
      drwxr-xr-x 2 root root 4096 Jan 1 1970 sg1000
      drwxr-xr-x 2 root root 4096 Jan 1 1970 snes
      drwxr-xr-x 2 root root 4096 Jan 1 1970 supergrafx
      drwxr-xr-x 2 root root 4096 Jan 1 1970 vectrex
      drwxr-xr-x 2 root root 4096 Jan 1 1970 virtualboy
      drwxr-xr-x 2 root root 4096 Jan 1 1970 wswan
      drwxr-xr-x 2 root root 4096 Jan 1 1970 wswanc
      drwxr-xr-x 2 root root 4096 Jan 1 1970 zx81
      drwxr-xr-x 2 root root 4096 Jan 1 1970 zxspectrum

      1 Reply Last reply Reply Quote 0
      • Substring
        Substring last edited by

        No colecovision ... So of course the folder can't be recreated !
        So i'd say you're either running a pi for which colecovision is.not compiled, either you removed the colecovision from the share_init folder.

        So once again : which pi are you running ?

        Former dev - Please reply with @substring so that i am notified when you answer me
        Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

        tdelios 1 Reply Last reply Reply Quote 0
        • tdelios
          tdelios @Substring last edited by

          @Substring @paradadf

          I'm running Raspberry Pi version 3 ..

          I did not remove the 'colecovision' from the share_init folder as you can see I am not that articulate to do so.. I simply connect to my windows pc to the \roms folder that is available to me.

          As I mentioned before.. the 'colecovision' sub-folder was in the recalbox\share\roms\ folder once during the initial upgrade to 4.1.. but once I deleted it, it never came back.
          So it must be a bug.. not sure if it can be producable, but it is..

          either way, how can I get my 'colecovision' folder back with all the findings presented to you so far?

          Substring 1 Reply Last reply Reply Quote 0
          • Substring
            Substring @tdelios last edited by

            @tdelios gotta check few things before I tell you how to proceed. Are you running a 4.1 img or an upgrade from 4.0 ?

            Former dev - Please reply with @substring so that i am notified when you answer me
            Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

            tdelios 1 Reply Last reply Reply Quote 0
            • tdelios
              tdelios @Substring last edited by

              @Substring upgrade from a 4.0

              Substring 1 Reply Last reply Reply Quote 0
              • Substring
                Substring @tdelios last edited by

                @tdelios the way the share_init/roms folder is generated was totally remade in 4.1. I may have missed a system but no : colecovision IS there. Get the files from https://github.com/recalbox/recalbox-buildroot/tree/master/board/recalbox/fsoverlay/recalbox/share_init/roms/colecovision

                Former dev - Please reply with @substring so that i am notified when you answer me
                Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                tdelios 1 Reply Last reply Reply Quote 0
                • tdelios
                  tdelios @Substring last edited by

                  @Substring so what are the steps\commands to dump them into the 'colecovision' sub-folder assuming I have to create it under the share_init/roms folder using terminal in WinSCP?

                  Substring 1 Reply Last reply Reply Quote 0
                  • Substring
                    Substring @tdelios last edited by

                    @tdelios So, through SSH :

                    mount -o remount, rw /
                    mkdir /recalbox/share_init/roms/colecovision
                    cd /recalbox/share_init/roms/colecovision
                    wget https://raw.githubusercontent.com/recalbox/recalbox-buildroot/master/board/recalbox/fsoverlay/recalbox/share_init/roms/colecovision/_lisezmoi.txt
                    wget https://raw.githubusercontent.com/recalbox/recalbox-buildroot/master/board/recalbox/fsoverlay/recalbox/share_init/roms/colecovision/_readme.txt
                    reboot
                    

                    Tadaaa should work as expected

                    Former dev - Please reply with @substring so that i am notified when you answer me
                    Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                    tdelios 1 Reply Last reply Reply Quote 0
                    • tdelios
                      tdelios @Substring last edited by

                      @Substring the commands worked, but once I rebooted the Raspberry Pi, the 'colecovision' sub-folder was not automatically created in the share\roms

                      I'm basically tapping out for a manual fix..

                      Do you know when the 'stable' version of 4.1 may come out roughly or at least do you have a link for me to download the image file of the 'unstable' 4.1 so that I can redo a full build on that version to start.

                      thanks for all your help
                      tom

                      paradadf Substring 2 Replies Last reply Reply Quote 0
                      • paradadf
                        paradadf Staff @tdelios last edited by

                        @tdelios are you sure you are on (the latest) 4.1 unstable? If so, have you try updating again?

                        If your question was answered, please mark it as solved: Topic Tools -> Ask a question + Topic Tools -> Mark as Solved

                        1 Reply Last reply Reply Quote 0
                        • Substring
                          Substring @tdelios last edited by

                          @tdelios we never give any ETA. And I do believe your 4.1 is totally broken

                          Get the .img here : http://archive.recalbox.com/updates/v1.0/unstable/

                          remember, this is unstable, expect some changes, even in an img, oe day or another. That's why i will never stress enough to put roms on a USB key. This way you are safe of experimenting on the SD without fearing anything for your roms

                          Former dev - Please reply with @substring so that i am notified when you answer me
                          Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                          tdelios 2 Replies Last reply Reply Quote 0
                          • tdelios
                            tdelios @Substring last edited by

                            @Substring thanks for the link... I've worked in software and hi-tech my whole life.. so taking your comments to hear.. lol...

                            cheers
                            tom

                            1 Reply Last reply Reply Quote 0
                            • tdelios
                              tdelios @Substring last edited by

                              @Substring @paradadf
                              Interesting experience.. from the link you provided: http://archive.recalbox.com/updates/v1.0/unstable/

                              in which I downloaded the Raspberry Pi 3 image recalbox.img (sha1) using link: http://archive.recalbox.com/updates/v1.0/unstable/rpi3/recalbox.img.xz.sha1

                              I loaded the image on a fresh new Micro SD card and rebooted the system.

                              When I used my Windows computer to \recalbox\share\roms
                              I noticed that the 'colecovision' folder is not in there as well !!!

                              when I used WinSCP and terminal into the system, I ran the
                              ls -la /recalbox/share_init/roms command and 'colecovision' appears in there.

                              I rebooted my recalbox a couple of times to see if it would self-generate the 'colecovision' sub-folder in the \recalbox\share\roms but it didn't...

                              And this is a fresh new install using your image file on virgin Micro SD card with nothing on it.

                              Substring 1 Reply Last reply Reply Quote 0
                              • Substring
                                Substring @tdelios last edited by

                                @tdelios the share part is created by a script on boot if it's missing. The same goes for every folder in the share_init/roms folder. When I told you that it should be created, i tested it myself on my pi. So i'm very sceptical about what you're saying, although i'll try

                                Former dev - Please reply with @substring so that i am notified when you answer me
                                Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                                tdelios 2 Replies Last reply Reply Quote 0
                                • tdelios
                                  tdelios @Substring last edited by

                                  @Substring give it a try using your Pi3 and the link I provided to you.. clean micro SD memory card. Use Win32DiskImager or whatever you use to load the image file from the link I gave you. Put it in the Pi3 and then let it go through.. Reboot once or twice if you want for good measure and then use your windows computer to \recalbox\share\roms
                                  and you tell me if you see the 'colecovision' folder. It probably won't be there as I am going to do the steps one more time..
                                  And then check the share_init using
                                  ls -la /recalbox/share_init/roms
                                  command and 'colecovision' should appears in there but not in \recalbox\share\roms

                                  1 Reply Last reply Reply Quote 0
                                  • tdelios
                                    tdelios @Substring last edited by

                                    @Substring

                                    so I tried it again on a brand new Micro SD card on my Pi3 with the same steps downloading the 4.1 unstable img file file and loading it and rebooting.
                                    Same result. The 'colecovision' sub-folder does not get created in the \recalbox\share\roms
                                    but the 'colecovision' sub-folder does exist in the \recalbox\share_init\roms .
                                    Not sure why it is not re-generating after reboot.

                                    I even tried to install a fresh install of 4.0.1 and then perform the upgrade to 4.0.2 and then change the updates.type=unstable in the recalbox.conf file with a reboot after, but for some reason it does not detect an update to jump to 4.1 from 4.0.2

                                    Substring 1 Reply Last reply Reply Quote 0
                                    • Substring
                                      Substring @tdelios last edited by

                                      @tdelios said in How To Regenerate A Specific ROM Folder?:

                                      it does not detect an update to jump to 4.1 from 4.0.2

                                      This has been locked because downgrading bricks your recalbox. This happened to too many users so we took measures to prevent such a situation.

                                      can you md5sum /etc/init.d/S12populateshare ? you should get e79fc4bbb19cc57d1e0d2d23097e10b9

                                      And please provide me the (big) output of bash -x /etc/init.d/S12populateshare start in a pastebin/hastebin

                                      Former dev - Please reply with @substring so that i am notified when you answer me
                                      Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                                      tdelios 1 Reply Last reply Reply Quote 0
                                      • tdelios
                                        tdelios @Substring last edited by

                                        @Substring

                                        /recalbox/share/system$ md5sum /etc/init.d/S12populateshare
                                        84ad3f127f3dd129421d87512e8ba5e0 /etc/init.d/S12populateshare

                                        /recalbox/share/system$ bash -x /etc/init.d/S12populateshare start

                                        • IN=/recalbox/share_init
                                        • OUT=/recalbox/share
                                        • for DIR in cheats system/.cache system/.config/lirc system/.emulationstation/themes system/bluetooth system/configs system/logs
                                        • test '!' -e /recalbox/share/cheats
                                        • for DIR in cheats system/.cache system/.config/lirc system/.emulationstation/themes system/bluetooth system/configs system/logs
                                        • test '!' -e /recalbox/share/system/.cache
                                        • for DIR in cheats system/.cache system/.config/lirc system/.emulationstation/themes system/bluetooth system/configs system/logs
                                        • test '!' -e /recalbox/share/system/.config/lirc
                                        • for DIR in cheats system/.cache system/.config/lirc system/.emulationstation/themes system/bluetooth system/configs system/logs
                                        • test '!' -e /recalbox/share/system/.emulationstation/themes
                                        • for DIR in cheats system/.cache system/.config/lirc system/.emulationstation/themes system/bluetooth system/configs system/logs
                                        • test '!' -e /recalbox/share/system/bluetooth
                                        • for DIR in cheats system/.cache system/.config/lirc system/.emulationstation/themes system/bluetooth system/configs system/logs
                                        • test '!' -e /recalbox/share/system/configs
                                        • for DIR in cheats system/.cache system/.config/lirc system/.emulationstation/themes system/bluetooth system/configs system/logs
                                        • test '!' -e /recalbox/share/system/logs
                                        • for FILE in music bios extractions kodi saves screenshots system/.config/lirc/lircd.conf 'system/.emulationstation/{es_input.cfg,es_settings.cfg}' 'system/{.hatari,.kodi}' 'system/configs/{fba,mupen64,retroarch,shadersets,moonlight}' system/recalbox.conf bios/mame2003
                                        • test '!' -e /recalbox/share/music
                                        • for FILE in music bios extractions kodi saves screenshots system/.config/lirc/lircd.conf 'system/.emulationstation/{es_input.cfg,es_settings.cfg}' 'system/{.hatari,.kodi}' 'system/configs/{fba,mupen64,retroarch,shadersets,moonlight}' system/recalbox.conf bios/mame2003
                                        • test '!' -e /recalbox/share/bios
                                        • for FILE in music bios extractions kodi saves screenshots system/.config/lirc/lircd.conf 'system/.emulationstation/{es_input.cfg,es_settings.cfg}' 'system/{.hatari,.kodi}' 'system/configs/{fba,mupen64,retroarch,shadersets,moonlight}' system/recalbox.conf bios/mame2003
                                        • test '!' -e /recalbox/share/extractions
                                        • for FILE in music bios extractions kodi saves screenshots system/.config/lirc/lircd.conf 'system/.emulationstation/{es_input.cfg,es_settings.cfg}' 'system/{.hatari,.kodi}' 'system/configs/{fba,mupen64,retroarch,shadersets,moonlight}' system/recalbox.conf bios/mame2003
                                        • test '!' -e /recalbox/share/kodi
                                        • for FILE in music bios extractions kodi saves screenshots system/.config/lirc/lircd.conf 'system/.emulationstation/{es_input.cfg,es_settings.cfg}' 'system/{.hatari,.kodi}' 'system/configs/{fba,mupen64,retroarch,shadersets,moonlight}' system/recalbox.conf bios/mame2003
                                        • test '!' -e /recalbox/share/saves
                                        • for FILE in music bios extractions kodi saves screenshots system/.config/lirc/lircd.conf 'system/.emulationstation/{es_input.cfg,es_settings.cfg}' 'system/{.hatari,.kodi}' 'system/configs/{fba,mupen64,retroarch,shadersets,moonlight}' system/recalbox.conf bios/mame2003
                                        • test '!' -e /recalbox/share/screenshots
                                        • for FILE in music bios extractions kodi saves screenshots system/.config/lirc/lircd.conf 'system/.emulationstation/{es_input.cfg,es_settings.cfg}' 'system/{.hatari,.kodi}' 'system/configs/{fba,mupen64,retroarch,shadersets,moonlight}' system/recalbox.conf bios/mame2003
                                        • test '!' -e /recalbox/share/system/.config/lirc/lircd.conf
                                        • for FILE in music bios extractions kodi saves screenshots system/.config/lirc/lircd.conf 'system/.emulationstation/{es_input.cfg,es_settings.cfg}' 'system/{.hatari,.kodi}' 'system/configs/{fba,mupen64,retroarch,shadersets,moonlight}' system/recalbox.conf bios/mame2003
                                        • test '!' -e /recalbox/share/system/.emulationstation/es_input.cfg
                                        • for FILE in music bios extractions kodi saves screenshots system/.config/lirc/lircd.conf 'system/.emulationstation/{es_input.cfg,es_settings.cfg}' 'system/{.hatari,.kodi}' 'system/configs/{fba,mupen64,retroarch,shadersets,moonlight}' system/recalbox.conf bios/mame2003
                                        • test '!' -e /recalbox/share/system/.emulationstation/es_settings.cfg
                                        • for FILE in music bios extractions kodi saves screenshots system/.config/lirc/lircd.conf 'system/.emulationstation/{es_input.cfg,es_settings.cfg}' 'system/{.hatari,.kodi}' 'system/configs/{fba,mupen64,retroarch,shadersets,moonlight}' system/recalbox.conf bios/mame2003
                                        • test '!' -e /recalbox/share/system/.hatari
                                        • for FILE in music bios extractions kodi saves screenshots system/.config/lirc/lircd.conf 'system/.emulationstation/{es_input.cfg,es_settings.cfg}' 'system/{.hatari,.kodi}' 'system/configs/{fba,mupen64,retroarch,shadersets,moonlight}' system/recalbox.conf bios/mame2003
                                        • test '!' -e /recalbox/share/system/.kodi
                                        • for FILE in music bios extractions kodi saves screenshots system/.config/lirc/lircd.conf 'system/.emulationstation/{es_input.cfg,es_settings.cfg}' 'system/{.hatari,.kodi}' 'system/configs/{fba,mupen64,retroarch,shadersets,moonlight}' system/recalbox.conf bios/mame2003
                                        • test '!' -e /recalbox/share/system/configs/fba
                                        • for FILE in music bios extractions kodi saves screenshots system/.config/lirc/lircd.conf 'system/.emulationstation/{es_input.cfg,es_settings.cfg}' 'system/{.hatari,.kodi}' 'system/configs/{fba,mupen64,retroarch,shadersets,moonlight}' system/recalbox.conf bios/mame2003
                                        • test '!' -e /recalbox/share/system/configs/mupen64
                                        • for FILE in music bios extractions kodi saves screenshots system/.config/lirc/lircd.conf 'system/.emulationstation/{es_input.cfg,es_settings.cfg}' 'system/{.hatari,.kodi}' 'system/configs/{fba,mupen64,retroarch,shadersets,moonlight}' system/recalbox.conf bios/mame2003
                                        • test '!' -e /recalbox/share/system/configs/retroarch
                                        • for FILE in music bios extractions kodi saves screenshots system/.config/lirc/lircd.conf 'system/.emulationstation/{es_input.cfg,es_settings.cfg}' 'system/{.hatari,.kodi}' 'system/configs/{fba,mupen64,retroarch,shadersets,moonlight}' system/recalbox.conf bios/mame2003
                                        • test '!' -e /recalbox/share/system/configs/shadersets
                                        • for FILE in music bios extractions kodi saves screenshots system/.config/lirc/lircd.conf 'system/.emulationstation/{es_input.cfg,es_settings.cfg}' 'system/{.hatari,.kodi}' 'system/configs/{fba,mupen64,retroarch,shadersets,moonlight}' system/recalbox.conf bios/mame2003
                                        • test '!' -e /recalbox/share/system/configs/moonlight
                                        • for FILE in music bios extractions kodi saves screenshots system/.config/lirc/lircd.conf 'system/.emulationstation/{es_input.cfg,es_settings.cfg}' 'system/{.hatari,.kodi}' 'system/configs/{fba,mupen64,retroarch,shadersets,moonlight}' system/recalbox.conf bios/mame2003
                                        • test '!' -e /recalbox/share/system/recalbox.conf
                                        • for FILE in music bios extractions kodi saves screenshots system/.config/lirc/lircd.conf 'system/.emulationstation/{es_input.cfg,es_settings.cfg}' 'system/{.hatari,.kodi}' 'system/configs/{fba,mupen64,retroarch,shadersets,moonlight}' system/recalbox.conf bios/mame2003
                                        • test '!' -e /recalbox/share/bios/mame2003
                                        • for DIR in roms roms/mame/mame2003
                                        • test '!' -e /recalbox/share/roms
                                        • for DIR in roms roms/mame/mame2003
                                        • test '!' -e /recalbox/share/roms/mame/mame2003
                                        • test -e /recalbox/share/system/ssh
                                        • ls /recalbox/share/system/bluetooth
                                        • read X
                                        • mkdir -p /recalbox/share/system/udev/rules.d
                                        • rm -rf /run/udev/rules.d
                                        • ln -s /recalbox/share/system/udev/rules.d/ /run/udev/
                                        • cp /recalbox/recalbox.changelog /recalbox/share/system/recalbox.changelog.done
                                        Substring 1 Reply Last reply Reply Quote 0
                                        • Substring
                                          Substring @tdelios last edited by

                                          @tdelios how the heck have ypu mounted the share folder ?

                                          Former dev - Please reply with @substring so that i am notified when you answer me
                                          Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                                          tdelios 1 Reply Last reply Reply Quote 0
                                          • tdelios
                                            tdelios @Substring last edited by

                                            @Substring

                                            not sure what you mean.. I just did the following as per my previous post:

                                            from the link you provided: http://archive.recalbox.com/updates/v1.0/unstable/
                                            in which I downloaded the Raspberry Pi 3 image recalbox.img (sha1) using link: http://archive.recalbox.com/updates/v1.0/unstable/rpi3/recalbox.img.xz.sha1
                                            I unzipped the IMG file and loaded the image on a fresh new Micro SD card using Win32DiskImager and rebooted the system.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Want to support us ?

                                            85
                                            Online

                                            99.6k
                                            Users

                                            28.1k
                                            Topics

                                            187.1k
                                            Posts

                                            Copyright © 2021 recalbox.com