How eithan1231/open-fastfile works
3D Designer turns text-authored or imported Call of Duty maps into walkable first-person worlds, then supports solo exploration and authoritative multiplayer. The player workflow runs from browser world selection and scene loading through input, rendering, and (for matches) API authentication and matchmaking to a game server that simulates the match and sends realtime updates. Supporting layers include shared world/game/network rules and the map importer. The README documents the product topology; edges grounded only in it are cited there, while source-level evidence is limited to the supplied excerpts and SOURCE INDEX.
Main entry points: App.ts App composition · games.ts Game hosting · app.ts HTTP routes · server.ts Server lifecycle
Components 25
Browser client
- App composition
packages/client/src/app/App.ts - World loading
packages/client/src/app/worldLoader.ts - Player input
packages/client/src/input/InputManager.ts - Render pipeline
packages/client/src/engine/render/pipeline.ts - World scripts
packages/client/src/app/scripts.ts - UI bridge
packages/client/src/app/uiBridge.ts - Audio mixer
packages/client/src/engine/audio/mixer.ts
Central API
- HTTP routes
packages/api/src/app.ts - Accounts and sessions
packages/api/src/auth/sessions.ts - User records
packages/api/src/auth/users.ts - SQLite database
packages/api/src/db/database.ts - Matchmaking
packages/api/src/matchmaking/matchmaker.ts - API configuration
packages/api/src/config.ts
Match servers
- Game hosting
packages/game-server/src/games.ts - Realtime transport
packages/game-server/src/net/server.ts - Server lifecycle
packages/game-server/src/server.ts - Bodies and physics
packages/game-server/src/bodies.ts - Weapon catalogue
packages/game-server/src/weapons.ts
Shared runtime
- World language
packages/shared/src/dsl/parser.ts - Game simulation
packages/shared/src/game/context.ts - Network protocol
packages/shared/src/net/packet.ts - Deterministic physics
packages/shared/src/physics/engine.ts
World pipeline
- World assets
packages/api/src/worlds/source.ts - Map importer
scripts/cod/export.py
Other components
- Player
Connections 29
- Player → App composition: plays in
- App composition → World loading: loads worlds
packages/client/src/app/App.ts - App composition → Player input: sets up
packages/client/src/app/App.ts - App composition → World scripts: composes
packages/client/src/app/App.ts - World scripts → Audio mixer: requests audio
packages/client/src/app/scripts.ts - App composition → UI bridge: connects UI
packages/client/src/app/App.ts - App composition → Render pipeline: renders through
- World loading → HTTP routes: fetches worlds
- App composition → HTTP routes: uses services
- HTTP routes → Accounts and sessions: mounts auth
packages/api/src/app.ts - HTTP routes → Matchmaking: mounts matchmaking
packages/api/src/app.ts - Accounts and sessions → User records: resolves users
packages/api/src/auth/sessions.ts - User records → SQLite database: queries
packages/api/src/auth/users.ts - Accounts and sessions → SQLite database: reads and writes
packages/api/src/auth/sessions.ts - Matchmaking → SQLite database: queries
packages/api/src/matchmaking/matchmaker.ts - API configuration → SQLite database: configures
packages/api/src/db/database.ts - Matchmaking → Game hosting: assigns matches
- Server lifecycle → Game hosting: manages
packages/game-server/src/server.ts - Server lifecycle → Realtime transport: starts transport
packages/game-server/src/server.ts - Realtime transport → Game hosting: dispatches packets
packages/game-server/src/net/server.ts - Game hosting → Bodies and physics: uses bodies
packages/game-server/src/games.ts - Game hosting → Weapon catalogue: uses weapons
packages/game-server/src/games.ts - Server lifecycle → HTTP routes: registers and receives orders
- Server lifecycle → World assets: fetches world data
- World loading → World language: parses world text
- Game hosting → Game simulation: runs shared rules
- Realtime transport → Network protocol: encodes packets
packages/game-server/src/net/server.ts - Bodies and physics → Deterministic physics: uses physics
- Map importer → World assets: produces worlds