dlss-swapper icon indicating copy to clipboard operation
dlss-swapper copied to clipboard

How To Compile the Exe For DLSS Wrapper Guide

Open KedarWolf opened this issue 3 years ago • 3 comments

First, in the PC Settings Search 'Developer' and enable Developer Mode, then reboot.

Download the source from https://github.com/beeradmoore/dlss-swapper go to Code 'Download ZIP'. Unzip the file to the default folders.

Install Visual Studio 2019 including 'Desktop Development with C++' and 'Universal Windows Platform development'.

**Next, go to File 'Open' and open up the 'DLSS Swapper.sln' file in the 'D:\dlss-swapper-main\dlss-swapper-main' folder.

In the top dropdown menus change 'Debug' 'arm64' to 'Debug' 'x64' or 'x86 if for some reason you're using an x86 PC.

Next, click on Build 'Build Solution'.

Lastly, create a folder 'D:\1'.

Go to Project, 'Publish' 'Create App Packages'. In the next step, keep the default options than in the step after, choose 'Yes, select a certificate then 'Create'.

Give it a password, In the next step click 'Trust' and 'Ok'.

Choose x64 on the next step if you're on a 64 bit O/S or x86 if your not. Choose D:\1 as your Installer location. then click 'Create'.

Lastly, click Copy And Close and install your app using the index.html file in your D:\1 folder.

KedarWolf avatar Aug 22 '21 09:08 KedarWolf

Oh wow! Super detailed guide. Thanks for that.

When I get time I'll install a fresh copy of Windows onto a VM so I can go through the full setup of what is needed to be installed so we can use this guide but cut it down a bit (eg. Shouldn't need to sign the app if building in debug mode)

beeradmoore avatar Aug 22 '21 09:08 beeradmoore

Oh wow! Super detailed guide. Thanks for that.

When I get time I'll install a fresh copy of Windows onto a VM so I can go through the full setup of what is needed to be installed so we can use this guide but cut it down a bit (eg. Shouldn't need to sign the app if building in debug mode)

I tried in Debug mode and when I went to install it, it gave an error it never had a signed certificate.

KedarWolf avatar Aug 22 '21 09:08 KedarWolf

I greatly simplified the instructions. :)

KedarWolf avatar Aug 22 '21 10:08 KedarWolf