Skip to content

Commit

Permalink
UWP/WINRT: Build Improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
GABO1423 authored and TheRhysWyrill committed Jul 9, 2023
1 parent b0502f6 commit 8071d62
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 68 deletions.
7 changes: 7 additions & 0 deletions pcsx2-winrt/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Build Instructions

Download the `cheats_ws.zip` and `cheats_ni.zip` files from here: https://github.com/PCSX2/pcsx2_patches/releases,

Then move them to the [bin/resources](https://github.com/SirMangler/pcsx2/tree/master/bin/resources) folder.

Once that's done open the `pcsx_qt.sln` file, and choose the `Release` configuration to make SSE4 builds (compatible with Xbox One consoles), or select the `Release AVX2` Configuration to make AVX2 builds (faster, but only works on the Xbox Series consoles).
126 changes: 58 additions & 68 deletions pcsx2-winrt/pcsx2-winrt.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -173,22 +173,42 @@
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
<PreBuildEvent>
<Command>
mkdir resources
robocopy "..\bin\resources\." "resources\." /E /R:0 /W:0
EXIT 0
</Command>
</PreBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="..\pcsx2\PrecompiledHeader.h" />
<Text Include="resources\shaders\common\ffx_a.h">
<FileType>Document</FileType>
</Text>
<Text Include="resources\shaders\common\ffx_cas.h">
<FileType>Document</FileType>
</Text>
<ClInclude Include="UWPUtils.h" />
</ItemGroup>
<ItemGroup>
<AppxManifest Include="Package.appxmanifest">
<SubType>Designer</SubType>
</AppxManifest>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\pcsx2\PrecompiledHeader.cpp" />
<ClCompile Include="App.cpp" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
<None Include="pcsx2-winrt_TemporaryKey.pfx" />
<None Include="PropertySheet.props" />
<None Include="resources\fonts\Roboto-Regular-copyright" />
<None Include="resources\GameIndex.yaml">
<DeploymentContent>true</DeploymentContent>
</None>
<None Include="resources\cheats_ws.zip">
<DeploymentContent>true</DeploymentContent>
</None>
<None Include="resources\cheats_ni.zip">
<DeploymentContent>true</DeploymentContent>
</None>
</ItemGroup>
<ItemGroup>
<Image Include="Assets\LockScreenLogo.scale-200.png" />
<Image Include="Assets\SplashScreen.scale-200.png" />
Expand All @@ -197,9 +217,7 @@
<Image Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" />
<Image Include="Assets\StoreLogo.png" />
<Image Include="Assets\Wide310x150Logo.scale-200.png" />
<Image Include="resources\cover-placeholder.png">
<DeploymentContent>true</DeploymentContent>
</Image>
<Image Include="resources\cover-placeholder.png" />
<Image Include="resources\fullscreenui\applications-system.png" />
<Image Include="resources\fullscreenui\media-cdrom.png" />
<Image Include="resources\fullscreenui\placeholder.png" />
Expand Down Expand Up @@ -241,85 +259,57 @@
<Image Include="resources\icons\star-5.png" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\pcsx2\PrecompiledHeader.cpp" />
<ClCompile Include="App.cpp" />
<Text Include="resources\game_controller_db.txt" />
<Text Include="resources\sounds\achievements\README.txt" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
<None Include="pcsx2-winrt_TemporaryKey.pfx" />
<None Include="PropertySheet.props" />
<None Include="resources\cheats_ni.zip">
<Font Include="resources\fonts\fa-solid-900.ttf" />
<Font Include="resources\fonts\Roboto-Regular.ttf" />
<Font Include="resources\fonts\RobotoMono-Medium.ttf" />
</ItemGroup>
<ItemGroup>
<None Include="resources\shaders\common\fxaa.fx">
<DeploymentContent>true</DeploymentContent>
</None>
<None Include="resources\cheats_ws.zip">
<None Include="resources\shaders\common\ffx_a.h">
<DeploymentContent>true</DeploymentContent>
</None>
<None Include="resources\fonts\Roboto-Regular-copyright">
<None Include="resources\shaders\common\ffx_cas.h">
<DeploymentContent>true</DeploymentContent>
</None>
<None Include="resources\GameIndex.yaml">
<None Include="resources\shaders\dx11\cas.hlsl">
<DeploymentContent>true</DeploymentContent>
</None>
<Text Include="readme.txt">
<DeploymentContent>false</DeploymentContent>
</Text>
<Text Include="resources\game_controller_db.txt">
<DeploymentContent>true</DeploymentContent>
</Text>
<Text Include="resources\sounds\achievements\README.txt" />
</ItemGroup>
<ItemGroup>
<Media Include="resources\sounds\achievements\lbsubmit.wav" />
<Media Include="resources\sounds\achievements\message.wav" />
<Media Include="resources\sounds\achievements\unlock.wav" />
</ItemGroup>
<ItemGroup>
<Text Include="resources\shaders\common\fxaa.fx">
<FileType>Document</FileType>
</Text>
<Text Include="resources\shaders\dx11\cas.hlsl">
<DeploymentContent>true</DeploymentContent>
<FileType>Document</FileType>
</Text>
<Text Include="resources\shaders\dx11\convert.fx">
<None Include="resources\shaders\dx11\convert.fx">
<DeploymentContent>true</DeploymentContent>
<FileType>Document</FileType>
</Text>
<Text Include="resources\shaders\dx11\imgui.fx">
</None>
<None Include="resources\shaders\dx11\imgui.fx">
<DeploymentContent>true</DeploymentContent>
<FileType>Document</FileType>
</Text>
<Text Include="resources\shaders\dx11\interlace.fx">
</None>
<None Include="resources\shaders\dx11\interlace.fx">
<DeploymentContent>true</DeploymentContent>
<FileType>Document</FileType>
</Text>
<Text Include="resources\shaders\dx11\merge.fx">
</None>
<None Include="resources\shaders\dx11\merge.fx">
<DeploymentContent>true</DeploymentContent>
<FileType>Document</FileType>
</Text>
<Text Include="resources\shaders\dx11\present.fx">
</None>
<None Include="resources\shaders\dx11\present.fx">
<DeploymentContent>true</DeploymentContent>
<FileType>Document</FileType>
</Text>
<Text Include="resources\shaders\dx11\shadeboost.fx">
</None>
<None Include="resources\shaders\dx11\shadeboost.fx">
<DeploymentContent>true</DeploymentContent>
<FileType>Document</FileType>
</Text>
<Text Include="resources\shaders\dx11\tfx.fx">
</None>
<None Include="resources\shaders\dx11\tfx.fx">
<DeploymentContent>true</DeploymentContent>
<FileType>Document</FileType>
</Text>
</ItemGroup>
<ItemGroup>
<Font Include="resources\fonts\fa-solid-900.ttf">
</None>
<None Include="resources\sounds\achievements\lbsubmit.wav">
<DeploymentContent>true</DeploymentContent>
</Font>
<Font Include="resources\fonts\Roboto-Regular.ttf">
</None>
<None Include="resources\sounds\achievements\message.wav">
<DeploymentContent>true</DeploymentContent>
</Font>
<Font Include="resources\fonts\RobotoMono-Medium.ttf">
</None>
<None Include="resources\sounds\achievements\unlock.wav">
<DeploymentContent>true</DeploymentContent>
</Font>
</None>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
Expand Down

0 comments on commit 8071d62

Please sign in to comment.