-
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 ![Smile](images/smilies/icon_smile.gif)
Hope this helps,
Ms. Cuddles
-
Junior Member
registered user
![Quote](images/misc/quote_icon.png)
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
![Quote](images/misc/quote_icon.png)
Originally Posted by
Gencho
![Quote](images/misc/quote_icon.png)
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
![Samsung - S Pen Creator Edition - White picture](/store/img/g/nicAAOSwg8Nl-6GK/s-l225/Samsung-S-Pen-Creator-Edition-White.jpg)
Samsung - S Pen Creator Edition - White
$38.00
![Samsung - Galaxy Book4 15.6](/store/img/g/rkUAAOSwAW1mDtCs/s-l225/Samsung-Galaxy-Book4-15-6-FHD-Laptop-Intel-Core-7-.jpg)
Samsung - Galaxy Book4 15.6" FHD Laptop - Intel Core 7- 16GB Memory - 512GB S...
$599.99
![Samsung Galaxy Tab A9+ 11.0](/store/img/g/qbUAAOSw1o1l1Rtt/s-l225/Samsung-Galaxy-Tab-A9-11-0-64GB-Gray-Wi-Fi-Tablet-.jpg)
Samsung Galaxy Tab A9+ 11.0" 64GB Gray Wi-Fi Tablet Bundle SM-X210NZAYXAR 2023
$149.99
![Samsung Galaxy Tab A Tablet SM-T580 16GB WiFi Only Black - EXCELLENT picture](/store/img/g/Lo0AAOSw931mZ0ra/s-l225/Samsung-Galaxy-Tab-A-Tablet-SM-T580-16GB-WiFi-Only.jpg)
Samsung Galaxy Tab A Tablet SM-T580 16GB WiFi Only Black - EXCELLENT
$35.00
![Genuine OEM Samsung Galaxy Tab S6 Lite Book Cover -NEW EF-BP610PJEGUJ- #E4 picture](/store/img/g/eO0AAOSwbkllzTa3/s-l225/Genuine-OEM-Samsung-Galaxy-Tab-S6-Lite-Book-Cover-.jpg)
Genuine OEM Samsung Galaxy Tab S6 Lite Book Cover -NEW EF-BP610PJEGUJ- #E4
$10.00
![Samsung - Galaxy Tab 4 - 10.1](/store/img/g/4jIAAOSwCO9kf2nK/s-l225/Samsung-Galaxy-Tab-4-10-1-16GB-Black-SM-T530NYKAXA.jpg)
Samsung - Galaxy Tab 4 - 10.1" - 16GB - Black - SM-T530NYKAXAR
$32.99
![Samsung Galaxy Tab A9+ SM-X210N WIFI 128GB Graphite Very Good picture](/store/img/g/OP4AAOSwLxVmb2ml/s-l225/Samsung-Galaxy-Tab-A9-SM-X210N-WIFI-128GB-Graphite.jpg)
Samsung Galaxy Tab A9+ SM-X210N WIFI 128GB Graphite Very Good
$159.99
![Samsung Chromebook 4 11.6](/store/img/g/jPYAAOSwLFtl56bC/s-l225/Samsung-Chromebook-4-11-6-Celeron-1-1GHz-4GB-RAM-3.jpg)
Samsung Chromebook 4 11.6" Celeron 1.1GHz 4GB RAM 32GB SSD XE310XBA
$42.89
![Samsung Chromebook XE350XBA-K05US 15.6](/store/img/g/GBsAAOSwAXVmaIaV/s-l225/Samsung-Chromebook-XE350XBA-K05US-15-6-1080p-FHD-L.jpg)
Samsung Chromebook XE350XBA-K05US 15.6" 1080p FHD Laptop Intel 4GB RAM 128GB SSD
$349.00
![OEM Samsung Galaxy Tab S9 Ultra 14.6](/store/img/g/yzcAAOSwVO1mGCVK/s-l225/OEM-Samsung-Galaxy-Tab-S9-Ultra-14-6-Book-Cover-Ke.jpg)
OEM Samsung Galaxy Tab S9 Ultra 14.6" Book Cover Keyboard, Black, EF-DX915UBEGUJ
$249.99