How lordmiltis-dev/archx works
ArchX is a work-in-progress lighting framework. The demonstrated user workflow is a command-line interpreter that packs Protobuf show data into .archx, unpacks it, or displays show information; the container handles the file format, while autosave code supports rotating backups and recovery. Native code also provides Art-Net packet parsing/building and a DMX output interface. Most console, GUI, pixel-mapping, fixture-library, and extension flows are documented goals rather than verified runtime paths; those links are shown as planned. Sampled source does not establish wiring between the Kotlin Master and native components.
Main entry points: kotlin Master state · container.rs ArchX container · divider Divider assembler · main.rs Interpreter CLI
Components 17
Show and persistence
- Interpreter CLI
interpreter/src/main.rs - ArchX container
interpreter/src/container.rs - Autosave recovery
interpreter/src/autosave.rs - Showfile files
Native lighting
- DMX output
native/dmx/nativeDMX/dmx_output.cpp - Art-Net codec
native/dmx/ArtNet/artnet_packet.cpp
Planned runtime modules
- Master state
master/src/main/kotlin - GUI submaster
gui - Divider assembler
native/divider - USB submaster
native/usb - Pixel mapping
native/pixelmapper - Fixture library
native/fixtures - Import extensions
extensions
Shared data contract
- Showfile schema
schema/showfile.proto
Other components
- Operator
- Lighting console
- DMX Art-Net devices
Connections 18
- Operator → Interpreter CLI: runs commands
interpreter/src/main.rs - Interpreter CLI → ArchX container: packs and loads
interpreter/src/main.rs - ArchX container → Showfile schema: encodes data
interpreter/src/container.rs - ArchX container → Showfile files: reads and writes
interpreter/src/container.rs - Autosave recovery → ArchX container: saves and loads
interpreter/src/autosave.rs - Master state → Showfile schema: uses shared schema
README.md - Master state → GUI submaster: drives interface
README.md - Lighting console → USB submaster: sends console data
README.md - USB submaster → Divider assembler: forwards events
README.md - Divider assembler → Master state: routes events
README.md - Master state → Divider assembler: sends output values
README.md - Divider assembler → DMX output: dispatches output
README.md - DMX output → Art-Net codec: builds Art-Net packets
- Art-Net codec → DMX Art-Net devices: sends DMX data
README.md - Master state → Pixel mapping: provides 2D values
README.md - Pixel mapping → Master state: returns generated values
README.md - Fixture library → Master state: provides fixture profiles
README.md - Import extensions → Master state: imports show formats
README.md