An autosolver for Opus Magnum puzzles. It generates correct but very inefficient solutions.
This version is a command-line program which generates .solution
files from .puzzle
files. If you're looking for the original version which works on the actual game screen, see https://github.com/gtw123/OpusSolver/tree/v1.0
- All puzzles in the main campaign
- All journal puzzles (except production puzzles)
- Most puzzles created in the standard editor
- Production puzzles
- Puzzles which have molecules that can't be reduced to single atoms (e.g. if the Glyph of Unbonding isn’t allowed).
- Puzzles using features not in the standard editor, like triplex bonds between non-fire atoms, partial triplex bonds, or disconnected atoms.
- Install Visual Studio 2022.
- Ensure you have NET Framework 4.8 Development Tools intalled.
- Open OpusSolver.sln in Visual Studio.
- Build!
Currently tested on Windows only.
- To generate a solution for a puzzle, simply run
OpusSolver.exe <path to the .puzzle file>
. This will create a corresponding.solution
file in the current directory. - You can also give it multiple files or directories to run on.
- For other options, run
OpusSolver.exe
with no arguments.
Puzzles created in the game are located at C:\Users\<username>\Documents\My Games\Opus Magnum\<steam ID>\custom
Puzzles downloaded from the Steam workshop are at C:\Users\<username>\Documents\My Games\Opus Magnum\<steam ID>\workshop
For other examples, including .puzzle
files for the built-in puzzles, see omsim.
- Copy the
.solution
file directly intoC:\Users\<username>\Documents\My Games\Opus Magnum\<steam ID>
then restart Opus Magnum. - Go to the corresponding puzzle within the game.
- The generated solution will be called
Generated solution
.