summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-11-01 04:49:09 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-11-01 04:49:09 +0000
commit780b42652e2a0fdbec54ffee97d28407abd32ead (patch)
tree7bafae0379da1027094442920d9f8ba37da96575 /games-arcade/njam
parentclean old files (diff)
downloadhistorical-780b42652e2a0fdbec54ffee97d28407abd32ead.tar.gz
historical-780b42652e2a0fdbec54ffee97d28407abd32ead.tar.bz2
historical-780b42652e2a0fdbec54ffee97d28407abd32ead.zip
old
Package-Manager: portage-2.0.51.22-r3
Diffstat (limited to 'games-arcade/njam')
-rw-r--r--games-arcade/njam/Manifest9
-rw-r--r--games-arcade/njam/files/0.96/njam.diff182
-rw-r--r--games-arcade/njam/files/0.96/njamgame.diff27
-rw-r--r--games-arcade/njam/files/digest-njam-0.961
-rw-r--r--games-arcade/njam/files/digest-njam-1.001
-rw-r--r--games-arcade/njam/files/njam-1.00-conf.patch112
-rw-r--r--games-arcade/njam/njam-0.96.ebuild48
-rw-r--r--games-arcade/njam/njam-1.00.ebuild68
8 files changed, 1 insertions, 447 deletions
diff --git a/games-arcade/njam/Manifest b/games-arcade/njam/Manifest
index 4fea4833f331..67faf2eb5478 100644
--- a/games-arcade/njam/Manifest
+++ b/games-arcade/njam/Manifest
@@ -1,12 +1,5 @@
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
MD5 2cee6684ba0f1c24c1159d24a8b7ec45 njam-1.21.ebuild 1812
MD5 a11d2f720348b39e30a70afa4c9f3690 ChangeLog 999
-MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 01d93760f2434a97ba0239e9af87fc3b njam-0.96.ebuild 1008
-MD5 214dc735bfa597e82eebe8f8ee84875c njam-1.00.ebuild 1930
-MD5 39dee9ea7a61dbef098f3a7421758fef files/njam-1.00-conf.patch 3136
MD5 87cb7d4a12739db2f6f737e7dbed52ab files/1.21-conf.patch 3420
-MD5 959b0cda2752af90309b81d91e8984fb files/digest-njam-0.96 66
-MD5 8fa83f62f9156efb50d3e66e8b1dba2a files/digest-njam-1.00 66
MD5 d997203b1f58b2e497d17e7f9c670f5c files/digest-njam-1.21 66
-MD5 cd9bb343d66a3e25ae8edd50bef223de files/0.96/njam.diff 7257
-MD5 136cbe591908936157d78aa9858ea054 files/0.96/njamgame.diff 980
diff --git a/games-arcade/njam/files/0.96/njam.diff b/games-arcade/njam/files/0.96/njam.diff
deleted file mode 100644
index e19752d4b053..000000000000
--- a/games-arcade/njam/files/0.96/njam.diff
+++ /dev/null
@@ -1,182 +0,0 @@
---- njam-0.96-src/njam.cpp 2003-06-26 07:06:24.000000000 -0700
-+++ src/njam.cpp 2003-07-18 14:11:44.000000000 -0700
-@@ -202,7 +202,7 @@
- }
-
- if (script_file == NULL)
-- script_file = fopen("data/script.txt", "rb");
-+ script_file = fopen("/usr/share/games/njam/data/script.txt", "rb");
- if (script_file == NULL)
- return;
-
-@@ -287,7 +287,7 @@
- // load .bmp for main menu
- SDL_Surface *m_Icon;
- LogFile("Loading icon...");
-- m_Icon = SDL_LoadBMP("data/njamicon.bmp");
-+ m_Icon = SDL_LoadBMP("/usr/share/games/njam/data/njamicon.bmp");
- if (!m_Icon)
- {
- LogFile("FAILED.\n");
-@@ -338,7 +338,7 @@
- // load .bmp for main menu
- SDL_Surface *temp;
- LogFile("Loading Main Menu image...");
-- temp = IMG_Load("data/mainmenu.jpg");
-+ temp = IMG_Load("/usr/share/games/njam/data/mainmenu.jpg");
- if (!temp)
- {
- LogFile("FAILED.\n");
-@@ -358,7 +358,7 @@
-
- // load .bmp for options menu
- LogFile("Loading Options Menu image...");
-- temp = IMG_Load("data/options.jpg");
-+ temp = IMG_Load("/usr/share/games/njam/data/options.jpg");
- if (!temp)
- {
- LogFile("FAILED.\n");
-@@ -378,7 +378,7 @@
-
- // load .bmp for network-send screen
- LogFile("Loading Net-send image...");
-- m_NetSendImage = IMG_Load("data/netsend.jpg");
-+ m_NetSendImage = IMG_Load("/usr/share/games/njam/data/netsend.jpg");
- if (!m_NetSendImage)
- {
- LogFile("FAILED.\n");
-@@ -389,7 +389,7 @@
-
- // load .bmp for network-send screen
- LogFile("Loading Gameover image...");
-- m_GameOverImage = IMG_Load("data/gameover.jpg");
-+ m_GameOverImage = IMG_Load("/usr/share/games/njam/data/gameover.jpg");
- if (!m_GameOverImage)
- {
- LogFile("FAILED.\n");
-@@ -400,7 +400,7 @@
-
- // load .bmp for network-send screen
- LogFile("Loading Net-lobby image...");
-- m_NetLobbyImage = SDL_LoadBMP("data/network.bmp");
-+ m_NetLobbyImage = SDL_LoadBMP("/usr/share/games/njam/data/network.bmp");
- if (!m_NetLobbyImage)
- {
- LogFile("FAILED.\n");
-@@ -411,7 +411,7 @@
-
- // load .bmp for enter server IP screen
- LogFile("Loading enter server IP image...");
-- m_NetEnterImage = IMG_Load("data/enter-ip.jpg");
-+ m_NetEnterImage = IMG_Load("/usr/share/games/njam/data/enter-ip.jpg");
- if (!m_NetEnterImage)
- {
- LogFile("FAILED.\n");
-@@ -422,7 +422,7 @@
-
- // load .bmp for stats screen
- LogFile("Loading Stats screen image...");
-- temp = IMG_Load("data/stats.jpg");
-+ temp = IMG_Load("/usr/share/games/njam/data/stats.jpg");
- if (!temp)
- {
- LogFile("FAILED.\n");
-@@ -442,7 +442,7 @@
-
- // load .bmp for sprites and menu selector
- LogFile("Loading Sprites image...");
-- temp = SDL_LoadBMP("data/sprites.bmp");
-+ temp = SDL_LoadBMP("/usr/share/games/njam/data/sprites.bmp");
- if (!temp)
- {
- LogFile("FAILED.\n");
-@@ -469,7 +469,7 @@
- m_NumberOfSkins = 0;
- while (true)
- {
-- sprintf(Filename, "skins/Back%03d.bmp", m_NumberOfSkins);
-+ sprintf(Filename, "/usr/share/games/njam/skins/Back%03d.bmp", m_NumberOfSkins);
- FILE *fp = fopen(Filename, "r");
- if (!fp)
- break;
-@@ -484,7 +484,7 @@
-
- for (int i=0; i<m_NumberOfSkins; i++)
- {
-- sprintf(Filename, "skins/Back%03d.bmp", i);
-+ sprintf(Filename, "/usr/share/games/njam/skins/Back%03d.bmp", i);
- LogFile((const char*)Filename);
- temp = SDL_LoadBMP(Filename);
- if (!temp)
-@@ -506,8 +506,8 @@
- }
-
- LogFile("Loading Fonts:\n");
-- m_FontBlue = new NjamFont("data/font-blue.bmp", 6, 9);
-- m_FontYellow = new NjamFont("data/font-yellow.bmp", 10, 15);
-+ m_FontBlue = new NjamFont("/usr/share/games/njam/data/font-blue.bmp", 6, 9);
-+ m_FontYellow = new NjamFont("/usr/share/games/njam/data/font-yellow.bmp", 10, 15);
-
- // Load user settings from .conf file
- char filename[] = "njam.conf";
-@@ -561,38 +561,38 @@
- printf("2 channels were not reserved!\n");
- }
-
-- printf("Loading song: data/satisfy.s3m...\n");
-- m_MainMenuMusic = Mix_LoadMUS("data/satisfy.s3m");;
-+ printf("Loading song: /usr/share/games/njam/data/satisfy.s3m...\n");
-+ m_MainMenuMusic = Mix_LoadMUS("/usr/share/games/njam/data/satisfy.s3m");;
- if(!m_MainMenuMusic)
- printf("ERROR: Mix_LoadMUS(): %s\n", Mix_GetError());
-
-- printf("Loading song: data/ritam.s3m...\n");
-- m_GameMusic1 = Mix_LoadMUS("data/ritam.s3m");;
-+ printf("Loading song: /usr/share/games/njam/data/ritam.s3m...\n");
-+ m_GameMusic1 = Mix_LoadMUS("/usr/share/games/njam/data/ritam.s3m");;
- if(!m_GameMusic1)
- printf("ERROR: Mix_LoadMUS(): %s\n", Mix_GetError());
-
-- printf("Loading song: data/dali.mod...\n");
-- m_GameMusic2 = Mix_LoadMUS("data/dali.mod");;
-+ printf("Loading song: /usr/share/games/njam/data/dali.mod...\n");
-+ m_GameMusic2 = Mix_LoadMUS("/usr/share/games/njam/data/dali.mod");;
- if(!m_GameMusic2)
- printf("ERROR: Mix_LoadMUS(): %s\n", Mix_GetError());
-
- printf("Loading samples...");
-- m_Sounds[0] = Mix_LoadWAV("data/dead.wav");
-- m_Sounds[1] = Mix_LoadWAV("data/dead2.wav");
-- m_Sounds[2] = Mix_LoadWAV("data/dead3.wav");
-- m_Sounds[3] = Mix_LoadWAV("data/kill.wav");
-- m_Sounds[4] = Mix_LoadWAV("data/kill2.wav");
-- m_Sounds[5] = Mix_LoadWAV("data/kill3.wav");
-- m_Sounds[6] = Mix_LoadWAV("data/killply.wav");
-- m_Sounds[7] = Mix_LoadWAV("data/mapend.wav");
-- m_Sounds[8] = Mix_LoadWAV("data/mapend2.wav");
-- m_Sounds[9] = Mix_LoadWAV("data/juice.wav");
-- m_Sounds[10] = Mix_LoadWAV("data/teleport.wav");
-- m_Sounds[11] = Mix_LoadWAV("data/invisible.wav");
-- m_Sounds[12] = Mix_LoadWAV("data/trapdoor.wav");
-- m_Sounds[13] = Mix_LoadWAV("data/freeze.wav");
-- m_Sounds[14] = Mix_LoadWAV("data/tripleding.wav");
-- m_Sounds[15] = Mix_LoadWAV("data/bonus.wav");
-+ m_Sounds[0] = Mix_LoadWAV("/usr/share/games/njam/data/dead.wav");
-+ m_Sounds[1] = Mix_LoadWAV("/usr/share/games/njam/data/dead2.wav");
-+ m_Sounds[2] = Mix_LoadWAV("/usr/share/games/njam/data/dead3.wav");
-+ m_Sounds[3] = Mix_LoadWAV("/usr/share/games/njam/data/kill.wav");
-+ m_Sounds[4] = Mix_LoadWAV("/usr/share/games/njam/data/kill2.wav");
-+ m_Sounds[5] = Mix_LoadWAV("/usr/share/games/njam/data/kill3.wav");
-+ m_Sounds[6] = Mix_LoadWAV("/usr/share/games/njam/data/killply.wav");
-+ m_Sounds[7] = Mix_LoadWAV("/usr/share/games/njam/data/mapend.wav");
-+ m_Sounds[8] = Mix_LoadWAV("/usr/share/games/njam/data/mapend2.wav");
-+ m_Sounds[9] = Mix_LoadWAV("/usr/share/games/njam/data/juice.wav");
-+ m_Sounds[10] = Mix_LoadWAV("/usr/share/games/njam/data/teleport.wav");
-+ m_Sounds[11] = Mix_LoadWAV("/usr/share/games/njam/data/invisible.wav");
-+ m_Sounds[12] = Mix_LoadWAV("/usr/share/games/njam/data/trapdoor.wav");
-+ m_Sounds[13] = Mix_LoadWAV("/usr/share/games/njam/data/freeze.wav");
-+ m_Sounds[14] = Mix_LoadWAV("/usr/share/games/njam/data/tripleding.wav");
-+ m_Sounds[15] = Mix_LoadWAV("/usr/share/games/njam/data/bonus.wav");
- for (int i=0; i<16; i++)
- if (!m_Sounds[i])
- printf("ERROR loading sample nr. %d\n", i);
diff --git a/games-arcade/njam/files/0.96/njamgame.diff b/games-arcade/njam/files/0.96/njamgame.diff
deleted file mode 100644
index a6902ff13783..000000000000
--- a/games-arcade/njam/files/0.96/njamgame.diff
+++ /dev/null
@@ -1,27 +0,0 @@
---- njam-0.96-src/njamgame.cpp 2003-06-27 10:29:08.000000000 -0700
-+++ src/njamgame.cpp 2003-07-18 14:11:47.000000000 -0700
-@@ -59,13 +59,13 @@
- case gtOnePlayer:
- m_Player[0].Playing = true;
- m_Ghosts = 5;
-- levels = m_Maps.Load("data/maps.dat");
-+ levels = m_Maps.Load("/usr/share/games/njam/data/maps.dat");
- break;
- case gtDuel:
- m_Player[0].Playing = true;
- m_Player[1].Playing = true;
- case gtHostDuel:
-- levels = m_Maps.Load("data/duelmaps.dat");
-+ levels = m_Maps.Load("/usr/share/games/njam/data/duelmaps.dat");
- break;
- case gtJoinDuel: // don't load, the server will send map data
- levels = 1;
-@@ -188,7 +188,7 @@
- }
- else // duel over... we have a winner(0-3) in Winner variable
- {
-- char filename[] = "data/win?.jpg";
-+ char filename[] = "/usr/share/games/njam/data/win?.jpg";
- filename[8] = (char)('1'+Winner);
- SDL_Surface *temp = IMG_Load(filename);
- if (!temp)
diff --git a/games-arcade/njam/files/digest-njam-0.96 b/games-arcade/njam/files/digest-njam-0.96
deleted file mode 100644
index 1c1fa240d96d..000000000000
--- a/games-arcade/njam/files/digest-njam-0.96
+++ /dev/null
@@ -1 +0,0 @@
-MD5 9a22423b997c1e087f6235b9bbd67a91 njam-0.96-src.tar.gz 1479787
diff --git a/games-arcade/njam/files/digest-njam-1.00 b/games-arcade/njam/files/digest-njam-1.00
deleted file mode 100644
index 89bc9b172246..000000000000
--- a/games-arcade/njam/files/digest-njam-1.00
+++ /dev/null
@@ -1 +0,0 @@
-MD5 88b276a1334477295fc3ba3cc44e05fd njam-1.00-src.tar.gz 1342417
diff --git a/games-arcade/njam/files/njam-1.00-conf.patch b/games-arcade/njam/files/njam-1.00-conf.patch
deleted file mode 100644
index d0acc9699367..000000000000
--- a/games-arcade/njam/files/njam-1.00-conf.patch
+++ /dev/null
@@ -1,112 +0,0 @@
---- njam.cpp.orig 2003-11-06 23:59:22.000000000 -0800
-+++ njam.cpp 2003-11-06 23:59:50.000000000 -0800
-@@ -33,6 +33,8 @@
- // needed for chdir
- #ifdef __linux__
- #include <unistd.h>
-+#include <sys/stat.h>
-+#include <sys/types.h>
- #endif
-
- #include <stdio.h>
-@@ -213,16 +215,30 @@
- if (m_NetworkAvailable)
- SDLNet_Quit();
-
-+ FILE *fp;
- // write configuration options
-- char filename[] = "njam.conf";
-- FILE *fp = fopen(filename, "w+");
-- if (fp)
-+ if (getenv("HOME") && !chdir(getenv("HOME")))
- {
-- fprintf(fp, "M=%d\n", (m_GameOptions.PlayMusic ? 1 : 0));
-- fprintf(fp, "S=%d\n", (m_GameOptions.PlaySound ? 1 : 0));
-- fprintf(fp, "A=%d\n", (m_GameOptions.UseAllSkins ? 1 : 0));
-- fprintf(fp, "I=%s\n", m_GameOptions.ServerIP);
-- fclose(fp);
-+ mkdir(".njam", 0774);
-+ if (!chdir(".njam"))
-+ {
-+ char filename[] = "njam.conf";
-+ fp = fopen(filename, "w+");
-+
-+ if (fp)
-+ {
-+ fprintf(fp,
-+ "M=%d\n"
-+ "S=%d\n"
-+ "A=%d\n"
-+ "I=%s\n",
-+ (m_GameOptions.PlayMusic ? 1 : 0),
-+ (m_GameOptions.PlaySound ? 1 : 0),
-+ (m_GameOptions.UseAllSkins ? 1 : 0),
-+ m_GameOptions.ServerIP);
-+ fclose(fp);
-+ }
-+ }
- }
-
- // format: NAME#POINTS#LEVEL#
-@@ -597,35 +613,39 @@
- m_FontBlue = new NjamFont("data/font-blue.bmp", 6, 9);
- m_FontYellow = new NjamFont("data/font-yellow.bmp", 10, 15);
-
-+ FILE *fp;
- // Load user settings from .conf file
-- char filename[] = "njam.conf";
-- FILE *fp = fopen(filename, "r");
-- if (fp)
-+ if (getenv("HOME") && !chdir(getenv("HOME")) && !chdir(".njam"))
- {
-- LogFile("Reading njam.conf file.\n");
-- char buff[20];
-- while (!feof(fp))
-- {
-- fgets(buff, 20, fp);
-- if (buff[1] == '=')
-+ char filename[] = "njam.conf";
-+ fp = fopen(filename, "r");
-+ if (fp)
-+ {
-+ LogFile("Reading njam.conf file.\n");
-+ char buff[20];
-+ while (!feof(fp))
- {
-- int i;
-- switch (buff[0])
-+ fgets(buff, 20, fp);
-+ if (buff[1] == '=')
- {
-- case 'M': m_GameOptions.PlayMusic = (buff[2] == '1'); break;
-- case 'S': m_GameOptions.PlaySound = (buff[2] == '1'); break;
-- case 'A': m_GameOptions.UseAllSkins = (buff[2] == '1'); break;
-- case 'I': // serverIP
-- for (i=2; buff[i] != '\n' && buff[i] && i<17; i++)
-- m_GameOptions.ServerIP[i-2] = buff[i];
-- m_GameOptions.ServerIP[i] = '\0';
-- break;
-- default:
-- printf("Unknown configuration file option: %c\n", buff[0]);
-+ int i;
-+ switch (buff[0])
-+ {
-+ case 'M': m_GameOptions.PlayMusic = (buff[2] == '1'); break;
-+ case 'S': m_GameOptions.PlaySound = (buff[2] == '1'); break;
-+ case 'A': m_GameOptions.UseAllSkins = (buff[2] == '1'); break;
-+ case 'I': // serverIP
-+ for (i=2; buff[i] != '\n' && buff[i] && i<17; i++)
-+ m_GameOptions.ServerIP[i-2] = buff[i];
-+ m_GameOptions.ServerIP[i] = '\0';
-+ break;
-+ default:
-+ printf("Unknown configuration file option: %c\n", buff[0]);
-+ }
- }
- }
-+ fclose(fp);
- }
-- fclose(fp);
- }
-
- // create default hiscore
diff --git a/games-arcade/njam/njam-0.96.ebuild b/games-arcade/njam/njam-0.96.ebuild
deleted file mode 100644
index 2526f8381d75..000000000000
--- a/games-arcade/njam/njam-0.96.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/njam/njam-0.96.ebuild,v 1.6 2005/09/26 17:35:42 wolf31o2 Exp $
-
-inherit eutils games
-
-MY_P="${P}-src"
-S="${WORKDIR}/${MY_P}"
-DESCRIPTION="Multi or single-player network Pacman-like game in SDL"
-HOMEPAGE="http://njam.sourceforge.net/"
-SRC_URI="mirror://sourceforge/njam/${MY_P}.tar.gz"
-RESTRICT="nomirror"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86"
-IUSE=""
-
-DEPEND=">=media-libs/sdl-mixer-1.2.5
- >=media-libs/sdl-image-1.2.2
- >=media-libs/libsdl-1.2.5
- >=media-libs/sdl-net-1.2.4"
-
-src_unpack() {
- unpack ${A}
- epatch ${FILESDIR}/${PV}/njam.diff
- epatch ${FILESDIR}/${PV}/njamgame.diff
-}
-
-src_compile() {
- emake PREFIX="/usr/share" || die "emake failed"
-}
-
-src_install() {
- dogamesbin njam
-
- dodoc CHANGES README TODO
-
- dohtml html/*
-
- insinto ${GAMES_DATADIR}/njam/data
- doins data/*
-
- insinto ${GAMES_DATADIR}/njam/skins
- doins skins/*
-
- prepgamesdirs
-}
diff --git a/games-arcade/njam/njam-1.00.ebuild b/games-arcade/njam/njam-1.00.ebuild
deleted file mode 100644
index df3c352074ef..000000000000
--- a/games-arcade/njam/njam-1.00.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/njam/njam-1.00.ebuild,v 1.7 2004/06/24 22:09:24 agriffis Exp $
-
-inherit eutils games
-
-MY_P="${P}-src"
-S="${WORKDIR}/${MY_P}"
-DESCRIPTION="Multi or single-player network Pacman-like game in SDL"
-HOMEPAGE="http://njam.sourceforge.net/"
-SRC_URI="mirror://sourceforge/njam/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ppc ~amd64"
-IUSE=""
-
-RDEPEND=">=media-libs/sdl-mixer-1.2.5
- >=media-libs/sdl-image-1.2.2
- >=media-libs/libsdl-1.2.5
- >=media-libs/sdl-net-1.2.4"
-DEPEND="${RDEPEND}
- >=sys-apps/sed-4"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- # store the conf file in the user's home directory.
- epatch ${FILESDIR}/${P}-conf.patch
-
- sed -i \
- -e "s:\"data:\"${GAMES_DATADIR}/${PN}/data:" njam.cpp njamgame.cpp \
- || die "sed njam.cpp and njamgame.cpp failed"
- sed -i \
- -e "s:\"hiscore.dat:\"${GAMES_STATEDIR}/${PN}/hiscore.dat:" \
- -e "s:\"skins:\"${GAMES_DATADIR}/${PN}/skins:" njam.cpp \
- || die "sed njam.cpp failed"
- sed -i \
- -e "s:\"levels:\"${GAMES_DATADIR}/${PN}/levels:" njamedit.cpp \
- || die "sed njamedit.cpp failed"
- sed -i \
- -e "s:\"log.txt:\"/dev/null:" njamutils.cpp \
- || die "sed njamutils.cpp failed"
- sed -i \
- -e "s:-O3:${CFLAGS}:" Makefile \
- || die "sed Makefile failed"
-}
-
-src_compile() {
- emake PREFIX="/usr/share" || die "emake failed"
-}
-
-src_install() {
- dogamesbin njam || die "dogamesbin failed"
- dodoc CHANGES README TODO
- dohtml html/*
- insinto ${GAMES_DATADIR}/njam/data
- doins data/* || die "doins failed (data)"
- insinto ${GAMES_DATADIR}/njam/skins
- doins skins/* || die "doins failed (skins)"
- insinto ${GAMES_DATADIR}/njam/levels
- doins levels/* || die "doins failed (levels)"
- dodir ${GAMES_STATEDIR}/${PN}
- touch ${D}/${GAMES_STATEDIR}/${PN}/hiscore.dat
- fperms 664 ${GAMES_STATEDIR}/${PN}/hiscore.dat
- prepgamesdirs
-}