Building
Version to build:
Prerequisites
Install rustup if you haven't already.
Then, install the MinGW target for Rust:
bash
rustup target add x86_64-pc-windows-gnu
rustup target add x86_64-pc-windows-gnu
Compiling the core module
Clone the LatencyFleX 2 repo:
bash
git clone https://github.com/ishitatsuyuki/latencyflex2.git -b v2.0.0-alpha.2
cd latencyflex2
git clone https://github.com/ishitatsuyuki/latencyflex2.git -b v2.0.0-alpha.2
cd latencyflex2
Build the module:
bash
cd core
cargo build --release --target x86_64-pc-windows-gnu
cd core
cargo build --release --target x86_64-pc-windows-gnu
The module will be available at target/x86_64-pc-windows-gnu/release/latencyflex2_rust.dll
.
Compiling the DXVK fork
Clone the fork and checkout the lfx2-v2.0.0-alpha.2
tag:
bash
git clone --recursive https://github.com/ishitatsuyuki/dxvk.git -b lfx2-v2.0.0-alpha.2
git clone --recursive https://github.com/ishitatsuyuki/dxvk.git -b lfx2-v2.0.0-alpha.2
Then follow the upstream build instructions.
Compiling the DXVK-NVAPI fork
Clone the fork and checkout the lfx2-v2.0.0-alpha.2
tag:
bash
git clone --recursive https://github.com/ishitatsuyuki/dxvk-nvapi.git -b lfx2-v2.0.0-alpha.2
git clone --recursive https://github.com/ishitatsuyuki/dxvk-nvapi.git -b lfx2-v2.0.0-alpha.2
Then follow the upstream build instructions.
Compiling the VKD3D-Proton fork
Clone the fork and checkout the lfx2-v2.0.0-alpha.2
tag:
bash
git clone --recursive https://github.com/ishitatsuyuki/vkd3d-proton.git -b lfx2-v2.0.0-alpha.2
git clone --recursive https://github.com/ishitatsuyuki/vkd3d-proton.git -b lfx2-v2.0.0-alpha.2
Then follow the upstream build instructions.