How bryanthaboi/gen1recomp works
Gen1Recomp is a native LÖVE2D recreation of Pokémon generations 1 and 2. The principal workflow is: the player supplies a canonical ROM, the importer verifies and decodes it into a private cache, then the launcher starts the Lua-driven game. During play, SDL delivers controls, gameplay systems update world and battles, and the renderer/audio layers produce the result. The tree is dominated by bundled platform libraries; game Lua sources were not sampled, so those nodes and links rely on README capabilities and enclosing paths.
Main entry points: love Game Engine · lj_dispatch.c LuaJIT Runtime · SDL2 Controls Binding · oboe Android Audio
Components 19
ROM Ingestion
- ROM File
- ROM Importer
mobile/android/love - SHA-1 Validator
mobile/android/love - Game Data Decoder
mobile/android/love
Game Runtime
- Game Launcher
mobile/android/love - LuaJIT Runtime
mobile/android/love/src/jni/LuaJIT-2.1/src/lj_dispatch.c - Game Engine
mobile/android/love - World Behavior
mobile/android/love - Battle Rulesets
mobile/android/love - Mods Manager
mobile/android/love
Presentation
- Game Renderer
mobile/android/love - Shader Effects
mobile/android/love - Audio Synthesis
mobile/android/love
Platform Services
- Controls Binding
mobile/android/love/src/jni/SDL2 - SDL Platform
mobile/android/love/src/jni/SDL2 - Android Audio
mobile/android/love/src/jni/oboe
Persistent State
- Generated Cache
mobile/android/love
Other components
- Player
- Playable Game
Connections 20
- Player → ROM File: supplies
- ROM File → ROM Importer: imports
- ROM Importer → SHA-1 Validator: verifies
- ROM Importer → Game Data Decoder: decodes
- Game Data Decoder → Generated Cache: writes data
- Game Launcher → Generated Cache: reads data
- ROM Importer → Game Launcher: starts game
- Game Launcher → LuaJIT Runtime: starts runtime
- LuaJIT Runtime → Game Engine: executes scripts
- SDL Platform → Controls Binding: delivers input
- Controls Binding → Game Engine: dispatches actions
- Game Engine → World Behavior: updates world
- Game Engine → Battle Rulesets: runs battles
- Game Engine → Mods Manager: dispatches mods
- Game Engine → Game Renderer: renders frame
- Game Renderer → Shader Effects: applies effects
- Game Engine → Audio Synthesis: synthesizes sound
- Audio Synthesis → Android Audio: outputs audio
- Game Renderer → Playable Game: produces visuals
- Android Audio → Playable Game: produces sound