How luki-1/arkweb works
ArkWeb lets Spider-Man Remastered provide the playable movement while Arkham Knight supplies Gotham, its collision sources, and the displayed scene. The main runtime loop streams scanned and exported Gotham geometry into Spider-Man, then links the hero’s state to a hidden Batman puppet and composites Spider-Man’s captured frame into Arkham’s view. The graph also preserves the documented grapple, combat, and reverse-engineering capabilities. Edges rely on README statements or indexed source references; unsampled implementation details are not inferred.
Main entry points: ak_host/main.cpp Host Runtime · sm_guest/main.cpp Guest Runtime · gotham_stream.py Gotham Streamer · link.h Shared Memory Link
Components 19
Game Runtime
- Guest Runtime
src/sm_guest/main.cpp - Gotham Collision
src/sm_guest/gotham.h - Frame Capture
src/sm_guest/capture.h - Host Runtime
src/ak_host/main.cpp - View Overlay
src/ak_host/overlay.h
Shared Link
- Link Protocol
protocol/arkweb_protocol.h - Shared Memory Link
src/common/link.h - Coordinate Mapping
src/common/coords.h
Gotham Streaming
- Gotham Streamer
tools/gotham_stream.py - Collision Tile Builder
tools/build_gotham_tiles.py - Swing Hint Builder
tools/build_gotham_hints.py
Movement Features
- Grapple Targets
src/ak_host/grapple.h - Zip And Perch
src/sm_guest/zip.h - Combat Mirroring
src/sm_guest/combat.h - Pose Transfer
src/sm_guest/mirror.h
Research Tools
- Executable Analysis
tools/pe_tools.py
Other components
- Player
- Spider-Man Game
- Arkham Knight
Connections 23
- Player → Spider-Man Game: plays
README.md - Player → Arkham Knight: views
README.md - Guest Runtime → Spider-Man Game: drives movement
README.md - Host Runtime → Arkham Knight: drives puppet
README.md - Host Runtime → Guest Runtime: reads hero state
README.md - Guest Runtime → Host Runtime: sends captured frame
README.md - Host Runtime → View Overlay: draws frame
README.md - Guest Runtime → Gotham Collision: loads geometry
README.md - Guest Runtime → Shared Memory Link: exchanges state
README.md - Host Runtime → Shared Memory Link: exchanges state
README.md - Shared Memory Link → Link Protocol: uses layout
src/common/link.h - Host Runtime → Coordinate Mapping: converts positions
src/ak_host/main.cpp - Gotham Streamer → Host Runtime: requests scans and exports
README.md - Host Runtime → Gotham Streamer: provides scan data
README.md - Gotham Streamer → Collision Tile Builder: builds collision tiles
tools/gotham_stream.py - Gotham Streamer → Swing Hint Builder: builds swing hints
tools/gotham_stream.py - Gotham Streamer → Guest Runtime: sends tiles and hints
README.md - Host Runtime → Grapple Targets: exports grapple points
README.md - Zip And Perch → Grapple Targets: targets ledges
src/sm_guest/zip.h - Player → Zip And Perch: triggers zip
README.md - Host Runtime → Combat Mirroring: reports combat state
README.md - Combat Mirroring → Pose Transfer: transfers pose
README.md - Executable Analysis → Player: supports reverse engineering
README.md