-
Junior Member
registered user
xgal high scores
Hello,
I am using a poor man's install with a home directory in an ext2fs partition and I have noticed that the xgal high scores (in ~/.xgalscores) are lost after rebooting.
What happens?
Bye,
Gencho
-
Senior Member
registered user
Gencho,
Interesting, I never really noticed this...
I have a hard drive installed "Kanotix" install, which is a "hybrid" version of Knoppix, and, it appears, that on my system, the high scores are kept in two places, neither of these two places appears to have anything "visible" in them, other than the name of the player, probably using ASCII values for the scores, and thus, would need to be viewed under a HEX editor, instead of a TEXT editor, but...
the two files I located, are:
~/home/[user]/.xgalscores
and
/var/games/xgalaga_scores
I would take it, that, newer versions of the game, resolved to using a "global" location for the high scores tables, instead of the "private" /home location for them, and, if your operating system evaporates every location but your /home area, i.e. the /var location, those high scores, found in the /var/games folder, get eliminated during your reboot - my best guess here
I am not sure if "newer" versions of XGalaga are even "using" the /home file, and may only be using the /var location file, and thus, even copying the /var/games file into your own "saved" /home location will help in retention of those high scores ? It could be a good test, and, heck, if it works, might get your scores retained ? You might try to "copy" the /var/game/xgalaga_scores file into your /home location, and then rename it as .xgalscores and then, reboot to see if your scores are retained ? ( just as a test ) -=- I am guessing, it wont work, the game is probably given up on the /home file location, and is probably only using the /var/games location alone, but, its worth a try 
Hope this helps,
Ms. Cuddles
-
Junior Member
registered user

Originally Posted by
Cuddles
the two files I located, are:
~/home/[user]/.xgalscores
and
/var/games/xgalaga_scores
I would take it, that, newer versions of the game, resolved to using a "global" location for the high scores tables, instead of the "private" /home location for them, and, if your operating system evaporates every location but your /home area, i.e. the /var location, those high scores, found in the /var/games folder, get eliminated during your reboot - my best guess here
Actually the first file contrains the personal high scores and the second one contains the "Global High Scores" (it is lost/reset after rebooting). Maybe that is the reason xgal resets the lpersonal high scores file too.
-
Senior Member
registered user

Originally Posted by
Gencho

Originally Posted by
Cuddles
the two files I located, are:
~/home/[user]/.xgalscores
and
/var/games/xgalaga_scores
I would take it, that, newer versions of the game, resolved to using a "global" location for the high scores tables, instead of the "private" /home location for them, and, if your operating system evaporates every location but your /home area, i.e. the /var location, those high scores, found in the /var/games folder, get eliminated during your reboot - my best guess here
Actually the first file contrains the personal high scores and the second one contains the "Global High Scores" (it is lost/reset after rebooting). Maybe that is the reason xgal resets the lpersonal high scores file too.
Hmmm, then maybe my idea of creating a script that copies that "global" high score table to your /home location (before rebooting), and then another script that copies it back to the "global" area, may work, or may be a good test for someone who runs the Live CD, and has a Persistant Home ?????
Just some ideas,
Ms. Cuddles
Similar Threads
-
By oskar in forum MS Windows & New to Linux
Replies: 3
Last Post: 03-17-2007, 11:12 AM
-
By Bothersome in forum Hardware & Booting
Replies: 8
Last Post: 12-10-2004, 07:06 PM
-
By champagnemojo in forum The Lounge
Replies: 9
Last Post: 03-30-2004, 12:50 PM
-
By torchZ06 in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 01-23-2004, 08:46 AM
-
By MPW in forum Hardware & Booting
Replies: 3
Last Post: 04-01-2003, 07:57 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray
$174.99

OPNsense Firewall 8-Core Atom C3758 4GB DDR4 RAM 64GB SSD 8x 1Gbe QAT AES-NI VPN
$95.00

AMD Ryzen 7 PRO 8700GE 8-Core/16-Thread Up to 5.1GHz AM5 (FL1)
$175.00

HP Envy x360 15.6" 2-in-1 Touchscreen Core Ultra 5 8GB RAM 256GB SSD Win 11
$400.00

Lenovo ThinkCentre M720Q Core i5-8500T 2.10GHz 8GB 128GB SDD W11 Mini PC (Z3675)
$123.16

Brand New In Box - AMD Ryzen 7 7800X3D 8-Core 16-Thread Socket AM5 5.0GHz CPU
$309.00

AMD Ryzen 7 9850X3D 8-Core 16-Thread 5.6GHz 120W AM5 CPU 100-100001973WOF
$435.99

AMD Ryzen 7 5800X3D 8-Core 3.4GHz Socket AM4 CPU Processor….
$309.99

Dell Latitude 7200 Touch Tablet Laptop 12” Core i5 8GB RAM 256GB SSD Win 11 Pro
$239.99

Dell Optiplex 7070 SFF i7-9700 8-Core 3.0GHz 16B Ram NO HDD NO OS
$199.99