Skip to content

Contributing

OpenROM is GPL-3.0 open source and welcomes contributions of every size — a bug report with a good log is as valuable as a feature pull request.

The repository’s CONTRIBUTING.md is the canonical version; this page summarises it.

Check that you are on the latest release and search existing issues first. Then include:

Detail Example
OS and version Windows 11, Ubuntu 22.04, macOS 15
Dart version output of dart --version
Steps to reproduce the file, the conversion, the settings
Expected vs actual what you expected, what happened
Log file attached, not pasted inline

Log locations:

Platform Path
Windows %APPDATA%\OpenROM\logs\
Linux ~/.config/OpenROM/logs/
macOS ~/Library/Application Support/OpenROM/logs/

Open an issue with the enhancement label and describe the problem the feature solves, what the experience should look like, and any tools or references that could help implement it.

Terminal window
git checkout -b feature/your-feature-name

Keep commits focused and descriptive, test a real conversion end to end, and open the pull request against main with a clear title and a short rationale. Screenshots or terminal output help reviewers.

New routes normally belong in the core engine:

  1. Add the format to the detection table in core/lib/src/detector.dart.
  2. Add the route to the conversion map.
  3. Implement the dispatch in core/lib/src/converter.dart.
  4. Parse tool output into progress events.
  5. Add a test fixture and a real-file smoke test.

Formats that wrap a third-party binary can ship as a .orplug extension instead — see Plugins. That is usually the better choice for console-specific or licensed tooling.

  • Dart 3.14+ / Flutter 3.50+ — use modern syntax (patterns, records, sealed classes).
  • Type annotations on all function signatures.
  • Log through core/lib/src/logger.dart; never print() in core logic.
  • No hardcoded paths: resolve tools and directories through core/lib/src/config.dart.
  • One class per file in gui/lib/screens/.
  • Never block the UI thread; use async/await or isolates.
Terminal window
# CLI and core
cd core
dart pub get
dart run bin/openrom.dart --help
# GUI
cd ../gui
flutter pub get
flutter run -d linux # or windows / macos

Platform build scripts live at the repository root: build_linux.sh, build_mac.sh, build_windows.bat.

The app ships 11 locales and translations are managed on Crowdin via crowdin.yml. You do not need to touch Dart code to translate. See TRANSLATORS.md for the current language list, credit policy and how to claim a locale.

By contributing you agree that your work is licensed under GPL-3.0 for code, and under CC-BY-SA-4.0 for documentation.