-
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
ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield
$42.00
***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3
$29.77
Micro ATX Desktop Motherboard ASUS H110M-C LGA 1151
$31.95
Gigabyte AMD B550 UD AC Gaming Motherboard - AMD B550 Chipset - AM4 Socket - AMD
$89.99
ASUS Prime Z390-A LGA 1151 Intel Z390 SATA USB 3.1 ATX Motherboard NO I/O
$99.00
MSI B450M PRO-VDH MAX AM4 AMD B450 USB3.2 Micro-ATX Motherboard
$67.99
Asrock Z390 Phantom Gaming 4S/AC Wifi 8th/9th Gen Intel 1151 Motherboard Bulk
$47.55
Gigabyte Ultra Durable B550 GAMING X V2 Desktop Motherboard
$94.99
***NEW*** BCM RX67Q mATX Gaming Motherboard Combo | Intel i5-3470 | 16GB DDR3
$49.77
GIGABYTE MB10-Datto Motherboard Xeon D-1521- SR2DF 2.40 GHz- Open Box
$121.50