--- WinQuake/common.c.orig 2004-12-28 01:13:18.982915064 -0500 +++ WinQuake/common.c 2004-12-28 01:16:01.038278904 -0500 @@ -1775,11 +1775,16 @@ // start up with GAMENAME by default (id1) // COM_AddGameDirectory (va("%s/"GAMENAME, basedir) ); + COM_AddGameDirectory (va("GENTOO_DATADIR/"GAMENAME) ); - if (COM_CheckParm ("-rogue")) + if (COM_CheckParm ("-rogue")) { COM_AddGameDirectory (va("%s/rogue", basedir) ); - if (COM_CheckParm ("-hipnotic")) + COM_AddGameDirectory (va("GENTOO_DATADIR/rogue") ); + } + if (COM_CheckParm ("-hipnotic")) { COM_AddGameDirectory (va("%s/hipnotic", basedir) ); + COM_AddGameDirectory (va("GENTOO_DATADIR/hipnotic") ); + } // // -game --- QW/client/common.c.orig 2004-12-28 01:20:42.280523584 -0500 +++ QW/client/common.c 2004-12-28 01:21:14.960555464 -0500 @@ -1845,6 +1845,8 @@ // COM_AddGameDirectory (va("%s/id1", com_basedir) ); COM_AddGameDirectory (va("%s/qw", com_basedir) ); + COM_AddGameDirectory (va("GENTOO_DATADIR/id1", com_basedir) ); + COM_AddGameDirectory (va("GENTOO_DATADIR/qw", com_basedir) ); // any set gamedirs will be freed up to here com_base_searchpaths = com_searchpaths;