Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f386815353 | ||
|
|
6661b17084 | ||
|
|
7cba54f271 | ||
|
|
b09754985b | ||
|
|
113ea26b07 | ||
|
|
3f72cb7cc4 | ||
|
|
60c66b7ba7 | ||
|
|
0fcb0dcaa4 | ||
|
|
f64bb1899b | ||
|
|
00ebdf0d43 | ||
|
|
24c1b3b416 | ||
|
|
1359eab806 | ||
|
|
62b61bafd0 | ||
|
|
e9c26b86c1 | ||
|
|
0558166243 | ||
|
|
82251cb524 | ||
|
|
708e1c8379 | ||
|
|
ab516feb7b | ||
|
|
95f1c30be2 | ||
|
|
5decc93798 | ||
|
|
83809631ed | ||
|
|
b61140b8f4 | ||
|
|
fe6e41dc8e | ||
|
|
e271e4ba49 | ||
|
|
a4e96a1559 | ||
|
|
dc24e0e8e1 | ||
|
|
042bd77413 | ||
|
|
e446ae8449 | ||
|
|
3efa607908 | ||
|
|
9fbeaeb7a2 | ||
|
|
0b828387aa | ||
|
|
090dab1fc1 | ||
|
|
108fe17127 | ||
|
|
790037729f | ||
|
|
8653edf4c5 | ||
|
|
fce6a5e06b | ||
|
|
ae0fc25a81 | ||
|
|
b9f5d737cb | ||
|
|
569afb1378 | ||
|
|
a1e7da68a4 | ||
|
|
657e49e52a | ||
|
|
99cf5514c3 | ||
|
|
fc98e6e2b4 | ||
|
|
e70a6abf7a | ||
|
|
507e687867 | ||
|
|
8d01a7a754 | ||
|
|
b9af78ef64 | ||
|
|
a1b63c0afb | ||
|
|
1412806ee9 | ||
|
|
4d7306792e | ||
|
|
0d2a9ebe36 | ||
|
|
178fcf48fe | ||
|
|
f266072f67 | ||
|
|
90f213c4cc | ||
|
|
d11d46c469 | ||
|
|
8164c02709 | ||
|
|
84404cf1f1 | ||
|
|
32372c2a73 | ||
|
|
5dcac9cbd4 | ||
|
|
b14fb2ffe9 | ||
|
|
b8363693f1 | ||
|
|
10f8c9760e | ||
|
|
a22c064587 | ||
|
|
ffe097ec57 | ||
|
|
13a462b6fc | ||
|
|
aeb67f3c9c | ||
|
|
e546f91e03 | ||
|
|
e22d7ba6fd | ||
|
|
514eae6745 | ||
|
|
6b1d21a2c5 | ||
|
|
4e2d39b612 | ||
|
|
9d9993b007 | ||
|
|
6472d17306 | ||
|
|
e7f2202a94 | ||
|
|
586bae51e4 | ||
|
|
f2848af3ac | ||
|
|
eb5833747a | ||
|
|
922954dd97 | ||
|
|
1e4762ccf4 | ||
|
|
b8b0a84149 | ||
|
|
d45c5c6cf5 | ||
|
|
059ceadec2 | ||
|
|
cf9ed052b1 | ||
|
|
8a6aeaedf0 | ||
|
|
d1f8d3dddd | ||
|
|
905f23f135 | ||
|
|
f345bd5d3b | ||
|
|
01cc252a1d | ||
|
|
c5b709d38d | ||
|
|
8182445f8b | ||
|
|
cd9e5b259d | ||
|
|
a60ed6b03f |
@@ -76,7 +76,7 @@ The 106 `project/*_system.gd` files that only their own `test_*_parity.gd` loade
|
||||
cmake -S . -B build/native -DCMAKE_BUILD_TYPE=Release -DMT_BUILD_NATIVE_RENDER=ON -DCMAKE_PREFIX_PATH=/opt/homebrew
|
||||
cmake --build build/native -j8 && ctest --test-dir build/native --output-on-failure -j4
|
||||
./scripts/port_gate.sh macos android # build/port-gate
|
||||
./android/build.sh Release --install # build/android + APK
|
||||
./android/build.sh Release # build/android + APK; installs + syncs zh assets when a phone is attached
|
||||
```
|
||||
|
||||
All build trees live under `build/` (gitignored). Always finish with `git diff --check`.
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
# Wiki TSV keeps a final TAB for recipes with an empty materials column.
|
||||
data/wiki/catalogue.txt whitespace=-blank-at-eol
|
||||
@@ -4,6 +4,7 @@
|
||||
/build/
|
||||
/build-*/
|
||||
/cmake-build-*/
|
||||
/dist/
|
||||
compile_commands.json
|
||||
|
||||
|
||||
@@ -34,8 +35,26 @@ __pycache__/
|
||||
# Written by 40250 uitaskbar.py at runtime.
|
||||
/mouse.cfg
|
||||
|
||||
# Written at runtime by the mt_* option windows (mt_pickup, mt_display, ...).
|
||||
/mt_*.cfg
|
||||
/Client/mt_*.cfg
|
||||
|
||||
# native Android client (./android/build.sh): SDL3 download, NDK builds, Gradle output
|
||||
/android/.gradle/
|
||||
/android/app/build/
|
||||
/android/build/
|
||||
/android/local.properties
|
||||
|
||||
/Client/autohunt.cfg
|
||||
|
||||
# MeshPort private network identity; SDK build output normally lives under /build.
|
||||
/config/meshport.private.toml
|
||||
/third_party/meshport/target/
|
||||
|
||||
# Local build outputs, caches and legacy restructure leftovers
|
||||
/build_*/
|
||||
/.codex/
|
||||
/android-native/
|
||||
/extension/
|
||||
/script/
|
||||
/test/
|
||||
|
||||
@@ -16,10 +16,21 @@ option(MT_BUILD_TOOLS "Build libgr2 validation tools" OFF)
|
||||
option(MT_BUILD_PORT "Build the 40250 port and its tests" ON)
|
||||
option(MT_BUILD_NATIVE_RENDER "Build the SDL3 and Vulkan client" OFF)
|
||||
|
||||
add_subdirectory(src/gr2)
|
||||
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/../sdk/gr2)
|
||||
message(STATUS "Using shared SDK: ../sdk/gr2")
|
||||
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../sdk/gr2 ${CMAKE_CURRENT_BINARY_DIR}/sdk_gr2)
|
||||
else()
|
||||
add_subdirectory(src/gr2)
|
||||
endif()
|
||||
|
||||
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/../sdk/speedtree)
|
||||
message(STATUS "Using shared SDK: ../sdk/speedtree")
|
||||
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../sdk/speedtree ${CMAKE_CURRENT_BINARY_DIR}/sdk_speedtree)
|
||||
endif()
|
||||
add_subdirectory(third_party)
|
||||
add_subdirectory(src/codepage)
|
||||
if(MT_BUILD_PORT OR MT_BUILD_NATIVE_RENDER)
|
||||
add_subdirectory(src/meshport)
|
||||
add_subdirectory(src/port)
|
||||
endif()
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
PACK
|
||||
*
|
||||
patch_ava2_ui
|
||||
*
|
||||
patch1
|
||||
*
|
||||
season3_eu
|
||||
|
||||
@@ -4,9 +4,10 @@
|
||||
|
||||
## macOS
|
||||
|
||||
需要 CMake、SDL3、Vulkan loader、MoltenVK、glslc(第三方库均已随仓库提供源码,无需子模块):
|
||||
需要 Rust 1.95+、protoc、CMake、SDL3、Vulkan loader、MoltenVK、glslc(第三方库均已随仓库提供源码,无需子模块):
|
||||
|
||||
```sh
|
||||
./scripts/build_meshport.sh macos
|
||||
cmake -S . -B build/release -DCMAKE_BUILD_TYPE=Release \
|
||||
-DMT_BUILD_NATIVE_RENDER=ON -DCMAKE_PREFIX_PATH=/opt/homebrew
|
||||
cmake --build build/release --target mt_native_render -j8
|
||||
@@ -14,17 +15,18 @@ cmake --build build/release --target mt_native_render -j8
|
||||
--live-client "/path/to/40250/Client" --login-screen --width 1024 --height 768
|
||||
```
|
||||
|
||||
MeshPort SDK 源码在 `third_party/meshport`,无需单独检出 MeshPort 项目。频道查询、登录、注册、地图/公会连接及 UDP 都在公共网络层判断:同网段直连,跨网段组网,使用 DHCP 动态 IP;远端连接验证成功后提示“组网成功”。私有配置与构建说明见 [docs/MESHPORT.md](docs/MESHPORT.md)。
|
||||
|
||||
详见 [src/host/README.md](src/host/README.md)。
|
||||
|
||||
## Android
|
||||
|
||||
```sh
|
||||
./android/build.sh Release --install
|
||||
./android/push-client.sh /path/to/40250/Client
|
||||
adb shell am start -n org.metin2port.client/.MainActivity
|
||||
./android/build.sh # 构建 APK;连着手机时自动安装并增量推送中文资源
|
||||
./android/build.sh --launch # 同上,完成后唤醒手机并启动
|
||||
```
|
||||
|
||||
APK 由 SDLActivity、`libSDL3.so` 和 Vulkan 原生 `libmain.so` 组成。40250 `Client` 资源单独复制到应用数据目录;`--live-server HOST:AUTH_PORT:GAME_PORT --login-screen` 可连接服务器。构建与启动细节见 [src/host/README.md](src/host/README.md)。
|
||||
APK 由 SDLActivity、`libSDL3.so` 和 Vulkan 原生 `libmain.so` 组成。40250 `Client` 资源单独同步到应用数据目录(`android/push-client.sh`,只传有变化的文件);`--live-server HOST:AUTH_PORT:GAME_PORT --login-screen` 可连接服务器。构建与启动细节见 [src/host/README.md](src/host/README.md)。
|
||||
|
||||
## 测试
|
||||
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
# Sourced by the android/ scripts: picks adb and the target device.
|
||||
# ADB adb binary (default: $ANDROID_HOME/platform-tools/adb, else adb on PATH)
|
||||
# ANDROID_SERIAL device to use when several are attached (adb honours it itself)
|
||||
# An adb server that cannot bind :5037 ("Address already in use" with nothing listening, seen on this
|
||||
# Mac after sleep) is retried on :5038 through ANDROID_ADB_SERVER_PORT.
|
||||
SDK="${ANDROID_HOME:-${ANDROID_SDK_ROOT:-$HOME/Library/Android/sdk}}"
|
||||
PKG=org.metin2port.client
|
||||
if [ -z "${ADB:-}" ]; then
|
||||
if [ -x "$SDK/platform-tools/adb" ]; then ADB="$SDK/platform-tools/adb"; else ADB="$(command -v adb || true)"; fi
|
||||
fi
|
||||
[ -n "$ADB" ] || { echo "adb not found (install Android platform-tools or set ADB)" >&2; return 1 2>/dev/null || exit 1; }
|
||||
if ! "$ADB" start-server >/dev/null 2>&1; then
|
||||
export ANDROID_ADB_SERVER_PORT=5038
|
||||
"$ADB" start-server >/dev/null 2>&1 || { echo "adb server does not start on :5037 or :5038" >&2; return 1 2>/dev/null || exit 1; }
|
||||
echo "adb: :5037 unusable, using :5038"
|
||||
fi
|
||||
export ADB
|
||||
|
||||
# adb_device: sets DEVICE to the one ready device (or ANDROID_SERIAL) and returns 0; returns 1 with a
|
||||
# message when none is ready (unauthorized / offline devices are named so the user can fix them).
|
||||
adb_device() {
|
||||
local ready others
|
||||
ready=$("$ADB" devices | awk 'NR > 1 && $2 == "device" { print $1 }')
|
||||
others=$("$ADB" devices | awk 'NR > 1 && NF >= 2 && $2 != "device" { print $1 " (" $2 ")" }')
|
||||
if [ -n "${ANDROID_SERIAL:-}" ]; then
|
||||
if printf '%s\n' "$ready" | grep -qxF "$ANDROID_SERIAL"; then DEVICE="$ANDROID_SERIAL"; return 0; fi
|
||||
echo "device $ANDROID_SERIAL is not ready" >&2
|
||||
return 1
|
||||
fi
|
||||
case $(printf '%s' "$ready" | grep -c .) in
|
||||
1) DEVICE="$ready"; export ANDROID_SERIAL="$DEVICE"; return 0 ;;
|
||||
0)
|
||||
if [ -n "$others" ]; then
|
||||
echo "device attached but not ready: $others (unlock the phone and allow USB debugging)" >&2
|
||||
else
|
||||
echo "no Android device attached" >&2
|
||||
fi
|
||||
return 1 ;;
|
||||
*) echo "several devices attached, pick one with ANDROID_SERIAL:" $ready >&2; return 1 ;;
|
||||
esac
|
||||
}
|
||||
@@ -6,6 +6,8 @@
|
||||
<uses-permission android:name="android.permission.VIBRATE" />
|
||||
|
||||
<application android:label="@string/app_name"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:roundIcon="@mipmap/ic_launcher_round"
|
||||
android:allowBackup="false"
|
||||
android:appCategory="game"
|
||||
android:isGame="true"
|
||||
@@ -18,6 +20,8 @@
|
||||
android:alwaysRetainTaskState="true"
|
||||
android:launchMode="singleInstance"
|
||||
android:screenOrientation="sensorLandscape"
|
||||
android:showWhenLocked="true"
|
||||
android:turnScreenOn="true"
|
||||
android:configChanges="layoutDirection|locale|orientation|uiMode|screenLayout|screenSize|smallestScreenSize|keyboard|keyboardHidden|navigation"
|
||||
android:preferMinimalPostProcessing="true"
|
||||
android:exported="true">
|
||||
|
||||
@@ -35,6 +35,17 @@ public class MainActivity extends SDLActivity {
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O_MR1) {
|
||||
setShowWhenLocked(true);
|
||||
setTurnScreenOn(true);
|
||||
} else {
|
||||
getWindow().addFlags(
|
||||
WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED |
|
||||
WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON |
|
||||
WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD
|
||||
);
|
||||
}
|
||||
getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
||||
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE);
|
||||
applyImmersiveMode();
|
||||
// --refresh-rate N pins the display mode for a test run; otherwise src/host switches it with
|
||||
@@ -214,6 +225,11 @@ public class MainActivity extends SDLActivity {
|
||||
}
|
||||
|
||||
private void applyImmersiveMode() {
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P && Build.VERSION.SDK_INT < Build.VERSION_CODES.R) {
|
||||
final WindowManager.LayoutParams attributes = getWindow().getAttributes();
|
||||
attributes.layoutInDisplayCutoutMode = WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES;
|
||||
getWindow().setAttributes(attributes);
|
||||
}
|
||||
final View decor = getWindow().getDecorView();
|
||||
decor.setSystemUiVisibility(
|
||||
View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY |
|
||||
@@ -248,7 +264,7 @@ public class MainActivity extends SDLActivity {
|
||||
args = DEFAULT_ARGS;
|
||||
if (!args.contains("--safe-inset-px"))
|
||||
args = args.trim() + " --safe-inset-px " + safeInsetPx();
|
||||
// Test phase: FPS readout in the top-left corner. Drop this line for release builds.
|
||||
// Test phase: FPS readout at the top centre. Drop this line for release builds.
|
||||
if (!args.contains("--show-fps"))
|
||||
args = args.trim() + " --show-fps";
|
||||
return args.trim().split("\\s+");
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generated by branding/icon/build_icons.sh. -->
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@mipmap/ic_launcher_background" />
|
||||
<foreground android:drawable="@mipmap/ic_launcher_foreground" />
|
||||
</adaptive-icon>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generated by branding/icon/build_icons.sh. -->
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@mipmap/ic_launcher_background" />
|
||||
<foreground android:drawable="@mipmap/ic_launcher_foreground" />
|
||||
</adaptive-icon>
|
||||
|
After Width: | Height: | Size: 7.7 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 8.0 KiB |
|
After Width: | Height: | Size: 4.2 KiB |
|
After Width: | Height: | Size: 5.8 KiB |
|
After Width: | Height: | Size: 7.8 KiB |
|
After Width: | Height: | Size: 4.4 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 30 KiB |
|
After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 35 KiB |
|
After Width: | Height: | Size: 52 KiB |
|
After Width: | Height: | Size: 58 KiB |
|
After Width: | Height: | Size: 35 KiB |
@@ -1,20 +1,35 @@
|
||||
#!/usr/bin/env bash
|
||||
# Build the native (SDL3 + Vulkan) 40250 client as an Android arm64 APK.
|
||||
# ./android/build.sh [Debug|Release] [--install]
|
||||
# Build the native (SDL3 + Vulkan) 40250 client as an Android arm64 APK and, when a phone is attached,
|
||||
# install it and bring its game files up to date, so the app is ready to play.
|
||||
# ./android/build.sh [Debug|Release] [--no-deploy] [--no-push] [--locale XX] [--full-push] [--launch]
|
||||
# Output: android/app/build/outputs/apk/debug/app-debug.apk
|
||||
# The 1.4 GB Client/ directory is not in the APK; push it once with ./android/push-client.sh.
|
||||
# Deploy (skipped when no device is ready; ANDROID_SERIAL picks one of several):
|
||||
# adb install -r, then ./android/push-client.sh --locale XX (default zh), which sends only the game
|
||||
# files changed since the last push (the first push is the whole 1.4 GB client). --no-push installs
|
||||
# only, --full-push resends everything, --launch wakes the phone and starts the app afterwards.
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")/.."
|
||||
REPO="$PWD"
|
||||
|
||||
CONFIG=Release
|
||||
INSTALL=0
|
||||
for a in "$@"; do
|
||||
case "$a" in
|
||||
Debug|Release) CONFIG="$a" ;;
|
||||
--install) INSTALL=1 ;;
|
||||
*) echo "usage: $0 [Debug|Release] [--install]" >&2; exit 2 ;;
|
||||
DEPLOY=1
|
||||
PUSH=1
|
||||
LOCALE=zh
|
||||
FULL_PUSH=0
|
||||
LAUNCH=0
|
||||
usage="usage: $0 [Debug|Release] [--no-deploy] [--no-push] [--locale XX] [--full-push] [--launch]"
|
||||
while [ $# -gt 0 ]; do
|
||||
case "$1" in
|
||||
Debug|Release) CONFIG="$1" ;;
|
||||
--install) ;; # the default now; kept for old command lines
|
||||
--no-deploy) DEPLOY=0 ;;
|
||||
--no-push) PUSH=0 ;;
|
||||
--locale) LOCALE="${2:?--locale needs a locale code}"; shift ;;
|
||||
--full-push) FULL_PUSH=1 ;;
|
||||
--launch) LAUNCH=1 ;;
|
||||
*) echo "$usage" >&2; exit 2 ;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
API=24
|
||||
OUT="$REPO/build/android"
|
||||
@@ -59,11 +74,15 @@ if [ ! -f "$OUT/sdl3/lib/libSDL3.so" ] || [ ! -f "$OUT/sdl3/.page16k" ]; then
|
||||
touch "$OUT/sdl3/.page16k"
|
||||
fi
|
||||
|
||||
# --- Embedded application-only networking SDK (source lives in this repository) ---
|
||||
"$REPO/scripts/build_meshport.sh" android
|
||||
|
||||
# --- libmain.so (src/host + port_platform + embedded Python) and its assets ---
|
||||
cmake -S . -B "$OUT/app-build" -G "Unix Makefiles" -Wno-deprecated \
|
||||
-DCMAKE_TOOLCHAIN_FILE="$TOOLCHAIN" -DANDROID_ABI=arm64-v8a -DANDROID_PLATFORM="android-$API" "$PAGE_SIZES" \
|
||||
-DCMAKE_BUILD_TYPE="$CONFIG" -DMT_BUILD_TOOLS=OFF -DBUILD_TESTING=OFF \
|
||||
-DMT_BUILD_NATIVE_RENDER=ON -DSDL3_DIR="$OUT/sdl3/lib/cmake/SDL3" \
|
||||
-DMT_MESHPORT_LIBRARY="${MT_MESHPORT_LIBRARY:-$REPO/build/meshport-runtime/aarch64-linux-android/release/libmetin2_meshport.a}" \
|
||||
-DCMAKE_FIND_ROOT_PATH="$OUT/sdl3" -DGLSLC="$GLSLC" >/dev/null
|
||||
cmake --build "$OUT/app-build" --target main mt_native_android_assets -j "$JOBS"
|
||||
|
||||
@@ -84,6 +103,39 @@ variant=Debug # debug-signed either way (sideload); CONFIG picks the native opt
|
||||
APK="$REPO/android/app/build/outputs/apk/debug/app-debug.apk"
|
||||
ls -la "$APK"
|
||||
|
||||
if [ "$INSTALL" = 1 ]; then
|
||||
adb install -r "$APK"
|
||||
[ "$DEPLOY" = 1 ] || exit 0
|
||||
. android/adb_env.sh
|
||||
if ! adb_device; then
|
||||
echo "APK built; install and push skipped. Attach the phone and rerun (or ./android/push-client.sh)."
|
||||
exit 0
|
||||
fi
|
||||
echo "device: $DEVICE ($("$ADB" shell getprop ro.product.model | tr -d '\r'))"
|
||||
if ! out=$("$ADB" install -r "$APK" 2>&1); then
|
||||
echo "$out" >&2
|
||||
case "$out" in
|
||||
*INSTALL_FAILED_UPDATE_INCOMPATIBLE*|*INSTALL_FAILED_VERSION_DOWNGRADE*)
|
||||
# Signed by another machine's debug key (or a newer build): only a reinstall helps. That drops the
|
||||
# app's data, so the push below starts over with the whole client.
|
||||
echo "reinstalling $PKG (the installed copy has another signature; its data is removed)"
|
||||
"$ADB" uninstall "$PKG" >/dev/null
|
||||
"$ADB" install "$APK" ;;
|
||||
*)
|
||||
echo "install failed; on some phones USB installs must be allowed in developer options and confirmed on screen" >&2
|
||||
exit 1 ;;
|
||||
esac
|
||||
fi
|
||||
echo "installed $PKG"
|
||||
if [ "$PUSH" = 1 ]; then
|
||||
push_args=(--locale "$LOCALE")
|
||||
[ "$FULL_PUSH" = 1 ] && push_args+=(--full)
|
||||
python3 android/sync_client.py "${push_args[@]}"
|
||||
fi
|
||||
if [ "$LAUNCH" = 1 ]; then
|
||||
# The app exits with a Vulkan surface error when started behind the lock screen.
|
||||
"$ADB" shell input keyevent KEYCODE_WAKEUP
|
||||
if "$ADB" shell dumpsys window | grep -qE 'mDreamingLockscreen=true|isKeyguardShowing=true|mKeyguardShowing=true'; then
|
||||
echo "the phone is locked: unlock it, then start Metin2 from the launcher" >&2
|
||||
else
|
||||
"$ADB" shell am start -n "$PKG/.MainActivity" >/dev/null && echo "started $PKG"
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -1,39 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copy the 40250 Client/ directory into the Android app's private files/ (SDL_GetPrefPath), where
|
||||
# src/host looks for files/Client/pack/Index. Needs the debug APK installed (run-as).
|
||||
# ./android/push-client.sh [--locale XX] [CLIENT_DIR]
|
||||
# --locale XX writes the pushed locale.cfg from CLIENT_DIR/locale_XX.cfg. --locale zh defaults
|
||||
# CLIENT_DIR to build/zh-locale/Client (scripts/build_zh_locale.py), whose pack/ registers locale_zh.
|
||||
# Sync the 40250 game files into the Android app's private files/ (SDL_GetPrefPath), where src/host looks
|
||||
# for files/Client/pack/Index. Only files changed since the last sync are sent (android/sync_client.py).
|
||||
# Needs the debug APK installed (run-as).
|
||||
# ./android/push-client.sh [--locale XX] [--full] [--dry-run] [CLIENT_DIR]
|
||||
# --locale XX writes the pushed locale.cfg from CLIENT_DIR/locale_XX.cfg. --locale zh defaults CLIENT_DIR
|
||||
# to build/zh-locale/Client (scripts/build_zh_locale.py, rebuilt first when its inputs changed).
|
||||
# --full deletes the synced resources on the device and pushes everything again.
|
||||
# Symbolic links in CLIENT_DIR (the zh client links the original packs) are copied as their targets.
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")/.."
|
||||
PKG=org.metin2port.client
|
||||
LOCALE=""
|
||||
if [ "${1:-}" = "--locale" ]; then
|
||||
LOCALE="${2:?--locale needs a locale code}"
|
||||
shift 2
|
||||
fi
|
||||
if [ "$LOCALE" = zh ]; then
|
||||
CLIENT="${1:-build/zh-locale/Client}"
|
||||
else
|
||||
CLIENT="${1:-Client}"
|
||||
fi
|
||||
[ -f "$CLIENT/pack/Index" ] || { echo "$CLIENT/pack/Index not found" >&2; exit 1; }
|
||||
# The archive's top directory is basename(CLIENT DIR); the app reads files/Client.
|
||||
[ "$(basename "$CLIENT")" = Client ] || { echo "CLIENT_DIR must be named Client" >&2; exit 1; }
|
||||
if [ -n "$LOCALE" ]; then
|
||||
[ -f "$CLIENT/locale_$LOCALE.cfg" ] || { echo "$CLIENT/locale_$LOCALE.cfg not found" >&2; exit 1; }
|
||||
pack="$(cut -d' ' -f3 < "$CLIENT/locale_$LOCALE.cfg" | tr -d '\r\n')"
|
||||
tr -d '\r' < "$CLIENT/pack/Index" | grep -qxF "locale_$pack" ||
|
||||
{ echo "locale_$pack is not registered in $CLIENT/pack/Index" >&2; exit 1; }
|
||||
fi
|
||||
TMP=/data/local/tmp/mt-client.tar
|
||||
echo "packing $CLIENT ..."
|
||||
tar -h -C "$(dirname "$CLIENT")" -cf - "$(basename "$CLIENT")" | adb shell "cat > $TMP"
|
||||
echo "unpacking into $PKG files/ ..."
|
||||
adb shell "run-as $PKG sh -c 'mkdir -p files && rm -rf files/Client && cd files && tar -xf $TMP' && rm -f $TMP"
|
||||
if [ -n "$LOCALE" ]; then
|
||||
adb shell "run-as $PKG sh -c 'cp files/Client/locale_$LOCALE.cfg files/Client/locale.cfg'"
|
||||
echo "locale.cfg: $(adb shell "run-as $PKG cat files/Client/locale.cfg")"
|
||||
fi
|
||||
adb shell "run-as $PKG ls files/Client/pack/Index" >/dev/null && echo "done: files/Client"
|
||||
. android/adb_env.sh
|
||||
adb_device
|
||||
exec python3 android/sync_client.py "$@"
|
||||
|
||||
@@ -0,0 +1,233 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Bring the game files in the app's private files/Client (SDL_GetPrefPath, where src/host looks for
|
||||
files/Client/pack/Index) up to date with a local client directory, sending only what changed.
|
||||
|
||||
The device keeps files/Client/.mt_sync, the list (size, mtime, path) of what the last sync wrote. A sync
|
||||
compares it with the local files, streams the new and changed ones as one tar through `adb shell -T run-as`
|
||||
(no copy in /data/local/tmp), removes the ones gone locally, then writes the new list. Only the game
|
||||
resources are synced (pack/, sound/, BGM/, miles/, lib/, channel.inf, locale*.cfg); what the app writes
|
||||
there itself (settings such as ui_height.cfg, perf logs) is never touched. mouse.cfg is only seeded on
|
||||
the first sync.
|
||||
|
||||
Needs the debug APK installed (run-as). adb and the device come from android/adb_env.sh ($ADB,
|
||||
$ANDROID_SERIAL); android/push-client.sh is the shell entry point.
|
||||
"""
|
||||
|
||||
import argparse
|
||||
import hashlib
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
import tarfile
|
||||
import time
|
||||
from pathlib import Path
|
||||
|
||||
REPO = Path(__file__).resolve().parents[1]
|
||||
PKG = "org.metin2port.client"
|
||||
MANIFEST = ".mt_sync"
|
||||
HEADER = "# mt-sync 1"
|
||||
SYNC_DIRS = ("pack", "sound", "BGM", "miles", "lib")
|
||||
SEED_FILES = ("mouse.cfg",)
|
||||
ZH_OUTPUT = REPO / "build/zh-locale/Client"
|
||||
ZH_STAMP = REPO / "build/zh-locale/.inputs.sha256"
|
||||
|
||||
|
||||
def adb(*args, **kwargs):
|
||||
return subprocess.run([os.environ.get("ADB", "adb"), *args], **kwargs)
|
||||
|
||||
|
||||
def run_as_command(script):
|
||||
# `adb shell -T` (shell protocol v2, Android 7+): no pty, so stdin/stdout stay binary-safe, and unlike
|
||||
# exec-in/exec-out it returns the remote exit status.
|
||||
return [os.environ.get("ADB", "adb"), "shell", "-T", f"run-as {PKG} sh -c '{script}'"]
|
||||
|
||||
|
||||
def run_as(script, **kwargs):
|
||||
"""Runs script with sh as the app user in its data directory."""
|
||||
return subprocess.run(run_as_command(script), **kwargs)
|
||||
|
||||
|
||||
def zh_inputs_digest(client_base):
|
||||
h = hashlib.sha256()
|
||||
inputs = [REPO / "scripts/build_zh_locale.py", client_base / "pack/Index"]
|
||||
inputs += [REPO / "tools/server/biolog" / name for name in ("catalog.json", "shop.json", "make_assets.py")]
|
||||
inputs.append(REPO / "tests/port/biolog_proto_patch.cpp")
|
||||
inputs += sorted((REPO / "data/wiki").glob("*"))
|
||||
inputs.append(REPO / "tools/wiki/build_catalogue.py")
|
||||
inputs += sorted(p for p in (REPO / "data/zh_40250").rglob("*") if p.is_file())
|
||||
for path in inputs:
|
||||
h.update(str(path.relative_to(REPO)).encode())
|
||||
h.update(path.read_bytes() if path.exists() else b"")
|
||||
return h.hexdigest()
|
||||
|
||||
|
||||
def ensure_zh_locale():
|
||||
"""Rebuilds build/zh-locale/Client when its inputs (translations, the builder, the base pack Index)
|
||||
changed since the last build."""
|
||||
digest = zh_inputs_digest(REPO / "Client")
|
||||
built = (ZH_OUTPUT / "pack/Index").is_file()
|
||||
if built and ZH_STAMP.is_file() and ZH_STAMP.read_text().strip() == digest:
|
||||
return
|
||||
print("zh locale: inputs changed, rebuilding build/zh-locale/Client ...")
|
||||
result = subprocess.run([sys.executable, str(REPO / "scripts/build_zh_locale.py")], cwd=REPO)
|
||||
if result.returncode == 0:
|
||||
ZH_STAMP.write_text(digest + "\n")
|
||||
elif built:
|
||||
print("zh locale: rebuild failed, syncing the previous build", file=sys.stderr)
|
||||
else:
|
||||
sys.exit("zh locale: build failed (scripts/build_zh_locale.py)")
|
||||
|
||||
|
||||
def local_files(client, locale):
|
||||
"""{device path: local path} of the synced resources; locale.cfg comes from locale_<locale>.cfg."""
|
||||
files = {}
|
||||
for top in SYNC_DIRS:
|
||||
root = client / top
|
||||
if not root.is_dir():
|
||||
continue
|
||||
for dirpath, dirnames, filenames in os.walk(root, followlinks=True):
|
||||
dirnames[:] = [d for d in dirnames if not d.startswith(".")]
|
||||
for name in filenames:
|
||||
if not name.startswith("."):
|
||||
path = Path(dirpath) / name
|
||||
files[path.relative_to(client).as_posix()] = path
|
||||
for path in client.iterdir():
|
||||
# hd_ui.pak: the 2x UI textures of scripts/build_hd_ui.py, when built (src/host/texture_decode.cpp).
|
||||
if path.is_file() and (path.name in ("channel.inf", "hd_ui.pak")
|
||||
or (path.name.startswith("locale") and path.suffix == ".cfg")):
|
||||
files[path.name] = path
|
||||
if locale:
|
||||
cfg = client / f"locale_{locale}.cfg"
|
||||
if not cfg.is_file():
|
||||
sys.exit(f"{cfg} not found")
|
||||
pack = cfg.read_text().split()[2]
|
||||
index = (client / "pack/Index").read_text(errors="replace").split()
|
||||
if f"locale_{pack}" not in index:
|
||||
sys.exit(f"locale_{pack} is not registered in {client}/pack/Index")
|
||||
files["locale.cfg"] = cfg
|
||||
return files
|
||||
|
||||
|
||||
def stat_key(path):
|
||||
st = path.stat()
|
||||
return f"{st.st_size}\t{st.st_mtime_ns}"
|
||||
|
||||
|
||||
def read_device_manifest():
|
||||
out = run_as(f"cat files/Client/{MANIFEST} 2>/dev/null", capture_output=True).stdout.decode(errors="replace")
|
||||
lines = out.splitlines()
|
||||
if not lines or lines[0] != HEADER:
|
||||
return None
|
||||
manifest = {}
|
||||
for line in lines[1:]:
|
||||
size, mtime, path = line.split("\t", 2)
|
||||
manifest[path] = f"{size}\t{mtime}"
|
||||
return manifest
|
||||
|
||||
|
||||
class Progress:
|
||||
def __init__(self, total):
|
||||
self.total, self.done, self.last, self.start = total, 0, 0.0, time.monotonic()
|
||||
|
||||
def add(self, n):
|
||||
self.done += n
|
||||
now = time.monotonic()
|
||||
if now - self.last >= 1 or self.done == self.total:
|
||||
self.last = now
|
||||
rate = self.done / max(now - self.start, 1e-3) / 2**20
|
||||
print(f"\r {self.done / 2**20:8.1f} / {self.total / 2**20:.1f} MB {rate:5.1f} MB/s", end="", flush=True)
|
||||
|
||||
|
||||
def push(files):
|
||||
"""Streams {device path: local path} into files/Client as one tar."""
|
||||
# Older Android tar restores ownership even when run as an unprivileged app.
|
||||
# Match the app identity so extraction does not try to chown files to root.
|
||||
identity = run_as("id -u && id -g", capture_output=True, check=True).stdout.split()
|
||||
app_uid, app_gid = map(int, identity)
|
||||
total = sum(p.stat().st_size for p in files.values())
|
||||
progress = Progress(total)
|
||||
proc = subprocess.Popen(run_as_command("mkdir -p files/Client && cd files/Client && tar -xf -"),
|
||||
stdin=subprocess.PIPE)
|
||||
with tarfile.open(fileobj=proc.stdin, mode="w|", format=tarfile.GNU_FORMAT, dereference=True) as tar:
|
||||
for name, path in sorted(files.items()):
|
||||
info = tar.gettarinfo(str(path), arcname=name) # dereference: the zh client links the original packs
|
||||
info.uid, info.gid = app_uid, app_gid
|
||||
info.uname = info.gname = ""
|
||||
with open(path, "rb") as f:
|
||||
tar.addfile(info, f)
|
||||
progress.add(info.size)
|
||||
proc.stdin.close()
|
||||
if progress.total:
|
||||
print()
|
||||
if proc.wait() != 0:
|
||||
sys.exit("push failed (tar on the device)")
|
||||
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
|
||||
parser.add_argument("client", nargs="?", type=Path, help="client directory (default: Client, or the zh build for --locale zh)")
|
||||
parser.add_argument("--locale", help="write locale.cfg from locale_<LOCALE>.cfg; zh uses build/zh-locale/Client, rebuilt when stale")
|
||||
parser.add_argument("--full", action="store_true", help="delete the synced resources on the device and push everything")
|
||||
parser.add_argument("--dry-run", action="store_true", help="only print what would change")
|
||||
args = parser.parse_args()
|
||||
|
||||
if args.locale == "zh" and args.client is None:
|
||||
ensure_zh_locale()
|
||||
client = ZH_OUTPUT
|
||||
else:
|
||||
client = args.client or REPO / "Client"
|
||||
client = client.absolute()
|
||||
if not (client / "pack/Index").is_file():
|
||||
sys.exit(f"{client}/pack/Index not found")
|
||||
|
||||
if not adb("shell", "pm", "path", PKG, capture_output=True).stdout.strip():
|
||||
sys.exit(f"{PKG} is not installed (android/build.sh installs it)")
|
||||
if run_as("true", capture_output=True).returncode != 0:
|
||||
sys.exit(f"run-as {PKG} failed: the installed APK must be the debug build")
|
||||
|
||||
files = local_files(client, args.locale)
|
||||
wanted = {name: stat_key(path) for name, path in files.items()}
|
||||
device = None if args.full else read_device_manifest()
|
||||
first = device is None
|
||||
if first:
|
||||
changed = sorted(wanted)
|
||||
removed = []
|
||||
# First sync (or --full): also seed the default settings the app would otherwise lack.
|
||||
for name in SEED_FILES:
|
||||
if (client / name).is_file():
|
||||
files[name] = client / name
|
||||
changed.append(name)
|
||||
else:
|
||||
changed = sorted(n for n, key in wanted.items() if device.get(n) != key)
|
||||
removed = sorted(n for n in device if n not in wanted)
|
||||
size = sum(files[n].stat().st_size for n in changed)
|
||||
print(f"sync {client} -> {PKG} files/Client: {len(changed)} files to push ({size / 2**20:.1f} MB), "
|
||||
f"{len(removed)} to delete, {len(wanted) - len(changed) if not first else 0} unchanged"
|
||||
+ (" [full]" if args.full else " [first sync]" if first else ""))
|
||||
if not changed and not removed:
|
||||
return
|
||||
if args.dry_run:
|
||||
for n in changed[:50]:
|
||||
print(" +", n)
|
||||
for n in removed[:50]:
|
||||
print(" -", n)
|
||||
return
|
||||
|
||||
if args.full:
|
||||
dirs = " ".join(SYNC_DIRS)
|
||||
run_as(f"mkdir -p files/Client && cd files/Client && rm -rf {dirs} {MANIFEST}", check=True)
|
||||
# Drop the list before touching files: an interrupted sync then starts over as a first sync.
|
||||
run_as(f"rm -f files/Client/{MANIFEST}", check=True)
|
||||
if removed:
|
||||
run_as('cd files/Client && while IFS= read -r f; do rm -f "$f"; done',
|
||||
input="".join(n + "\n" for n in removed).encode(), check=True)
|
||||
if changed:
|
||||
push({n: files[n] for n in changed})
|
||||
manifest = HEADER + "\n" + "".join(f"{wanted[n]}\t{n}\n" for n in sorted(wanted))
|
||||
run_as(f"cat > files/Client/{MANIFEST}", input=manifest.encode(), check=True)
|
||||
locale = run_as("cat files/Client/locale.cfg", capture_output=True).stdout.decode(errors="replace").strip()
|
||||
print(f"done: files/Client updated (locale.cfg: {locale})")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,25 @@
|
||||
# Bear animation group binding
|
||||
|
||||
40250 `EterGrnLib/ModelInstanceUpdate.cpp::UpdateTransform` delegates to
|
||||
`GrannyUpdateModelMatrix`; that gameplay caller remains unchanged. ModelInstanceMotion
|
||||
binds controls through `GrannyPlayControlledAnimation`.
|
||||
|
||||
The real packed bear model is named Bip01. Both `bear/02.gr2` (walk) and `03.gr2`
|
||||
(run) contain Hedra first, Bip01 second. Hedra has zero accumulation; Bip01 has
|
||||
the translation in the corresponding unchanged MSA (-93.25 and -299.89 Y).
|
||||
The previous adapter exposed a count of two with one public group pointer, flattened
|
||||
bone binding across groups, and always accumulated the first group's translation.
|
||||
|
||||
The reader now preserves each group's name, placement, accumulation, text tracks,
|
||||
and flattened-track range. Runtime controls match the model name, excluding morph
|
||||
groups, and use only the selected group for bone binding and root accumulation.
|
||||
|
||||
`tests/port/port_granny_root_motion_test.cpp` loads those assets through PackBackend
|
||||
and the runtime APIs used by the live client. It checks both public groups, rotated
|
||||
root displacement across a loop boundary, inverse displacement, and stationary Hedra.
|
||||
The same test linked with HEAD's previous GrannyRuntime fails six assertions; the
|
||||
updated runtime passes. Desktop and `MT_TEST_MOBILE=1` login-flow regressions pass.
|
||||
Native macOS renderer and Android debug APK builds pass.
|
||||
|
||||
This is narrow evidence for constant-extracted motion. VDA extraction and complete
|
||||
Windows Granny output equivalence remain unverified; the aggregate contract stays PARTIAL.
|
||||
@@ -0,0 +1,36 @@
|
||||
# Assassin gungsin / 魅影 destination-alpha blending
|
||||
|
||||
The original skilldesc identifies 魅影 as skill 32, gungsin. The unchanged PC/PC2
|
||||
MSA files attach gungsintanyeong start/end/blow effects. Base and grade-four start/end
|
||||
MSE particles use SRCALPHA (5) / DESTALPHA (7), with MODULATE color operation.
|
||||
EffectInstance and ParticleSystemInstance match the reference except include casing;
|
||||
their state order, emission, asset colors, and textures remain unchanged.
|
||||
|
||||
RecordingDevice exposes an X8R8G8B8 back buffer and R5G6B5 GPU shadow targets.
|
||||
Both have implicit destination alpha 1. Vulkan stores the scene in RGBA and the
|
||||
previous pipeline incorrectly used the stored, draw-modified alpha for DESTALPHA.
|
||||
This attenuated the background, including zero-alpha opaque scene pixels.
|
||||
|
||||
`src/host/blend_state.h` normalizes DESTALPHA to ONE, INVDESTALPHA to ZERO, and
|
||||
SRCALPHASAT to ZERO for RGB targets before creating the Vulkan blend pipeline.
|
||||
Ordinary source-alpha, additive, and color blend factors remain unchanged. This
|
||||
helper applies only to the currently supported recorded RGB targets; future actual
|
||||
alpha render targets must retain their own destination-alpha semantics.
|
||||
|
||||
Focused CTest `host.blend_state` passes. The GPU regression command is:
|
||||
|
||||
```sh
|
||||
python3 tests/host/rgb_target_blend_test.py build/native/src/port/host_blend_state_test build/release/src/host/mt_native_render
|
||||
```
|
||||
|
||||
It draws an opaque zero-alpha background followed by a SRCALPHA/DESTALPHA overlay,
|
||||
reads the native renderer's BMP pixel, and checks RGB (128,128,160). The old native
|
||||
executable fails with (0,64,128); the updated executable passes. This exercises
|
||||
actual Vulkan blending, not just the mapping helper.
|
||||
|
||||
Native fake-server skill inspection used `--py-exec` to select the main instance,
|
||||
set assassin race 1 and armor 0, then `chr.PushOnceMotion(chr.MOTION_SKILL+2,0.0)`.
|
||||
Screenshots at 8 and 30 frames show bright particles and were inspected. These
|
||||
timed screenshots are not a deterministic Windows visual oracle. Android debug
|
||||
APK builds successfully; physical Android GPU and live-server skill-grade checks
|
||||
remain unverified. The aggregate render contract stays PARTIAL.
|
||||
@@ -0,0 +1,35 @@
|
||||
# macOS UI clarity evidence
|
||||
|
||||
The 40250 UI layout, item data, UVs and hit testing remain unchanged. Host rendering
|
||||
snaps axis-aligned image origins to physical pixels and selects nearest sampling only
|
||||
when sampled texels match physical pixels. Scaled images retain linear sampling.
|
||||
Font atlases rebuild between script frames on display-density changes, preserving
|
||||
cached character-info node addresses and logical metrics. HiDPI pages use 8-bit alpha.
|
||||
|
||||
The HD pipeline completed all 2406 images without skips (1898 icon, 384 UI and 124
|
||||
Chinese locale images). The resulting 135.1 MiB archive is validated and embedded in
|
||||
`dist/Metin2.app/Contents/Resources/hd_ui.pak`. Generated game assets remain private
|
||||
build artifacts. The package includes SDL3, Vulkan loader and MoltenVK, uses bundled
|
||||
rpaths and passes `codesign --verify --deep --strict` with local ad-hoc signatures.
|
||||
|
||||
Validation on 2026-09-30:
|
||||
|
||||
- Full native CTest: 29 passed, 2 skipped (codepage data absent and no live server).
|
||||
- `host.ui_quality`: physical snapping, sampling decisions, font-density rounding,
|
||||
valid archive lookup and malformed/truncated archive rejection.
|
||||
- `port.text`: transitions 1→2→3→1→2 preserve character pointers, logical text
|
||||
dimensions and advances; HiDPI page sizes and non-4-bit alpha are checked.
|
||||
Linking this test with the previous font implementation fails 9 new assertions.
|
||||
- Desktop and mobile-mode login flow pass. Native release renderer and Android debug
|
||||
APK builds pass.
|
||||
- Packaged launcher run from `/` loads 2406 bundled textures and reports 2× glyphs
|
||||
at density 2.000. A two-frame local-server inventory fixture inserts weapon,
|
||||
armor, jewelry and consumables, then opens and refreshes the inventory.
|
||||
- Before and after images are `build/mac-ui-items-before.png` and
|
||||
`build/mac-ui-items-after.png`, both 2560×1600. Visual inspection confirms sharper
|
||||
inventory icon contours, slot borders and bottom toolbar detail.
|
||||
|
||||
This is macOS clarity evidence, not Windows pixel parity. Actual movement between
|
||||
physical monitors of different density remains unverified. Original low-resolution
|
||||
art still limits recoverable detail; `MT_HD_UI=0` retains an original-art comparison.
|
||||
The HUD aggregate contract remains PARTIAL.
|
||||
@@ -0,0 +1,17 @@
|
||||
# UI texture addressing, 2026-10-18
|
||||
|
||||
Scope: CGraphicExpandedImageInstance::OnRender / SetRenderingRect and the native sampler path. This does not establish full HUD or Windows visual parity.
|
||||
|
||||
The full reference ExpandedImageInstance unit was read alongside its platform counterpart. The geometry and UV arithmetic remain unchanged. Reference EterLib/StateManager.cpp SetDefaultState sets stage U/V to D3DTADDRESS_WRAP; the runtime ui.py Board.SetSize expands the texture coordinates to repeat a background. The former native UI descriptor unconditionally used CLAMP_TO_EDGE, producing stretched final-row/column stripes.
|
||||
|
||||
UIRenderAddImageNamed now carries stage-0 U/V from CStateManager. Vulkan reuses its D3D sampler cache for non-clamp addressing, preserving independent wrap/mirror/clamp, mip-zero UI filtering and point/linear choice. Direct platform commands retain their previous clamp defaults; the second-stage mask retains clamp. Capture version 11 serializes U/V; version 1–10 remains readable with the old UI clamp behavior.
|
||||
|
||||
Validation:
|
||||
|
||||
- port_grp_resource_test: repeated UV extent, independent wrap/mirror state and explicit clamp.
|
||||
- host_ui_sampler_capture_test: version 11 roundtrip and version 10 backward compatibility.
|
||||
- host.ui_quality regression unchanged.
|
||||
- `ctest --test-dir build/native -R '^(host.ui_sampler_capture|port.grp_resource|host.ui_quality)$' --output-on-failure`: 3 passed.
|
||||
- Native macOS sbtest client: the same AVA2 pickup panel lost its stretched stripes and renders the repeated stone texture. Evidence: build/parity-acceptance-20261018/before-ui-address.png and after-ui-address.png, captured through CUA. The icon for persisted affect 705 also renders.
|
||||
|
||||
No Android visual acceptance or Windows pixel comparison was performed in this round. Aggregate UI contracts remain PARTIAL.
|
||||
@@ -0,0 +1,15 @@
|
||||
# Window lifecycle investigation during AVA2 QA
|
||||
|
||||
The scripted reconnect from a QARunner.OnUpdate callback crashed in UI::CWindow::Update on macOS (DiagnosticReports/mt_native_render-2026-10-18-105610.ips). No C++ lifecycle changes have been made in this investigation.
|
||||
|
||||
Read and compared CWindow::Update, Clear, DeleteChild and reserve-child removal, plus CWindowManager::DestroyWindow, NotifyDestroyWindow, reserve-deletion drain and Update against the 40250 source. Their update/deletion ordering is unchanged. The test driver invokes login-board focus/order/phase changes inside the window traversal; normal user input is dispatched outside that traversal. This is evidence of an unsafe test/reconnect path, not evidence of a differing port algorithm or a fix.
|
||||
|
||||
The acceptance driver now performs a process cold start to validate persisted locks. That cold start and server/db restart read back mask 8, material selection 4 and the preserved fourth attribute. In-process scripted reconnect remains unverified and the crash is retained as an open finding; no global parity status is upgraded.
|
||||
|
||||
## Follow-up: frame-boundary commands and endpoint restoration
|
||||
|
||||
The live host now optionally consumes `--py-command-file` between script frames while the fiber is parked. This replaces commands executed from QARunner.OnUpdate; it changes no CWindow/CWindowManager algorithm. Commands are size-bounded and consumed before execution so an error cannot repeat the same mutation every frame. Producers publish using atomic rename.
|
||||
|
||||
A separate reconnect stall was captured with macOS sample: the host was blocked in gethostbyname, called from LoginWindow.Connect after the original LoginWindow.Open replaced the launch endpoint with the packed login configuration. `mt_live_endpoint` now preserves the explicitly selected/last successful endpoint while that original window opens. Manual server selection and the existing explicit channel-switch flow retain ownership of their targets; account credentials are not copied by the module.
|
||||
|
||||
With the new host command boundary and endpoint restoration, the same macOS process completed three logout/login/character-enter cycles against sbtest without a crash or per-cycle address injection. Evidence: build/parity-acceptance-20261018/reconnect-host-pass.json and client-live-endpoint.log. This verifies this scripted reconnect path, not every physical input or arbitrary mutation during CWindow.Update. No 40250 lifecycle parity status is upgraded and no C++ window changes were made.
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"active_original_products": 49,
|
||||
"source_products": 217,
|
||||
"qa_coins": 0,
|
||||
"qa_orders": 0,
|
||||
"qa_awards": 0,
|
||||
"test_stack": 0,
|
||||
"test_triggers": 0,
|
||||
"game_sha256": "56975b48aa2fd40389c57eab84d017b0a2518cf6e1b573d967bf239f4ae04aba",
|
||||
"db_sha256": "dc940401fe6ccc3410c8d90ce98d2a5bad2e2c023279665bcd664c008d011699"
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
[
|
||||
{
|
||||
"case": "wallet lock timeout",
|
||||
"status": 6,
|
||||
"elapsed_seconds": 2.17,
|
||||
"unchanged": true
|
||||
},
|
||||
{
|
||||
"case": "SQL connection lost before commit",
|
||||
"status": 6,
|
||||
"unchanged": true
|
||||
},
|
||||
{
|
||||
"case": "SQL reconnect and persistent order replay",
|
||||
"status": 0,
|
||||
"unchanged": true
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"build": "isolated wear40 and extended-item ABI; not deployed",
|
||||
"candidate": {
|
||||
"game": "3ebf3a7bf4e7e92224fc17ee31cf189e286fb57e3c5baeb5c86fd5a6ac83cf13",
|
||||
"db": "0ad7bcd16a2ef95c8990d65e6242f61ca2ea7c113fb1ef6dd7624fb1b778ed03"
|
||||
},
|
||||
"production": {
|
||||
"game": "56975b48aa2fd40389c57eab84d017b0a2518cf6e1b573d967bf239f4ae04aba",
|
||||
"db": "dc940401fe6ccc3410c8d90ce98d2a5bad2e2c023279665bcd664c008d011699"
|
||||
},
|
||||
"productionDbPid": "53754"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"schema": "port_shop_migration_test",
|
||||
"before": "1\t32\n2\t43\n3\t287\n4\t302\n5\t286\n6\t32\n",
|
||||
"after": "1\t40\n2\t51\n3\t295\n4\t310\n5\t286\n6\t32\n",
|
||||
"quickslots": "active/deleted player both shifted",
|
||||
"replay": "unchanged",
|
||||
"fixture": "deleted after test"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"catalogue": 49, "pending": null, "quantity_before": 1, "scroll_before": 0.0, "balance": 0, "scroll_after": 0.06876790830945559, "quantity_after": 2, "widget_bound_confirmation": true, "all_icons": true}
|
||||
@@ -0,0 +1 @@
|
||||
{"quote": [900001, 1, 29, 71084], "confirmation": ["\u8d2d\u4e70 \u7269\u54c1\u5c5e\u6027\u8f6c\u6362\u79d8\u7c4d\uff1f", "\u4ef7\u683c\uff1a29 \u9f99\u5e01"], "display": ["\u539f\u4ef7 58\uff08\u4f18\u60e0 50%\uff09", " 29 \u9f99\u5e01"], "confirm_button": "\u786e\u8ba4"}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"at": 145.56300354003906,
|
||||
"balance": 9749,
|
||||
"dropped": [
|
||||
{
|
||||
"status": 0,
|
||||
"token": "25f1ade2e0549b0e3f9e899b8dd84b1e",
|
||||
"balance": 9749,
|
||||
"time": 123.39399719238281
|
||||
}
|
||||
],
|
||||
"pending": null,
|
||||
"replies": [
|
||||
[
|
||||
"25f1ade2e0549b0e3f9e899b8dd84b1e",
|
||||
0,
|
||||
9749
|
||||
]
|
||||
],
|
||||
"assertions": {
|
||||
"one_additional_order": true,
|
||||
"one_additional_unit": true,
|
||||
"deducted_exactly": 29,
|
||||
"same_token_replayed": true,
|
||||
"pending_cleared": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"labels": ["[F5] \u526f\u672c\u4fe1\u606f", "[F6] \u6218\u6597\u901a\u884c\u8bc1", "[F7] \u751f\u7269\u5b66\u5bb6", "[F8] \u70b9\u51fb\u6362\u7ebf"], "passed": true, "encoding": "native locale bridge"}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"original_product": 170,
|
||||
"vnum": 70002,
|
||||
"quantity": 2,
|
||||
"paid": 198,
|
||||
"wallet_after": 0,
|
||||
"award_rows": 2,
|
||||
"each_award_count": 1,
|
||||
"prototype_lookup_correct_after_sort": true
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"count": 49, "all_prototypes_and_icons": true, "offers": [{"price": 99, "vnum": 70002, "id": 170, "icon": "icon\\item\\70002.tga"}, {"price": 99, "vnum": 71234, "id": 172, "icon": "icon\\item\\71234.tga"}, {"price": 99, "vnum": 71254, "id": 177, "icon": "icon\\item\\71254.tga"}, {"price": 349, "vnum": 71502, "id": 3, "icon": "icon\\item\\71502.tga"}, {"price": 349, "vnum": 71505, "id": 6, "icon": "icon\\item\\71505.tga"}, {"price": 349, "vnum": 71508, "id": 9, "icon": "icon\\item\\71508.tga"}, {"price": 349, "vnum": 71511, "id": 12, "icon": "icon\\item\\71511.tga"}, {"price": 60, "vnum": 54003, "id": 78, "icon": "icon\\item\\54003.tga"}, {"price": 60, "vnum": 54006, "id": 79, "icon": "icon\\item\\54003.tga"}, {"price": 60, "vnum": 54009, "id": 80, "icon": "icon\\item\\54003.tga"}, {"price": 60, "vnum": 54012, "id": 81, "icon": "icon\\item\\54003.tga"}, {"price": 60, "vnum": 54015, "id": 82, "icon": "icon\\item\\54003.tga"}, {"price": 60, "vnum": 54018, "id": 83, "icon": "icon\\item\\54003.tga"}, {"price": 60, "vnum": 54021, "id": 84, "icon": "icon\\item\\54003.tga"}, {"price": 60, "vnum": 54024, "id": 85, "icon": "icon\\item\\54003.tga"}, {"price": 60, "vnum": 54027, "id": 86, "icon": "icon\\item\\54003.tga"}, {"price": 60, "vnum": 54030, "id": 87, "icon": "icon\\item\\54006.tga"}, {"price": 60, "vnum": 54033, "id": 88, "icon": "icon\\item\\54006.tga"}, {"price": 60, "vnum": 54036, "id": 89, "icon": "icon\\item\\54006.tga"}, {"price": 60, "vnum": 54039, "id": 90, "icon": "icon\\item\\54006.tga"}, {"price": 60, "vnum": 54042, "id": 91, "icon": "icon\\item\\54006.tga"}, {"price": 60, "vnum": 54045, "id": 92, "icon": "icon\\item\\54006.tga"}, {"price": 60, "vnum": 54048, "id": 93, "icon": "icon\\item\\54006.tga"}, {"price": 60, "vnum": 54051, "id": 94, "icon": "icon\\item\\54006.tga"}, {"price": 60, "vnum": 54054, "id": 95, "icon": "icon\\item\\54006.tga"}, {"price": 60, "vnum": 54057, "id": 96, "icon": "icon\\item\\54006.tga"}, {"price": 60, "vnum": 54060, "id": 97, "icon": "icon\\item\\54006.tga"}, {"price": 60, "vnum": 54063, "id": 98, "icon": "icon\\item\\54006.tga"}, {"price": 60, "vnum": 54066, "id": 99, "icon": "icon\\item\\54006.tga"}, {"price": 60, "vnum": 54069, "id": 100, "icon": "icon\\item\\54006.tga"}, {"price": 60, "vnum": 54072, "id": 101, "icon": "icon\\item\\54006.tga"}, {"price": 60, "vnum": 54075, "id": 102, "icon": "icon\\item\\54006.tga"}, {"price": 60, "vnum": 54078, "id": 103, "icon": "icon\\item\\54006.tga"}, {"price": 60, "vnum": 54126, "id": 183, "icon": "icon\\item\\54126.tga"}, {"price": 60, "vnum": 54129, "id": 184, "icon": "icon\\item\\54126.tga"}, {"price": 60, "vnum": 54132, "id": 185, "icon": "icon\\item\\54126.tga"}, {"price": 60, "vnum": 54135, "id": 186, "icon": "icon\\item\\54126.tga"}, {"price": 60, "vnum": 54138, "id": 187, "icon": "icon\\item\\54126.tga"}, {"price": 60, "vnum": 54141, "id": 188, "icon": "icon\\item\\54126.tga"}, {"price": 60, "vnum": 54144, "id": 189, "icon": "icon\\item\\54126.tga"}, {"price": 60, "vnum": 54147, "id": 190, "icon": "icon\\item\\54126.tga"}, {"price": 60, "vnum": 54150, "id": 191, "icon": "icon\\item\\54126.tga"}, {"price": 60, "vnum": 54153, "id": 192, "icon": "icon\\item\\54126.tga"}, {"price": 60, "vnum": 54156, "id": 193, "icon": "icon\\item\\54126.tga"}, {"price": 60, "vnum": 54159, "id": 194, "icon": "icon\\item\\54126.tga"}, {"price": 60, "vnum": 54162, "id": 195, "icon": "icon\\item\\54126.tga"}, {"price": 60, "vnum": 54168, "id": 197, "icon": "icon\\item\\54126.tga"}, {"price": 60, "vnum": 54171, "id": 198, "icon": "icon\\item\\54126.tga"}, {"price": 60, "vnum": 54174, "id": 199, "icon": "icon\\item\\54126.tga"}], "categories": [1, 2, 3, 5]}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"note": "sbtest only; synthetic 491-point row seeds earned=498 for boundary test; monster chance temporarily 100% for deterministic integration",
|
||||
"sql": "0006864747df5e500000000000000001\t14\t16\t8055\t6\t6\t2026-10-20\n0006864747df5e500000000000000002\t14\t16\t3705\t1\t1\t2026-10-20\n0006864747df5e500000000000000003\t14\t16\t8055\t5\t2\t2026-10-20\n0006864747df5e500000000000000004\t14\t16\t8055\t7\t0\t2026-10-20\nffffffffffffffffffffffffffffff01\t14\t16\t8055\t491\t491\t2026-10-20\n500\n",
|
||||
"proxy": "{\"event\": \"request\", \"token\": \"0006864747df5e500000000000000001\", \"vnum\": 8055, \"at\": 1792458562.2058332}\n{\"event\": \"request\", \"token\": \"0006864747df5e500000000000000002\", \"vnum\": 3705, \"at\": 1792458562.2082963}\n{\"event\": \"reply\", \"token\": \"0006864747df5e500000000000000001\", \"amount\": 6, \"at\": 1792458562.389858}\n{\"event\": \"drop-first-success-reply\", \"token\": \"0006864747df5e500000000000000001\", \"at\": 1792458562.3900392}\n{\"event\": \"reply\", \"token\": \"0006864747df5e500000000000000002\", \"amount\": 1, \"at\": 1792458562.390154}\n{\"event\": \"request\", \"token\": \"0006864747df5e500000000000000001\", \"vnum\": 8055, \"at\": 1792458572.1319}\n{\"event\": \"reply\", \"token\": \"0006864747df5e500000000000000001\", \"amount\": 6, \"at\": 1792458572.2864504}\n{\"event\": \"request\", \"token\": \"0006864747df5e500000000000000003\", \"vnum\": 8055, \"at\": 1792458842.0943224}\n{\"event\": \"reply\", \"token\": \"0006864747df5e500000000000000003\", \"amount\": 2, \"at\": 1792458842.28736}\n{\"event\": \"request\", \"token\": \"0006864747df5e500000000000000004\", \"vnum\": 8055, \"at\": 1792458864.3035688}\n{\"event\": \"reply\", \"token\": \"0006864747df5e500000000000000004\", \"amount\": 0, \"at\": 1792458864.487179}\n",
|
||||
"afterRestartSQL": "0006864747df5e500000000000000001\t8055\t6\t6\t2026-10-20\n0006864747df5e500000000000000002\t3705\t1\t1\t2026-10-20\n0006864747df5e500000000000000003\t8055\t5\t2\t2026-10-20\n0006864747df5e500000000000000004\t8055\t7\t0\t2026-10-20\n000686c9636c6e210000000000000001\t8055\t8\t0\t2026-10-20\nffffffffffffffffffffffffffffff01\t8055\t491\t491\t2026-10-20\n500\n"
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
{
|
||||
"paid": 99,
|
||||
"redeemed_vnum": 70002,
|
||||
"statuses": [
|
||||
1,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"purchase_vnum": 70002,
|
||||
"same_token_replay": true,
|
||||
"server": "192.168.21.203:13000",
|
||||
"catalogue": 49,
|
||||
"all_icons": true,
|
||||
"mall_empty": true,
|
||||
"balance": 0,
|
||||
"quantity": 1,
|
||||
"released_at": "2026-10-19T23:59:00.829045+00:00",
|
||||
"server_source": "3283101",
|
||||
"client_source": "b0975498",
|
||||
"game_sha256": "56975b48aa2fd40389c57eab84d017b0a2518cf6e1b573d967bf239f4ae04aba",
|
||||
"db_sha256": "dc940401fe6ccc3410c8d90ce98d2a5bad2e2c023279665bcd664c008d011699",
|
||||
"backup": "/root/backup-itemshop/20261020-014955",
|
||||
"health": {
|
||||
"db": true,
|
||||
"auth": true,
|
||||
"game_cores": 13,
|
||||
"sbtest_unchanged": true
|
||||
},
|
||||
"cleanup": {
|
||||
"accounts": 0,
|
||||
"characters": 0,
|
||||
"orders": 0,
|
||||
"awards": 0,
|
||||
"items": 0,
|
||||
"quest_flags": 0,
|
||||
"affects": 0
|
||||
},
|
||||
"original_offers_enabled": 49,
|
||||
"original_offers_disabled": 168,
|
||||
"prices": "AVA2 originals",
|
||||
"phone": {
|
||||
"model": "PJZ110",
|
||||
"installed": true,
|
||||
"resources_unchanged": 1282,
|
||||
"launched_to_server_selection": true,
|
||||
"in_game_purchase_tested": false
|
||||
},
|
||||
"client_artifacts": {
|
||||
"dist/Metin2-Android.apk": "975ef06860d503fe32dbfc4c1776b58ebe4899526c82926ffb454df216ca1934",
|
||||
"dist/Metin2.app/Contents/MacOS/mt_native_render": "a2d47754c73eca3dedca57b2af09691fe109d32d3763d7ca9080d5be30130775",
|
||||
"dist/Metin2.app/Contents/Resources/Client/pack/ava2items.eix": "a24c727eab8340f32a213f2c68fd6a7875765570a2ce182cd4487ab523f5f36b",
|
||||
"dist/Metin2.app/Contents/Resources/Client/pack/ava2items.epk": "a054001803e740b63043e523e4d9b51d3a4c9691d69757a4176c873512689f98"
|
||||
},
|
||||
"log_review": {
|
||||
"no_shop_sql_or_protocol_errors": true,
|
||||
"startup_lag_seconds": [
|
||||
47,
|
||||
51
|
||||
],
|
||||
"existing_passpod_missing_table": true,
|
||||
"prior_passpod_errors": 362,
|
||||
"shutdown_peer_null_and_mysql_reconnect_warnings": true,
|
||||
"fatal_errors": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,126 @@
|
||||
[
|
||||
{
|
||||
"script": "test_applies.py",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"script": "test_attr_lock.py",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"script": "test_attr_lock_snapshots.py",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"script": "test_attr_lock_use.py",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"script": "test_attr_lock_views.py",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"script": "test_ava2_channel_registry.py",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"script": "test_ava2_chest.py",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"script": "test_ava2_dungeon_track.py",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"script": "test_ava2_pickup.py",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"script": "test_ava2_ticket_shop.py",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"script": "test_ava2_track.py",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"script": "test_battlepass.py",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"script": "test_bosses.py",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"script": "test_calendar.py",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"script": "test_chest.py",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"script": "test_cmd_prefix.py",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"script": "test_costume_attr.py",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"script": "test_drops.py",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"script": "test_itemshop.py",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"script": "test_mount.py",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"script": "test_native_queries.py",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"script": "test_pendant.py",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"script": "test_pickup.py",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"script": "test_queries.py",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"script": "test_rings.py",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"script": "test_sash.py",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"script": "test_stone_socket.py",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"script": "test_switchbot.py",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"script": "test_switchbot_matching.py",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"script": "test_travel.py",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"script": "test_vip.py",
|
||||
"passed": true
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,57 @@
|
||||
[
|
||||
{
|
||||
"case": "same token replays original purchase",
|
||||
"status": 0,
|
||||
"unchanged": true
|
||||
},
|
||||
{
|
||||
"case": "same token changed quantity refused",
|
||||
"status": 7,
|
||||
"unchanged": true
|
||||
},
|
||||
{
|
||||
"case": "insufficient coins",
|
||||
"status": 1,
|
||||
"unchanged": true
|
||||
},
|
||||
{
|
||||
"case": "weekly quantity limit",
|
||||
"status": 2,
|
||||
"unchanged": true
|
||||
},
|
||||
{
|
||||
"case": "monthly quantity limit",
|
||||
"status": 3,
|
||||
"unchanged": true
|
||||
},
|
||||
{
|
||||
"case": "stock remaining less than quantity",
|
||||
"status": 4,
|
||||
"unchanged": true
|
||||
},
|
||||
{
|
||||
"case": "expired offer",
|
||||
"status": 5,
|
||||
"unchanged": true
|
||||
},
|
||||
{
|
||||
"case": "disabled product",
|
||||
"status": 6,
|
||||
"unchanged": true
|
||||
},
|
||||
{
|
||||
"case": "missing prototype",
|
||||
"status": 6,
|
||||
"unchanged": true
|
||||
},
|
||||
{
|
||||
"case": "price changed after confirmation",
|
||||
"status": 9,
|
||||
"unchanged": true
|
||||
},
|
||||
{
|
||||
"case": "award insert failure rolls back wallet stock order",
|
||||
"status": 6,
|
||||
"unchanged": true
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1 @@
|
||||
{"search_matches": 1, "balance": 9852, "subcategories": [[0, 0], [0, 1], [0, 2], [2, 0], [2, 1], [2, 2], [2, 3], [2, 4], [3, 0], [3, 1], [3, 2], [5, 0], [5, 1], [5, 2], [5, 3], [5, 4], [5, 5]], "catalogue_count": 1}
|
||||
@@ -0,0 +1 @@
|
||||
{"after": 2, "confirmed_count": 2, "id": 84, "before": 1}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"device": "Mi 8 Lite",
|
||||
"android": "15",
|
||||
"server": "in-process offline fixture; production untouched",
|
||||
"distance_before": 1550.002197265625,
|
||||
"distance_spread": 774.980712890625,
|
||||
"distance_closed": 1549.99169921875,
|
||||
"position_unchanged": true,
|
||||
"drawer_touch_opened": true,
|
||||
"final_skill_layout": "original arc restored per user feedback",
|
||||
"secondary_menu_visual_scale": 0.72,
|
||||
"minimum_hit_target_dp": 48,
|
||||
"native_touch_and_camera_test": "MT_TEST_MOBILE=1 MT_TEST_PINCH=1 MT_TEST_WIKI=1 port_login_flow_test",
|
||||
"layout_test": "tests/host/touch_layout_test.cpp",
|
||||
"note": "Pinch and drawer tested with injected Android MotionEvents; final visual layout checked separately on device."
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"device": "Mi 8 Lite",
|
||||
"screen_logical": [
|
||||
1169,
|
||||
600
|
||||
],
|
||||
"mode": "offline UI acceptance",
|
||||
"auto_hunt_visual_scale": 0.72,
|
||||
"auto_hunt_hit_target": "unchanged",
|
||||
"skill_button_size": "unchanged",
|
||||
"skill_arc_radius_before": 140,
|
||||
"skill_arc_radius_after": 120,
|
||||
"skill_angle_step_before": 20,
|
||||
"skill_angle_step_after": 25,
|
||||
"layout_scenarios": 6,
|
||||
"expanded_hit_circle_factor": 1.15,
|
||||
"bounds_and_nonoverlap": "PASS",
|
||||
"android_build_and_install": "PASS",
|
||||
"macos_build": "PASS",
|
||||
"screenshot": "build/phone-compact-controls-20261019/after.png"
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"date": "2026-10-19",
|
||||
"primary_entries": [
|
||||
"inventory",
|
||||
"shop",
|
||||
"more"
|
||||
],
|
||||
"drawer_entries": 7,
|
||||
"status_labels": "life and mana with 14px font, outlined text and contrasting background",
|
||||
"chat_preview": {
|
||||
"maximum_lines": 3,
|
||||
"bounded_width": true,
|
||||
"history_preserved": true,
|
||||
"render_scissor_restored": true
|
||||
},
|
||||
"network_notice": {
|
||||
"position": "below status and buffs",
|
||||
"success_timeout_seconds": 6,
|
||||
"same_state_does_not_extend": true
|
||||
},
|
||||
"auto_hunt": "lower edge of combat area; dim idle artwork; unchanged touch target",
|
||||
"skill_layout": "same compact arc and button sizes; extra7/8 remain absent",
|
||||
"checks": {
|
||||
"python_tests": 158,
|
||||
"network_notice_tests": 9,
|
||||
"native_mobile_flow": "PASS",
|
||||
"menu_and_chat_width_viewports": [
|
||||
[
|
||||
640,
|
||||
360
|
||||
],
|
||||
[
|
||||
800,
|
||||
600
|
||||
],
|
||||
[
|
||||
1169,
|
||||
600
|
||||
]
|
||||
],
|
||||
"combat_layout_scenarios": 6,
|
||||
"macos_build": "PASS",
|
||||
"android_build": "PASS",
|
||||
"apk_install": "PASS",
|
||||
"device_visual": "PENDING_UNLOCK",
|
||||
"drawer_widget_picking_and_blank_panel_hit_test": "PASS"
|
||||
},
|
||||
"preview": "build/mobile-hud-refine-20261019/default.png",
|
||||
"preview_scope": "macOS-hosted mobile layout with in-process server and explicit offline HP/SP/chat fixtures",
|
||||
"production_changed": false,
|
||||
"drawer_placement": "under the three primary entries, clear of centered map announcements"
|
||||
}
|
||||
@@ -642,3 +642,28 @@
|
||||
{"date": "2026-09-30", "unit": "UserInterface/UserInterface.cpp", "action": "port", "evidence": "ApplicationSetErrorString/ApplicationStringTable_Initialize verbatim + port.app_loop; Main ADAPTED to PythonBoot; Win32 entry/launcher options N_A"}
|
||||
{"date": "2026-09-30", "unit": "ScriptLib/PythonUtils.cpp", "action": "port", "evidence": "already verbatim (udiff: MSVC cast + perf counters); mapped"}
|
||||
{"date": "2026-09-30", "unit": "ScriptLib/Resource.cpp", "action": "port", "evidence": "verbatim 40250 (was a rewrite that also registered .png); ctest 29/29, screenshot unchanged"}
|
||||
{"date": "2026-09-30", "unit": "EterGrnLib/ModelInstanceUpdate.cpp", "action": "fix-platform-adapter", "evidence": "2026-09-30: native Granny adapter now selects the model-named track group, preserving all group metadata and limiting bone binding to that group. Real packed bear walk/run (auxiliary Hedra before Bip01) fail with the previous runtime and pass in tests/port/port_granny_root_motion_test.cpp. See audit/evidence/2026-09-30-bear-root-motion.md."}
|
||||
{"date": "2026-09-30", "unit": "EffectLib/ParticleSystemInstance.cpp", "action": "fix-platform-adapter", "evidence": "XRGB destination alpha semantics fixed in Vulkan pipeline; focused mapping + GPU pixel regression; original particle logic unchanged; desktop/mobile login regressions and Android build pass."}
|
||||
{"date": "2026-09-30", "unit": "EterLib/GrpFontTexture.cpp", "action": "improve-platform-rendering", "evidence": "Retina UI clarity: dynamic font atlas rebuild preserving cached pointers and logical metrics, 8-bit HiDPI glyph alpha, physical pixel alignment and 1:1 sampling; 2406 bundled HD textures. Full native suite 29 passed, 2 skipped, macOS packaged inventory screenshots and strict signature verification. See audit/evidence/2026-09-30-mac-ui-clarity.md."}
|
||||
{"date": "2026-09-30", "unit": "EterLib/GrpImageInstance.cpp", "action": "improve-platform-rendering", "evidence": "Retina UI clarity: dynamic font atlas rebuild preserving cached pointers and logical metrics, 8-bit HiDPI glyph alpha, physical pixel alignment and 1:1 sampling; 2406 bundled HD textures. Full native suite 29 passed, 2 skipped, macOS packaged inventory screenshots and strict signature verification. See audit/evidence/2026-09-30-mac-ui-clarity.md."}
|
||||
{"date": "2026-09-30", "unit": "UserInterface/PythonPlayerAutoHunt.cpp", "action": "user-authorized-extension", "evidence": "Replace tag-and-chase gather with free server-authoritative cloak-style BeginFight pull, nearest 3/10/20 actual monster groups. Server rate limit and safety checks, request generations, stationary approach wait. host.autohunt_pull and desktop/mobile port.login_flow pass; 203 FreeBSD compile/deploy and live 3-group/9-monster reply verified. See tools/server/autohunt-pull/README.md."}
|
||||
{"date": "2026-09-30", "unit": "EterBase/CRC32.cpp", "action": "fix-platform-adapter", "evidence": "MI 8 Lite Android 15 fake-login SIGABRT/std::bad_alloc from directory CRC. Reject non-regular/null FILE handles and failed seeks; preserve normal CRC/position. port_utils_test pass, port_map check 0 errors; rebuilt APK installed and on-device fake-login/map entry succeeds. docs/XIAOMI8LITE-DEVICE-TEST-20260930.md"}
|
||||
{"date": "2026-09-30", "action": "user-authorized-render-diagnostics", "units": ["UserInterface/PythonApplication.cpp", "GameLib/MapOutdoorRenderHTP.cpp", "GameLib/MapOutdoorRenderSTP.cpp"], "evidence": "7 same-scene MI 8 Lite runs, 42 two-second sample windows. Baseline 4.88 FPS/205.3ms, no terrain 15.45FPS/64.7ms, no scene 30.03FPS/17.7ms; repeated baseline 4.83 FPS. Normal rendering defaults unchanged. See docs/XIAOMI8LITE-RENDER-ISOLATION-20260930.md."}
|
||||
{"date": "2026-09-30", "unit": "Client/root/uiaffectshower.py", "result": "RUN_AS_IS unchanged; authorized PORT extension for server rates", "evidence": ["src/platform/ScriptLib/ServerBonusScript.inc", "tools/server/autohunt-pull-range/server_bonuses.h", "build/autohunt-fix-test.log", "build/autohunt-fix-mobile-test.log", "build/autohunt-bonuses-android.png"], "finding": "40250 global privileges emit login notices rather than character AFFECT packets; added distinct status channel, packed scripts unchanged."}
|
||||
{"date": "2026-10-01", "unit": "UserInterface/PythonPlayerAutoHunt.cpp", "action": "user-authorized-extension", "evidence": ["docs/AUTO-HUNT-ENHANCEMENTS.md", "build/autohunt-enhance-test.log", "build/autohunt-enhance-mobile-test.log", "build/autohunt-enhance-mac-build.log", "build/autohunt-enhance-android-build.log", "build/qa/autohunt-enhance-ui/settings.png"], "finding": "Added bounded terrain/scene-collision A* and reachability for combat/loot/return; independent learned skill-ID selection with legacy config migration; optional server restart_here and 5-second/70%-HP recovery; acknowledged dismount/cast/remount batching. Original manual movement and packed Python scripts unchanged. Desktop/mobile fake-server integration and macOS/Android builds pass; real-server soak not claimed."}
|
||||
{"date": "2026-10-16", "unit": "UserInterface/PythonApplication.cpp:Destroy / PythonBoot::Stop", "action": "fix-host-teardown-order", "finding": "40250 drains flying instances before effects/characters; host previously reset effects before CFlyingManager destruction. Explicit flying and character cleanup fixes live-projectile shutdown; overall Destroy remains DIVERGENT for unrelated omissions.", "evidence": ["tests/port/port_app_loop_test.cpp", "build/followup-shutdown-before.log", "build/followup-shutdown-after.log"]}
|
||||
{"date": "2026-10-17", "unit": "UserInterface/PythonPlayerAutoHunt.cpp::__AutoHunt_BuildPath", "action": "user-authorized-extension", "finding": "Live snow floor 1 knockback left the player at (18730.742,22544.762), inside blocked attribute row 225. Exact-start-only exemption rejected every path/attack sample, including monsters 90 units away. Permit only the occupied loaded blocked terrain cell, retaining adjacent blocked cells, scene collision and unloaded-data rejection. AutoHunt is an authorized extension, not a newly claimed 40250 counterpart.", "evidence": ["tests/host/autohunt_navigation_test.cpp", "docs/AVA2-FOLLOWUP-20261016.md"], "remaining": "Live dungeon soak pending; no parity status upgraded. Port-map helper script absent on this branch."}
|
||||
{"time": "2026-10-18T10:49:04.284335+00:00", "event": "platform_fix", "unit": "EterLib/GrpExpandedImageInstance.cpp", "result": "ADAPTED", "reason": "Preserve stage-0 U/V in UI command/sampler path instead of unconditional clamp; repeated Board backgrounds validated on macOS. Aggregate UI remains PARTIAL.", "evidence": ["audit/evidence/2026-10-18-ui-addressing.md", "tests/port/port_grp_resource_test.cpp", "tests/host/ui_sampler_capture_test.cpp"]}
|
||||
{"time": "2026-10-18T17:58:20.857552+00:00", "event": "lifecycle_investigation", "units": ["EterPythonLib/PythonWindow.cpp", "EterPythonLib/PythonWindowManager.cpp"], "finding": "Scripted reconnect during OnUpdate crashed; relevant window lifecycle group matches 40250. No code changes or status upgrades; use cold-start QA and retain reconnect finding.", "evidence": ["audit/evidence/2026-10-18-window-lifecycle-qa.md"]}
|
||||
{"time": "2026-10-18T23:43:15.072652+00:00", "event": "platform_endpoint_fix", "unit": "host/live_client + ScriptLib/LiveEndpointScript", "finding": "Preserve explicitly selected live endpoint across login reopen; execute optional local QA commands between parked script frames rather than from window traversal. No original CWindow/CWindowManager code changed.", "evidence": ["tests/wiki/test_live_endpoint.py", "tests/wiki/test_python_command_file.py", "audit/evidence/2026-10-18-window-lifecycle-qa.md", "docs/AVA2-SWITCHBOT.md"], "result": "Three same-process relogins and two cross-core map transfers verified on macOS/sbtest; native cross-channel switching remains pending; no global parity status upgraded."}
|
||||
{"time": "2026-10-19T00:04:44.204859+00:00", "event": "authorized_ava2_extension", "unit": "ScriptLib/NativeChannelScript", "finding": "AVA2 MoveChannelDialog uses native server warp; map ownership/ports announced by trusted P2P peers. No original CWindow lifecycle algorithm or classic Warp packet changed.", "evidence": ["docs/AVA2-NATIVE-CHANNEL.md", "docs/AVA2-SWITCHBOT.md", "tests/wiki/test_native_channel.py"], "result": "macOS/sbtest CH5-CH6-CH5 active switchbot handover, locked attribute/targets, endpoint retention and disconnected target verified; Android offline build only; no global parity status upgrade."}
|
||||
{"time": "2026-10-19T04:37:42.044205+00:00", "event": "authorized_ava2_extension", "unit": "ScriptLib/AttrLockViewsScript", "finding": "AVA2 lock-line styling extended to existing exchange, shop/builder, safebox/mall and GM equipment tooltip setters using bounded read-only contextual queries. Base item packets and CWindow algorithms unchanged.", "evidence": ["docs/AVA2-ATTR-LOCK-VIEWS.md", "tests/wiki/test_attr_lock_ui.py", "tests/wiki/test_attr_lock_views.py"], "result": "macOS/sbtest two-player trade/shop/storage and real GM equipment lock highlights verified; ordinary equipment queries and closed contexts denied. 126 client tests and native macOS/Android builds passed; fixtures and temporary test GM removed. Active switchbot/hyperlink lock metadata remains pending; no aggregate parity upgrade."}
|
||||
{"time": "2026-10-19T05:08:12.881941+00:00", "event": "authorized_ava2_extension", "unit": "ScriptLib/AttrLockSnapshotsScript", "finding": "Owner metadata follows existing item packets; bounded post-entry synchronization bridges loading-phase command loss. Versioned seven-slot chat snapshots and active switchbot lock lines preserve the classic wire layouts and original CWindow algorithms. Chinese active descriptions use measured text width.", "evidence": ["docs/AVA2-ATTR-LOCK-SNAPSHOTS.md", "tests/wiki/test_attr_lock_snapshots.py", "docs/AVA2-PARITY-PLAN.md"], "result": "132 client tests and macOS/Android offline builds passed. macOS/sbtest first-entry sync, immutable link/relay, active roll/stop, slot moves and same-process relogin passed. Final layout measured 348 versus longest text 308; test weapon/902 switchers and original unlocked state restored. Production unchanged; no aggregate parity upgrade."}
|
||||
{"time": "2026-10-19T06:35:09.108370+00:00", "event": "authorized_ava2_extension", "unit": "ScriptLib/Ava2NativeSystems", "finding": "Vendor active AVA2 uiBattlePassEx, uiWiki/WikiUI, uiDropItem and uiEventCalendarNew; preserve classic SHOP_SIGN39 by moving event payload to GC214, configured-db battlepass persistence, real loaded drop data and original CWindow algorithms. Correct active-versus-legacy protocol mapping.", "evidence": ["docs/AVA2-NATIVE-SYSTEMS.md", "tests/wiki/test_native_systems.py", "tools/ava2-native/sources.json", "docs/AVA2-PARITY-PLAN.md"], "result": "146 client tests, 30 server feature scripts with updated version-marker retest, native macOS/Android offline builds; sbtest mission/final idempotency, persistent native views, drop data, scoped calendar/icon verified. Production game a8d606ea deployed; backup /root/backup-native-systems/20261019-083154. No aggregate parity upgrade; phone not tested."}
|
||||
{"time": "2026-10-19T13:52:09.182541+00:00", "event": "authorized_ava2_extension", "unit": "ScriptLib/Ava2ItemShop", "finding": "Vendor active uiitemshopnew.py; native GC93 and authenticated GD/DG76, InnoDB wallet/catalogue/order/award transaction, durable token and confirmed quote, bounded atomic decoder, native UI locale/event/scroll/preview adapters. Correct db prototype pointer index after sort. Classic item layout and CWindow algorithms remain unchanged.", "evidence": ["docs/AVA2-ITEMSHOP.md", "tests/wiki/test_itemshop.py", "tools/ava2-native/sources.json", "audit/evidence/itemshop/"], "result": "157 client tests; 31 server feature scripts including native-layout, integer-total and real prototype-index body tests. macOS/sbtest purchase, redemption, refusal/rollback, restart replay, SQL loss/lock timeout, lost-result retry and real widget callbacks verified. 49 original offers with matching IDs/prices/icons enabled only on sbtest; other 168 and recharge/wheel remain closed. Android offline build only; no production deployment or aggregate parity upgrade."}
|
||||
{"time": "2026-10-19T14:13:41.385041+00:00", "event": "authorized_mobile_ui_fix", "unit": "ScriptLib/MobileHUD and host/TouchController", "finding": "Fix UTF-8 minimap tooltip boundaries. Retain original skill arc per user feedback; smaller secondary menu artwork with 48dp hit targets, compact menus with drawer and native shop entry. Proportional two-finger camera zoom, stationary-stick fix and gesture cancellation.", "evidence": ["tests/wiki/test_minimap_buttons.py", "tests/port/port_login_flow_test.cpp", "audit/evidence/mobile-ui/acceptance.json", "audit/evidence/itemshop/minimap-tooltips.json", "docs/ANDROID-TESTING.md"], "result": "158 Python tests; focused real TouchController/camera offline flow; Mi 8 Lite Android multi-pointer and menu checks. No production deployment or aggregate parity upgrade."}
|
||||
{"time": "2026-10-19T14:22:27.432875+00:00", "event": "authorized_mobile_ui_refinement", "unit": "host/TouchController", "finding": "Shrink AUTO artwork to 72% while preserving hit target; tighten the single six-skill arc from radius140 to120 with 25-degree spacing and preserved clockwise order. Strengthen all-button overlap checks to actual 1.15 expanded hit radius.", "evidence": ["audit/evidence/mobile-ui/compact-controls.json", "tests/host/touch_layout_test.cpp", "docs/ANDROID-TESTING.md"], "result": "Six layout scenarios PASS; macOS and Android builds PASS, installed and visually checked on connected Mi 8 Lite. No production server change."}
|
||||
{"time": "2026-10-19T14:24:36.040212+00:00", "event": "authorized_mobile_ui_refinement", "unit": "host/TouchController", "finding": "Remove mobile quick-slot buttons 7/8 from the button list and eight-control geometry; remove their render and pointer assignment branches. Keep attack, six-skill arc and AUTO.", "evidence": ["src/host/touch_controller.h", "src/host/touch_layout.h", "tests/host/touch_layout_test.cpp", "docs/ANDROID-TESTING.md"], "result": "Layout checks PASS across six screen/safe-area/target configurations. Android and macOS builds PASS. Updated APK installed on Mi 8 Lite; no server changes."}
|
||||
{"time": "2026-10-19T19:10:33.466877+00:00", "event": "authorized_mobile_ui_refinement", "unit": "ScriptLib/MobileHUD, MeshPort notice and chat preview", "finding": "Three named primary entries with seven-action collapsing drawer; contrasting HP/SP numbers, lower/dim AUTO, bounded three-line chat preview using platform render scissor without modifying chat history, network status below buffs with duplicate-state suppression.", "evidence": ["audit/evidence/mobile-ui/hud-refinement.json", "tests/port/port_login_flow_test.cpp", "tests/meshport/test_login.py", "docs/ANDROID-TESTING.md"], "result": "158 Python tests, nine notice tests, native mobile menu/chat/scissor/gesture flow, six combat layouts and macOS/Android builds passed. APK installed on locked Mi 8 Lite; new on-device visual acceptance remains pending unlock. No server deployment or aggregate parity upgrade."}
|
||||
{"time": "2026-10-19T22:09:36.221469+00:00", "event": "authorized_mobile_ui_refinement", "unit": "ScriptLib/MobileHUD", "finding": "Remove HP/SP numeric labels and their dark plate at user request; retain original native gauges, recovery updates and stamina strip.", "evidence": ["src/platform/ScriptLib/MobileHUDScript.inc", "tests/port/port_login_flow_test.cpp", "docs/ANDROID-TESTING.md"], "result": "Focused native mobile flow PASS; Android and macOS builds PASS. APK installed successfully on Mi 8 Lite. Device remains locked; visual acceptance pending unlock. No server changes."}
|
||||
{"time": "2026-10-19T23:59:00.829045+00:00", "event": "authorized_production_release", "unit": "AVA2 native itemshop", "finding": "Deploy sbtest-verified game/db, InnoDB account/catalogue/order/award tables and 49 original compatible products to 203; patch production third-hand prototype. Update canonical macOS bundle and connected Android APK/resources.", "evidence": ["audit/evidence/itemshop/production-20261020.json", "docs/AVA2-ITEMSHOP.md"], "result": "CH1 catalogue/icons, insufficient funds, 99-coin widget purchase, same-token replay, purchase history and mall-to-inventory redemption PASS. Temporary QA account, character, funds, items, orders and awards removed. db/auth/13 production game cores healthy, sbtest unchanged. Recharge, wheel and 168 unsupported offers remain disabled. Android installed/launched; mobile in-game purchase acceptance not claimed. No aggregate parity upgrade."}
|
||||
|
||||
@@ -1902,9 +1902,13 @@
|
||||
"project/mob_view_test.gd",
|
||||
"project/motion_event_payload_test.gd",
|
||||
"project/motion_registry_test.gd",
|
||||
"project/hit_view_test.gd"
|
||||
"project/hit_view_test.gd",
|
||||
"tests/port/port_granny_root_motion_test.cpp"
|
||||
],
|
||||
"last_test_result": "PASS: PC playersettingmodule motion registry (registration order/weights), HORSE parent fallback, knockdown/stand-up early-return, MSA MotionDuration authority, LoopData skill timing, motion event payloads, and hot clip/MSA cache reuse regressions passed; NPC/full RaceData/event-consumer parity remains PARTIAL"
|
||||
"last_test_result": "PASS: PC playersettingmodule motion registry (registration order/weights), HORSE parent fallback, knockdown/stand-up early-return, MSA MotionDuration authority, LoopData skill timing, motion event payloads, and hot clip/MSA cache reuse regressions passed; NPC/full RaceData/event-consumer parity remains PARTIAL",
|
||||
"commands": [
|
||||
"2026-09-30: ctest --test-dir build/native -R port.granny_root_motion --output-on-failure PASS; HEAD GrannyRuntime linked against the same packed-asset test FAIL (zero root displacement). audit/evidence/2026-09-30-bear-root-motion.md"
|
||||
]
|
||||
},
|
||||
"remaining": [
|
||||
"扩展已接入的 PC playersettingmodule registry 快照,对比 NPC motlist、horse/wedding/skill 的每个 motion key 和缺失 key 失败语义",
|
||||
@@ -3860,9 +3864,14 @@
|
||||
"project/motion_event_payload_test.gd",
|
||||
"project/motion_event_visibility_test.gd",
|
||||
"project/net_world_motion_event_test.gd",
|
||||
"project/motion_event_warp_test.gd"
|
||||
"project/motion_event_warp_test.gd",
|
||||
"tests/host/blend_state_test.cpp",
|
||||
"tests/host/rgb_target_blend_test.py"
|
||||
],
|
||||
"last_test_result": "PASS"
|
||||
"last_test_result": "PASS",
|
||||
"commands": [
|
||||
"2026-09-30: host.blend_state PASS; python3 tests/host/rgb_target_blend_test.py build/native/src/port/host_blend_state_test build/release/src/host/mt_native_render PASS (128,128,160); previous executable FAIL (0,64,128). Native gungsin motion screenshots inspected; Android APK build PASS. audit/evidence/2026-09-30-gungsin-blending.md"
|
||||
]
|
||||
},
|
||||
"remaining": [
|
||||
"type 4/6 的生产分支和专用字段消费;type 9 WARP 已接入但远端目标生命周期仍待 live 验证",
|
||||
@@ -4130,7 +4139,15 @@
|
||||
"focus_pause_exit_cleanup": "PARTIAL"
|
||||
},
|
||||
"platform_adaptations": [
|
||||
"Godot mobile touch/joystick/pinch/landscape UI is a platform adaptation and has no direct Windows 40250 branch to compare 1:1."
|
||||
"Godot mobile touch/joystick/pinch/landscape UI is a platform adaptation and has no direct Windows 40250 branch to compare 1:1.",
|
||||
{
|
||||
"reference": "CGraphicImageTexture loads the UI images (d:/ymir work/ui/, icon/, locale/<locale>/ui) from the packs at their 1x size; 40250 draws them 1:1 on an 800x600+ desktop",
|
||||
"implementation": "src/host/vk_textures.cpp get_gpu_texture -> src/host/texture_decode.cpp read_hd_ui_texture: a UI texture present in hd_ui.pak (scripts/build_hd_ui.py, realesrgan-x4plus + back-projection, 2x) is uploaded in place of the pack file; MT_HD_UI=0 disables",
|
||||
"invariant": "only the GPU texel density changes: the engine's own decode, the image sizes, layout, quads and normalized UVs stay the 40250 1x ones; a name absent from the pak falls back to the pack",
|
||||
"tests": [
|
||||
"real server 192.168.21.203 shop + character window A/B 2026-09-30 (MT_HD_UI=0 vs 1, 600-high UI at ~1.7x): identical layout, icons and portrait sharper, board grain kept; 2406 textures, 135 MB pak"
|
||||
]
|
||||
}
|
||||
],
|
||||
"evidence": {
|
||||
"contract": "audit/contracts/ui.input-camera-mobile.md",
|
||||
@@ -4244,9 +4261,18 @@
|
||||
"project/name_show_test.gd",
|
||||
"project/char_status_ui_test.gd",
|
||||
"project/test_taskbar_quickslot_parity.gd",
|
||||
"project/taskbar_dock_test.gd"
|
||||
"project/taskbar_dock_test.gd",
|
||||
"tests/host/ui_quality_test.cpp",
|
||||
"tests/port/port_text_test.cpp"
|
||||
],
|
||||
"last_test_result": "PARTIAL"
|
||||
"last_test_result": "PARTIAL",
|
||||
"commands": [
|
||||
"2026-09-30: native UI HiDPI font refresh and sampling checks PASS; previous font runtime fails 9 new assertions. Full native CTest: 29 pass, codepage and live login skipped. Actual mac app HD archive/launch/screenshot checks recorded in audit/evidence/2026-09-30-mac-ui-clarity.md. Aggregate HUD parity remains PARTIAL."
|
||||
],
|
||||
"notes": [
|
||||
"2026-10-02: SCREEN waypoint atlas must retain original black RGB under alpha=0; HD minimap.dds colour bleed reproduced, native five-frame waypoint smoke renders clean rings after original-atlas fallback. build/minimap-fix-smoke.png. Full Windows visual parity remains unverified.",
|
||||
"2026-10-18: native UI stage-0 wrap/mirror/clamp now follows CStateManager, fixing repeated Board backgrounds. Three focused CTests and real macOS before/after screenshots pass; audit/evidence/2026-10-18-ui-addressing.md. Aggregate remains PARTIAL; Android/Windows comparison outstanding."
|
||||
]
|
||||
},
|
||||
"remaining": [
|
||||
"在正式 GameScene 创建并注入唯一 TargetUI,移除/隐藏简化目标条并补生产链回归",
|
||||
|
||||
@@ -511,7 +511,8 @@
|
||||
],
|
||||
"evidence": [
|
||||
"scripts/verify_root_pack.py: uiaffectshower.py bytes match 40250 source and root.epk",
|
||||
"scripts/python_game_render_test.sh: embedded CPython loads system.py and game modules through CEterPackManager"
|
||||
"scripts/python_game_render_test.sh: embedded CPython loads system.py and game modules through CEterPackManager",
|
||||
"2026-09-30 PORT server-bonus extension: original affect script unchanged; port.login_flow checks separate global/event entries and expiry/update via real CHAT_TYPE_COMMAND; Mi 8 Lite tooltip verified."
|
||||
]
|
||||
},
|
||||
"AffectShower.OnUpdate": {
|
||||
@@ -521,7 +522,8 @@
|
||||
],
|
||||
"evidence": [
|
||||
"scripts/verify_root_pack.py: uiaffectshower.py bytes match 40250 source and root.epk",
|
||||
"scripts/python_game_render_test.sh: embedded CPython loads system.py and game modules through CEterPackManager"
|
||||
"scripts/python_game_render_test.sh: embedded CPython loads system.py and game modules through CEterPackManager",
|
||||
"2026-09-30 PORT server-bonus extension: original affect script unchanged; port.login_flow checks separate global/event entries and expiry/update via real CHAT_TYPE_COMMAND; Mi 8 Lite tooltip verified."
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -56,7 +56,8 @@
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/port/EffectLib/EffectInstance.cpp:CEffectInstance::OnRender"
|
||||
]
|
||||
],
|
||||
"note": "2026-09-30: reference statements remain verbatim apart from include case. Native Vulkan adapter now interprets destination alpha as 1 on recorded X8R8G8B8/R5G6B5 targets; gungsin start/end particles use SRCALPHA/DESTALPHA. Focused mapping and actual GPU pixel regression fail before/pass after. See audit/evidence/2026-09-30-gungsin-blending.md."
|
||||
},
|
||||
"CEffectInstance::SetGlobalMatrix": {
|
||||
"status": "PORTED",
|
||||
|
||||
@@ -44,7 +44,8 @@
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/port/EffectLib/ParticleSystemInstance.cpp:CParticleSystemInstance::OnRender"
|
||||
]
|
||||
],
|
||||
"note": "2026-09-30: reference statements remain verbatim apart from include case. Native Vulkan adapter now interprets destination alpha as 1 on recorded X8R8G8B8/R5G6B5 targets; gungsin start/end particles use SRCALPHA/DESTALPHA. Focused mapping and actual GPU pixel regression fail before/pass after. See audit/evidence/2026-09-30-gungsin-blending.md."
|
||||
},
|
||||
"CParticleSystemInstance::OnSetDataPointer": {
|
||||
"status": "PORTED",
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
"test": [
|
||||
"tests/port/port_utils_test.cpp"
|
||||
],
|
||||
"note": "40250 maps the file (CreateFile + CreateFileMapping/MapViewOfFile from offset 0) and CRCs the whole view; the port reads the whole FILE* into a buffer. Invariant: same CRC of the full file, the handle's position is unchanged, 0 when the file cannot be opened."
|
||||
"note": "40250 maps the file (CreateFile + CreateFileMapping/MapViewOfFile from offset 0) and CRCs the whole view; the port reads the whole FILE* into a buffer. Invariant: same CRC of the full file, the handle's position is unchanged, 0 when the file cannot be opened. Android 15 MI 8 Lite regression: reject non-regular FILE handles before seeking/allocating, preserving Win32 directory-open failure; check seek errors. Directory/null regression in port_utils_test and successful on-device fake-login/map entry after prior std::bad_alloc abort."
|
||||
},
|
||||
"GetFileCRC32": {
|
||||
"status": "ADAPTED",
|
||||
@@ -40,7 +40,7 @@
|
||||
"test": [
|
||||
"tests/port/port_utils_test.cpp"
|
||||
],
|
||||
"note": "40250 maps the file (CreateFile + CreateFileMapping/MapViewOfFile from offset 0) and CRCs the whole view; the port reads the whole FILE* into a buffer. Invariant: same CRC of the full file, the handle's position is unchanged, 0 when the file cannot be opened. Callers: GuildMarkUploader/GuildMarkDownloader symbol CRC, root pack CRC report."
|
||||
"note": "40250 maps the file (CreateFile + CreateFileMapping/MapViewOfFile from offset 0) and CRCs the whole view; the port reads the whole FILE* into a buffer. Invariant: same CRC of the full file, the handle's position is unchanged, 0 when the file cannot be opened. Callers: GuildMarkUploader/GuildMarkDownloader symbol CRC, root pack CRC report. Android 15 MI 8 Lite regression: reject non-regular FILE handles before seeking/allocating, preserving Win32 directory-open failure; check seek errors. Directory/null regression in port_utils_test and successful on-device fake-login/map entry after prior std::bad_alloc abort."
|
||||
},
|
||||
"GetFileSize": {
|
||||
"status": "ADAPTED",
|
||||
|
||||
@@ -20,7 +20,8 @@
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/port/EterGrnLib/ModelInstanceUpdate.cpp:CGrannyModelInstance::UpdateTransform"
|
||||
]
|
||||
],
|
||||
"note": "2026-09-30: native Granny adapter now selects the model-named track group, preserving all group metadata and limiting bone binding to that group. Real packed bear walk/run (auxiliary Hedra before Bip01) fail with the previous runtime and pass in tests/port/port_granny_root_motion_test.cpp. See audit/evidence/2026-09-30-bear-root-motion.md."
|
||||
},
|
||||
"CGrannyModelInstance::Deform": {
|
||||
"status": "PORTED",
|
||||
|
||||
@@ -46,9 +46,10 @@
|
||||
"src/platform/EterLib/GrpExpandedImageInstance.cpp:CGraphicExpandedImageInstance::OnRender"
|
||||
],
|
||||
"test": [
|
||||
"tests/port/port_grp_resource_test.cpp"
|
||||
"tests/port/port_grp_resource_test.cpp",
|
||||
"tests/host/ui_sampler_capture_test.cpp"
|
||||
],
|
||||
"note": "40250: CULLMODE CCW for a mirrored scale, Save/RestoreRenderState SRCBLEND/DESTBLEND per RENDERING_MODE, PDT-stream fill-rect draw. Port: the verbatim vertices plus m_iRenderingMode go to UIRenderAddImage; the Vulkan UI pipeline (cull none) maps SCREEN/COLOR_DODGE to INVDESTCOLOR+ONE and MODULATE to ZERO+SRCCOLOR (ui_batches.cpp). Invariant: same corners, UVs and blend factors."
|
||||
"note": "40250: CULLMODE CCW for a mirrored scale, Save/RestoreRenderState SRCBLEND/DESTBLEND per RENDERING_MODE, PDT-stream fill-rect draw. Port: the verbatim vertices plus m_iRenderingMode go to UIRenderAddImage; the Vulkan UI pipeline (cull none) maps SCREEN/COLOR_DODGE to INVDESTCOLOR+ONE and MODULATE to ZERO+SRCCOLOR (ui_batches.cpp). Invariant: same corners, UVs and blend factors. 2026-10-18: stage-0 U/V addressing is carried into Vulkan UI descriptors; the prior unconditional clamp stretched Board.SetRenderingRect tiling into edge stripes. Native before/after screenshots and independent wrap/mirror/clamp tests are recorded in audit/evidence/2026-10-18-ui-addressing.md."
|
||||
},
|
||||
"CGraphicExpandedImageInstance::SetDepth": {
|
||||
"status": "PORTED",
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
"test": [
|
||||
"tests/port/port_text_test.cpp"
|
||||
],
|
||||
"note": "40250: deletes each HFONT of the font map. Port: also deletes its oversampled twin. Invariant: 40250 teardown; no leaked GDI fonts."
|
||||
"note": "40250 deletes fonts/pages. PORT also unregisters the live raster atlas and deletes oversampled twins; rebuilding preserves cached character-info node addresses. See docs/MAC-UI-CLARITY.md and audit/evidence/2026-09-30-mac-ui-clarity.md."
|
||||
},
|
||||
"CGraphicFontTexture::CreateDeviceObjects": {
|
||||
"status": "PORTED",
|
||||
@@ -76,7 +76,7 @@
|
||||
"test": [
|
||||
"tests/port/port_text_test.cpp"
|
||||
],
|
||||
"note": "40250: the page DIB is width x height. Port: width*s x height*s for oversample s (1 by default = 40250). Invariant: logical page size, metrics and UVs unchanged."
|
||||
"note": "40250 retains logical font metrics and atlas dimensions. PORT allocates 1–4x raster pages and registers successful atlases for monitor-density refresh; port.text verifies unchanged width/height/advance and stable glyph pointers. See docs/MAC-UI-CLARITY.md and audit/evidence/2026-09-30-mac-ui-clarity.md."
|
||||
},
|
||||
"CGraphicFontTexture::GetFont": {
|
||||
"status": "ADAPTED",
|
||||
@@ -89,22 +89,24 @@
|
||||
"note": "40250: CreateFontIndirect per code page. Port: with s > 1 also creates an s-times-height twin for drawing. Invariant: the measuring font is the 40250 one."
|
||||
},
|
||||
"CGraphicFontTexture::AppendTexture": {
|
||||
"status": "PORTED",
|
||||
"status": "ADAPTED",
|
||||
"impl": [
|
||||
"src/platform/EterLib/GrpFontTexture.cpp:CGraphicFontTexture::AppendTexture"
|
||||
],
|
||||
"test": [
|
||||
"tests/port/port_text_test.cpp"
|
||||
]
|
||||
],
|
||||
"note": "40250 creates A4R4G4B4 pages. PORT uses A8R8G8B8 for HiDPI pages to retain 256 coverage levels; 1x still uses A4R4G4B4. tests/port/port_text_test.cpp checks alpha finer than 4-bit. See docs/MAC-UI-CLARITY.md and audit/evidence/2026-09-30-mac-ui-clarity.md."
|
||||
},
|
||||
"CGraphicFontTexture::UpdateTexture": {
|
||||
"status": "PORTED",
|
||||
"status": "ADAPTED",
|
||||
"impl": [
|
||||
"src/platform/EterLib/GrpFontTexture.cpp:CGraphicFontTexture::UpdateTexture"
|
||||
],
|
||||
"test": [
|
||||
"tests/port/port_text_test.cpp"
|
||||
]
|
||||
],
|
||||
"note": "40250 copies DIB cells into 16-bit pages. PORT copies 32-bit ARGB rows for HiDPI pages; 1x retains the original conversion. Tests check actual published memory textures. See docs/MAC-UI-CLARITY.md and audit/evidence/2026-09-30-mac-ui-clarity.md."
|
||||
},
|
||||
"CGraphicFontTexture::GetCharacterInfomation": {
|
||||
"status": "PORTED",
|
||||
@@ -123,7 +125,7 @@
|
||||
"test": [
|
||||
"tests/port/port_text_test.cpp"
|
||||
],
|
||||
"note": "40250: TextOutW with the 1x font, bilevel threshold into A4R4G4B4. Port: with s > 1 draws the glyph with the twin into the s-scaled cell keeping coverage alpha; s == 1 is the 40250 path. Invariant: width/height/advance and packing are the logical 1x values."
|
||||
"note": "40250 measures the logical font and caches metrics/UVs. PORT draws oversampled white glyphs with 8-bit coverage and preserves logical metrics. Monitor changes rebuild map values in place without invalidating text-instance pointers; port.text tests 1→2→3→1→2 scales. See docs/MAC-UI-CLARITY.md and audit/evidence/2026-09-30-mac-ui-clarity.md."
|
||||
},
|
||||
"CGraphicFontTexture::CheckTextureIndex": {
|
||||
"status": "PORTED",
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
"test": [
|
||||
"tests/port/port_grp_resource_test.cpp"
|
||||
],
|
||||
"note": "40250: SetPDTStream + DEFAULT_IB_FILL_RECT + stage-0 texture, DrawIndexedPrimitive. Port: the same four TPDTVertex corners/UVs/diffuse go to UIRenderAddImage. Invariant: quad = image rect at m_v2Position-0.5, UVs = rect/texture size."
|
||||
"note": "40250: SetPDTStream + DEFAULT_IB_FILL_RECT + stage-0 texture, DrawIndexedPrimitive. Port: the same four TPDTVertex corners/UVs/diffuse go to UIRenderAddImage. Invariant: quad = image rect at m_v2Position-0.5, UVs = rect/texture size. 2026-09-30: native host snaps axis-aligned quad origins by at most half a physical pixel and uses point sampling only at 1:1 texel/pixel density; source layout/UVs and rotated quads unchanged. host.ui_quality + mac UI screenshots. See docs/MAC-UI-CLARITY.md."
|
||||
},
|
||||
"CGraphicImageInstance::GetTextureReference": {
|
||||
"status": "PORTED",
|
||||
|
||||
@@ -38,6 +38,9 @@
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/port/EterPythonLib/PythonWindow.cpp:CWindow::Clear"
|
||||
],
|
||||
"evidence": [
|
||||
"audit/evidence/2026-10-18-window-lifecycle-qa.md"
|
||||
]
|
||||
},
|
||||
"CWindow::DestroyHandle": {
|
||||
@@ -68,12 +71,18 @@
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/port/EterPythonLib/PythonWindow.cpp:CWindow::__RemoveReserveChildren"
|
||||
],
|
||||
"evidence": [
|
||||
"audit/evidence/2026-10-18-window-lifecycle-qa.md"
|
||||
]
|
||||
},
|
||||
"CWindow::Update": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/port/EterPythonLib/PythonWindow.cpp:CWindow::Update"
|
||||
],
|
||||
"evidence": [
|
||||
"audit/evidence/2026-10-18-window-lifecycle-qa.md"
|
||||
]
|
||||
},
|
||||
"CWindow::Render": {
|
||||
@@ -176,6 +185,9 @@
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/port/EterPythonLib/PythonWindow.cpp:CWindow::DeleteChild"
|
||||
],
|
||||
"evidence": [
|
||||
"audit/evidence/2026-10-18-window-lifecycle-qa.md"
|
||||
]
|
||||
},
|
||||
"CWindow::SetTop": {
|
||||
|
||||
@@ -146,12 +146,18 @@
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/port/EterPythonLib/PythonWindowManager.cpp:CWindowManager::NotifyDestroyWindow"
|
||||
],
|
||||
"evidence": [
|
||||
"audit/evidence/2026-10-18-window-lifecycle-qa.md"
|
||||
]
|
||||
},
|
||||
"CWindowManager::DestroyWindow": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/port/EterPythonLib/PythonWindowManager.cpp:CWindowManager::DestroyWindow"
|
||||
],
|
||||
"evidence": [
|
||||
"audit/evidence/2026-10-18-window-lifecycle-qa.md"
|
||||
]
|
||||
},
|
||||
"CWindowManager::IsDragging": {
|
||||
@@ -296,12 +302,18 @@
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/port/EterPythonLib/PythonWindowManager.cpp:CWindowManager::__ClearReserveDeleteWindowList"
|
||||
],
|
||||
"evidence": [
|
||||
"audit/evidence/2026-10-18-window-lifecycle-qa.md"
|
||||
]
|
||||
},
|
||||
"CWindowManager::Update": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/port/EterPythonLib/PythonWindowManager.cpp:CWindowManager::Update"
|
||||
],
|
||||
"evidence": [
|
||||
"audit/evidence/2026-10-18-window-lifecycle-qa.md"
|
||||
]
|
||||
},
|
||||
"CWindowManager::Render": {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
"impl": [
|
||||
"src/platform/GameLib/MapOutdoorRenderHTP.cpp:CMapOutdoor::__RenderTerrain_RenderHardwareTransformPatch"
|
||||
],
|
||||
"note": "Verbatim 40250 body plus an early return when IsNativeTerrainRenderEnabled() is false (Godot terrain adapter path, PORT-PLAN §3). Fake-server frame: far band no longer white, layout matches the STP path; pixel parity vs a 40250 frame not verified."
|
||||
"note": "Verbatim 40250 body plus an early return when IsNativeTerrainRenderEnabled() is false (Godot terrain adapter path, PORT-PLAN \u00a73). Fake-server frame: far band no longer white, layout matches the STP path; pixel parity vs a 40250 frame not verified. Opt-in MT_DIAGNOSTIC_SKIP_RENDER isolates drawing only for device profiling; absent on normal launches, simulation/network unchanged. See tools/perf/run_render_isolation.py and docs/XIAOMI8LITE-RENDER-ISOLATION-20260930.md."
|
||||
},
|
||||
"CMapOutdoor::__HardwareTransformPatch_RenderPatchSplat": {
|
||||
"status": "NEEDS_LIVE",
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
"impl": [
|
||||
"src/platform/GameLib/MapOutdoorRenderSTP.cpp:CMapOutdoor::__RenderTerrain_RenderSoftwareTransformPatch"
|
||||
],
|
||||
"note": "Verbatim 40250 body plus an early return when IsNativeTerrainRenderEnabled() is false (Godot terrain adapter path, PORT-PLAN §3), same gate as HTP. Reached only with SOFTWARE_TILING 1 or a non-fast-T&L device. Fake-server STP frame matches HTP layout; pixel parity vs a 40250 STP frame not verified."
|
||||
"note": "Verbatim 40250 body plus an early return when IsNativeTerrainRenderEnabled() is false (Godot terrain adapter path, PORT-PLAN \u00a73), same gate as HTP. Reached only with SOFTWARE_TILING 1 or a non-fast-T&L device. Fake-server STP frame matches HTP layout; pixel parity vs a 40250 STP frame not verified. Opt-in MT_DIAGNOSTIC_SKIP_RENDER isolates drawing only for device profiling; absent on normal launches, simulation/network unchanged. See tools/perf/run_render_isolation.py and docs/XIAOMI8LITE-RENDER-ISOLATION-20260930.md."
|
||||
},
|
||||
"CMapOutdoor::__SoftwareTransformPatch_RenderPatchSplat": {
|
||||
"status": "NEEDS_LIVE",
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
"src/platform/UserInterface/PythonApplication.cpp:CPythonApplication::RenderGame"
|
||||
],
|
||||
"test": "tests/port/port_login_flow_test.cpp",
|
||||
"note": "40250's !PERF_CHECKER_RENDER_GAME branch line for line, members reached through their singletons; the perf-timing branch (PERF_CHECKER_RENDER_GAME is FALSE) is left out."
|
||||
"note": "40250's !PERF_CHECKER_RENDER_GAME branch line for line, members reached through their singletons; the perf-timing branch (PERF_CHECKER_RENDER_GAME is FALSE) is left out. Opt-in MT_DIAGNOSTIC_SKIP_RENDER isolates drawing only for device profiling; absent on normal launches, simulation/network unchanged. See tools/perf/run_render_isolation.py and docs/XIAOMI8LITE-RENDER-ISOLATION-20260930.md."
|
||||
},
|
||||
"CPythonApplication::UpdateGame": {
|
||||
"status": "ADAPTED",
|
||||
@@ -157,7 +157,7 @@
|
||||
"impl": [
|
||||
"src/platform/UserInterface/PythonApplication.cpp:CPythonApplication::Create"
|
||||
],
|
||||
"note": "40250 CPythonApplication lifecycle and state adapted for platform host and singletons; m_LightManager.Initialize() (40250 :1263) now called; Destroy() still empty (m_LightManager.Destroy at 40250 :1418 not yet mirrored); 40250 :1196-1251 tiling selection mirrored (SOFTWARE_TILING cfg → GRAPHICS_CAPS_SOFTWARE_TILING before device create, auto tiling IsFastTNL ? HTP : STP via ReserveSoftwareTilingEnable, !IsFastTNL → CGrannyLODController::SetMinLODMode(true)); RecordingDevice caps report VS 1.1 + CLIPTLVERTS so auto picks HTP",
|
||||
"note": "40250 CPythonApplication lifecycle and state adapted for platform host and singletons; m_LightManager.Initialize() (40250 :1263) now called; Destroy() still empty (m_LightManager.Destroy at 40250 :1418 not yet mirrored); 40250 :1196-1251 tiling selection mirrored (SOFTWARE_TILING cfg \u2192 GRAPHICS_CAPS_SOFTWARE_TILING before device create, auto tiling IsFastTNL ? HTP : STP via ReserveSoftwareTilingEnable, !IsFastTNL \u2192 CGrannyLODController::SetMinLODMode(true)); RecordingDevice caps report VS 1.1 + CLIPTLVERTS so auto picks HTP",
|
||||
"test": "tests/port/port_login_flow_test.cpp"
|
||||
},
|
||||
"CPythonApplication::SetGlobalCenterPosition": {
|
||||
@@ -301,7 +301,8 @@
|
||||
"impl": [
|
||||
"src/platform/UserInterface/PythonApplication.cpp:CPythonApplication::Destroy"
|
||||
],
|
||||
"note": "Empty and never called: the host tears down through the singleton resets in PythonBoot::Stop, not 40250 Main's app->Destroy(). 40250's body (window manager, SaveConfig/SaveInterfaceStatus writing into the client dir, managers incl. m_LightManager.Destroy(), device) is not run; porting it needs Stop to call it with config writes redirected out of the 40250 client dir."
|
||||
"note": "Empty and never called: the host tears down through the singleton resets in PythonBoot::Stop, not 40250 Main's app->Destroy(). 40250's body (window manager, SaveConfig/SaveInterfaceStatus writing into the client dir, managers incl. m_LightManager.Destroy(), device) is not run; porting it needs Stop to call it with config writes redirected out of the 40250 client dir. 2026-10-16: PythonBoot::Stop now explicitly drains CFlyingManager before character/effect destruction and destroys characters before their sibling text-tail/item managers. The active-projectile shutdown regression exits 139 before the fix and 0 afterward; remaining CPythonApplication::Destroy omissions retain DIVERGENT.",
|
||||
"test": "tests/port/port_app_loop_test.cpp"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,8 @@
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/port/UserInterface/PythonNetworkStreamCommand.cpp:CPythonNetworkStream::ServerCommand"
|
||||
]
|
||||
],
|
||||
"note": "User-authorized auto-hunt extension consumes only AutoHuntGather replies before unchanged 40250 command handling. Current request generations reject stale/stopped replies; tests/port/autohunt_pull_checks.inc verifies Python settings and CG_CHAT/GC_CHAT through the real network stream. Original commands remain unchanged."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -242,7 +242,17 @@
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/port/UserInterface/PythonPlayer.cpp:CPythonPlayer::NotifyDeadMainCharacter"
|
||||
]
|
||||
],
|
||||
"note": "Original auto-attack cleanup retained; user-authorized PORT auto-hunt extension optionally waits for server restart_here and recovery. Default remains stopping on death. See docs/AUTO-HUNT-ENHANCEMENTS.md.",
|
||||
"evidence": {
|
||||
"tests": [
|
||||
"tests/port/autohunt_recovery_checks.inc"
|
||||
],
|
||||
"commands": [
|
||||
"ctest --test-dir build/native -R ^port.login_flow$ --output-on-failure",
|
||||
"MT_TEST_MOBILE=1 ctest --test-dir build/native -R ^port.login_flow$ --output-on-failure"
|
||||
]
|
||||
}
|
||||
},
|
||||
"CPythonPlayer::NotifyChangePKMode": {
|
||||
"status": "PORTED",
|
||||
|
||||
@@ -0,0 +1,106 @@
|
||||
#!/bin/zsh
|
||||
# Renders branding/icon/icon.svg into every platform icon and writes them where the builds pick them up:
|
||||
# android/app/src/main/res/mipmap-* legacy ic_launcher / ic_launcher_round (API 24-25) and the
|
||||
# adaptive-icon layers (API 26+, mipmap-anydpi-v26/*.xml)
|
||||
# branding/icon/macos/AppIcon.icns macOS app icon (Big Sur squircle with drop shadow)
|
||||
# branding/icon/ios/AppIcon.appiconset iOS single-size 1024 icon (opaque)
|
||||
# The outputs are committed, so building the apps does not need this script. Rerun it after editing the SVG.
|
||||
# Needs Google Chrome (SVG filters) and ImageMagick (`brew install imagemagick`); iconutil ships with macOS.
|
||||
set -euo pipefail
|
||||
here=${0:A:h}
|
||||
repo=${here:h:h}
|
||||
chrome=${CHROME:-"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"}
|
||||
work=$(mktemp -d)
|
||||
trap 'rm -rf "$work"' EXIT
|
||||
|
||||
# icon.svg -> full / background-only / foreground-only (scaled into the adaptive-icon safe zone) SVGs.
|
||||
python3 - "$here/icon.svg" "$work" <<'EOF'
|
||||
import re, sys
|
||||
src, out = sys.argv[1], sys.argv[2]
|
||||
svg = open(src).read()
|
||||
# Both layer groups sit at two-space indent; the foreground one is the last element and holds nested groups.
|
||||
bg = re.search(r' <g id="background">.*?\n </g>\n', svg, re.S)
|
||||
fg = re.search(r' <g id="foreground">.*\n </g>\n(?=</svg>)', svg, re.S)
|
||||
assert bg and fg
|
||||
open(out + "/full.svg", "w").write(svg)
|
||||
open(out + "/background.svg", "w").write(svg.replace(fg.group(0), ""))
|
||||
# Adaptive icons show the inner 72 of 108 dp (338 px of the 512 half-width) and launchers mask inside that.
|
||||
# Scale the foreground so the ring (outer radius 405 around (512, 500)) sits at the same 79% of the visible
|
||||
# radius as in the full icon: 405 * 0.66 = 267 = 0.79 * 338.
|
||||
scaled = ' <g transform="translate(512 512) scale(0.66) translate(-512 -500)">\n' + fg.group(0) + ' </g>\n'
|
||||
open(out + "/foreground.svg", "w").write(svg.replace(bg.group(0), "").replace(fg.group(0), scaled))
|
||||
EOF
|
||||
|
||||
for name in full background foreground; do
|
||||
"$chrome" --headless=new --disable-gpu --hide-scrollbars --default-background-color=00000000 \
|
||||
--window-size=1024,1024 --screenshot="$work/$name.png" "file://$work/$name.svg" >/dev/null 2>&1
|
||||
done
|
||||
|
||||
# Android
|
||||
res=$repo/android/app/src/main/res
|
||||
typeset -A legacy=(mdpi 48 hdpi 72 xhdpi 96 xxhdpi 144 xxxhdpi 192)
|
||||
for density size in ${(kv)legacy}; do
|
||||
dir=$res/mipmap-$density
|
||||
mkdir -p $dir
|
||||
layer=$(( size * 9 / 4 )) # 108 dp at this density
|
||||
magick "$work/background.png" -resize ${layer}x${layer} "$dir/ic_launcher_background.png"
|
||||
magick "$work/foreground.png" -resize ${layer}x${layer} "$dir/ic_launcher_foreground.png"
|
||||
# Legacy launchers show the bitmap as is: a rounded square and a circle.
|
||||
r=$(( size * 18 / 100 ))
|
||||
magick "$work/full.png" -alpha set -resize ${size}x${size} \
|
||||
\( -size ${size}x${size} xc:none -fill white -draw "roundrectangle 0,0 $((size-1)),$((size-1)) $r,$r" \) \
|
||||
-compose DstIn -composite "$dir/ic_launcher.png"
|
||||
magick "$work/full.png" -alpha set -resize ${size}x${size} \
|
||||
\( -size ${size}x${size} xc:none -fill white -draw "circle $((size/2)),$((size/2)) $((size/2)),0" \) \
|
||||
-compose DstIn -composite "$dir/ic_launcher_round.png"
|
||||
done
|
||||
mkdir -p $res/mipmap-anydpi-v26
|
||||
for name in ic_launcher ic_launcher_round; do
|
||||
cat > $res/mipmap-anydpi-v26/$name.xml <<'EOF'
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generated by branding/icon/build_icons.sh. -->
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@mipmap/ic_launcher_background" />
|
||||
<foreground android:drawable="@mipmap/ic_launcher_foreground" />
|
||||
</adaptive-icon>
|
||||
EOF
|
||||
done
|
||||
|
||||
# macOS: 824 px squircle-ish rounded rect (radius 185) centred on 1024 with a soft shadow, per the Big Sur grid.
|
||||
magick "$work/full.png" -alpha set -resize 824x824 \
|
||||
\( -size 824x824 xc:none -fill white -draw "roundrectangle 0,0 823,823 185,185" \) \
|
||||
-compose DstIn -composite "$work/tile.png"
|
||||
magick -size 1024x1024 xc:none \
|
||||
\( "$work/tile.png" -background black -shadow 50x14+0+10 \) -gravity center -geometry +0+6 -compose Over -composite \
|
||||
"$work/tile.png" -gravity center -geometry +0+0 -compose Over -composite "$work/mac1024.png"
|
||||
iconset=$work/AppIcon.iconset
|
||||
mkdir -p $iconset
|
||||
for s in 16 32 128 256 512; do
|
||||
magick "$work/mac1024.png" -resize ${s}x${s} "$iconset/icon_${s}x${s}.png"
|
||||
magick "$work/mac1024.png" -resize $((s*2))x$((s*2)) "$iconset/icon_${s}x${s}@2x.png"
|
||||
done
|
||||
mkdir -p $here/macos
|
||||
iconutil -c icns -o $here/macos/AppIcon.icns $iconset
|
||||
cp "$work/mac1024.png" $here/macos/AppIcon-1024.png
|
||||
|
||||
# iOS: opaque, square; the system applies the mask.
|
||||
ios=$here/ios/AppIcon.appiconset
|
||||
mkdir -p $ios
|
||||
magick "$work/full.png" -background '#12050a' -alpha remove -alpha off "$ios/AppIcon-1024.png"
|
||||
cat > $ios/Contents.json <<'EOF'
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "AppIcon-1024.png",
|
||||
"idiom" : "universal",
|
||||
"platform" : "ios",
|
||||
"size" : "1024x1024"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
||||
EOF
|
||||
echo "icons written"
|
||||
@@ -0,0 +1,124 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" width="1024" height="1024">
|
||||
<!-- Metin2 client app icon: a Metin stone (the cursed monoliths the game is named after) with glowing
|
||||
rune cracks, inside a gold ring over a blood-red dusk sky and ink mountains.
|
||||
Full-bleed square; platforms apply their own mask. #background / #foreground are the Android
|
||||
adaptive-icon layers. branding/icon/build_icons.sh renders every platform size from this file. -->
|
||||
<defs>
|
||||
<radialGradient id="sky" cx="50%" cy="42%" r="70%">
|
||||
<stop offset="0" stop-color="#8e1b14"/>
|
||||
<stop offset="0.45" stop-color="#4a0b0e"/>
|
||||
<stop offset="1" stop-color="#12050a"/>
|
||||
</radialGradient>
|
||||
<radialGradient id="aura" cx="50%" cy="50%" r="50%">
|
||||
<stop offset="0" stop-color="#ff7a2a" stop-opacity="0.85"/>
|
||||
<stop offset="0.4" stop-color="#e2361a" stop-opacity="0.45"/>
|
||||
<stop offset="1" stop-color="#e2361a" stop-opacity="0"/>
|
||||
</radialGradient>
|
||||
<linearGradient id="gold" x1="0" y1="0" x2="0" y2="1">
|
||||
<stop offset="0" stop-color="#fff0a8"/>
|
||||
<stop offset="0.35" stop-color="#e8b64a"/>
|
||||
<stop offset="0.7" stop-color="#a8701c"/>
|
||||
<stop offset="1" stop-color="#f3cf6a"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="faceL" x1="0" y1="0" x2="1" y2="1">
|
||||
<stop offset="0" stop-color="#5b5566"/>
|
||||
<stop offset="1" stop-color="#211d28"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="faceR" x1="1" y1="0" x2="0" y2="1">
|
||||
<stop offset="0" stop-color="#2a2531"/>
|
||||
<stop offset="1" stop-color="#0b090f"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="faceM" x1="0" y1="0" x2="0" y2="1">
|
||||
<stop offset="0" stop-color="#46404f"/>
|
||||
<stop offset="1" stop-color="#16131b"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="mtnFar" x1="0" y1="0" x2="0" y2="1">
|
||||
<stop offset="0" stop-color="#3a0c10"/>
|
||||
<stop offset="1" stop-color="#1c0609"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="mtnNear" x1="0" y1="0" x2="0" y2="1">
|
||||
<stop offset="0" stop-color="#1e070a"/>
|
||||
<stop offset="1" stop-color="#080305"/>
|
||||
</linearGradient>
|
||||
<filter id="glow" x="-50%" y="-50%" width="200%" height="200%">
|
||||
<feGaussianBlur stdDeviation="9" result="b"/>
|
||||
<feMerge><feMergeNode in="b"/><feMergeNode in="b"/><feMergeNode in="SourceGraphic"/></feMerge>
|
||||
</filter>
|
||||
<filter id="soft" x="-20%" y="-20%" width="140%" height="140%">
|
||||
<feGaussianBlur stdDeviation="3"/>
|
||||
</filter>
|
||||
<filter id="shadow" x="-30%" y="-30%" width="160%" height="160%">
|
||||
<feDropShadow dx="0" dy="10" stdDeviation="14" flood-color="#000" flood-opacity="0.7"/>
|
||||
</filter>
|
||||
</defs>
|
||||
|
||||
<g id="background">
|
||||
<!-- sky -->
|
||||
<rect width="1024" height="1024" fill="url(#sky)"/>
|
||||
|
||||
<!-- blood moon behind the stone -->
|
||||
<circle cx="512" cy="430" r="250" fill="#c0301f" opacity="0.35"/>
|
||||
<circle cx="512" cy="430" r="330" fill="url(#aura)"/>
|
||||
|
||||
<!-- ink mountains -->
|
||||
<path d="M0 700 L110 610 L180 650 L280 540 L360 620 L420 590 L512 660 L610 575 L690 630 L760 540 L860 640 L940 600 L1024 660 L1024 1024 L0 1024 Z" fill="url(#mtnFar)"/>
|
||||
<path d="M0 800 L90 740 L170 780 L260 710 L350 790 L512 760 L660 800 L760 720 L860 770 L950 730 L1024 770 L1024 1024 L0 1024 Z" fill="url(#mtnNear)"/>
|
||||
|
||||
</g>
|
||||
|
||||
<g id="foreground">
|
||||
<!-- gold ring -->
|
||||
<g filter="url(#shadow)">
|
||||
<circle cx="512" cy="500" r="392" fill="none" stroke="url(#gold)" stroke-width="26"/>
|
||||
<circle cx="512" cy="500" r="360" fill="none" stroke="#e8b64a" stroke-width="4" opacity="0.8"/>
|
||||
<g id="stud"><circle cx="512" cy="108" r="17" fill="url(#gold)" stroke="#6b430c" stroke-width="3"/><circle cx="512" cy="108" r="6" fill="#c0301f"/></g>
|
||||
<use href="#stud" transform="rotate(45 512 500)"/>
|
||||
<use href="#stud" transform="rotate(90 512 500)"/>
|
||||
<use href="#stud" transform="rotate(135 512 500)"/>
|
||||
<use href="#stud" transform="rotate(225 512 500)"/>
|
||||
<use href="#stud" transform="rotate(270 512 500)"/>
|
||||
<use href="#stud" transform="rotate(315 512 500)"/>
|
||||
</g>
|
||||
|
||||
<!-- the Metin stone -->
|
||||
<g filter="url(#shadow)">
|
||||
<!-- rocky base -->
|
||||
<path d="M300 808 L360 752 L452 770 L512 742 L590 768 L668 750 L728 806 L690 840 L340 842 Z" fill="#17121a"/>
|
||||
<!-- left face -->
|
||||
<path d="M512 150 L408 300 L372 560 L400 790 L500 810 L486 520 Z" fill="url(#faceL)"/>
|
||||
<!-- middle face -->
|
||||
<path d="M512 150 L486 520 L500 810 L560 802 L566 470 Z" fill="url(#faceM)"/>
|
||||
<!-- right face -->
|
||||
<path d="M512 150 L566 470 L560 802 L632 780 L656 540 L616 290 Z" fill="url(#faceR)"/>
|
||||
<!-- facet highlights -->
|
||||
<path d="M512 150 L408 300 L372 560" fill="none" stroke="#9a92a8" stroke-width="4" opacity="0.7"/>
|
||||
<path d="M512 150 L486 520 L500 810" fill="none" stroke="#6d6579" stroke-width="3" opacity="0.6"/>
|
||||
<path d="M408 300 L452 250 L512 150 M372 560 L420 600 L400 790" fill="none" stroke="#7a7288" stroke-width="2.5" opacity="0.5"/>
|
||||
<path d="M616 290 L656 540 L632 780" fill="none" stroke="#ff5a2a" stroke-width="5" opacity="0.75"/>
|
||||
<path d="M566 470 L620 430 M560 802 L600 700" fill="none" stroke="#3b3444" stroke-width="2.5" opacity="0.8"/>
|
||||
</g>
|
||||
|
||||
<!-- glowing cracks and runes -->
|
||||
<g filter="url(#glow)" stroke-linecap="round" stroke-linejoin="round" fill="none">
|
||||
<path d="M470 250 L452 330 L478 380 L440 470 L462 540 L430 640 L452 720" stroke="#ff6a1f" stroke-width="9"/>
|
||||
<path d="M452 330 L418 360" stroke="#ff6a1f" stroke-width="6"/>
|
||||
<path d="M440 470 L404 500" stroke="#ff6a1f" stroke-width="6"/>
|
||||
<path d="M548 300 L566 380 L540 430 L584 520 L560 600 L596 690" stroke="#ff4a18" stroke-width="8"/>
|
||||
<path d="M584 520 L620 540" stroke="#ff4a18" stroke-width="6"/>
|
||||
<!-- rune on the middle face -->
|
||||
<path d="M526 575 L556 630 L526 685 L496 630 Z M526 605 L526 655" stroke="#ffd27a" stroke-width="7"/>
|
||||
</g>
|
||||
<!-- hot cores of the cracks -->
|
||||
<g stroke-linecap="round" stroke-linejoin="round" fill="none" stroke="#fff0c0" opacity="0.9">
|
||||
<path d="M470 250 L452 330 L478 380 L440 470 L462 540 L430 640 L452 720" stroke-width="3"/>
|
||||
<path d="M548 300 L566 380 L540 430 L584 520 L560 600 L596 690" stroke-width="3"/>
|
||||
<path d="M526 575 L556 630 L526 685 L496 630 Z M526 605 L526 655" stroke-width="2.5"/>
|
||||
</g>
|
||||
|
||||
<!-- embers -->
|
||||
<g fill="#ffb25a" filter="url(#soft)">
|
||||
<circle cx="340" cy="420" r="6"/><circle cx="690" cy="360" r="5"/><circle cx="660" cy="620" r="7"/>
|
||||
<circle cx="360" cy="650" r="5"/><circle cx="600" cy="220" r="4"/><circle cx="410" cy="200" r="4"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 6.4 KiB |
|
After Width: | Height: | Size: 517 KiB |
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "AppIcon-1024.png",
|
||||
"idiom" : "universal",
|
||||
"platform" : "ios",
|
||||
"size" : "1024x1024"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 711 KiB |
@@ -0,0 +1,7 @@
|
||||
[CENTER_ALIGN;FONT_SIZE=20;COLOR=ffd700]龙魂石
|
||||
|
||||
[FONT_SIZE=14]打开角色背包中的龙魂石界面查看已有龙魂石。
|
||||
|
||||
[FONT_SIZE=14]龙魂石属性、穿戴条件与强化结果以服务器为准。
|
||||
|
||||
[FONT_SIZE=14]可通过物品悬浮提示核对等级及效果。
|
||||
@@ -0,0 +1,11 @@
|
||||
[CENTER_ALIGN;FONT_SIZE=20;COLOR=ffd700]游戏指南
|
||||
|
||||
[FONT_SIZE=14]在左侧选择职业与装备类别,查看强化材料和金币消耗。
|
||||
|
||||
[FONT_SIZE=14]搜索框支持物品、怪物的中文名称及编号。
|
||||
|
||||
[FONT_SIZE=14]点击物品图标可继续查询其来源,左右箭头可浏览历史。
|
||||
|
||||
[FONT_SIZE=14]怪物页展示当前模板属性、模型和服务器实际掉落。
|
||||
|
||||
[FONT_SIZE=14]百科右上方可以打开活动日历及掉落来源查询。
|
||||
@@ -0,0 +1,9 @@
|
||||
[CENTER_ALIGN;FONT_SIZE=20;COLOR=ffd700]生物学家
|
||||
|
||||
[FONT_SIZE=14]点击小地图旁的研究入口可以查看当前研究。
|
||||
|
||||
[FONT_SIZE=14]按阶段提交指定材料,冷却和奖励由服务器验证。
|
||||
|
||||
[FONT_SIZE=14]完成阶段后领取研究奖励,再进行下一阶段。
|
||||
|
||||
[FONT_SIZE=14]有关药水、奖励重选等操作,请查看研究窗口提示。
|
||||
@@ -0,0 +1,9 @@
|
||||
[CENTER_ALIGN;FONT_SIZE=20;COLOR=ffd700]第六与第七属性
|
||||
|
||||
[FONT_SIZE=14]装备悬浮提示显示该装备已有的全部属性。
|
||||
|
||||
[FONT_SIZE=14]自动洗练窗口可以选择目标属性与最低数值。
|
||||
|
||||
[FONT_SIZE=14]选择条件后请核对属性名称,再开始自动洗练。
|
||||
|
||||
[FONT_SIZE=14]锁定、消耗、洗练结果与停止条件均由服务器验证。
|
||||
@@ -0,0 +1,9 @@
|
||||
[CENTER_ALIGN;FONT_SIZE=20;COLOR=ffd700]时装与外观
|
||||
|
||||
[FONT_SIZE=14]在左侧时装分类中查询当前客户端支持的模板。
|
||||
|
||||
[FONT_SIZE=14]物品悬浮提示显示穿戴限制与属性。
|
||||
|
||||
[FONT_SIZE=14]已有模型的装备可在百科中进行预览。
|
||||
|
||||
[FONT_SIZE=14]实际可穿戴部位与效果以服务器判定为准。
|
||||
@@ -0,0 +1,11 @@
|
||||
[CENTER_ALIGN;FONT_SIZE=20;COLOR=ffd700]掉落查询
|
||||
|
||||
[FONT_SIZE=14]怪物详情展示服务器当前加载的掉落物品。
|
||||
|
||||
[FONT_SIZE=14]宝箱详情展示该宝箱当前加载的奖励内容。
|
||||
|
||||
[FONT_SIZE=14]物品详情可反查怪物及宝箱来源。
|
||||
|
||||
[FONT_SIZE=14]掉落查询窗口可搜索物品并预览掉落该物品的怪物。
|
||||
|
||||
[FONT_SIZE=14]条件掉落受等级、角色状态、活动等影响;列表不承诺每次掉落。
|
||||
@@ -0,0 +1,15 @@
|
||||
[CENTER_ALIGN;FONT_SIZE=20;COLOR=ffd700]活动与战令
|
||||
|
||||
[FONT_SIZE=14]活动日历显示服务器已经发布的排期。
|
||||
|
||||
[FONT_SIZE=14]点击同一天的活动图标可轮换查看该日活动。
|
||||
|
||||
[FONT_SIZE=14]活动时间使用服务器的 UTC 排期,频道与帝国限制显示在详情中。
|
||||
|
||||
[FONT_SIZE=14]没有排期时不会自动开启活动或发放奖励。
|
||||
|
||||
[FONT_SIZE=14]使用当月战令票可激活战令,任务进度由服务器记录。
|
||||
|
||||
[FONT_SIZE=14]任务完成后自动发放任务奖励,背包不足时可重新打开战令重试。
|
||||
|
||||
[FONT_SIZE=14]完成全部任务后,在战令奖励页领取最终奖励。
|
||||
@@ -0,0 +1,7 @@
|
||||
[CENTER_ALIGN;FONT_SIZE=20;COLOR=ffd700]游戏说明
|
||||
|
||||
[FONT_SIZE=14]本百科读取当前服务器导出的公开模板与实际掉落表。
|
||||
|
||||
[FONT_SIZE=14]未实现的系统不会提供虚构物品、奖励或活动排期。
|
||||
|
||||
[FONT_SIZE=14]玩法和账号规则以本服务器运营方发布的说明为准。
|
||||
@@ -0,0 +1,7 @@
|
||||
[CENTER_ALIGN;FONT_SIZE=20;COLOR=ffd700]宠物与坐骑
|
||||
|
||||
[FONT_SIZE=14]此分类列出当前模板中已经支持的宠物与坐骑。
|
||||
|
||||
[FONT_SIZE=14]空分类表示当前版本没有对应模板。
|
||||
|
||||
[FONT_SIZE=14]物品的使用方法、限制与属性请查看悬浮提示。
|
||||
@@ -0,0 +1,15 @@
|
||||
# Wiki 公开资料包 v1
|
||||
|
||||
由 `tools/wiki/build_catalogue.py` 生成。仅含物品/怪物模板、升级配方与已有中文名称,不包含玩家资料或游戏图片。
|
||||
|
||||
`catalogue.txt` 使用 UTF-8、LF、TAB 分隔,无可执行内容。第一行为 `MTWIKI<TAB>1<TAB>payload_sha256`,SHA 对第一行之后的全部字节计算。完整清单与输入/生成器/中文表哈希在 manifest.json。
|
||||
|
||||
| 行类型 | 字段(按顺序) |
|
||||
|---|---|
|
||||
| I | 标记、ID、范围末端、名称、类型、子类、最低等级、占格、升级目标 ID、配方 ID |
|
||||
| M | 标记、ID、名称、类型、级别分类、等级、生命、最小攻击、最大攻击、经验、防御 |
|
||||
| R | 标记、配方 ID、基础费用、基础成功率、逗号分隔的 `材料ID:数量` |
|
||||
|
||||
限额:2 MiB、30,000 条记录、每单元格 256 字符;升级材料最多五种;客户端分页每次最多 12 项。重复 ID、重叠范围、未知 schema、非法数值和文本标记均拒绝,界面显示更新资料包提示。
|
||||
|
||||
这里是配置快照,不是运行中服务器状态证明:重新加载前的文件修改可能与实际内存不同。当前未声明实时掉落、最终精炼概率、宝箱、模型预览等能力;后续接入独立协议时将与静态 schema 分别版本化。
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"schema": 1,
|
||||
"catalogue_sha256": "27b35188d2f5c96dd51f62c5f11689b15dfc1a6efcd96c03e26bd1b39c2b0d71",
|
||||
"source_sha256": {
|
||||
"item_proto.txt": "7d4f5c54983d5ccb5b1db59a734e0c60d7ab6480e807c48c881be39d5769cbd1",
|
||||
"item_names.txt": "7a616550ec56206dcdc540f20f30ed3725fb6c9d6475dbd1a3b6eaddaa29a4d5",
|
||||
"mob_proto.txt": "cfd5c9720192f53d230b1b367f20523833392d87bc323388542a5b141a7b3f6f",
|
||||
"mob_names.txt": "e71e65ebd01a5705978ede20f680f84d7c531e46c18f4fe517da50898281e61b",
|
||||
"refine.tsv": "2aacbea1021cd0c26ed23cb4af376973c748826a65fc7b9453c97f926affb9da"
|
||||
},
|
||||
"items": 7510,
|
||||
"monsters": 870,
|
||||
"refine_recipes": 467,
|
||||
"source": "203 public server tables; no player data",
|
||||
"generator_sha256": "9c4e1b6069179c36c080a1136d65cbe52a8e44b3577fb8391e8404f5162ef40b",
|
||||
"localization_sha256": {
|
||||
"item_names_zh.txt": "5604985d7f11039f3d3e38d4e2c07995e80ca3e4f6deb01fe57cd772e9cd0f70",
|
||||
"item_names_zh_overlay.txt": "a4660f7b20e15beaa05220bf23f4df5a4ef64f474bc03a754e2338ce144c0e36",
|
||||
"mob_names_zh.txt": "fdbfe4b3f3367d5842c0e9bbe0b5e5ea2dbe99fb6e566ef5789f65d3794eab5c",
|
||||
"mob_names_zh_overlay.txt": "7c44a5f6cff5c3c27c13cc4c7be91d619c20c67a8e091222e13ed392ea18d00b"
|
||||
},
|
||||
"scope": "template catalogue; acquisition and runtime rates not yet queried"
|
||||
}
|
||||
@@ -14,7 +14,9 @@
|
||||
它们的审核译文(2026-09-28 确认)单独放在 `item_names_zh_overlay.txt`、
|
||||
`mob_names_zh_overlay.txt`,界面回退键译文在 `locale_game_zh_overlay.txt`;
|
||||
`scripts/build_zh_locale.py` 构建时以 overlay 覆盖快照同 VNUM / 同键的值。
|
||||
旧的龙驹中文表与线上表有 21 个相同 VNUM 不同名;不把旧表覆盖到服务端。
|
||||
中文译名以 `server_extracted/40250_deploy` 为优先参考;客户端技能和物品说明参考
|
||||
`server_extracted/client_locale/longju/locale/taiwan`。与资料冲突的译名通过 overlay 修正,
|
||||
线上原始快照保留不动。`server_extracted/database` 与部署表有少数地图名差异时采用部署表。
|
||||
服务端名称若再更新,需重新只读导出并核对差异后更新本快照。
|
||||
|
||||
## 任务文本(translate.lua)
|
||||
@@ -36,14 +38,28 @@
|
||||
|
||||
`scripts/build_zh_locale.py` 以 40250 的 `skilldesc.txt` 为底,逐行取龙驹同 VNUM 的名称、说明和条件列(2–8)
|
||||
以及效果列(17/20/23)。客户端把效果列当作 `_snprintf` 格式串传入最小值、最大值,所以效果列只有在格式参数与英文一致时才替换。
|
||||
`skilldesc_zh_overlay.txt` 按 `VNUM\t列号\t译文` 覆盖龙驹缺的或者不对的格。例如 126–128 在龙驹里叫吴/蜀/魏国方言,
|
||||
这里改成盛唐语、秦皇语、汉武语;骑马技能的说明补上等级要求。
|
||||
`skilldesc_zh_overlay.txt` 按 `VNUM\t列号\t译文` 覆盖龙驹缺的或者不对的格。126–128 沿用资料里的吴/蜀/魏国方言;骑马技能说明沿用资料原文。
|
||||
效果列仍需适配当前客户端格式参数,例如反射机率使用 `%.1f%%`。
|
||||
|
||||
## 整行覆盖(item_list.txt、itemdesc.txt)
|
||||
|
||||
`item_list_zh_overlay.txt`、`itemdesc_zh_overlay.txt` 每行是目标文件的一整行(UTF-8,第一列 VNUM),
|
||||
`build_zh_locale.py` 用它替换同 VNUM 的行(`ROW_FILES`),其余行字节不变;VNUM 不存在就报错。
|
||||
用于服务端改了用途的物品,例如 50307 小狩猎套装礼包(`tools/server/hunt-set`)换成礼盒图标和中文说明。
|
||||
50307 保留用户确认的自定义名称“小狩猎套装礼包”及原有说明;71118 恢复为勇气披风+及对应说明。
|
||||
70058 移动戒指(`tools/server/ring-warp`)的自定义说明保留;提取客户端资料没有该 VNUM 的说明。
|
||||
图标与使用限制不属于本次翻译修改。
|
||||
|
||||
## 物品限制(item_limits_server.tsv)
|
||||
|
||||
服务端 `item_proto.txt` 里改过的物品使用限制(每行 VNUM、限制类型 0、值 0、限制类型 1、值 1;0 = 无,1 = 等级),
|
||||
由 `locale_proto_patch` 写进客户端 `item_proto`,提示框显示的等级要求与服务端一致。其余字段仍逐字节校验不变。
|
||||
|
||||
## 物品占格与标志(item_shapes_server.tsv)
|
||||
|
||||
服务端给了新用途、改过占格或标志的物品(每行 VNUM、size、flags、anti flags,数值),由 `locale_proto_patch`
|
||||
写进客户端 `item_proto`,背包占格和堆叠与服务端一致;只允许这几条记录的这三个字段变化。目前是 VIP 会员卡
|
||||
38001/38002(`tools/server/vip-card`):40250 原为 size 0,背包里不显示也不能移动。
|
||||
该表跟在 `item_stones_server.tsv` 后面传入(位置参数),所以需要石头表也存在。
|
||||
|
||||
## 物品说明(itemdesc_translate_zh.tsv)
|
||||
|
||||
@@ -57,3 +73,40 @@
|
||||
- 如果最后一行只剩一两个字,会把前面的行收窄一些重新折。
|
||||
- 表里没有的格子保留英文,`zh-locale-report.json` 里的 `itemdesc.txt translation.english_rows` 会列出这些 VNUM。
|
||||
- `itemdesc_zh_overlay.txt` 的整行覆盖在翻译之后执行,它的说明列也用同样的方式折行。
|
||||
|
||||
## 2026-10-01 资料对齐
|
||||
|
||||
修正 71118 的物品名和说明、16 个怪物/NPC/地图标记名及 12 个技能文本单元格。
|
||||
50307 按用户要求保留自定义礼包。
|
||||
UI 中为兼容当前客户端而调整的占位符、百分号及明显错字继续保留。
|
||||
|
||||
### 武器名称来源
|
||||
|
||||
武器译名以提取客户端 `server_extracted/client_locale/longju/locale/taiwan/item_proto`
|
||||
的 `szLocaleName` 为准。该文件为 MIPX v1、记录宽度 152 字节,按类型 WEAPON(1)和
|
||||
VNUM 匹配,不复制属性。它与 `server_extracted/database`、`40250_deploy` 的同 VNUM
|
||||
名称存在差异;武器优先采用提取客户端原型,其他名称继续参考部署表。
|
||||
|
||||
本次修正 29 组武器的 +0~+9,共 290 条译名,例如武士刀→短刀、风雷剑→龙虎刀、
|
||||
鬼牙剑→夺魂刀、碧玉刀→封神刀。逐条来源和修改前名称见 `weapon_names_source_audit.tsv`。
|
||||
修改通过 `item_names_zh_overlay.txt` 生效,原始线上名称快照保留不动。
|
||||
|
||||
## +6 镶嵌石配置修复(2026-10-02)
|
||||
|
||||
当前 203 的 28700~28713 原为 ITEM_NONE,与 server_extracted 备份不同。`item_stones_server.tsv` 恢复备份中的类型、佩戴位置、属性和六个 value 字段;`locale_proto_patch` 只允许这 14 条记录的对应字段变化,其余非名称字段继续逐字节校验。服务端同份配置在 `tools/server/npc-shops/item-mall/stones.tsv`,商店安装时恢复。已有背包内同编号石头也使用新配置。
|
||||
|
||||
## 2026-10-17 帮会设施与系统界面汉化补齐
|
||||
|
||||
1. **帮会建筑与设施(`guildbuildinglist_zh.tsv`)**:
|
||||
- 补齐全部 66 项帮会建筑/设施中文译名(熔炉、锻造所、练兵场、力之祭坛、门墙、景观石与木材)。
|
||||
- 40250 新增的 5 个熔炉(26992–26996)对应译为灵魂水晶熔炉、红玉熔炉、石榴石熔炉、祖母绿熔炉、蓝宝石熔炉。
|
||||
2. **界面与系统提示词(`locale_game_zh_overlay.txt` & `locale_interface_zh_overlay.txt`)**:
|
||||
- 补齐 `MAP_AG`/`MAP_BG`/`MAP_CG`(三大帝国帮会属地)。
|
||||
- 补齐 `PVP_OPTION_PROTECT`(帮会模式)。
|
||||
- 补齐 `SCREENSHOT_SAVE1`/`SCREENSHOT_SAVE2`(截图保存提示与路径说明)。
|
||||
- 补齐 `LOGIN_FAILURE_WEB_BLOCK`(封禁提示)及 `MALL_CANNOT_INSERT`(商城道具栏放入限制)。
|
||||
- 补齐 `TOOLTIP_MEMORIZED_POSITION_ERROR`(坐标记录错误提示)。
|
||||
- 移除龙魂石标签页英文后缀(`locale_interface_zh_overlay.txt`)。
|
||||
3. **物品表与描述**:
|
||||
- 修正 40004(首领召唤戒指)与 38006(魔魔重抽券)中文名。
|
||||
- `itemdesc.txt` 第 2 列道具名同步填充对应中文名称。
|
||||
|
||||
@@ -0,0 +1,67 @@
|
||||
# VNUM NAME
|
||||
14013 武器锻造所
|
||||
14014 防御道具锻造所
|
||||
14015 首饰锻造所
|
||||
14033 练兵场
|
||||
14043 钻石熔炉
|
||||
14045 火木石熔炉
|
||||
14046 铜熔炉
|
||||
14047 银熔炉
|
||||
14048 金熔炉
|
||||
14049 玉石熔炉
|
||||
14050 玛瑙熔炉
|
||||
14051 珍珠熔炉
|
||||
14052 白金熔炉
|
||||
14053 水晶熔炉
|
||||
14054 紫水晶熔炉
|
||||
14055 天璨熔炉
|
||||
26992 灵魂水晶熔炉
|
||||
26993 红玉熔炉
|
||||
26994 石榴石熔炉
|
||||
26995 祖母绿熔炉
|
||||
26996 蓝宝石熔炉
|
||||
14061 力之祭坛
|
||||
14062 力之祭坛
|
||||
14063 力之祭坛
|
||||
14100 房子(1)
|
||||
14101 石墙(1-1)
|
||||
14102 石墙(1-2)
|
||||
14103 石墙(1-3)
|
||||
14104 大门(1)
|
||||
14105 围墙(1)
|
||||
14110 房子(2)
|
||||
14111 石墙(2-1)
|
||||
14112 石墙(2-2)
|
||||
14113 石墙(2-3)
|
||||
14114 大门(2)
|
||||
14115 围墙(2)
|
||||
14120 房子(3)
|
||||
14121 石墙(3-1)
|
||||
14122 石墙(3-2)
|
||||
14123 石墙(3-3)
|
||||
14124 大门(3)
|
||||
14125 围墙(3)
|
||||
14200 帮会会标
|
||||
14201 围墙大门
|
||||
14202 围墙后壁
|
||||
14203 围墙左壁
|
||||
14204 围墙右壁
|
||||
14300 石头1
|
||||
14301 石头2
|
||||
14302 石头3
|
||||
14303 石头4
|
||||
14304 石头5
|
||||
14305 石头6
|
||||
14306 石头7
|
||||
14307 石头8
|
||||
14308 石头9
|
||||
14309 石头10
|
||||
14400 木头1
|
||||
14401 木头2
|
||||
14402 木头3
|
||||
14403 木头4
|
||||
14404 木头5
|
||||
14405 木头6
|
||||
14406 木头7
|
||||
14407 木头8
|
||||
14408 木头9
|
||||
|
@@ -0,0 +1,4 @@
|
||||
# vnum limit type 0 value 0 limit type 1 value 1 (0 = LIMIT_NONE, 1 = LIMIT_LEVEL): the item_proto.txt limits
|
||||
# changed on our server (tools/server/*), mirrored into the client proto by locale_proto_patch.
|
||||
# 70058 移动戒指: level 30 removed (tools/server/ring-warp).
|
||||
70058 0 0 0 0
|
||||
|
@@ -447,30 +447,13 @@ VNUM LOCALE_NAME
|
||||
27052 新手魔法瓶(小)
|
||||
27053 新手速攻药剂(小)
|
||||
27054 新手轻身药剂(小)
|
||||
28000 屠杀石
|
||||
28004 偏执石
|
||||
28008 创伤石
|
||||
28012 愚钝石
|
||||
28100 屠杀石
|
||||
28104 偏执石
|
||||
28108 创伤石
|
||||
28112 愚钝石
|
||||
28200 屠杀石
|
||||
28204 偏执石
|
||||
28208 创伤石
|
||||
28212 愚钝石
|
||||
28300 屠杀石
|
||||
28304 偏执石
|
||||
28308 创伤石
|
||||
28312 愚钝石
|
||||
28400 屠杀石
|
||||
28404 偏执石
|
||||
28408 创伤石
|
||||
28412 愚钝石
|
||||
28500 屠杀石
|
||||
28504 偏执石
|
||||
28508 创伤石
|
||||
28512 愚钝石
|
||||
28600 鸡血石
|
||||
28601 羊脂玉
|
||||
28602 羚角石
|
||||
@@ -685,12 +668,12 @@ VNUM LOCALE_NAME
|
||||
31092 超冷怪的皮肤碎片
|
||||
35000 药草+
|
||||
35001 虎肝+
|
||||
38001 VIP特权
|
||||
38002 抽奖券(今日)
|
||||
38001 VIP会员卡(7天)
|
||||
38002 VIP会员卡(30天)
|
||||
38003 抽奖券(明日)
|
||||
38004 抽奖重抽券
|
||||
38005 高级抽奖转盘券
|
||||
38006 Momo重抽券
|
||||
38006 魔魔重抽券
|
||||
38010 金币包
|
||||
38050 力量宝箱
|
||||
38051 皇虎水晶
|
||||
@@ -748,6 +731,7 @@ VNUM LOCALE_NAME
|
||||
39041 蓝龙的祝福(中)
|
||||
39042 蓝龙的祝福(大)
|
||||
39043 超级记忆卷
|
||||
40004 首领召唤戒指
|
||||
41005 奥运击剑服(男)
|
||||
41006 奥运击剑服(女)
|
||||
41007 德国击剑服(男)
|
||||
@@ -1368,7 +1352,7 @@ VNUM LOCALE_NAME
|
||||
71115 野猪坐骑券(蓝)
|
||||
71116 狼坐骑券(黄)
|
||||
71117 狼坐骑券(蓝)
|
||||
71118 虎坐骑券(黄)
|
||||
71118 勇气披风+
|
||||
71119 虎坐骑券(蓝)
|
||||
71120 狮坐骑券(黄)
|
||||
71121 狮坐骑券(蓝)
|
||||
@@ -1446,9 +1430,9 @@ VNUM LOCALE_NAME
|
||||
76022 红龙的祝福(中)
|
||||
76023 初级物品属性转换秘笈
|
||||
76024 初级追加物品属性秘笈
|
||||
80015 龙币兑换券(500)
|
||||
80016 龙币兑换券(1000)
|
||||
80017 龙币兑换券(50)
|
||||
80015 点券兑换券(500)
|
||||
80016 点券兑换券(1000)
|
||||
80017 点券兑换券(50)
|
||||
100000 时间灵药(小)
|
||||
100001 时间灵药(中)
|
||||
100002 时间灵药(大)
|
||||
@@ -1608,3 +1592,432 @@ VNUM LOCALE_NAME
|
||||
164300 传说黑龙石
|
||||
164400 传说黑龙石
|
||||
50307 小狩猎套装礼包
|
||||
10 短刀+0
|
||||
11 短刀+1
|
||||
12 短刀+2
|
||||
13 短刀+3
|
||||
14 短刀+4
|
||||
15 短刀+5
|
||||
16 短刀+6
|
||||
17 短刀+7
|
||||
18 短刀+8
|
||||
19 短刀+9
|
||||
140 龙虎刀+0
|
||||
141 龙虎刀+1
|
||||
142 龙虎刀+2
|
||||
143 龙虎刀+3
|
||||
144 龙虎刀+4
|
||||
145 龙虎刀+5
|
||||
146 龙虎刀+6
|
||||
147 龙虎刀+7
|
||||
148 龙虎刀+8
|
||||
149 龙虎刀+9
|
||||
150 夺魂刀+0
|
||||
151 夺魂刀+1
|
||||
152 夺魂刀+2
|
||||
153 夺魂刀+3
|
||||
154 夺魂刀+4
|
||||
155 夺魂刀+5
|
||||
156 夺魂刀+6
|
||||
157 夺魂刀+7
|
||||
158 夺魂刀+8
|
||||
159 夺魂刀+9
|
||||
160 封神刀+0
|
||||
161 封神刀+1
|
||||
162 封神刀+2
|
||||
163 封神刀+3
|
||||
164 封神刀+4
|
||||
165 封神刀+5
|
||||
166 封神刀+6
|
||||
167 封神刀+7
|
||||
168 封神刀+8
|
||||
169 封神刀+9
|
||||
180 伏牺刀+0
|
||||
181 伏牺刀+1
|
||||
182 伏牺刀+2
|
||||
183 伏牺刀+3
|
||||
184 伏牺刀+4
|
||||
185 伏牺刀+5
|
||||
186 伏牺刀+6
|
||||
187 伏牺刀+7
|
||||
188 伏牺刀+8
|
||||
189 伏牺刀+9
|
||||
190 龙颚闪+0
|
||||
191 龙颚闪+1
|
||||
192 龙颚闪+2
|
||||
193 龙颚闪+3
|
||||
194 龙颚闪+4
|
||||
195 龙颚闪+5
|
||||
196 龙颚闪+6
|
||||
197 龙颚闪+7
|
||||
198 龙颚闪+8
|
||||
199 龙颚闪+9
|
||||
200 九龙神剑+0
|
||||
201 九龙神剑+1
|
||||
202 九龙神剑+2
|
||||
203 九龙神剑+3
|
||||
204 九龙神剑+4
|
||||
205 九龙神剑+5
|
||||
206 九龙神剑+6
|
||||
207 九龙神剑+7
|
||||
208 九龙神剑+8
|
||||
209 九龙神剑+9
|
||||
220 神兵‖天山苍穹刀+0
|
||||
221 神兵‖天山苍穹刀+1
|
||||
222 神兵‖天山苍穹刀+2
|
||||
223 神兵‖天山苍穹刀+3
|
||||
224 神兵‖天山苍穹刀+4
|
||||
225 神兵‖天山苍穹刀+5
|
||||
226 神兵‖天山苍穹刀+6
|
||||
227 神兵‖天山苍穹刀+7
|
||||
228 神兵‖天山苍穹刀+8
|
||||
229 神兵‖天山苍穹刀+9
|
||||
240 七窍破魂剑+0
|
||||
241 七窍破魂剑+1
|
||||
242 七窍破魂剑+2
|
||||
243 七窍破魂剑+3
|
||||
244 七窍破魂剑+4
|
||||
245 七窍破魂剑+5
|
||||
246 七窍破魂剑+6
|
||||
247 七窍破魂剑+7
|
||||
248 七窍破魂剑+8
|
||||
249 七窍破魂剑+9
|
||||
260 神兵‖晨星弑月刀+0
|
||||
261 神兵‖晨星弑月刀+1
|
||||
262 神兵‖晨星弑月刀+2
|
||||
263 神兵‖晨星弑月刀+3
|
||||
264 神兵‖晨星弑月刀+4
|
||||
265 神兵‖晨星弑月刀+5
|
||||
266 神兵‖晨星弑月刀+6
|
||||
267 神兵‖晨星弑月刀+7
|
||||
268 神兵‖晨星弑月刀+8
|
||||
269 神兵‖晨星弑月刀+9
|
||||
270 五虎伏魔剑+0
|
||||
271 五虎伏魔剑+1
|
||||
272 五虎伏魔剑+2
|
||||
273 五虎伏魔剑+3
|
||||
274 五虎伏魔剑+4
|
||||
275 五虎伏魔剑+5
|
||||
276 五虎伏魔剑+6
|
||||
277 五虎伏魔剑+7
|
||||
278 五虎伏魔剑+8
|
||||
279 五虎伏魔剑+9
|
||||
290 青焰刀+0
|
||||
291 青焰刀+1
|
||||
292 青焰刀+2
|
||||
293 青焰刀+3
|
||||
294 青焰刀+4
|
||||
295 青焰刀+5
|
||||
296 青焰刀+6
|
||||
297 青焰刀+7
|
||||
298 青焰刀+8
|
||||
299 青焰刀+9
|
||||
460 造化神器‖屠龙刀+0
|
||||
461 造化神器‖屠龙刀+1
|
||||
462 造化神器‖屠龙刀+2
|
||||
463 造化神器‖屠龙刀+3
|
||||
464 造化神器‖屠龙刀+4
|
||||
465 造化神器‖屠龙刀+5
|
||||
466 造化神器‖屠龙刀+6
|
||||
467 造化神器‖屠龙刀+7
|
||||
468 造化神器‖屠龙刀+8
|
||||
469 造化神器‖屠龙刀+9
|
||||
1100 冰牙+0
|
||||
1101 冰牙+1
|
||||
1102 冰牙+2
|
||||
1103 冰牙+3
|
||||
1104 冰牙+4
|
||||
1105 冰牙+5
|
||||
1106 冰牙+6
|
||||
1107 冰牙+7
|
||||
1108 冰牙+8
|
||||
1109 冰牙+9
|
||||
1120 乌皇剑+0
|
||||
1121 乌皇剑+1
|
||||
1122 乌皇剑+2
|
||||
1123 乌皇剑+3
|
||||
1124 乌皇剑+4
|
||||
1125 乌皇剑+5
|
||||
1126 乌皇剑+6
|
||||
1127 乌皇剑+7
|
||||
1128 乌皇剑+8
|
||||
1129 乌皇剑+9
|
||||
1160 神兵‖流光飞影+0
|
||||
1161 神兵‖流光飞影+1
|
||||
1162 神兵‖流光飞影+2
|
||||
1163 神兵‖流光飞影+3
|
||||
1164 神兵‖流光飞影+4
|
||||
1165 神兵‖流光飞影+5
|
||||
1166 神兵‖流光飞影+6
|
||||
1167 神兵‖流光飞影+7
|
||||
1168 神兵‖流光飞影+8
|
||||
1169 神兵‖流光飞影+9
|
||||
1170 吴钩+0
|
||||
1171 吴钩+1
|
||||
1172 吴钩+2
|
||||
1173 吴钩+3
|
||||
1174 吴钩+4
|
||||
1175 吴钩+5
|
||||
1176 吴钩+6
|
||||
1177 吴钩+7
|
||||
1178 吴钩+8
|
||||
1179 吴钩+9
|
||||
2160 魔神弓+0
|
||||
2161 魔神弓+1
|
||||
2162 魔神弓+2
|
||||
2163 魔神弓+3
|
||||
2164 魔神弓+4
|
||||
2165 魔神弓+5
|
||||
2166 魔神弓+6
|
||||
2167 魔神弓+7
|
||||
2168 魔神弓+8
|
||||
2169 魔神弓+9
|
||||
2170 铁牌弓+0
|
||||
2171 铁牌弓+1
|
||||
2172 铁牌弓+2
|
||||
2173 铁牌弓+3
|
||||
2174 铁牌弓+4
|
||||
2175 铁牌弓+5
|
||||
2176 铁牌弓+6
|
||||
2177 铁牌弓+7
|
||||
2178 铁牌弓+8
|
||||
2179 铁牌弓+9
|
||||
2180 神兵‖紫禁炫翼弓+0
|
||||
2181 神兵‖紫禁炫翼弓+1
|
||||
2182 神兵‖紫禁炫翼弓+2
|
||||
2183 神兵‖紫禁炫翼弓+3
|
||||
2184 神兵‖紫禁炫翼弓+4
|
||||
2185 神兵‖紫禁炫翼弓+5
|
||||
2186 神兵‖紫禁炫翼弓+6
|
||||
2187 神兵‖紫禁炫翼弓+7
|
||||
2188 神兵‖紫禁炫翼弓+8
|
||||
2189 神兵‖紫禁炫翼弓+9
|
||||
3150 炎龙魂+0
|
||||
3151 炎龙魂+1
|
||||
3152 炎龙魂+2
|
||||
3153 炎龙魂+3
|
||||
3154 炎龙魂+4
|
||||
3155 炎龙魂+5
|
||||
3156 炎龙魂+6
|
||||
3157 炎龙魂+7
|
||||
3158 炎龙魂+8
|
||||
3159 炎龙魂+9
|
||||
3160 狱焰+0
|
||||
3161 狱焰+1
|
||||
3162 狱焰+2
|
||||
3163 狱焰+3
|
||||
3164 狱焰+4
|
||||
3165 狱焰+5
|
||||
3166 狱焰+6
|
||||
3167 狱焰+7
|
||||
3168 狱焰+8
|
||||
3169 狱焰+9
|
||||
3200 神兵‖九天灭世刀+0
|
||||
3201 神兵‖九天灭世刀+1
|
||||
3202 神兵‖九天灭世刀+2
|
||||
3203 神兵‖九天灭世刀+3
|
||||
3204 神兵‖九天灭世刀+4
|
||||
3205 神兵‖九天灭世刀+5
|
||||
3206 神兵‖九天灭世刀+6
|
||||
3207 神兵‖九天灭世刀+7
|
||||
3208 神兵‖九天灭世刀+8
|
||||
3209 神兵‖九天灭世刀+9
|
||||
3210 玄冥剑+0
|
||||
3211 玄冥剑+1
|
||||
3212 玄冥剑+2
|
||||
3213 玄冥剑+3
|
||||
3214 玄冥剑+4
|
||||
3215 玄冥剑+5
|
||||
3216 玄冥剑+6
|
||||
3217 玄冥剑+7
|
||||
3218 玄冥剑+8
|
||||
3219 玄冥剑+9
|
||||
4040 日影黄泉+0
|
||||
4041 日影黄泉+1
|
||||
4042 日影黄泉+2
|
||||
4043 日影黄泉+3
|
||||
4044 日影黄泉+4
|
||||
4045 日影黄泉+5
|
||||
4046 日影黄泉+6
|
||||
4047 日影黄泉+7
|
||||
4048 日影黄泉+8
|
||||
4049 日影黄泉+9
|
||||
5090 天神铃+0
|
||||
5091 天神铃+1
|
||||
5092 天神铃+2
|
||||
5093 天神铃+3
|
||||
5094 天神铃+4
|
||||
5095 天神铃+5
|
||||
5096 天神铃+6
|
||||
5097 天神铃+7
|
||||
5098 天神铃+8
|
||||
5099 天神铃+9
|
||||
5120 青竹铃+0
|
||||
5121 青竹铃+1
|
||||
5122 青竹铃+2
|
||||
5123 青竹铃+3
|
||||
5124 青竹铃+4
|
||||
5125 青竹铃+5
|
||||
5126 青竹铃+6
|
||||
5127 青竹铃+7
|
||||
5128 青竹铃+8
|
||||
5129 青竹铃+9
|
||||
5150 神兵‖法神杖+0
|
||||
5151 神兵‖法神杖+1
|
||||
5152 神兵‖法神杖+2
|
||||
5153 神兵‖法神杖+3
|
||||
5154 神兵‖法神杖+4
|
||||
5155 神兵‖法神杖+5
|
||||
5156 神兵‖法神杖+6
|
||||
5157 神兵‖法神杖+7
|
||||
5158 神兵‖法神杖+8
|
||||
5159 神兵‖法神杖+9
|
||||
7160 七翎扇+0
|
||||
7161 七翎扇+1
|
||||
7162 七翎扇+2
|
||||
7163 七翎扇+3
|
||||
7164 七翎扇+4
|
||||
7165 七翎扇+5
|
||||
7166 七翎扇+6
|
||||
7167 七翎扇+7
|
||||
7168 七翎扇+8
|
||||
7169 七翎扇+9
|
||||
# AVA2 spirit stones; preserve special-stone grades and keep non-stone quest items unchanged.
|
||||
28000 屠杀石+0
|
||||
28030 鸡血石+0
|
||||
28031 羊脂玉+0
|
||||
28032 羚角石+0
|
||||
28033 虹河石+0
|
||||
28034 青胆石+0
|
||||
28035 精石+0
|
||||
28036 鹰翼石+0
|
||||
28037 木鱼石+0
|
||||
28038 龙骨石+0
|
||||
28039 青石+0
|
||||
28040 彩芒石+0
|
||||
28041 鹿影石+0
|
||||
28042 东海石+0
|
||||
28043 帝王石+0
|
||||
28044 破碑之石+0
|
||||
28045 克首领之石+0
|
||||
28046 普攻强化石+0
|
||||
28047 技能强化石+0
|
||||
28048 普攻抵抗石+0
|
||||
28049 技能抵抗石+0
|
||||
28100 屠杀石+0
|
||||
28104 偏执石+0
|
||||
28108 创伤石+0
|
||||
28112 愚钝石+1
|
||||
28130 鸡血石+1
|
||||
28131 羊脂玉+1
|
||||
28132 羚角石+1
|
||||
28133 虹河石+1
|
||||
28134 青胆石+1
|
||||
28135 精石+1
|
||||
28136 鹰翼石+1
|
||||
28137 木鱼石+1
|
||||
28138 龙骨石+1
|
||||
28139 青石+1
|
||||
28140 彩芒石+1
|
||||
28141 鹿影石+1
|
||||
28142 东海石+1
|
||||
28143 帝王石+1
|
||||
28144 破碑之石+1
|
||||
28145 克首领之石+1
|
||||
28146 普攻强化石+1
|
||||
28147 技能强化石+1
|
||||
28148 普攻抵抗石+1
|
||||
28149 技能抵抗石+1
|
||||
28204 偏执石+2
|
||||
28208 创伤石+2
|
||||
28212 愚钝石+2
|
||||
28230 鸡血石+2
|
||||
28231 羊脂玉+2
|
||||
28232 羚角石+2
|
||||
28233 虹河石+2
|
||||
28234 青胆石+2
|
||||
28235 精石+2
|
||||
28236 鹰翼石+2
|
||||
28237 木鱼石+2
|
||||
28238 龙骨石+2
|
||||
28239 青石+2
|
||||
28240 彩芒石+2
|
||||
28241 鹿影石+2
|
||||
28242 东海石+2
|
||||
28243 帝王石+2
|
||||
28244 破碑之石+2
|
||||
28245 克首领之石+2
|
||||
28246 普攻强化石+2
|
||||
28247 技能强化石+2
|
||||
28248 普攻抵抗石+2
|
||||
28249 技能抵抗石+2
|
||||
28304 偏执石+0
|
||||
28308 创伤石+0
|
||||
28312 愚钝石+3
|
||||
28330 鸡血石+3
|
||||
28331 羊脂玉+3
|
||||
28332 羚角石+3
|
||||
28333 虹河石+3
|
||||
28334 青胆石+3
|
||||
28335 精石+3
|
||||
28336 鹰翼石+3
|
||||
28337 木鱼石+3
|
||||
28338 龙骨石+3
|
||||
28339 青石+3
|
||||
28340 彩芒石+3
|
||||
28341 鹿影石+3
|
||||
28342 东海石+3
|
||||
28343 帝王石+3
|
||||
28344 破碑之石+3
|
||||
28345 克首领之石+3
|
||||
28346 普攻强化石+3
|
||||
28347 技能强化石+3
|
||||
28348 普攻抵抗石+3
|
||||
28349 技能抵抗石+3
|
||||
28404 偏执石+0
|
||||
28408 创伤石+0
|
||||
28412 愚钝石+4
|
||||
28430 鸡血石+4
|
||||
28431 羊脂玉+4
|
||||
28432 羚角石+4
|
||||
28433 虹河石+4
|
||||
28434 青胆石+4
|
||||
28435 精石+4
|
||||
28436 鹰翼石+4
|
||||
28437 木鱼石+4
|
||||
28438 龙骨石+4
|
||||
28439 青石+4
|
||||
28440 彩芒石+4
|
||||
28441 鹿影石+4
|
||||
28442 东海石+4
|
||||
28443 帝王石+4
|
||||
28444 破碑之石+4
|
||||
28445 克首领之石+4
|
||||
28446 普攻强化石+4
|
||||
28447 技能强化石+4
|
||||
28448 普攻抵抗石+4
|
||||
28449 技能抵抗石+4
|
||||
28504 偏执石+0
|
||||
28508 创伤石+5
|
||||
28512 愚钝石+5
|
||||
28530 鸡血石+5
|
||||
28531 羊脂玉+5
|
||||
28532 羚角石+5
|
||||
28533 虹河石+5
|
||||
28534 青胆石+5
|
||||
28535 精石+5
|
||||
28536 鹰翼石+5
|
||||
28537 木鱼石+5
|
||||
28538 龙骨石+5
|
||||
28539 青石+5
|
||||
28540 彩芒石+5
|
||||
28541 鹿影石+5
|
||||
28542 东海石+5
|
||||
28543 帝王石+5
|
||||
28544 破碑之石+5
|
||||
28545 克首领之石+5
|
||||
28546 普攻强化石+5
|
||||
28547 技能强化石+5
|
||||
28548 普攻抵抗石+5
|
||||
28549 技能抵抗石+5
|
||||
28960 碎石片
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
# vnum size flags anti flags: item_proto.txt size/flags changed on our server (tools/server/*), mirrored into the
|
||||
# client proto by locale_proto_patch so the item takes a cell and stacks like on the server.
|
||||
# 38001/38002 VIP 会员卡 (tools/server/vip-card): 40250 ships them size 0, no flags; now size 1,
|
||||
# ITEM_STACKABLE | ITEM_LOG (4 | 8192), ANTI_SELL (256).
|
||||
38001 1 8196 256
|
||||
38002 1 8196 256
|
||||
|