mirror of
https://github.com/izzy2lost/WeeU.git
synced 2026-07-06 00:19:59 -07:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e0aaf631c4 | ||
|
|
9ebbfb3ae2 | ||
|
|
3869b47c35 | ||
|
|
d303a7f502 | ||
|
|
2461464ba7 | ||
|
|
76c75f767b | ||
|
|
88f63ca373 | ||
|
|
643ac57a30 | ||
|
|
4561a6929c | ||
|
|
8f674933d2 | ||
|
|
028b3f7992 | ||
|
|
c40466f3a8 | ||
|
|
1bcc064593 | ||
|
|
ffa213c794 | ||
|
|
c217b3ee32 | ||
|
|
dd1cb1cccf | ||
|
|
9df1325d14 | ||
|
|
271a4e4719 | ||
|
|
15b3a3f77d | ||
|
|
665a34e518 | ||
|
|
753040f73a | ||
|
|
e88d20cbfb | ||
|
|
f0938e1a23 | ||
|
|
df0e2f7881 | ||
|
|
ada8bbb3b4 | ||
|
|
a19ed46b2a | ||
|
|
d251ce07e0 | ||
|
|
f42bebd196 | ||
|
|
0412dec078 | ||
|
|
f65dbe8437 | ||
|
|
8b3f36ad50 | ||
|
|
d6ba61cf64 | ||
|
|
2b9edced81 | ||
|
|
b07e9efba4 | ||
|
|
52cc7c5996 | ||
|
|
431c5a101f | ||
|
|
0c9fb3143f | ||
|
|
638e9e1f87 | ||
|
|
b724a657e6 | ||
|
|
551f821109 | ||
|
|
00968acc1d | ||
|
|
4519a59d74 | ||
|
|
8a0fe21589 | ||
|
|
fb5ecca157 | ||
|
|
11f6e2b7ee | ||
|
|
9541c8ae85 | ||
|
|
cceb4f6d0e | ||
|
|
ecfbbd4e26 | ||
|
|
3767257220 | ||
|
|
3fb4b5e26c | ||
|
|
a28d67bafd | ||
|
|
6ecc4be0da | ||
|
|
35afb99c99 | ||
|
|
25dae98ce0 | ||
|
|
53c7daa603 |
@@ -162,6 +162,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: cemu-bin-windows-x64
|
name: cemu-bin-windows-x64
|
||||||
path: ./bin/Cemu.exe
|
path: ./bin/Cemu.exe
|
||||||
|
|
||||||
|
|
||||||
build-macos:
|
build-macos:
|
||||||
runs-on: macos-12
|
runs-on: macos-12
|
||||||
steps:
|
steps:
|
||||||
@@ -213,7 +215,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake .. ${{ env.BUILD_FLAGS }} -DCMAKE_BUILD_TYPE=${{ env.BUILD_MODE }} -DCMAKE_C_COMPILER=/usr/local/opt/llvm@14/bin/clang -DCMAKE_CXX_COMPILER=/usr/local/opt/llvm@14/bin/clang++ -G Ninja
|
cmake .. ${{ env.BUILD_FLAGS }} -DCMAKE_BUILD_TYPE=${{ env.BUILD_MODE }} -DPORTABLE=OFF -DMACOS_BUNDLE=ON -DCMAKE_C_COMPILER=/usr/local/opt/llvm@14/bin/clang -DCMAKE_CXX_COMPILER=/usr/local/opt/llvm@14/bin/clang++ -G Ninja
|
||||||
|
|
||||||
- name: "Build Cemu"
|
- name: "Build Cemu"
|
||||||
run: |
|
run: |
|
||||||
@@ -221,11 +223,20 @@ jobs:
|
|||||||
|
|
||||||
- name: Prepare artifact
|
- name: Prepare artifact
|
||||||
if: ${{ inputs.deploymode == 'release' }}
|
if: ${{ inputs.deploymode == 'release' }}
|
||||||
run: chmod a+x bin/Cemu_release && mv bin/Cemu_release bin/Cemu
|
run: |
|
||||||
|
mkdir bin/Cemu_app
|
||||||
|
mv bin/Cemu_release.app bin/Cemu_app/Cemu.app
|
||||||
|
mv bin/Cemu_app/Cemu.app/Contents/MacOS/Cemu_release bin/Cemu_app/Cemu.app/Contents/MacOS/Cemu
|
||||||
|
sed -i '' 's/Cemu_release/Cemu/g' bin/Cemu_app/Cemu.app/Contents/Info.plist
|
||||||
|
chmod a+x bin/Cemu_app/Cemu.app/Contents/MacOS/Cemu
|
||||||
|
ln -s /Applications bin/Cemu_app/Applications
|
||||||
|
hdiutil create ./bin/tmp.dmg -ov -volname "Cemu" -fs HFS+ -srcfolder "./bin/Cemu_app"
|
||||||
|
hdiutil convert ./bin/tmp.dmg -format UDZO -o bin/Cemu.dmg
|
||||||
|
rm bin/tmp.dmg
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
if: ${{ inputs.deploymode == 'release' }}
|
if: ${{ inputs.deploymode == 'release' }}
|
||||||
with:
|
with:
|
||||||
name: cemu-bin-macos-x64
|
name: cemu-bin-macos-x64
|
||||||
path: ./bin/Cemu
|
path: ./bin/Cemu.dmg
|
||||||
@@ -64,13 +64,7 @@ jobs:
|
|||||||
rm -r ./${{ env.CEMU_FOLDER_NAME }}
|
rm -r ./${{ env.CEMU_FOLDER_NAME }}
|
||||||
|
|
||||||
- name: Create release from macos-bin
|
- name: Create release from macos-bin
|
||||||
run: |
|
run: cp cemu-bin-macos-x64/Cemu.dmg upload/cemu-${{ env.CEMU_VERSION }}-macos-12-x64.dmg
|
||||||
ls ./
|
|
||||||
ls ./bin/
|
|
||||||
cp -R ./bin ./${{ env.CEMU_FOLDER_NAME }}
|
|
||||||
mv cemu-bin-macos-x64/Cemu ./${{ env.CEMU_FOLDER_NAME }}/Cemu
|
|
||||||
zip -9 -r upload/cemu-${{ env.CEMU_VERSION }}-macos-12-x64.zip ${{ env.CEMU_FOLDER_NAME }}
|
|
||||||
rm -r ./${{ env.CEMU_FOLDER_NAME }}
|
|
||||||
|
|
||||||
- name: Create release
|
- name: Create release
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -68,13 +68,7 @@ jobs:
|
|||||||
rm -r ./${{ env.CEMU_FOLDER_NAME }}
|
rm -r ./${{ env.CEMU_FOLDER_NAME }}
|
||||||
|
|
||||||
- name: Create release from macos-bin
|
- name: Create release from macos-bin
|
||||||
run: |
|
run: cp cemu-bin-macos-x64/Cemu.dmg upload/cemu-${{ env.CEMU_VERSION }}-macos-12-x64.dmg
|
||||||
ls ./
|
|
||||||
ls ./bin/
|
|
||||||
cp -R ./bin ./${{ env.CEMU_FOLDER_NAME }}
|
|
||||||
mv cemu-bin-macos-x64/Cemu ./${{ env.CEMU_FOLDER_NAME }}/Cemu
|
|
||||||
zip -9 -r upload/cemu-${{ env.CEMU_VERSION }}-macos-12-x64.zip ${{ env.CEMU_FOLDER_NAME }}
|
|
||||||
rm -r ./${{ env.CEMU_FOLDER_NAME }}
|
|
||||||
|
|
||||||
- name: Create release
|
- name: Create release
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -30,9 +30,11 @@ bin/Cemu_*.ilk
|
|||||||
bin/Cemu.exe.backup
|
bin/Cemu.exe.backup
|
||||||
bin/mlc01/*
|
bin/mlc01/*
|
||||||
bin/settings.xml
|
bin/settings.xml
|
||||||
|
bin/network_services.xml
|
||||||
bin/title_list_cache.xml
|
bin/title_list_cache.xml
|
||||||
bin/debugger/*
|
bin/debugger/*
|
||||||
bin/sdcard/*
|
bin/sdcard/*
|
||||||
|
bin/screenshots/*
|
||||||
|
|
||||||
!bin/shaderCache/info.txt
|
!bin/shaderCache/info.txt
|
||||||
bin/shaderCache/*
|
bin/shaderCache/*
|
||||||
|
|||||||
@@ -13,3 +13,6 @@
|
|||||||
[submodule "dependencies/Vulkan-Headers"]
|
[submodule "dependencies/Vulkan-Headers"]
|
||||||
path = dependencies/Vulkan-Headers
|
path = dependencies/Vulkan-Headers
|
||||||
url = https://github.com/KhronosGroup/Vulkan-Headers
|
url = https://github.com/KhronosGroup/Vulkan-Headers
|
||||||
|
[submodule "dependencies/imgui"]
|
||||||
|
path = dependencies/imgui
|
||||||
|
url = https://github.com/ocornut/imgui
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ To compile Cemu, a recent enough compiler and STL with C++20 support is required
|
|||||||
`cmake -S . -B build -DCMAKE_BUILD_TYPE=release -DCMAKE_C_COMPILER=/usr/bin/clang-12 -DCMAKE_CXX_COMPILER=/usr/bin/clang++-12 -G Ninja -DCMAKE_MAKE_PROGRAM=/usr/bin/ninja`
|
`cmake -S . -B build -DCMAKE_BUILD_TYPE=release -DCMAKE_C_COMPILER=/usr/bin/clang-12 -DCMAKE_CXX_COMPILER=/usr/bin/clang++-12 -G Ninja -DCMAKE_MAKE_PROGRAM=/usr/bin/ninja`
|
||||||
|
|
||||||
#### For Arch and derivatives:
|
#### For Arch and derivatives:
|
||||||
`sudo pacman -S git cmake clang ninja nasm base-devel linux-headers gtk3 libsecret libgcrypt systemd freeglut zip unzip libpulse`
|
`sudo pacman -S --needed git cmake llvm clang ninja nasm base-devel linux-headers gtk3 libsecret libgcrypt systemd freeglut zip unzip libpulse`
|
||||||
|
|
||||||
#### For Fedora and derivatives:
|
#### For Fedora and derivatives:
|
||||||
`sudo dnf install git cmake clang ninja-build nasm kernel-headers gtk3-devel libsecret-devel libgcrypt-devel systemd-devel freeglut-devel perl-core zlib-devel cubeb-devel`
|
`sudo dnf install git cmake clang ninja-build nasm kernel-headers gtk3-devel libsecret-devel libgcrypt-devel systemd-devel freeglut-devel perl-core zlib-devel cubeb-devel`
|
||||||
@@ -67,13 +67,16 @@ LLVM 15 isn't supported due to compatibility issues with Boost dependency. The O
|
|||||||
API isn't support on MacOS, Vulkan must be used. Additionally Vulkan must be used through the
|
API isn't support on MacOS, Vulkan must be used. Additionally Vulkan must be used through the
|
||||||
Molten-VK compatibility layer.
|
Molten-VK compatibility layer.
|
||||||
|
|
||||||
|
### Installing brew
|
||||||
|
`/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"`
|
||||||
|
|
||||||
### Installing dependencies
|
### Installing dependencies
|
||||||
`brew install git cmake llvm@14 ninja nasm molten-vk`
|
`brew install git cmake llvm@14 ninja nasm molten-vk`
|
||||||
|
|
||||||
### Build Cemu using cmake and clang
|
### Build Cemu using cmake and clang
|
||||||
1. `git clone --recursive https://github.com/cemu-project/Cemu`
|
1. `git clone --recursive https://github.com/cemu-project/Cemu`
|
||||||
2. `cd Cemu`
|
2. `cd Cemu`
|
||||||
3. `cmake -S . -B build -DCMAKE_BUILD_TYPE=release -DPUBLIC_RELEASE=ON
|
3. `cmake -S . -B build -DCMAKE_BUILD_TYPE=release
|
||||||
-DCMAKE_C_COMPILER=/usr/local/opt/llvm@14/bin/clang -DCMAKE_CXX_COMPILER=/usr/local/opt/llvm@14/bin/clang++ -G Ninja`
|
-DCMAKE_C_COMPILER=/usr/local/opt/llvm@14/bin/clang -DCMAKE_CXX_COMPILER=/usr/local/opt/llvm@14/bin/clang++ -G Ninja`
|
||||||
4. `cmake --build build`
|
4. `cmake --build build`
|
||||||
5. You should now have a Cemu executable file in the /bin folder, which you can run using `./bin/Cemu_release`.
|
5. You should now have a Cemu executable file in the /bin folder, which you can run using `./bin/Cemu_release`.
|
||||||
|
|||||||
+7
-2
@@ -1,6 +1,8 @@
|
|||||||
cmake_minimum_required(VERSION 3.21.1)
|
cmake_minimum_required(VERSION 3.21.1)
|
||||||
|
|
||||||
option(ENABLE_VCPKG "Enable the vcpkg package manager" ON)
|
option(ENABLE_VCPKG "Enable the vcpkg package manager" ON)
|
||||||
|
option(PORTABLE "All data created and maintained by Cemu will be in the directory where the executable file is located" ON)
|
||||||
|
option(MACOS_BUNDLE "The executable when built on macOS will be created as an application bundle" OFF)
|
||||||
set(EXPERIMENTAL_VERSION "" CACHE STRING "") # used by CI script to set experimental version
|
set(EXPERIMENTAL_VERSION "" CACHE STRING "") # used by CI script to set experimental version
|
||||||
|
|
||||||
if (EXPERIMENTAL_VERSION)
|
if (EXPERIMENTAL_VERSION)
|
||||||
@@ -19,7 +21,7 @@ if (ENABLE_VCPKG)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
project(Cemu VERSION 2.0)
|
project(Cemu VERSION 2.0.0)
|
||||||
|
|
||||||
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
|
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
|
||||||
|
|
||||||
@@ -30,6 +32,10 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
|||||||
|
|
||||||
add_compile_definitions($<$<CONFIG:Debug>:CEMU_DEBUG_ASSERT>) # if build type is debug, set CEMU_DEBUG_ASSERT
|
add_compile_definitions($<$<CONFIG:Debug>:CEMU_DEBUG_ASSERT>) # if build type is debug, set CEMU_DEBUG_ASSERT
|
||||||
|
|
||||||
|
if(PORTABLE)
|
||||||
|
add_compile_definitions(PORTABLE)
|
||||||
|
endif()
|
||||||
|
|
||||||
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
||||||
|
|
||||||
# enable link time optimization for release builds
|
# enable link time optimization for release builds
|
||||||
@@ -83,7 +89,6 @@ find_package(Threads REQUIRED)
|
|||||||
find_package(SDL2 REQUIRED)
|
find_package(SDL2 REQUIRED)
|
||||||
find_package(CURL REQUIRED)
|
find_package(CURL REQUIRED)
|
||||||
find_package(pugixml REQUIRED)
|
find_package(pugixml REQUIRED)
|
||||||
find_package(imgui REQUIRED)
|
|
||||||
find_package(RapidJSON REQUIRED)
|
find_package(RapidJSON REQUIRED)
|
||||||
find_package(Boost COMPONENTS program_options filesystem nowide REQUIRED)
|
find_package(Boost COMPONENTS program_options filesystem nowide REQUIRED)
|
||||||
find_package(libzip REQUIRED)
|
find_package(libzip REQUIRED)
|
||||||
|
|||||||
@@ -1,7 +1 @@
|
|||||||
# LEGO City Undercover (USA)
|
# LEGO City Undercover (USA)
|
||||||
|
|
||||||
[General]
|
|
||||||
loadSharedLibraries = false
|
|
||||||
|
|
||||||
[Graphics]
|
|
||||||
GPUBufferCacheAccuracy = 0
|
|
||||||
@@ -1,7 +1 @@
|
|||||||
# LEGO City Undercover (EUR)
|
# LEGO City Undercover (EUR)
|
||||||
|
|
||||||
[General]
|
|
||||||
loadSharedLibraries = false
|
|
||||||
|
|
||||||
[Graphics]
|
|
||||||
GPUBufferCacheAccuracy = 0
|
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
# Monster Hunter 3(tri-)GHD Ver. (JPN)
|
# Monster Hunter 3(tri-)GHD Ver. (JPN)
|
||||||
|
|
||||||
[Graphics]
|
[Graphics]
|
||||||
GPUBufferCacheAccuracy = 1
|
|
||||||
streamoutBufferCacheSize = 48
|
streamoutBufferCacheSize = 48
|
||||||
@@ -1,7 +1,4 @@
|
|||||||
# Super Mario 3D World (JPN)
|
# Super Mario 3D World (JPN)
|
||||||
|
|
||||||
[CPU]
|
|
||||||
|
|
||||||
[Graphics]
|
[Graphics]
|
||||||
accurateShaderMul = false
|
accurateShaderMul = false
|
||||||
GPUBufferCacheAccuracy = 2
|
|
||||||
@@ -2,6 +2,3 @@
|
|||||||
|
|
||||||
[CPU]
|
[CPU]
|
||||||
cpuMode = Singlecore-Recompiler
|
cpuMode = Singlecore-Recompiler
|
||||||
|
|
||||||
[Graphics]
|
|
||||||
GPUBufferCacheAccuracy = 2
|
|
||||||
@@ -1,7 +1 @@
|
|||||||
# Scribblenauts Unlimited (EUR)
|
# Scribblenauts Unlimited (EUR)
|
||||||
|
|
||||||
[General]
|
|
||||||
loadSharedLibraries = true
|
|
||||||
|
|
||||||
[Graphics]
|
|
||||||
GPUBufferCacheAccuracy = 0
|
|
||||||
@@ -1,7 +1 @@
|
|||||||
# Ben 10 Omniverse (USA)
|
# Ben 10 Omniverse (USA)
|
||||||
|
|
||||||
[General]
|
|
||||||
loadSharedLibraries = false
|
|
||||||
|
|
||||||
[Graphics]
|
|
||||||
GPUBufferCacheAccuracy = 0
|
|
||||||
@@ -1,4 +1 @@
|
|||||||
# Rayman Legends (USA)
|
# Rayman Legends (USA)
|
||||||
|
|
||||||
[Graphics]
|
|
||||||
GPUBufferCacheAccuracy = 0
|
|
||||||
@@ -1,7 +1 @@
|
|||||||
# Scribblenauts Unlimited (US)
|
# Scribblenauts Unlimited (US)
|
||||||
|
|
||||||
[General]
|
|
||||||
loadSharedLibraries = true
|
|
||||||
|
|
||||||
[Graphics]
|
|
||||||
GPUBufferCacheAccuracy = 0
|
|
||||||
@@ -1,4 +1 @@
|
|||||||
# Mass Effect 3 Special Edition (USA)
|
# Mass Effect 3 Special Edition (USA)
|
||||||
|
|
||||||
[Graphics]
|
|
||||||
GPUBufferCacheAccuracy = 0
|
|
||||||
@@ -1,4 +1 @@
|
|||||||
# ZombiU (US)
|
# ZombiU (US)
|
||||||
|
|
||||||
[Graphics]
|
|
||||||
GPUBufferCacheAccuracy = 0
|
|
||||||
@@ -1,4 +1 @@
|
|||||||
# 007 Legends (US)
|
# 007 Legends (US)
|
||||||
|
|
||||||
[Graphics]
|
|
||||||
GPUBufferCacheAccuracy = 0
|
|
||||||
@@ -1,7 +1 @@
|
|||||||
# Cabela's Dangerous Hunts 2013 (USA)
|
# Cabela's Dangerous Hunts 2013 (USA)
|
||||||
|
|
||||||
[General]
|
|
||||||
loadSharedLibraries = false
|
|
||||||
|
|
||||||
[Graphics]
|
|
||||||
GPUBufferCacheAccuracy = 0
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user