Quake: Difference between revisions

From LANCommander
No edit summary
No edit summary
Line 78: Line 78:
To run this version in a LAN scenario, it's recommended to host it as a listen server using the following command line arguments:
To run this version in a LAN scenario, it's recommended to host it as a listen server using the following command line arguments:
<syntaxhighlight lang="batch">
<syntaxhighlight lang="batch">
Quake_Shipping_Playfab_GOG_x64.exe -listen 16 -port 26000 -game mg1 +g_showintromovie 0 +map mgdm1 +coop 1 +teamplay
Quake_Shipping_Playfab_GOG_x64.exe -listen 16 -port 26000 -game mg1 +g_showintromovie 0 +map mgdm1 +coop 1 +teamplay 1
</syntaxhighlight>
</syntaxhighlight>



Revision as of 22:42, 14 August 2023

Developers
id Software
Publishers
GT Interactive

id Software Midway Games MacSoft Games R-Comp Interactive PXL computers Sega

Pulse Interactive
Release Date
Windows: June 22, 1996
Genres
Shooter
View at PCGamingWiki

Actions

Name Path Arguments Working Directory Primary
Play GLQUAKE.exe True
Play darkplaces.exe True

Name Change Script

$NewName = $args[0]
$InstallDir = $PSScriptRoot

function Write-ReplaceContentInFile([string]$Regex, [string]$Replacement, [string]$FilePath)
{
    $content = (Get-Content $FilePath) -replace $Regex, $Replacement
    [IO.File]::WriteAllLines($FilePath, $content)
}

Write-ReplaceContentInFile -Regex '^_cl_name (.+)' -Replacement "_cl_name ""$NewName""" -FilePath "$InstallDir\Id1\config.cfg"

Quake Enhanced

In 2021 a version of Quake known as Quake Enhanced was released by Bethesda. This official port of the game was developed by Nightdive Studios and saw Quake get ported to the Kex Engine. Enhanced was pretty well received by the community, however it is missing the ability to host/join LAN matches from the UI. The workarounds listed below should work on any release of the port.

Connecting to a LAN Server

Since there are no menu options available for LAN play, you can either change your launch arguments or use the in-game console to connect to the server.

To connect directly to the server upon launch, use the following command:

Quake_Shipping_Playfab_GOG_x64.exe +connect <IP Address>

To connect using the console, launch the game and while at the main menu hit the tilde (~) key and type:

connect <IP Address>

Hosting a Listen Server

Listen servers are servers that allow you to host and play from the same machine/copy of the game. To run as a listen server, a few arguments have to be added on launch:

Quake_Shipping_Playfab_GOG_x64.exe -listen 16 -port 26000 +map dm1

This will start a listen server with a maximum of 16 players with the map dm1 on port 26000. A listen server would probably be best served as an Action in LANCommander.

Hosting a Dedicated Server

While Enhanced does offer the ability to run as a dedicated server, since the Kex engine is essentially a wrapper around the main game engine, it's not the greatest dedicated server experience. The server will launch in a maximized black window with no logging of any kind. As such, it will not output to stdout, so you will have to use the option "Use Shell Execute" when adding it to Servers. The syntax is exactly the same as the listen server, only the listen parameter needs to be switched to dedicated:

Quake_Shipping_Playfab_GOG_x64.exe -dedicated 16 -port 26000 +map dm1

Horde Mode in LAN

In Update 2 of Enhanced a new PvE Horde mode was added to the game. This can be extremely fun in a LAN environment as you have to fight off endless waves of enemies and adds quite a bit of variety to those already familiar with the game. While the horde mode is implemented as a custom map, there is some functionality implemented into the Kex port that makes this mode only playable using the Enhanced version of the game.

To run this version in a LAN scenario, it's recommended to host it as a listen server using the following command line arguments:

Quake_Shipping_Playfab_GOG_x64.exe -listen 16 -port 26000 -game mg1 +g_showintromovie 0 +map mgdm1 +coop 1 +teamplay 1

This will launch you directly into the map mgdm1. After all of your players have connected to the server, hit the tilde (~) key to open up the console and type the following command:

changelevel horde1

You will now be in the horde mode. The game will automatically restart the level when everyone has died.