How joshua-fonseca/ro-test works
ro-test is a Windows screen-reading scanner for S.Arena market listings, with optional automated purchasing. The main workflow loads configured targets, navigates to each skin’s results, captures and interprets listing cards, checks price/serial criteria, and records matches. With --snipe, the run follows a separate seller-visit and purchase flow; optional Discord updates report progress. The graph follows documented capabilities and source-index references; unsampled implementations are represented only where the README or index supports them.
Main entry points: main.py Run scanner · scan_once.py Scan results · snipe.py Seller purchase flow · navigate.py Market navigation
Components 19
Run orchestration
- Run scanner
main.py - Scan results
scan_once.py - Run settings
scanner/logic/config.py
Screen reading
- Screen detection
scanner/reading/screens.py - Screen layout
scanner/reading/layout.py - Listing OCR
scanner/reading/vision.py
Matching and records
- Target models
scanner/logic/models.py - Value parsing
scanner/logic/parsing.py - Target matching
scanner/logic/matcher.py - Image crops
scanner/logic/cropper.py - Scan history
scanner/logic/storage.py
Game actions and updates
- Market navigation
scanner/windows/navigate.py - Window capture
scanner/windows/screen.py - Mouse and keys
scanner/windows/controller.py - Seller purchase flow
scanner/windows/snipe.py - Run notifications
scanner/logic/discord.py
Other components
- Operator
- Roblox game
- Discord
Connections 34
- Operator → Run scanner: starts run
README.md - Run scanner → Run settings: loads settings
main.py - Run scanner → Target models: loads targets
main.py - Run scanner → Scan results: runs scans
main.py - Run scanner → Market navigation: navigates market
main.py - Run scanner → Window capture: finds window
main.py - Run scanner → Scan history: sets up history
main.py - Run scanner → Run notifications: starts updates
main.py - Scan results → Screen detection: reads screens
scan_once.py - Scan results → Listing OCR: reads listings
scan_once.py - Scan results → Target matching: checks targets
scan_once.py - Scan results → Scan history: records results
scan_once.py - Scan results → Image crops: saves crops
scan_once.py - Scan results → Seller purchase flow: starts snipe
scan_once.py - Scan results → Run notifications: reports matches
scan_once.py - Market navigation → Window capture: captures window
scanner/windows/navigate.py - Market navigation → Screen detection: checks screen
scanner/windows/navigate.py - Market navigation → Mouse and keys: sends input
scanner/windows/navigate.py - Screen detection → Screen layout: uses layout
scanner/reading/screens.py - Screen detection → Listing OCR: uses OCR
scanner/reading/screens.py - Listing OCR → Value parsing: parses values
scanner/reading/vision.py - Listing OCR → Target models: uses listing types
scanner/reading/vision.py - Target matching → Target models: checks target data
scanner/logic/matcher.py - Target matching → Value parsing: uses parsed values
scanner/logic/matcher.py - Scan history → Target models: stores listing data
scanner/logic/storage.py - Scan history → Value parsing: formats serials
scanner/logic/storage.py - Seller purchase flow → Mouse and keys: sends game input
scanner/windows/snipe.py - Seller purchase flow → Market navigation: returns to search
scanner/windows/snipe.py - Seller purchase flow → Screen detection: checks game state
scanner/windows/snipe.py - Window capture → Roblox game: captures screen
README.md - Mouse and keys → Roblox game: controls game
scanner/windows/controller.py - Seller purchase flow → Roblox game: teleports and buys
README.md - Run notifications → Discord: posts updates
scanner/logic/discord.py - Run scanner → Seller purchase flow: enables optional flow
README.md