beeradmoore / dlss-swapper

GNU General Public License v3.0
1.75k stars 62 forks source link

How To Compile the Exe For DLSS Wrapper Guide #7

Open KedarWolf opened 3 years ago

KedarWolf commented 3 years ago

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.

beeradmoore commented 3 years ago

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)

KedarWolf commented 3 years ago

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 commented 3 years ago

I greatly simplified the instructions. :)