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

    IR-FBA Not Saving High Scores/Corrupts Game

    Scheduled Pinned Locked Moved Help and Support
    fbair-fbalphadkongdkong.hihiscore.dat
    42 Posts 14 Posters 9.3k 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.
    • C
      Casdha
      last edited by Casdha

      info taken from bringing up in-game Retroarch menu

      Clean install and everything updated to 4.3.5 with dkong.zip :
      fba 2.97.42 928a4d6 (not working after hiscore is created)

      Old install :
      fba 2.97.42 1aebd0 (working as intended)

      dankcushionsD 1 Reply Last reply Reply Quote 3
      • dankcushionsD
        dankcushions Global Moderator @Casdha
        last edited by

        @casdha said in IR-FBA Not Saving High Scores/Corrupts Game:

        info taken from bringing up in-game Retroarch menu

        Clean install and everything updated to 4.3.5 with dkong.zip :
        fba 2.97.42 928a4d6 (not working after hiscore is created)

        Old install :
        fba 2.97.42 1aebd0 (working as intended)

        thanks!
        not working commit is: https://github.com/libretro/fbalpha/commit/928a4d66b9bf80a4ad1652298db30803814017ef

        • this isn't actually latest, so you should update lr-fbalpha from source.

        i think your second commit has a typo, because this url should find it, but no luck:
        https://github.com/libretro/fbalpha/commit/1aebd0

        1 Reply Last reply Reply Quote 1
        • C
          Casdha
          last edited by Casdha

          Yes it was a typo, sorry I left out a letter: 1aebdb0 (working)

          working link 1aebdb0

          dankcushionsD 1 Reply Last reply Reply Quote 0
          • D
            doctorwolf
            last edited by

            V0.2.97.42 2021f2d is the version is shows for me and high scores are not working. Will refresh back to my working build and post last working version later.

            1 Reply Last reply Reply Quote 0
            • dankcushionsD
              dankcushions Global Moderator @Casdha
              last edited by

              @casdha thanks - I think you/someone should log this here: https://github.com/libretro/fbalpha/issues/new

              Describe the issue and give the working and non-working commits. I would narrow it down ("bisect") to a single commit but not sure when I will get the time :( Maybe this is enough information for the developers.

              1 Reply Last reply Reply Quote 0
              • C
                Casdha
                last edited by Casdha

                @dankcushions I would but I gotta have an account for that and I don't have one.

                Additional Information: I just tried this again and installed the core from source and 2.97.42 7332926 is doing the same thing.

                I guess this would be the page fba V 2.97.42 7332926

                Side question, can I just take the core file out of an older image and place it in the folder or are there other files to worry about?

                Edit: I transferred the entire folder "lr-fbalpha" from an old image into a fully up to date one 4.3.7 with the source update mentioned above and it still has the corruption issue.

                I pulled up the in-game retroarch screen and is says 2.97.42 1aebd0 which is the same one that worked previously. If this was all i needed to try then it appears it is something outside of this folder/core causing the issue.

                (casual reader) as for how I did it, if someone wants to know bad enough they will figure it out, I don't want to be responsible for someone messing up their build by following my instructions, these permissions are normally locked to prevent file writing and deleting in this part of the system.

                1 Reply Last reply Reply Quote 0
                • S
                  SWSboarder13
                  last edited by

                  I went offline for a bit but I finally have time to get back into this project. It looks like you all have jumped into this issue (thank you) so it's time for me to play catch up.

                  It sounds like the issue is coming from running the latest versions of RetroPie (v4.3.X) and fba (v2.97.42) together. I am attempting to run some tests but most versions I have (at the moment) are prior to the version Casdha mentioned so it may be a moot point on my part. Before I get too far into it, has anyone found a solution with RetroPie v4.3.8 (latest as of now), or know the current status of this issue?

                  I see from a (fba info link) that the placement of the hiscore.dat file has changed from the "home/pi/retropie/Bios/fba" folder to the "home/pi/retropie/roms/arcade" folder. Out of curiosity, does anyone know the reasoning for that?

                  dankcushionsD 1 Reply Last reply Reply Quote 0
                  • B
                    barbudreadmon
                    last edited by

                    It was reported on github (https://github.com/libretro/fbalpha/issues/162) and i fixed it 10 days ago.

                    FBNeo developer - github - forum

                    S 1 Reply Last reply Reply Quote 0
                    • dankcushionsD
                      dankcushions Global Moderator @SWSboarder13
                      last edited by

                      @swsboarder13 said in IR-FBA Not Saving High Scores/Corrupts Game:

                      I see from a (fba info link) that the placement of the hiscore.dat file has changed from the "home/pi/retropie/Bios/fba" folder to the "home/pi/retropie/roms/arcade" folder. Out of curiosity, does anyone know the reasoning for that?

                      that's not quite what it says - it's /arcade/ or /fba/, depending on where your roms are stored.

                      i think it hasn't been in BIOS/fba for 2 years or something, if it ever was!

                      mituM 1 Reply Last reply Reply Quote 0
                      • mituM
                        mitu Global Moderator @dankcushions
                        last edited by mitu

                        @dankcushions said in IR-FBA Not Saving High Scores/Corrupts Game:

                        i think it hasn't been in BIOS/fba for 2 years or something, if it ever was!

                        Looking at the source of the lr-fbalpha module, the configure function copies over the hiscore.dat to the BIOS/fba folder, so the location reported by @SWSboarder13 it's correct. Maybe we need to amend the Wiki page ?

                        From: https://github.com/RetroPie/RetroPie-Setup/blob/master/scriptmodules/libretrocores/lr-fbalpha.sh#L56

                        [..]
                        cp "$md_inst/metadata/hiscore.dat" "$biosdir/fba/"
                        chown $user:$user "$biosdir/fba/hiscore.dat"
                        [...]
                        
                        dankcushionsD 1 Reply Last reply Reply Quote 0
                        • dankcushionsD
                          dankcushions Global Moderator @mitu
                          last edited by

                          @mitu said in IR-FBA Not Saving High Scores/Corrupts Game:

                          @dankcushions said in IR-FBA Not Saving High Scores/Corrupts Game:

                          i think it hasn't been in BIOS/fba for 2 years or something, if it ever was!

                          Looking at the source of the lr-fbalpha module, the install functions copies over the hiscore.dat to the BIOS/fba folder, so the location reported by @SWSboarder13 it's correct. Maybe we need to amend the Wiki page ?

                          From: https://github.com/RetroPie/RetroPie-Setup/blob/master/scriptmodules/libretrocores/lr-fbalpha.sh#L56

                          ...
                          cp "$md_inst/metadata/hiscore.dat" "$biosdir/fba/"
                          chown $user:$user "$biosdir/fba/hiscore.dat"
                          ...
                          

                          i stand corrected! i have corrected the wiki: https://github.com/RetroPie/RetroPie-Setup/wiki/lr-fbalpha#high-scores

                          mituM 1 Reply Last reply Reply Quote 1
                          • mituM
                            mitu Global Moderator @dankcushions
                            last edited by

                            @dankcushions said in IR-FBA Not Saving High Scores/Corrupts Game:

                            i stand corrected! i have corrected the wiki: https://github.com/RetroPie/RetroPie-Setup/wiki/lr-fbalpha#high-scores

                            +1. Note that the .hi files are also created in the same folder - under BIOS/fba.

                            @barbudreadmon I noticed the same problem as @SWSboarder13, I'm compiling the latest git and will test tonight. I assume I must delete the existing highscore file (gamename.hi) and start a new game.

                            dankcushionsD B 2 Replies Last reply Reply Quote 0
                            • dankcushionsD
                              dankcushions Global Moderator @mitu
                              last edited by

                              @mitu said in IR-FBA Not Saving High Scores/Corrupts Game:

                              @dankcushions said in IR-FBA Not Saving High Scores/Corrupts Game:

                              i stand corrected! i have corrected the wiki: https://github.com/RetroPie/RetroPie-Setup/wiki/lr-fbalpha#high-scores

                              +1. Note that the .hi files are also created in the same folder - under BIOS/fba.

                              oh, that's wrong of lr-fbalpha, then. any user-created data (save files, hi scores, etc), should be in savefile_directory. this sounds like it was changed recently as i don't think it was always like this. logged an issue: https://github.com/libretro/fbalpha/issues/171

                              mituM 1 Reply Last reply Reply Quote 0
                              • mituM
                                mitu Global Moderator @dankcushions
                                last edited by

                                @dankcushions Savefiles are ok (same folder as the ROM), it's just the .hi file for the game that's saved alongside the hiscore.dat file.

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

                                  @mitu said in IR-FBA Not Saving High Scores/Corrupts Game:

                                  I assume I must delete the existing highscore file (gamename.hi) and start a new game.

                                  Yes, the files generated since september were corrupt thanks to some code for windows phone compatibility. Sadly i don't use hiscores so i didn't notice before someone reported the issue.

                                  I don't have the list but i expect several other cores having unexpected issues because of this code, which is present in quite a lot of them, and this code is still in the process of being properly fixed/refactored (a libretro admin pushed 3 commits about this code to lr-fbalpha today, i didn't test them yet since i'm at work, i hope it is not broken again)

                                  FBNeo developer - github - forum

                                  mituM 1 Reply Last reply Reply Quote 0
                                  • S
                                    SWSboarder13 @barbudreadmon
                                    last edited by

                                    @barbudreadmon said in IR-FBA Not Saving High Scores/Corrupts Game:

                                    It was reported on github (https://github.com/libretro/fbalpha/issues/162) and i fixed it 10 days ago.

                                    Which versions has the fixed you mentioned?

                                    I have updated RetroPie to v4.3.8 and FB Alpha v0.2.97.42 980171e yet still seem to be experience the same issue from my initial tests.
                                    (I am using the new hgscore.dat file in the "home/pi/retropie/Bios/fba" folder that came with the latest fab update)

                                    S 1 Reply Last reply Reply Quote 0
                                    • S
                                      SWSboarder13 @SWSboarder13
                                      last edited by

                                      @swsboarder13 said in IR-FBA Not Saving High Scores/Corrupts Game:

                                      @barbudreadmon said in IR-FBA Not Saving High Scores/Corrupts Game:

                                      It was reported on github (https://github.com/libretro/fbalpha/issues/162) and i fixed it 10 days ago.

                                      Which versions has the fixed you mentioned?

                                      I have updated RetroPie to v4.3.8 and FB Alpha v0.2.97.42 980171e yet still seem to be experience the same issue from my initial tests.
                                      (I am using the new hgscore.dat file in the "home/pi/retropie/Bios/fba" folder that came with the latest fab update)

                                      I stand corrected, I just tried testing it again with the versions listed above and it appeared to work, I must've forgotten to remove the old ".hi" file. I will test it again tonight to verify.

                                      1 Reply Last reply Reply Quote 0
                                      • J
                                        jlr
                                        last edited by jlr

                                        Update: Now it works. I've update fbalpha from sources and now hiscore works.

                                        Thank you.

                                        Same problem here.

                                        Fresh Retropie 4.3 install.

                                        Problem with fbalpha 2.97.42, running roms in roms/fba and hiscore files in BIOS/fba

                                        Tested with Bubble Bobble (bublbobl.zip). With hiscores enabled it generates a .hi file with wrong data that represents bad graphics on hiscore screen position.

                                        1 Reply Last reply Reply Quote 0
                                        • mituM
                                          mitu Global Moderator @barbudreadmon
                                          last edited by mitu

                                          @barbudreadmon said in lr-fpa Not Saving High Scores/Corrupts Game

                                          Yes, the files generated since september were corrupt thanks to some code for windows phone compatibility[..]

                                          OK, updated from source (revision 980171e) and seems to be fixed - thank you.

                                          As a side effect - all the previous saves I had no longer work - but I guess is expected ?. New saves are ok. Seems to be localized to 1 ROM only, other saves seem ok.

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

                                            Neogeo or cps i guess ? Expect all of your current savestates to not work anymore when .43 will be released. Perhaps sooner.

                                            FBNeo developer - github - forum

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