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
  •  


Dell PowerEdge R730xd Server 2.60Ghz 32-Core 64GB 800GB SSD Debian Linux picture

Dell PowerEdge R730xd Server 2.60Ghz 32-Core 64GB 800GB SSD Debian Linux

$836.80



Toshiba Magnia SG20 VPN Linux server Web server (No HDD, *Read*) - picture

Toshiba Magnia SG20 VPN Linux server Web server (No HDD, *Read*) -

$41.53



1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports picture

1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports

$149.00



IBM CS821 20-Core 2.827GHz 128Gb 1.92Tb SSD 1U Linux Server - 8005-12N Power 8 picture

IBM CS821 20-Core 2.827GHz 128Gb 1.92Tb SSD 1U Linux Server - 8005-12N Power 8

$449.96



IBM E850 Power8 2x 12C 3.02GHz 512Gb 1.8Tb SAS 10GbE 16Gb Linux Server 8408-E8E picture

IBM E850 Power8 2x 12C 3.02GHz 512Gb 1.8Tb SAS 10GbE 16Gb Linux Server 8408-E8E

$674.96



PFSENSE 15

PFSENSE 15" Depth Server Router Firewall Supermicro X11SSH-F E3-1240 V5 32GB RAM

$382.00



IBM Power8 S822L 20-Core 3.42GHz 256Gb 1.2Tb 40G Elastic Storage Server 5148-22L picture

IBM Power8 S822L 20-Core 3.42GHz 256Gb 1.2Tb 40G Elastic Storage Server 5148-22L

$599.95



IBM Power 9 S922 8-Core 3.4-3.9Ghz 128Gb DDR4 2U Linux Server - 9009-22a picture

IBM Power 9 S922 8-Core 3.4-3.9Ghz 128Gb DDR4 2U Linux Server - 9009-22a

$2999.96



Ubuntu 22.04.3 Desktop, Server, and Studio DVD Set SAME DAY SHIPPING picture

Ubuntu 22.04.3 Desktop, Server, and Studio DVD Set SAME DAY SHIPPING

$7.49



32GB Web HTML HTTP Server, Great tool for eBay seller & kids to host web site picture

32GB Web HTML HTTP Server, Great tool for eBay seller & kids to host web site

$229.99