Building instructions for the plugin.
- Visual Studio 2019
- (You can use VS2022, just make sure you're on at least MSVC 14.34)
- xmake
- git
- Navigate to the repository using a command prompt.
- Check out the correct branch/tag if you're not working against master
- Run
git submodule update --init
to pull in vendored dependencies - Run
xmake -y
(add-v
for verbose output)
If you want visual studio projects execute xmake project -k vsxmake
and you will find the sln in the newly created vsxmake
folder.
- You can specify the VS version with
xmake f --vs=2019|2022
in case it's not detected right - Use Visual Studio Installer to install any missing components in the toolset if needed
- Configure the install path, run:
xmake f --installpath=<cyberpunk install path>\bin\x64\plugins
(not the base dir!) xmake install
(orxmake i
for short.)
- Download Ultimate-ASI-Loader_x64.zip from ASI Loader
- Put the dinput8.dll in
<cyberpunk install path>\bin\x64\
- Rename
dinput8.dll
asversion.dll
, you should have<cyberpunk install path>\bin\x64\version.dll
- Create a
global.ini
file in<cyberpunk install path>\bin\x64\
- Paste the following lines in
global.ini
, save and you are all set!
[GlobalSets]
LoadPlugins=1
LoadFromScriptsOnly=1
DontLoadFromDllMain=0
FindModule=0
UseD3D8to9=0
DisableCrashDumps=0
Direct3D8DisableMaximizedWindowedModeShim=0