omavn

Contributing

Add a game to the catalog, fix a bug, or build something on omavn.

The most useful contribution is a report: install a game, play a bit, and run

omavn feedback --kind game --game <id> "works perfectly"   # or what went wrong

Add a catalog entry

When a game needs something heuristics can't guess (a proper title, which exe is which edition, a VNDB id, environment variables), add crates/omavn-core/catalog/<id>.toml. The format is on the Catalog page. cargo test checks every entry parses and that the file name matches its id.

Work on omavn

git clone https://github.com/Tetraslam/omavn && cd omavn
cargo test
cargo run -- install ~/Downloads/some-vn.zip

Layout:

PathWhat
crates/omavn-corethe library: unpacking, detection, installs, runtimes, launching, art, Omarchy
crates/omavnthe CLI, a thin layer over the library
crates/omavn-core/catalogper-game knowledge
docsthis site (Fumadocs)
scripts/headless.shan invisible desktop for testing games

CI runs cargo fmt --check, cargo clippy -- -D warnings, cargo test, and the docs lint and build. Run the same locally before opening a pull request.

Testing games without touching your desktop

scripts/headless.sh starts an invisible sway session (GPU-backed, with Xwayland, audio routed to a null sink), so games can be launched, clicked, and screenshotted while you keep working:

scripts/headless.sh start
scripts/headless.sh run omavn run dies-irae
scripts/headless.sh shot /tmp/shot.png
eval "$(scripts/headless.sh env)"   # point your shell at the session
scripts/headless.sh stop

For mouse input into a game running under gamescope, use xdotool on gamescope's own X display (read DISPLAY from the game process's environment) with coordinates in the game's native resolution. wayvnc plus vncdo also works for Wine games, but SDL games like Ren'Py ignore its virtual pointer.

Compatibility sweep

scripts/compat.sh installs each download into a throwaway library, launches it in the invisible session, and reports whether it kept running and drew something:

scripts/compat.sh -o /tmp/sweep ~/Downloads/vn1.zip ~/Downloads/"Some Folder"

It writes results.jsonl, results.md, and sheet.png, a contact sheet of every screenshot. Look at the sheet: an error dialog also counts as drawing. Set OMAVN_BIN to test a development build.

Releases

Tagging vX.Y.Z on master builds x86_64 and aarch64 binaries and publishes a GitHub release, which omavn self update and the install script pick up. Then update the AUR packages (omavn-bin for the release binary, omavn from source):

packaging/aur/bump.sh X.Y.Z     # pkgver, checksums, .SRCINFO
packaging/aur/publish.sh        # push to aur.archlinux.org

On this page