forked from stenzek/duckstation
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from irixaligned/wntktcsittsdsuwp
integrate the terrors
- Loading branch information
Showing
706 changed files
with
63,578 additions
and
349,742 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,7 +74,6 @@ jobs: | |
call update_rc_version.bat | ||
cd ..\.. | ||
git update-index --assume-unchanged src/duckstation-qt/duckstation-qt.rc | ||
git update-index --assume-unchanged src/duckstation-nogui/duckstation-nogui.rc | ||
- name: Compile x64 release build | ||
shell: cmd | ||
|
@@ -166,7 +165,6 @@ jobs: | |
call update_rc_version.bat | ||
cd ..\.. | ||
git update-index --assume-unchanged src/duckstation-qt/duckstation-qt.rc | ||
git update-index --assume-unchanged src/duckstation-nogui/duckstation-nogui.rc | ||
- name: Compile arm64 release build | ||
shell: cmd | ||
|
@@ -240,11 +238,11 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
path: ~/deps | ||
key: deps ${{ hashFiles('scripts/build-dependencies.sh') }} | ||
key: deps ${{ hashFiles('scripts/build-dependencies-linux.sh') }} | ||
|
||
- name: Build Dependencies | ||
if: steps.cache-deps.outputs.cache-hit != 'true' | ||
run: scripts/build-dependencies.sh "$HOME/deps" | ||
run: scripts/build-dependencies-linux.sh "$HOME/deps" | ||
|
||
- name: Tag as preview build | ||
if: github.ref == 'refs/heads/master' | ||
|
@@ -283,7 +281,7 @@ jobs: | |
linux-flatpak-build: | ||
runs-on: ubuntu-22.04 | ||
container: | ||
image: ghcr.io/flathub-infra/flatpak-github-actions:kde-6.6 | ||
image: ghcr.io/flathub-infra/flatpak-github-actions:kde-6.7 | ||
options: --privileged | ||
timeout-minutes: 120 | ||
steps: | ||
|
@@ -322,7 +320,7 @@ jobs: | |
branch: master | ||
cache: true | ||
restore-cache: true | ||
cache-key: flatpak-x64-${{ hashFiles('.scripts/flatpak/**/*.json') }} | ||
cache-key: flatpak-x64-${{ hashFiles('scripts/flatpak/**/*.json') }} | ||
|
||
# fails due to screenshots.. | ||
#- name: Validate build | ||
|
@@ -344,11 +342,6 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
# Python 3.12 removed distutils, used by MoltenVK -> glslang. | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.11' | ||
|
||
- name: Install packages | ||
shell: bash | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
This fork is only meant to stage minimal code and configuration needed for building UWP binaries. Any general feature requests should go upstream and then be pulled into this project. | ||
This fork is intended to provide a (mostly) identical DuckStation experience on Xbox. | ||
|
||
Any general feature requests should go upstream and then be pulled into this project. | ||
|
||
Credits: | ||
- stenzek/duckstation for inspiration of original UWP app and reuse of UWP downloaders. | ||
- SirMangler/pcsx2 for UWPUtils.h | ||
- stenzek/duckstation for the initial UWP development | ||
- SirMangler/pcsx2 for UWPUtils.h and being a general implementation reference | ||
- worleydl for the initial development of this | ||
|
||
~~WinRT App.cpp is heavily linked to nogui\_host with platform abstractions stripped out. It is my intent to create a WinRT platform to use with noguihost however I've ran into issues with debugging DX in that approach and haven't found a resolution yet. Apologies in advance for DRY violations until this issue is resolved.~~ | ||
|
||
WinRT App.cpp is heavily linked to nogui\_host with platform abstractions stripped out. It is my intent to create a WinRT platform to use with noguihost however I've ran into issues with debugging DX in that approach and haven't found a resolution yet. Apologies in advance for DRY violations until this issue is resolved. | ||
The project no longer relies on NoGUI in any fashion -- WinRT is it's own Host, using FSUI as the husk for most functions (as XAML doesn't work with this configuration, as far as I've tested. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Renderer options. | ||
option(ENABLE_OPENGL "Build with OpenGL renderer" ON) | ||
option(ENABLE_VULKAN "Build with Vulkan renderer" ON) | ||
option(BUILD_NOGUI_FRONTEND "Build the NoGUI frontend" OFF) | ||
option(BUILD_QT_FRONTEND "Build the Qt frontend" ON) | ||
option(BUILD_REGTEST "Build regression test runner" OFF) | ||
option(BUILD_TESTS "Build unit tests" OFF) | ||
|
||
if(LINUX OR BSD) | ||
option(ENABLE_X11 "Support X11 window system" ON) | ||
option(ENABLE_WAYLAND "Support Wayland window system" ON) | ||
endif() | ||
if(APPLE) | ||
option(SKIP_POSTPROCESS_BUNDLE "Disable bundle post-processing, including Qt additions" OFF) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
if(ENABLE_OPENGL) | ||
message(STATUS "Building with OpenGL support.") | ||
endif() | ||
if(ENABLE_VULKAN) | ||
message(STATUS "Building with Vulkan support.") | ||
endif() | ||
if(ENABLE_X11) | ||
message(STATUS "Building with X11 support.") | ||
endif() | ||
if(ENABLE_WAYLAND) | ||
message(STATUS "Building with Wayland support.") | ||
endif() | ||
|
||
if(BUILD_QT_FRONTEND) | ||
message(STATUS "Building Qt frontend.") | ||
endif() | ||
if(BUILD_NOGUI_FRONTEND) | ||
message(STATUS "Building NoGUI frontend.") | ||
endif() | ||
if(BUILD_REGTEST) | ||
message(STATUS "Building RegTest frontend.") | ||
endif() | ||
if(BUILD_TESTS) | ||
message(STATUS "Building unit tests.") | ||
endif() | ||
|
||
if(NOT IS_SUPPORTED_COMPILER) | ||
message(WARNING " | ||
*************** UNSUPPORTED CONFIGURATION *************** | ||
You are not compiling DuckStation with a supported compiler. | ||
It may not even build successfully. | ||
DuckStation only supports the Clang and MSVC compilers. | ||
No support will be provided, continue at your own risk. | ||
*********************************************************") | ||
endif() | ||
|
||
if(WIN32) | ||
message(WARNING " | ||
*************** UNSUPPORTED CONFIGURATION *************** | ||
You are compiling DuckStation with CMake on Windows. | ||
It may not even build successfully. | ||
DuckStation only supports MSBuild on Windows. | ||
No support will be provided, continue at your own risk. | ||
*********************************************************") | ||
endif() |
Oops, something went wrong.