RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Amiberry CD32 NVRAM saves

    Scheduled Pinned Locked Moved Help and Support
    nvramcd32amiberry
    13 Posts 2 Posters 1.6k 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.
    • W
      Wulmund
      last edited by

      I have set up cd32 emulation on my Pi. I’m using Amiberry. Question is, how do you get the automatic saves from games that were to NVRAM on the cd32 (high scores and levels etc) to save when you exit Amiberry? They are not kept. I expect there is a way to get them to work though?

      EfriimE 1 Reply Last reply Reply Quote 0
      • EfriimE
        Efriim @Wulmund
        last edited by

        @Wulmund
        In the config file are these two settings fulfilled?

        ; *** Common / Paths
        flash_file=/opt/retropie/emulators/amiberry/cd32.nvr
        ; *** CD / CD32
        cd32nvram=true

        Oh I see, you had asked where the location of the config file is. I don't have amiberry installed right yet.
        You could check the folders /opt/retropie/emulators/amiberry/ and /opt/retropie/configs/amiga/

        1 Reply Last reply Reply Quote 0
        • EfriimE
          Efriim
          last edited by Efriim

          @Efriim said in Amiberry CD32 NVRAM saves:

          /opt/retropie/configs/amiga/amiberry/conf/amiberry.conf
          looks like this is the default config file we have to work with.

          It uses UAE, which I think is installable on windows, you could probably generate a config in windows if you found it easier, and then edit the paths of course. Custom configs can be loaded from the GUI, or from the roms menu. Using the GUI, you could copy the config over from configs\amiga\conf\ to roms\amiga
          /opt/retropie/configs/amiga/amiberry/conf/uaeconfig.uae
          /home/pi/RetroPie/roms/amiga/uaeconfig.uae
          So you could edit a config and use it in the roms directory.

          W 2 Replies Last reply Reply Quote 0
          • W
            Wulmund @Efriim
            last edited by

            @Efriim Thanks, I have done this. The setting is nvram=true but still doesn’t save. I copied a .uae config to roms but still doesn’t save. Only thing could be directory permissions but think the Pi user should get them by default at setup?

            1 Reply Last reply Reply Quote 0
            • W
              Wulmund @Efriim
              last edited by

              @Efriim Hi. I thought I had overcome this issue by manually setting Linux permissions on the cd32.nvr file. But only one game can write to it, seems like none of the others can save to it. I hoped you might be able to think of something I haven’t tried?!

              EfriimE 1 Reply Last reply Reply Quote 0
              • EfriimE
                Efriim @Wulmund
                last edited by Efriim

                @Wulmund
                If you're using multiple .uae config files to run from, then
                you could assign a different filename for each to use.

                flash_file=/opt/retropie/emulators/amiberry/gamename.nvr
                or
                flash_file=/home/pi/RetroPie/roms/amiga/gamename.nvr

                If you don't want both the .iso/cd32 and the .uae to show up in Emulationstation, there are a few ways to do that.
                Could change the names, and then make the corresponding changes in the .uae
                a . period in front of the filename will set it as a hidden file.

                There is a file called es_systems.cfg that is used in emulationstation to generate all the menus. It can be edited to change the order that the systems appear, or to add new systems manually. If you look it up and under the <system>amiga</system> header it will have string for all the fileextensions that it looks up and feeds back to display the list in emulationstation. Could remove .cue or .iso (under the amiga header).
                The file I believe is saved at /etc/emulationstation/es_systems.cfg
                and it can be saved and edited in configs as an override in /opt/retropie/configs/all/es_systems.cfg

                W 1 Reply Last reply Reply Quote 0
                • W
                  Wulmund @Efriim
                  last edited by

                  @Efriim seems to me that some games are able to save to the nvram file, and some are not. Is this a known issue in Amiberry?

                  EfriimE 1 Reply Last reply Reply Quote 0
                  • EfriimE
                    Efriim @Wulmund
                    last edited by

                    @Wulmund
                    Surprisingly it doesn't appear to be any issue on the github.

                    https://github.com/midwan/amiberry/issues?utf8=✓&q=is%3Aissue+nvram

                    I'm thinking it is again the config or the permissions in the folder, and I don't know if multiple games can save to the same nvram area.

                    W 1 Reply Last reply Reply Quote 0
                    • W
                      Wulmund @Efriim
                      last edited by

                      @Efriim Perhaps I should report it? I’ve scrutinised the configs and path, they were all created manually as copies of s master anyway and just edited with the .iso filename. Pinball Fantasies, Diggers write ok to same file. Arcade Pool and Overkill don’t even though the file is exactly the same. I did a basic install with Amiberry only and retested, and found the same.

                      EfriimE 1 Reply Last reply Reply Quote 0
                      • EfriimE
                        Efriim @Wulmund
                        last edited by Efriim

                        @Wulmund
                        Though to be certain it isn't that the nvram belongs to a particular configuration/game/capacity, have you tried making the configuration for the games with uniqure nvram names. So as to generate a new file for that particular rom?

                        flash_file="/home/pi/RetroPie/roms/amiga/Pinball Fantasies.nvr"

                        Unsure about the syntax, maybe without quotations. Then the nvr should be generated, for that game alone.

                        Either way, yeah report it. There should be an easier solution than to having to configure individual nvram files.

                        W 1 Reply Last reply Reply Quote 0
                        • W
                          Wulmund @Efriim
                          last edited by

                          @Efriim Yes, Overkill for example creates the nvram file, but doesn’t then save anything to it. Or if it does, it’s not available when the game loads.

                          EfriimE 1 Reply Last reply Reply Quote 0
                          • EfriimE
                            Efriim @Wulmund
                            last edited by

                            @Wulmund
                            I see. Its probably not generating the nvram from a wrong file/default .nvram.
                            I just don't know enough about the thing, memory, addons, I couldn't help.

                            W 1 Reply Last reply Reply Quote 0
                            • W
                              Wulmund @Efriim
                              last edited by

                              @Efriim I’ve now logged an issue at github so will see if anyone responds

                              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.