-
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
ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard
$84.99
Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3
$23.99
Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard
$54.99
Gigabyte Z370P D3 ATX Z370 LGA1151 Motherboard (Support Intel 6/7th 8th 9th)
$59.99
MSI H81I LGA1150 MINI-ITX DDR3 Desktop Motherboard With I/O Shield
$32.99
ASUS H87I-PLUS, LGA 1150, Intel Motherboard w/ IO Shield
$39.00
MSI B450M PRO-VDH MAX AM4 AMD B450 USB3.2 Micro-ATX Motherboard
$67.99
MSI MAG Z590 TOMAHAWK WIFI Intel LGA1200 PCIE 4.0 WiFi 6E ATX Motherboard
$129.99
MSI PRO B650-P WiFi AMD AM5 DDR5 WiFi 6E ProSeries Motherboard
$107.30
Gigabyte M-ATX motherboard with Intel Core i3 8100 CPU and 8GB DDR4 RAM
$84.00