# Building the Orpheus Native host

The add-on uses two 32-bit native components:

- `orpheus-native-host.exe` provides the socket bridge used by the NVDA driver.
- `hook.dll` makes the legacy Orpheus runtime see the executable path it expects.

## Requirements

- A 32-bit MinGW-w64 GCC and G++ toolchain on `PATH`, using the command names
  `i686-w64-mingw32-gcc.exe` and `i686-w64-mingw32-g++.exe`.
- [MinHook](https://github.com/TsudaKageyu/minhook). Set `MINHOOK_ROOT` to its
  source directory, or place its source in a `minhook` directory beside this file.

Run `build.ps1` from PowerShell. It builds both native components and places them
in the add-on tree. The add-on must be closed before replacing a running host.

The project-specific `hook.cpp` and `hook.def` files were recovered from the
original Orpheus NVDA driver material. MinHook remains under its own BSD license.
