This guide explains how to use command-line flags to quickly open specific editors and cards during development for faster debugging workflows.
Load a specific ROM file on startup.
Enable debug logging with verbose output.
Open a specific editor on startup. This saves time by skipping manual navigation through the UI.
Available editors:
Assembly
- Assembly code editorDungeon
- Dungeon/underworld editorGraphics
- Graphics and tile editorMusic
- Music and sound editorOverworld
- Overworld map editorPalette
- Palette editorScreen
- Screen editorSprite
- Sprite editorMessage
- Message/text editorHex
- Hex/memory editorAgent
- AI agent interfaceSettings
- Settings editorExample:
Open specific cards/panels within an editor. Most useful with the Dungeon editor.
Dungeon Editor Cards:
Rooms List
- Shows the list of all dungeon roomsRoom Matrix
- Shows the dungeon room layout matrixEntrances List
- Shows dungeon entrance configurationsRoom Graphics
- Shows room graphics settingsObject Editor
- Shows the object placement editorPalette Editor
- Shows the palette editorRoom N
- Opens a specific room by ID (e.g., Room 0
, Room 105
)Example:
Open a specific dungeon room for testing:
Compare multiple rooms side-by-side:
Open all dungeon editor tools:
Enable full debug output while working:
Jump straight to overworld editing:
If compiled with YAZE_WITH_GRPC=ON
, you can enable automated GUI testing:
This allows remote control via gRPC for automated testing and AI agent interaction.
All flags can be combined for powerful debugging setups:
--cards
flag is currently only implemented for the Dungeon editorEditor doesn't open:
--debug
Cards don't appear:
--editor=Dungeon
)Want to add more card support? See EditorManager::OpenEditorAndCardsFromFlags()
in src/app/editor/editor_manager.cc