neopatch is a Touhou game mod for end-to-end latency reductions, optimizations, and other fixes.
neopatch ships as a DLL file. The file should be named dinput8.dll and placed in the game directory alongside the game executable.
neopatch is configured through a neopatch.ini file, which should also be placed in the game directory. Please check the per-game example files to see what's possible with neopatch! Here is a list of supported games and versions; support for more games is planned for the near future.
- Touhou 10 (v1.00a):
neopatch.ini.example - Touhou 11 (v1.00a):
neopatch.ini.example - Touhou 12 (v1.00b):
neopatch.ini.example - Touhou 13 (v1.00c):
neopatch.ini.example - Touhou 14 (v1.00b):
neopatch.ini.example - Touhou 15 (v1.00b):
neopatch.ini.example - Touhou 16 (v1.00a):
neopatch.ini.example - Touhou 17 (v1.00b):
neopatch.ini.example - Touhou 18 (v1.00a):
neopatch.ini.example - Touhou 20 (v1.00a):
neopatch.ini.example
neopatch is not compatible with similar mods like vpatch and OpenInputLagPatch (OILP). Attempting to use neopatch with them may cause hard-to-troubleshoot issues.
neopatch is cross-compiled from Linux to i686-pc-windows-gnu. Build hosts need a mingw-w64 i686 toolchain. Wine is used as the Cargo test runner.
An example with the neopatch_th15 crate:
cargo build -p neopatch_th15 --release
See justfile for commands you can run via just.
neopatch would not be possible without these projects:
- OpenInputLagPatch by Khangaroo
- vpatch by swmpLV/75E
And special thanks to all pre-release testers!
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.