How audioasilvab/sjf-server works
SJF-Server replaces Sonic Jump Fever’s retired backend. The main workflow is the game client’s documented handshake, login, settings/zone retrieval, and profile synchronization; the server also exposes score, friends, messages, gifts, energy, and purchase endpoints, currently described as placeholders. Configuration and round rotation are separate domain stages. The repository also includes reverse-engineering and asset/APK tools used to inspect and redirect the game client. Server internals were not excerpted, so server relationships below follow README documentation; tool relationships are limited to indexed import references and shown excerpts.
Main entry points: server.js HTTP server · apk_build.py APK patch and build · a64func.py ARM64 function analysis · elf.py ELF reader
Components 20
Game backend
- HTTP server
server.js - Server configuration
config.json - Challenge handshake
server.js - Player login
server.js - Settings endpoint
server.js - Zone rotation
server.js - Profile sync
server.js - Social endpoints
server.js - Reward endpoints
server.js - Score endpoints
server.js
Binary analysis
- ELF reader
_tools/elf.py - ARM64 function analysis
_tools/a64func.py - ARM64 cross-references
_tools/a64xref.py - ARM64 tracing
_tools/trace.py
Client modification
- APK patch and build
_tools/apk_build.py - Android manifest parser
_tools/axml.py - Native URL patcher
_tools/patch_so.py
Game assets
- SLA archive parser
_tools/slatool.py - Asset extraction
_tools/extract_all.py
Other components
- Game client
Connections 16
- Game client → HTTP server: sends JSON
README.md - HTTP server → Server configuration: loads settings
README.md - HTTP server → Challenge handshake: routes request
README.md - HTTP server → Player login: routes request
README.md - HTTP server → Settings endpoint: routes request
README.md - HTTP server → Profile sync: routes request
README.md - HTTP server → Score endpoints: routes requests
README.md - HTTP server → Social endpoints: routes requests
README.md - HTTP server → Reward endpoints: routes requests
README.md - Settings endpoint → Zone rotation: reports zone
README.md - ARM64 function analysis → ELF reader: uses reader
_tools/a64func.py - ARM64 cross-references → ELF reader: uses reader
_tools/a64xref.py - ARM64 tracing → ARM64 function analysis: reuses analysis
_tools/trace.py - APK patch and build → Android manifest parser: uses parser
_tools/apk_build.py - Asset extraction → SLA archive parser: uses parser
_tools/extract_all.py - APK patch and build → Native URL patcher: patches native library