djdefiant / mame4all-pi

Automatically exported from code.google.com/p/mame4all-pi
0 stars 0 forks source link

High score is not saved after exiting game #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Get a high score
2. Exit out of game back to menu
3. Reboot the computer

What is the expected output? What do you see instead?
High score should be saved after exiting game.  Instead, you need to exit out 
of mame4all-pi completely for the high score to be saved.

What version of the product are you using? On what operating system?
Latest version with wheezy.

Please provide any additional information below.

Original issue reported on code.google.com by VuQNgu...@gmail.com on 23 Aug 2013 at 10:09

GoogleCodeExporter commented 9 years ago
I don't experience this problem. After a game is quit the Hi scores are saved.

Original comment by squid...@gmail.com on 24 Aug 2013 at 2:03

GoogleCodeExporter commented 9 years ago
Are you exiting out of the just the current game?  Or are you exiting out of 
mame4all-pi menu completely?  If I reboot the rpi while in the pi menu, the 
high score is not saved.  

For me, I need to press ESC two times (First ESC exit out of current game, 
second ESC exit out of menu) before rebooting.  I have a shutdown button for my 
arcade cabinet which launches a script that sends two ESC keys before shutting 
down the RPI.

Original comment by VuQNgu...@gmail.com on 24 Aug 2013 at 4:52

GoogleCodeExporter commented 9 years ago
It's saving for me but then I didn't reboot, I guess you mean you pulled the 
plug? Maybe the files aren't being synced to disk before you're rebooting. Have 
you tried a "sudo halt" in another session to try a clean shutdown?
I could put a file sync in the code after the high scores are saved (and config 
saves too).

Original comment by squid...@gmail.com on 29 Aug 2013 at 11:13

GoogleCodeExporter commented 9 years ago
Added a file sync in the latest version which should resolve this issue.

Original comment by squid...@gmail.com on 4 Sep 2013 at 8:41

GoogleCodeExporter commented 9 years ago
Awesome.  Although I found a viable work around, let me test it.

Original comment by VuQNgu...@gmail.com on 4 Sep 2013 at 4:14

GoogleCodeExporter commented 9 years ago
How do you upgrade to the current version of mame4all_pi?  I want to keep all 
of my high scores, configs, etc.

Original comment by VuQNgu...@gmail.com on 21 Sep 2013 at 4:13

GoogleCodeExporter commented 9 years ago
Just overwrite it or install the Pi Store version, it doesn't overwrite 
configs, scores etc.

Original comment by squid...@gmail.com on 10 Oct 2013 at 3:06