🔭
rust-dll-bp
This is a boiler plate code that will be generated as a dll binary. I personally cache this here for me but if you're intend to create game hack, having this is fine to begin with.
You can inject this to running process without any issues.
toy-arms crate
This crates uses toy-arms crate which eases developping dll.
The variant without toy-arms is on gist.
windows api
This is used windows-rs officially maintained by Microsoft as opposed to winapi which isn't maintained now.
⚠️
important
.cargo/config
is the config file specifying target architecture. Inside it must be like this:
[build]
target = "i686-pc-windows-msvc"
Make sure to change target value as which architecture you're targetting to.
target | remarkable | |
---|---|---|
i686-pc-windows-msvc | 32-bit MSVC (Windows 7+) | |
x86_64-pc-windows-msvc | 64-bit MSVC (Windows 7+) | |
i686-pc-windows-gnu | 32-bit MinGW (Windows 7+) | |
x86_64-pc-windows-gnu | 64-bit MinGW (Windows 7+) |