From 7d6c8a8c143ceb2f935e68d3151a592de403e93e Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Wed, 18 Jun 2025 20:03:41 -0400 Subject: [PATCH] Advertise in all retail lobbies instead of just Aether in LauncherTweaks This should make it somewhat nicer for non-American users. --- resources/templates/launchertweaks.toml | 2 +- src/bin/kawari-web.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/templates/launchertweaks.toml b/resources/templates/launchertweaks.toml index 08633b7..20fc4ad 100644 --- a/resources/templates/launchertweaks.toml +++ b/resources/templates/launchertweaks.toml @@ -4,4 +4,4 @@ disable_boot_version_check = true force_http = true game_patch_server = "{{ game_patch_server }}" boot_patch_server = "{{ boot_patch_server }}" -extra_game_arguments = " /DEV.LobbyHost04 =127.0.0.1 /DEV.LobbyPort04 ={{ lobby_port }}" +extra_game_arguments = " /DEV.LobbyHost01 ={{ lobby_host }} /DEV.LobbyPort01 ={{ lobby_port }} /DEV.LobbyHost02 ={{ lobby_host }} /DEV.LobbyPort02 ={{ lobby_port }} /DEV.LobbyHost03 ={{ lobby_host }} /DEV.LobbyPort03 ={{ lobby_port }} /DEV.LobbyHost04 ={{ lobby_host }} /DEV.LobbyPort04 ={{ lobby_port }} /DEV.LobbyHost05 ={{ lobby_host }} /DEV.LobbyPort05 ={{ lobby_port }} /DEV.LobbyHost06 ={{ lobby_host }} /DEV.LobbyPort06 ={{ lobby_port }} /DEV.LobbyHost07 ={{ lobby_host }} /DEV.LobbyPort07 ={{ lobby_port }} /DEV.LobbyHost08 ={{ lobby_host }} /DEV.LobbyPort08 ={{ lobby_port }} /DEV.LobbyHost09 ={{ lobby_host }} /DEV.LobbyPort09 ={{ lobby_port }} /DEV.LobbyHost10 ={{ lobby_host }} /DEV.LobbyPort10 ={{ lobby_port }} /DEV.LobbyHost11 ={{ lobby_host }} /DEV.LobbyPort11 ={{ lobby_port }} /DEV.LobbyHost12 ={{ lobby_host }} /DEV.LobbyPort12 ={{ lobby_port }} " diff --git a/src/bin/kawari-web.rs b/src/bin/kawari-web.rs index 22606bf..ca26086 100644 --- a/src/bin/kawari-web.rs +++ b/src/bin/kawari-web.rs @@ -107,7 +107,7 @@ async fn launcher_config(Query(params): Query) -> String { let environment = setup_default_environment(); let template = environment.get_template("launchertweaks.toml").unwrap(); template - .render(context! { launcher_url => config.launcher.server_name, enable_webview2 => params.r#type != "webview2", game_patch_server => config.patch.game_server_name, boot_patch_server => config.patch.boot_server_name, lobby_port => config.lobby.port }) + .render(context! { launcher_url => config.launcher.server_name, enable_webview2 => params.r#type != "webview2", game_patch_server => config.patch.game_server_name, boot_patch_server => config.patch.boot_server_name, lobby_port => config.lobby.port, lobby_host => config.lobby.listen_address }) .unwrap() }