Re: Bug#319599: ITP: darkplaces - greatly improved engine for original quake1
On Mon, 2008-03-24 at 22:00:34 +0000, Jon Dowland wrote:
> Well it's been over two years since the original ITP, so
> I'm hijacking it on behalf of the debian games team.
> I'll try to track quake1-related stuff at
Actually, darkplaces is already in Debian, but repackaged as nexuiz. I
think it would make way more sense to detangle it from nexuiz and make
the latter use the former as just its engine instead, as darkplaces is
able to use several other data packs, including the original Quake ones.
The only problem is that some data packs conflict with others with
respect to their basedir, as some expect to use a different one. For
example all games using “data” as their basegame dir conflict with
each other, and OpenQuartz conflicts with the original Quake due to
both using “id1” as basegame dir and having no modgame dir. All this
can be seen in «common.c (gamemode_info)».
I think the best soltution to this would be to set fs_basedir from that
same struct, depending on the game to use.
This would allow packaging new games by just depending on darkplaces,
shipping the data, and a symlink with the proper game name to the
darkplaces binary, which would then automatically choose which game
values and directories to use.