From cb6f62dd69ece6a297b9fd875b1c412b41a001ef Mon Sep 17 00:00:00 2001 From: Gustavo Date: Fri, 27 Nov 2026 18:20:20 -0300 Subject: [PATCH] The game is Nextgen Spades: display name, short mark NGS and slug ngspades GAME_NAME is what a player sees (window, installer, app, server list tags [NGS]); GAME_SLUG is what files and folders are called (archives, the player's folder, the runtime folder). The server's own names (ngspades-server, pw.obex.ngspades) are unchanged. --- common/game.cmake | 6 +++--- manual/gen/config-tables.typ | 2 +- server/Resources/config-075.toml | 2 +- server/Resources/config.toml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/common/game.cmake b/common/game.cmake index ebb8a85..ccc2915 100644 --- a/common/game.cmake +++ b/common/game.cmake @@ -2,16 +2,16 @@ # this file: the C code sees the strings as macros, CMake uses the variables # (package name, server binary). tools/ scripts and the Makefile parse this # file for the same values. Change it here and rebuild both. -set(GAME_NAME "Shoot and Destroy") +set(GAME_NAME "Nextgen Spades") # the mark, for where the full name does not fit: an app icon's label (a # phone truncates it), the home screen of a narrow window, a splash. It # never replaces the name in a sentence or on a store page -set(GAME_SHORT_NAME "S&D") +set(GAME_SHORT_NAME "NGS") # the same mark for a template that is XML (Info.plist): CMake substitutes # the raw text, and an unescaped "&" makes the plist unreadable string(REPLACE "&" "&" GAME_SHORT_NAME_XML "${GAME_SHORT_NAME}") # file and folder names: archives, the player's folder, the app's files -set(GAME_SLUG "shootanddestroy") +set(GAME_SLUG "ngspades") # the server's own name, apart from the game's: the binary, its archives, its # Docker image and the service a host installs. Dedicated servers outlive a # change of the game's working title (and a host's firewall rule, systemd unit diff --git a/manual/gen/config-tables.typ b/manual/gen/config-tables.typ index cd411fa..f49c188 100644 --- a/manual/gen/config-tables.typ +++ b/manual/gen/config-tables.typ @@ -6,7 +6,7 @@ The server itself. Command line options (#raw("--port"), #raw("--gamemode"), #raw("--map"), #raw("--preset")) win over this section. #config-table(( - (`name`, `string`, `"[S&D] ngCTF 24/7" (1.0); "[S&D] Classic CTF 0.75" (0.75)`, [The name on the server list.], [both], `SP_SERVER_NAME`), + (`name`, `string`, `"[NGS] ngCTF 24/7" (1.0); "[NGS] Classic CTF 0.75" (0.75)`, [The name on the server list.], [both], `SP_SERVER_NAME`), (`port`, `int`, `32887 (1.0); 32897 (0.75)`, [Port for the server to listen on], [both], "-"), (`max_players`, `int`, `128 (1.0); 32 (0.75)`, [Players at most. 1.0: up to 128 (the default); 0.75: up to 32, the wire's limit. A smaller number is kept, a larger one is cut to the profile's cap.], [both], "-"), (`master`, `bool`, `false`, [Kept so old configs load. A 1.0 server does not announce on the 0.75 master list: with #raw("true") it only logs a warning. The listing is #raw("[master] enabled") (1.0) or #raw("[master075]") (0.75 profile).], [both], "-"), diff --git a/server/Resources/config-075.toml b/server/Resources/config-075.toml index 1f84f74..d3a0802 100644 --- a/server/Resources/config-075.toml +++ b/server/Resources/config-075.toml @@ -16,7 +16,7 @@ [server] # The server's name, shown on the server lists (ours and the public 0.75 # one). "{game}" (here and in the messages below) is the game's name. -name = "[S&D] Classic CTF 0.75" +name = "[NGS] Classic CTF 0.75" # Port for the server to listen on: the 1.0 server's (32887) + 10, so the # two never fight for it. The WebRTC port follows it ([webrtc] below). diff --git a/server/Resources/config.toml b/server/Resources/config.toml index 194d092..bac4b81 100644 --- a/server/Resources/config.toml +++ b/server/Resources/config.toml @@ -1,7 +1,7 @@ [server] # The server's name. This is shown on the server list. "{game}" (here and in # the messages below) is the game's name, set once in common/game.cmake. -name = "[S&D] ngCTF 24/7" +name = "[NGS] ngCTF 24/7" # Port for the server to listen on port = 32887