Start packaged macOS client at manual server login

This commit is contained in:
shen
2026-09-30 17:14:30 -07:00
parent 8a6aeaedf0
commit cf9ed052b1
2 changed files with 8 additions and 2 deletions
+3 -2
View File
@@ -51,9 +51,10 @@ export VK_ICD_FILENAMES="$RESOURCES_DIR/MoltenVK_icd.json"
: "${MT_HD_UI_PAK:=$RESOURCES_DIR/hd_ui.pak}"
export MT_HD_UI_PAK
cd "$RESOURCES_DIR"
exec "$CONTENTS_DIR/MacOS/mt_native_render" --interactive \
exec "$CONTENTS_DIR/MacOS/mt_native_render" --login-screen \
--live-client "${MT_CLIENT_DIR:-$RESOURCES_DIR/Client}" \
--fake-mobs 24 --width 1280 --height 800 "$@"
--live-server "${MT_SERVER:-192.168.21.203:11000:13000}" \
--width 1280 --height 800 "$@"
SH
chmod +x "$stage/Contents/MacOS/Metin2"
cat > "$stage/Contents/Info.plist" <<PLIST
+5
View File
@@ -78,6 +78,11 @@ Run the full 40250 client interactively (infinite frame loop until window close,
--live-server 127.0.0.1:11002:13000 --login-screen
```
The packaged macOS app opens the manual login screen and connects to
`192.168.21.203:11000:13000` by default. Its launcher never submits test credentials.
Set `MT_SERVER=HOST:AUTH_PORT:GAME_PORT` to choose another server. The loopback
auto-login flow above remains available through the development executable.
### Synthetic benchmark
```sh