Results 1 to 4 of 4

Thread: xgal high scores

  1. #1
    Junior Member registered user
    Join Date
    Jan 2004
    Posts
    22

    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

  2. #2
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Salt Lake City, UT, U.S.A.
    Posts
    1,338
    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

  3. #3
    Junior Member registered user
    Join Date
    Jan 2004
    Posts
    22
    Quote 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.

  4. #4
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Salt Lake City, UT, U.S.A.
    Posts
    1,338
    Quote Originally Posted by Gencho
    Quote 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

  1. knoppix in my high school
    By oskar in forum MS Windows & New to Linux
    Replies: 3
    Last Post: 03-17-2007, 11:12 AM
  2. USB 2.0 not utilizing high speed in Linux
    By Bothersome in forum Hardware & Booting
    Replies: 8
    Last Post: 12-10-2004, 07:06 PM
  3. CPU temperature readings from lm-sensors - seem too high?
    By champagnemojo in forum The Lounge
    Replies: 9
    Last Post: 03-30-2004, 12:50 PM
  4. Xfree: custom mode lines, need help with very high res
    By torchZ06 in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 01-23-2004, 08:46 AM
  5. LS-120 high capicty drive
    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
  •  


WD 2TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0020BBK-WESN picture

WD 2TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0020BBK-WESN

$49.99



Western Digital 4TB WD Purple Surveillance HDD, Internal Hard Drive - WD43PURZ picture

Western Digital 4TB WD Purple Surveillance HDD, Internal Hard Drive - WD43PURZ

$96.99



Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5

Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5" Enterprise Hard Drive

$169.99



Dell PowerEdge R640 Server | 2x Gold 6132 28 Cores | H730p | Choose RAM / DRIVES picture

Dell PowerEdge R640 Server | 2x Gold 6132 28 Cores | H730p | Choose RAM / DRIVES

$2630.00



HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5

HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601

$89.99



Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5

Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive

$29.99



HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5

HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD

$69.99



2TB 3.5

2TB 3.5" HDD Sata Mixed Brands hard drive Tested Formatted

$18.99



WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN picture

WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN

$209.99



Seagate Barracuda ST3000DM001 3TB 7200 RPM 64MB 6.0Gbs SATA 3.5

Seagate Barracuda ST3000DM001 3TB 7200 RPM 64MB 6.0Gbs SATA 3.5" Internal HDD

$25.89