2022-06-05 18:32:26 +02:00
|
|
|
# ddrhook
|
|
|
|
|
2024-01-29 23:18:21 +01:00
|
|
|
ddrhook is a collection of hook libraries for "Dance Dance Revoluion" providing emulation and
|
|
|
|
various patches to run these games on non BemaniPC hardware and newer Windows versions.
|
2022-06-05 18:32:26 +02:00
|
|
|
|
|
|
|
The hook libraries must be bootstrapped either using [inject](../inject.md) or
|
2024-01-29 23:18:21 +01:00
|
|
|
[launcher](../launcher.md) depending on the version you want to run. Further instructions are given
|
|
|
|
in dedicated readme files for each ddrhook version (see below).
|
2022-06-05 18:32:26 +02:00
|
|
|
|
|
|
|
## Versions
|
|
|
|
|
2024-01-29 23:18:21 +01:00
|
|
|
ddrhook comes in a few different flavors. The game and its engine changed over the years. Some game
|
|
|
|
versions might require patches/parameters enabled which others don't need or have different AVS
|
|
|
|
versions. Here is the list of supported games:
|
2022-06-05 18:32:26 +02:00
|
|
|
|
2024-01-29 23:18:21 +01:00
|
|
|
- [ddrhook1](ddrhook1.md): X, X2 (US/EU regions)
|
|
|
|
- [ddrhook2](ddrhook2.md): X2 (JP region), X3 vs. 2ndMIX, 2013, 2014, A
|
2022-06-05 18:32:26 +02:00
|
|
|
|
2024-01-29 23:18:21 +01:00
|
|
|
When building bemanitools, independent packages are created for each set of games which are ready to
|
|
|
|
be dropped on top of vanilla AC data dumps. We recommend using pristine dumps to avoid any conflicts
|
|
|
|
with other hardcoded hacks or binary patches.
|
2022-06-05 18:32:26 +02:00
|
|
|
|
|
|
|
## How to run
|
|
|
|
|
2024-01-29 23:18:21 +01:00
|
|
|
To run your game with ddrhook, you have to use the inject tool to inject the DLL to the game
|
|
|
|
process. `dist/ddr` contains bat scripts with all the important parameters configured. Further
|
|
|
|
parameters can be added but might not be required to run the game with default settings. Further
|
|
|
|
information on how to setup the data for each specific version are elaborated in their dedicated
|
|
|
|
readme files.
|
2022-06-05 18:32:26 +02:00
|
|
|
|
|
|
|
## Command line options
|
|
|
|
|
2024-01-29 23:18:21 +01:00
|
|
|
Add the argument *-h* when running inject with ddrhook to print help/usage information with a list
|
|
|
|
of parameters you can apply to tweak various things.
|
2022-06-05 18:32:26 +02:00
|
|
|
|
|
|
|
## ddrio API
|
|
|
|
|
2024-01-29 23:18:21 +01:00
|
|
|
Available implementations that can be swapped out depending on which kind of IO hardware you want to
|
|
|
|
use:
|
2022-06-05 18:32:26 +02:00
|
|
|
|
2024-01-29 23:18:21 +01:00
|
|
|
- `ddrio`: Default implementation supporting keyboard, mouse and USB game controllers
|
|
|
|
- ddrio-mm: Support Minimaid custom interface
|
|
|
|
- [ddrio-smx](ddrio-smx.md): Support for StepManiaX dance platforms
|
|
|
|
- [ddrio-p3io](ddrio-p3io.md): P3IO + EXTIO driver implementation
|
|
|
|
- [ddrio-async](ddrio-async.md): Wrapper/shim library to drive another ddrio in a dedicated IO
|
|
|
|
thread
|
2022-06-19 12:51:16 +02:00
|
|
|
|
|
|
|
## Unicorntail
|
|
|
|
|
|
|
|
[Instructions how to run on Chimera PCBs](unicorntail.md).
|