How markmental/japs1me works
JAPS1ME is a command-line editor for PlayStation 1 memory-card images. Its main workflow dispatches list, convert, import, delete, and install commands: inputs are parsed or transformed, then displayed or safely written to card files. The graph separates CLI orchestration, card-format processing, save operations, and install support. Edges follow the shown main.rs calls and source-index references; install details are documented in the README, while some implementation paths are only partially excerpted.
Main entry points: card.rs Raw card parser · main.rs Command dispatcher · import.rs Save import · delete.rs Save deletion
Components 16
CLI workflows
- Command dispatcher
src/main.rs - List command
src/main.rs - Convert command
src/main.rs - Save table
src/commands/list.rs
Card formats
- DexDrive parser
src/gme.rs - Raw card parser
src/ps1/card.rs - Title decoder
src/ps1/title.rs
Save operations
- Import command
src/main.rs - Save import
src/ps1/import.rs - Delete command
src/main.rs - Save deletion
src/ps1/delete.rs
RetroArch install
- Install command
src/main.rs - Directory and backup tools
src/install.rs
Other components
- CLI user
- Card files
- RetroArch saves directory
Connections 24
- CLI user → Command dispatcher: runs command
README.md - Command dispatcher → List command: dispatches
src/main.rs - Command dispatcher → Convert command: dispatches
README.md - Command dispatcher → Import command: dispatches
README.md - Command dispatcher → Delete command: dispatches
README.md - Command dispatcher → Install command: dispatches
README.md - List command → Raw card parser: parses image
src/main.rs - List command → Save table: formats output
src/main.rs - Convert command → DexDrive parser: parses input
src/main.rs - Convert command → Raw card parser: validates payload
src/main.rs - Convert command → Card files: writes converted card
README.md - Raw card parser → Title decoder: decodes title
src/ps1/card.rs - Import command → DexDrive parser: parses source
src/main.rs - Import command → Raw card parser: parses target
src/main.rs - Import command → Save import: imports save
src/main.rs - Save import → Raw card parser: uses card frames
src/ps1/import.rs - Import command → Card files: replaces target
README.md - Delete command → Raw card parser: parses target
src/main.rs - Delete command → Save deletion: deletes save
README.md - Save deletion → Raw card parser: uses card frames
src/ps1/delete.rs - Delete command → Card files: replaces target
README.md - Install command → Directory and backup tools: discovers and configures
src/main.rs - Install command → RetroArch saves directory: installs card
README.md - Directory and backup tools → RetroArch saves directory: scans card files
src/install.rs