How rasalopa/picodex works
PicoDex is a client-side browser tool for managing a Pico Launcher SD card. The user opens a card through the app; the shared SD context reads its library and metadata, and feature views support organizing games, managing art and stats, and inspecting card health. Other documented workflows include screenshots, folder banners, file associations, and loader compatibility. The README documents these capabilities, but sampled source is incomplete, so uncertain internal call links are omitted.
Main entry points: SdContext.tsx SD context · sdcard.ts SD card access · HealthView.tsx Card health view · CoverPicker.tsx Cover picker
Components 28
App and card access
- App workspace
src/App.tsx - SD context
src/state/SdContext.tsx - SD card access
src/lib/sdcard.ts
Library and organization
- Library overview
src/views/LibraryView.tsx - System game gallery
src/views/SystemGallery.tsx - ROM import
src/components/DropImport.tsx - Library scanning
src/lib/scan.ts - ROM parsing
src/lib/rom.ts - Game stats data
src/lib/gamedata.ts - Stats editor view
src/views/StatsView.tsx - Stats editor
src/components/StatsEditor.tsx
Artwork management
- Cover manager
src/views/CoversView.tsx - Cover picker
src/components/CoverPicker.tsx - Title matching
src/lib/matching.ts - Thumbnail catalogs
src/lib/thumbnails.ts - Artwork encoding
src/lib/coverart.ts - Folder banners
src/lib/banner.ts
Card tools
- Card health view
src/views/HealthView.tsx - Card health scan
src/lib/scan.ts - Loader file scan
src/lib/loaderScan.ts - Loader release ID
src/lib/loaderVersion.ts - Loader compatibility
src/components/CompatSheet.tsx - Screenshot gallery
src/views/ScreenshotsView.tsx - Screenshot handling
src/lib/screenshots.ts - File associations
src/views/AssociationsView.tsx
Other components
- SD card user
- Pico Launcher SD
- libretro thumbnails
Connections 27
- SD card user → App workspace: opens workspace
- App workspace → SD context: provides card state
- SD context → SD card access: reads and writes
- SD card access → Pico Launcher SD: accesses files
- SD context → Library scanning: scans library
- Library scanning → Pico Launcher SD: reads game files
- SD context → Game stats data: parses and serializes
- SD context → Pico Launcher SD: writes game data
- Library overview → System game gallery: shows systems
- ROM import → Pico Launcher SD: organizes ROMs
- System game gallery → Stats editor: opens editor
- Stats editor → SD context: updates stats
- System game gallery → Cover picker: opens picker
- Cover picker → Thumbnail catalogs: loads catalog
- Thumbnail catalogs → libretro thumbnails: fetches art
- Cover picker → Artwork encoding: composes previews
- Cover picker → SD card access: writes art
- Cover manager → Title matching: matches titles
- Card health view → Card health scan: scans card
- Card health view → Loader file scan: scans loader files
- Card health view → Loader release ID: identifies release
- Card health view → SD card access: removes selected files
- Loader compatibility → Pico Launcher SD: reports game compatibility
- Screenshot gallery → Screenshot handling: manages captures
- Screenshot gallery → SD card access: reads or deletes
- File associations → SD card access: edits settings
- Folder banners → Artwork encoding: encodes icon art