QuakeJS: Difference between revisions

From NixOS Wiki
Onny (talk | contribs)
No edit summary
Klinger (talk | contribs)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[http://www.quakejs.com/ QuakeJS] is a browser-based port of '''Quake III Arena''', enabling players to enjoy the classic shooter directly in their web browsers. It uses WebAssembly and WebGL to deliver the original gameplay experience without additional software.
[http://www.quakejs.com/ QuakeJS] is a browser-based port of '''Quake III Arena''', enabling players to enjoy the classic shooter directly in their web browsers. It uses WebAssembly and WebGL to deliver the original gameplay experience without additional software.
== Run the game==
The game can be run by opening it in a web browser and accepting persistent storage of the game files.


== Setup ==
== Setup of a dedicated server==
Following example configuration will enable QuakeJS for the domain<code><nowiki>http://quakejs.example.org</nowiki></code>:{{Note|Parts of this module are not yet stable will be available with the upcoming NixOS release 24.11.}}<syntaxhighlight lang="nix">
Following example configuration will enable QuakeJS for the domain<code><nowiki>http://quakejs.example.org</nowiki></code>:{{Note|Parts of this module are not yet stable will be available with the upcoming NixOS release 24.11.}}<syntaxhighlight lang="nix">
services.quakejs = {
services.quakejs = {
Line 14: Line 16:
[[Category:Applications]]
[[Category:Applications]]
[[Category:Gaming]]
[[Category:Gaming]]
[[Category:Server]]

Latest revision as of 20:36, 26 September 2024

QuakeJS is a browser-based port of Quake III Arena, enabling players to enjoy the classic shooter directly in their web browsers. It uses WebAssembly and WebGL to deliver the original gameplay experience without additional software.

Run the game

The game can be run by opening it in a web browser and accepting persistent storage of the game files.

Setup of a dedicated server

Following example configuration will enable QuakeJS for the domainhttp://quakejs.example.org:

Note: Parts of this module are not yet stable will be available with the upcoming NixOS release 24.11.
services.quakejs = {
  enable = true;
  hostname = "quakejs.example.org";
  eula = true;
  openFirewall = true;
  dedicated-server.enable = true;
};

Join your own dedicated server using the url: http://quakejs.example.org/play?connect%20192.0.2.0:27960, where 192.0.2.0 is the public IP of your dedicated server.