2.1 KiB
Local protocol prototype
This is an independently written, incomplete local service based on static inspection of the supplied client. It is not the publisher's server source, not a playable private server, and not yet demonstrated with the original APK.
Run
Python 3.13 is installed on this machine. Dependencies are already vendored in
vendor; no installation is needed for this workspace.
python .\backend\server.py --host 127.0.0.1 --port 9099
Health check: http://127.0.0.1:9099/health.
The database defaults to backend/local.db. Do not expose this prototype to
the public internet: there is no production authentication, rate limiting,
TLS, audit trail, anti-replay mechanism, or trusted payment implementation.
For a fresh environment:
python -m pip install -r .\backend\requirements.txt
python -B -m unittest discover -s .\backend -v
Implemented locally
- AES-128-ECB, PKCS#7 padding and Base64 request/response codec.
- Local development account registration and login. The local login route compares the supplied value directly with its stored hash; it does not reproduce platform SDK token verification or the original password scheme.
- One local server, server selection and token validation.
- One role per local account, role creation and SQLite persistence.
- Initial role-detail shape, empty optional secondary detail, time, notices, empty game configuration, heartbeat and guide acknowledgement.
Deliberately not implemented
Platform login/payment, static resource manifests, gameplay rules, monsters,
items, battles, incubation, tasks, gacha, mail, shop, exploration and every
other unlisted feature. Unknown endpoints return resCode: 997. Empty role
arrays and {} configuration are scaffolding, not verified original data.
Client table and resource files are prerequisites for a real connection test.
The original APK is unchanged. Redirecting a test build requires modifying the recovered center/game server configuration and restoring the resource manifest. This project has not performed or validated those steps.