- Download the latest zip from the DsHidMini github.
The INF has been created based on https://github.com/ViGEm/DsHidMini/releases/tag/v2.2.282.0. So it is likely to work only with the v2. - Unzip it
- We will only need:
- x86\dshidmini\LICENSE
- x86\dshidmini\dshidmini.dll
- x64\dshidmini\LICENSE
- x64\dshidmini\dshidmini.dll
- I then created a new directory (somewhere on your computer) where I moved AND renamed the dshidmini directories to their architecture.
Sox86\dshidmini
becomex86
andx64\dshidmini
becomex64
.
- Download the latest zip from this repository
- Unzip it into the new directory you created from the section above.
Don't overwrite existing files
You should see adshidmini.inf
file within yourx86
andx64
directories withdshidmini.dll
. This new .inf file is based from the original DsHidMini github with some minor changes.
As per the WDK download page you will need:
- Visual Studio
- Windows SDK (may be installed trought Visual Studio)
- Windows WDK
- Open a
Developer Command Prompt for VS
from your start menu as an administrator. - Navigate to the new directory you created with the simplified DsHidMini directories.
- Execute
Inf2Cat.exe /driver:x86 /os:Vista_X86,Server2008_X86,7_X86,8_X86,6_3_X86,10_X86
- Execute
Inf2Cat.exe /driver:x64 /os:Vista_X64,Server2008_X64,7_X64,Server2008R2_X64,8_X64,Server8_X64,6_3_X64,Server6_3_X64,10_X64
- Execute
makecert -r -pe -a sha512 -n "CN=LazyNameOfWhoWillSign" -eku 1.3.6.1.5.5.7.3.3 -sv CodeSigning.pvk CodeSigning.cer
.
Technically should be done once for all releases - Excute
pvk2pfx.exe -pvk CodeSigning.pvk -spc CodeSigning.cer -pfx CodeSigning.pfx
- Execute
certmgr /add CodeSigning.cer /s /r localMachine root
(this is the part that need to be administrator)
Technically should be done once for all releases - Execute
Signtool sign /v /fd sha512 /f CodeSigning.pfx /t http://timestamp.digicert.com x86\dshidmini.cat x64\dshidmini.cat
. - Create the final release; zip everything in the current directory your prompt is at, except all
CodeSigning
files.