Resetting Mines game scores

Asked by Ken on 2010-08-17

How do I reset the scores for Mines?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-games Edit question
Assignee:
No assignee Edit question
Solved by:
giantclam
Solved:
2010-08-18
Last query:
2010-08-18
Last reply:
2010-08-18

cd you give the output of:

ls -la $HOME

Thanks

Basically if you delete the name of the gnomines config folder, it will reset them and all settings to vanilla next time it is executed.

Ken (ken-1) said : #2

I deleted the gnomine folder and the program did return to the vanilla state as you said it would. As soon as I entered my custom preferences the scores returned.

I deleted the folder again and uninstalled (sudo apt-get purge gnomine) game. I reinstalled the game and the same thing happened. The scores returned as soon as I set up my preferences.

I think this machine might be haunted! It may be time to sell it!

You could try in gconf-editor under the apps folder, is a gnomine folder. Maybe that holds stuff

Best giantclam (giantclam2005-lp) said : #4

I just got this to work beautifully on Lucid Lynx by going into the /var/games folder (as root - you can do this by going to a terminal and typing in "sudo nautilus"). There is a high score folder for each level in there:

gnomine.Small.scores
gnomine.Medium.scores
gnomine.Large.scores
gnomine.Custom.scores

If you open each one of these and erase all the scores that are in there, that will do the trick.

Make sure you do not delete the files, just delete the contents. If you delete the files, the high score system won't work.

Ken (ken-1) said : #5

That worked perfectly. Thank you very much. I really must find something more productive to do with my mind! :-)

Andrew P. (japoth) said : #6

In Ubuntu 10.04.4LTS, the files in /var/games all have an initial size "0" and a time stamp of 201202140247.06 (14 February 2012, 2:47:06). To recreate the files as they were on initial system setup, one can delete them, then use the "touch" command (as "root") in a terminal window opened in /var/games/ with:

sudo rm <filename>
sudo touch -t201202140247.06 <filename>

The list of files is as follows, including a number for games that aren't included on the 10.04 "Lucid Lynx" LiveCD:
glines.Small.scores
glines.Medium.scores
glines.Large.scores
gnibbles.1.0.scores
gnibbles.1.1.scores
gnibbles.2.0.scores
gnibbles.2.1.scores
gnibbles.3.0.scores
gnibbles.3.1.scores
gnibbles.4.0.scores
gnibbles.4.1.scores
gnobots2.robots2.scores
gnobots2.robots2-safe.scores
gnobots2.robots2-super-safe.scores
gnobots2.classic_robots.scores
gnobots2.classic_robots-safe.scores
gnobots2.classic_robots-super-safe.scores
gnobots2.robots2_easy.scores
gnobots2.robots2_easy-safe.scores
gnobots2.robots2_easy-super-safe.scores
gnobots2.robots_with_safe_teleport.scores
gnobots2.robots_with_safe_teleport-safe.scores
gnobots2.robots_with_safe_teleport-super-safe.scores
gnobots2.nightmare.scores
gnobots2.nightmare-safe.scores
gnobots2.nightmare-super-safe.scores
gnomine.Small.scores
gnomine.Medium.scores
gnomine.Large.scores
gnomine.Custom.scores
gnotravex.2x2.scores
gnotravex.3x3.scores
gnotravex.4x4.scores
gnotravex.5x5.scores
gnotravex.6x6.scores
gnotski.1.scores
gnotski.2.scores
gnotski.3.scores
gnotski.4.scores
gnotski.5.scores
gnotski.6.scores
gnotski.7.scores
gnotski.8.scores
gnotski.9.scores
gnotski.10.scores
gnotski.11.scores
gnotski.12.scores
gnotski.13.scores
gnotski.14.scores
gnotski.15.scores
gnotski.16.scores
gnotski.17.scores
gnotski.18.scores
gnotski.19.scores
gnotski.20.scores
gnotski.21.scores
gnotski.22.scores
gnotski.23.scores
gnotski.24.scores
gnotski.25.scores
gnotski.26.scores
gnotski.27.scores
gnotski.28.scores
gnotski.29.scores
gnotski.30.scores
gnotski.31.scores
gnotski.32.scores
gnotski.33.scores
gnotski.34.scores
gnotski.35.scores
gnotski.36.scores
gnotski.37.scores
gtali.Colors.scores
gtali.Regular.scores
mahjongg.easy.scores
mahjongg.ziggurat.scores
mahjongg.bridges.scores
mahjongg.cloud.scores
mahjongg.tictactoe.scores
mahjongg.dragon.scores
mahjongg.pyramid.scores
mahjongg.confounding.scores
mahjongg.difficult.scores
quadrapassel.scores
swell-foop.Large.scores
swell-foop.Medium.scores
swell-foop.Small.scores