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

      @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
                                  • mituM
                                    mitu Global Moderator @barbudreadmon
                                    last edited by mitu

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

                                    Neogeo or cps

                                    I don't know for sure if it's CPS. It's Ghosts'n Goblins (gngt) that had this problem, but for instance 1944 or Rtype (Japan) didn't.

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

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

                                      Ghosts'n Goblins

                                      It's not cps, i guess it was the result of the hiscore corruption then (neogeo and cps1/2/3 had a few changes in their savestates for netplay purpose)

                                      FBNeo developer - github - forum

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

                                        Ran my second test on another build. RetroPie v4.3.8 and FB Alpha v0.2.97.42 f71f272 (most recent update from source) and it's working great!

                                        1 Reply Last reply Reply Quote 0
                                        • A
                                          AlanOC91
                                          last edited by AlanOC91

                                          Downloaded the most recent version of fbalpha from source today and I can't seem to get Street Fighter III Third Strike to save its highscore. It keeps resetting after I exit out of the game.

                                          The Rom is in my roms/cps3 folder so I'm not sure if it matters that it's not in the fba folder.

                                          I'll try some other games in the cps3 folder to test. My other arcade games are saving fine such as Defender.

                                          Edit: Other games don't save either. Temporarily resolved it by enabling auto save state start and auto save state exit.

                                          1 Reply Last reply Reply Quote 0
                                          • BobHarrisB
                                            BobHarris
                                            last edited by BobHarris

                                            Do you have to do anything for highscores to get saved?
                                            I just updated from source, but Street fighter iii: second impact still does not save my highscore.
                                            (@AlanOC91 My game is located in the fba folder.)

                                            Retroarch: 1.6.7
                                            Retropie 4.3.5
                                            lr-fbalpha v0.2.97.42 a6ce1ff

                                            Pi 3B , 64 GB Sandisk ultra flashdrive, 19 systems, 872 hand picked classic gaming gems :-) Dual shock 4v2

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