shenleiandClaude Opus 5.5 8f96e7a143 Android device verification: forced landscape, fullscreen, data layering
- Ava2Activity passes the "args" intent extra as the command line
  (build.sh forwards AVA2_ARGS); it also always requests sensor landscape.
- app_loop sets SDL_HINT_ORIENTATIONS to landscape and creates the window
  fullscreen on Android/iOS (SDL requested FULL_USER for the resizable
  window, overriding the manifest; the status bar drew over the HUD).
- push_assets.py: pack-manifest test-rundir now wins over assets/loose
  (~1000 differing files; half-size tree atlases broke SpeedTree UVs),
  pushes in batches of <=20k files, and chmods shell-owned files so the
  app can read them on Android 17.
- PORT-PLAN: device verification results and outstanding gaps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 10:53:56 +09:00
…
2026-10-12 18:30:23 +09:00

AVA2 cross-platform client

Independent AVA2 port, Android arm64 first with macOS arm64 for development. The host, login/selection transport, supported loading/game socket bridge and Python 2 bootstrap are implemented. It is not yet a playable client.

git submodule update --init --recursive   # only when ../sdk is not checked out
cmake -S . -B build/dev -DCMAKE_BUILD_TYPE=Debug
cmake --build build/dev -j 8
ctest --test-dir build/dev --output-on-failure
python3 tools/verify_baseline.py
./build/dev/ava2_client --frames 60 --stdlib build/dev/python27.zip --python-root upstream/python-root

SDL3 development package is required for the window host. Use -DAVA2_BUILD_HOST=OFF for a build without a window, or -DAVA2_EMBED_PYTHON=OFF to disable Python. Python 3 only runs developer tools; gameplay retains Python 2.

build/dev/ava2_login AUTH_HOST AUTH_PORT GAME_HOST GAME_PORT ACCOUNT exercises the authentication transport and lists five character slots. Set AVA2_PASSWORD securely in the launching environment. No default server is configured. Real AVA2 server verification remains pending; use an isolated development server.

Android CMake builds require the NDK toolchain and an Android SDL3 SDK prefix. The main shared library compiles and links for arm64; APK packaging and device verification are pending. Original decoded assets remain in the sibling AVA2 directory; only immutable source/script references are copied into this repository.

See port status, mobile architecture, login implementation and verification, and active login profile.

Windows equivalence is tracked in the parity audit. Preview characters require --preview-data; game previews do not prove server gameplay. The static placeholder inventory is regenerated with python3 tools/audit_windows_parity.py.

The SDK is maintained in its own Git repository (https://git.slcydia.fun/4v5u09Z5a4Yuc/metin2-SDK.git). By default CMake uses an SDK checkout beside this repository (../sdk, i.e. chakan and sdk in the same parent directory). Without it, the build falls back to the pinned sdk submodule: clone with git clone --recurse-submodules or run the initialization command above. Any other checkout can be selected with -DAVA2_SDK_ROOT=/absolute/path/to/sdk.

Keep build outputs in build/dev, build/release, or another named directory under build/, rather than configuring directly into build/. Put diagnostic screenshots, logs, and one-off probes under build/verification/; permanent tests belong in tests/ and reusable tools in tools/. dist/ contains generated release packages. Loose game resource directories are used by development and packaging and should not be treated as disposable caches.

S
Description
No description provided
Readme
1.4 GiB
Languages
C++ 53.5%
Python 35.7%
C 4.3%
POV-Ray SDL 4%
MAXScript 2.1%
Other 0.3%