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
  •  


ALLEN BRADLEY 1494V-DS400 SER A DISCONNECT SWITCH 3PH 400AMP 600VAC  STK 5039 picture

ALLEN BRADLEY 1494V-DS400 SER A DISCONNECT SWITCH 3PH 400AMP 600VAC STK 5039

$1220.00



Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture

Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...

$619.99



Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc... picture

Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...

$419.99



Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1 picture

Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1

$39.99



Intel Core i5-8500 3 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR3XE picture

Intel Core i5-8500 3 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR3XE

$49.99



AMD Ryzen 9 5950X 16-core 32-thread Desktop Processor picture

AMD Ryzen 9 5950X 16-core 32-thread Desktop Processor

$319.99



Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc... picture

Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc...

$619.99



E5-2697V4 INTEL XOEN SR2JV 18 CORE 2.30 GHz 45M 9.6 GT/s 145W PROCESSOR CPU picture

E5-2697V4 INTEL XOEN SR2JV 18 CORE 2.30 GHz 45M 9.6 GT/s 145W PROCESSOR CPU

$49.99



Intel Core i5-12400 Desktop Processor With HeatSink picture

Intel Core i5-12400 Desktop Processor With HeatSink

$140.00



Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor picture

Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor

$48.70