Darkplaces -> Issue with supported games & commandlin
Moderator: InsideQC Admins
7 posts
• Page 1 of 1
Darkplaces -> Issue with supported games & commandlin
Hi all,
hopefully this is the right forum for this but I got a question related to
Darkplaces and it's supported game modes. According to the DarkPlaces readme
there is support for Quake 1 and both official Mission Packs.
Reference:
http://icculus.org/twilight/darkplaces/readme.html
So far, so good...for me this translates to standard quake behaviour:
If I want to play standard quake I start DarkPlaces like this:
darkplaces -quake -game id1
If I like to play Scourge of Armagor I type:
darkplaces -hipnotic -game hipnotic
For Dissolution of Eternity:
darkplaces -rogure -game rogue
Darkplaces also does some "autogamemode" setting if it detects rogue, id1 or hipnotic
via -game parameter. All is nice and clean as long as we do not use more than one expansion
together.
I've checked the map name of the "introduction" map in folders id1, rogue and hipnotic.
They are all called "start.bsp"
The fun starts if I use Kleshik because this coop mod relies on models (monsters & weapons) from the expansion packs.
I can easily play Scourge of Armagon with the following commandline:
darkplaces -hipnotic -game id1 -game hipnotic -game rogue -game kleshik
I get the start map from Scource of Armagon when I launch a single player game.
The same applies for Dissolution of Eternity with the following commandline:
darkplaces -rogue -game id1 -game hipnotic -game rogue -game kleshik
The strange behaviour occurs when I want to play "standard quake" together with Kleshik.
I am using the following commandline:
darkplaces -quake -game id1 -game hipnotic -game rogue -game kleshik
May be I am wrong but I would expect that the normal quake start map (the one with the three teleporters and the lava pit you need to jump over for hard game mode) shows up if I launch a single player game but it doesn't....
When I launch a single player game, I start in hipnotics start map. I'm able
to manually launch the first maps of standard Quake episodes but to me
this behaviour in Darkplaces seems odd. I have to crosscheck is this
happens without Kleshik though.
Any thoughts ?
TIA,
D$
hopefully this is the right forum for this but I got a question related to
Darkplaces and it's supported game modes. According to the DarkPlaces readme
there is support for Quake 1 and both official Mission Packs.
Reference:
http://icculus.org/twilight/darkplaces/readme.html
Supported games
* Quake : -quake, this is active by default, gamedirs: id1
* Quake: Scourge of Armagon : -hipnotic or hipnotic in executable name or path, gamedirs: hipnotic, id1
* Quake: Dissolution of Eternity : -rogue or rogue in executable name or path, gamedirs: rogue, id1
...
So far, so good...for me this translates to standard quake behaviour:
If I want to play standard quake I start DarkPlaces like this:
darkplaces -quake -game id1
If I like to play Scourge of Armagor I type:
darkplaces -hipnotic -game hipnotic
For Dissolution of Eternity:
darkplaces -rogure -game rogue
Darkplaces also does some "autogamemode" setting if it detects rogue, id1 or hipnotic
via -game parameter. All is nice and clean as long as we do not use more than one expansion
together.
I've checked the map name of the "introduction" map in folders id1, rogue and hipnotic.
They are all called "start.bsp"
The fun starts if I use Kleshik because this coop mod relies on models (monsters & weapons) from the expansion packs.
I can easily play Scourge of Armagon with the following commandline:
darkplaces -hipnotic -game id1 -game hipnotic -game rogue -game kleshik
I get the start map from Scource of Armagon when I launch a single player game.
The same applies for Dissolution of Eternity with the following commandline:
darkplaces -rogue -game id1 -game hipnotic -game rogue -game kleshik
The strange behaviour occurs when I want to play "standard quake" together with Kleshik.
I am using the following commandline:
darkplaces -quake -game id1 -game hipnotic -game rogue -game kleshik
May be I am wrong but I would expect that the normal quake start map (the one with the three teleporters and the lava pit you need to jump over for hard game mode) shows up if I launch a single player game but it doesn't....
When I launch a single player game, I start in hipnotics start map. I'm able
to manually launch the first maps of standard Quake episodes but to me
this behaviour in Darkplaces seems odd. I have to crosscheck is this
happens without Kleshik though.
Any thoughts ?
TIA,
D$
- Dark$oul71
- Posts: 58
- Joined: Sat Dec 05, 2009 6:56 pm
Re: Darkplaces -> Issue with supported games & comman
If DarkPlaces multi-gamedir works similarly to pak files (pak1 supercedes pak0) then gamedir3 will supercede gamedir2 and gamedir1.
Therefore, Klesik needs to be last (for it's progs) and -game id1 needs to be second from last (for the id1 maps).
This provided my assumption is correct and operates on the assumption that Klesik doesn't have a map named "start".
Therefore, Klesik needs to be last (for it's progs) and -game id1 needs to be second from last (for the id1 maps).
This provided my assumption is correct and operates on the assumption that Klesik doesn't have a map named "start".
-

Baker - Posts: 3666
- Joined: Tue Mar 14, 2006 5:15 am
Re: Darkplaces -> Issue with supported games & comman
Hi Baker,
thanks for your reply ! From a logical point of view this makes perfectly sense. I'll try out and report back !
Hm, I think that Kleshik doesn't include any maps since it "simply" adds new features to quake mostly using existing content.
Cheers,
D$
thanks for your reply ! From a logical point of view this makes perfectly sense. I'll try out and report back !
This provided my assumption is correct and operates on the assumption that Klesik doesn't have a map named "start".
Hm, I think that Kleshik doesn't include any maps since it "simply" adds new features to quake mostly using existing content.
Cheers,
D$
- Dark$oul71
- Posts: 58
- Joined: Sat Dec 05, 2009 6:56 pm
The standard order in which gamedirs are added in Quake is:
It's possible (and easy) to change this order in the engine code, but doing so runs the risk of breaking an undefined amount of mods that already exist, and that may rely on the order, so it's not recommended.
The solution for you would be to copy the start.bsp from ID1 (using something like PakScape or PakExplorer to extract it if required) to kleshik.
- ID1
- Rogue
- Hipnotic
- Anything specified with the -game option
It's possible (and easy) to change this order in the engine code, but doing so runs the risk of breaking an undefined amount of mods that already exist, and that may rely on the order, so it's not recommended.
The solution for you would be to copy the start.bsp from ID1 (using something like PakScape or PakExplorer to extract it if required) to kleshik.
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
We knew the words, we knew the score, we knew what we were fighting for
-

mh - Posts: 2292
- Joined: Sat Jan 12, 2008 1:38 am
OK, granted...then the behaviour I am seeing is caused by the fact that Quake loads the Hipnotic mission pack at last and thus making the start.bsp of Hipnotic's pack the "most significant".
Thanks for clarification !
So in order to play the standard quake episodes I simply need to start the corresponding first map via commandline interface by using something like
"+map e1m2".
I'm ok with this ! I just thought that this might be an issue but in the first place Quake was never meant to run more than two concurrent game directories keeping games with identical map names.
Thanks for clarification !
So in order to play the standard quake episodes I simply need to start the corresponding first map via commandline interface by using something like
"+map e1m2".
I'm ok with this ! I just thought that this might be an issue but in the first place Quake was never meant to run more than two concurrent game directories keeping games with identical map names.
- Dark$oul71
- Posts: 58
- Joined: Sat Dec 05, 2009 6:56 pm
You could do it from the console either, something like:
- Code: Select all
skill 2
map e1m1
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
We knew the words, we knew the score, we knew what we were fighting for
-

mh - Posts: 2292
- Joined: Sat Jan 12, 2008 1:38 am
ok, thanks for all your replies.
I've hacked together a small shell script with a simple menu which lets one choose each of the four quake episodes and the two expansion packs.
I think I'll package this with two "get kleshik" and "update kleshik" scripts plus the readme and upload it somewhere.
I've PM-ed Dresk about the readme but unfortunately not received any reply until now.
Cheers,
D$
I've hacked together a small shell script with a simple menu which lets one choose each of the four quake episodes and the two expansion packs.
- Code: Select all
#!/bin/sh
BASEDIR=`dirname $0`
echo "Kleshik Singleplayer Menu"
echo "========================="
echo "Please choose game:"
echo "1) Quake Episode 1 - The Doomed Dimension"
echo "2) Quake Episode 2 - The Realm Of Black Magic"
echo "3) Quake Episode 3 - The Netherworld"
echo "4) Quake Episode 4 - The Elder World"
echo "5) Quake MP 1 - Scourge of Armagon"
echo "6) Quake MP 2 - Dissolution of Eternity"
read answer
case $answer in
1) CLI=" -quake +map e1m1";;
2) CLI=" -quake +map e2m1";;
3) CLI=" -quake +map e3m1";;
4) CLI=" -quake +map e4m1";;
5) CLI=" -hipnotic +map start";;
6) CLI=" -rogue +map start";;
esac
$BASEDIR/darkplaces-linux-x86_64-glx -game id1 -game hipnotic -game rogue -game kleshik +skill 2 +set coop "1" -nocdaudio $CLI
I think I'll package this with two "get kleshik" and "update kleshik" scripts plus the readme and upload it somewhere.
I've PM-ed Dresk about the readme but unfortunately not received any reply until now.
Cheers,
D$
- Dark$oul71
- Posts: 58
- Joined: Sat Dec 05, 2009 6:56 pm
7 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest