How psychodrive-dictator/psychodrive works
Main Components
a. Core Engine Components:
• Game State Manager (main.cpp/hpp)
• Rendering System (render.cpp/hpp)
• Input Handler (input.cpp/hpp)
• User Interface System (ui.cpp/hpp)
• Character System (guy.cpp/hpp)
b. Data Management:
• JSON Data Parser (json.hpp)
• Character Data Storage (/data/chars/)
• Battle Constants (/data/battle_consts.json)
• Game State Dumps Storage (/game_state_dumps/)
c. Graphics Pipeline:
• OpenGL Implementation (gl3w.c/h)
• Shader System (/data/shaders/)
• ImGui Integration (imgui/)
• ImPlot Integration (implot.*)
d. External Interfaces:
• SF6 Mod Integration (/sf6_mod/)
• Controller/Keyboard Input Systems
Relationships and Data Flow
• Data flow from SF6 mod scripts to the engine
• Character data loading pipeline
• Input processing flow
• Rendering pipeline
• State management flow
Specific Architecture Elements
Core Architecture:
[Input Handler] → [Game State Manager] → [Rendering System]
• ↑ ↑ ↑
[Controller/KB] [Character System] [Graphics Pipeline]
• ↑
• [Data Management]
• ↑
• [SF6 Mod Integration]
Important Subsystems to Detail
Character System:
• Relationship between character data files
• Movement and animation systems
• Hit detection system
• State management
Data Management:
• JSON parsing and storage
• Character data organization
• Game state dump handling
• Battle constants integration
Implementation Details
• Real-time processing pipeline
• Frame-perfect timing systems
• Character state management
• Input timeline editing capabilities
• Hitbox visualization system