diff --git a/.ci/scripts/linux/docker.sh b/.ci/scripts/linux/docker.sh index 7bba01d62a..72e6c0b15f 100755 --- a/.ci/scripts/linux/docker.sh +++ b/.ci/scripts/linux/docker.sh @@ -51,7 +51,7 @@ rm -vf AppDir/usr/bin/yuzu-cmd AppDir/usr/bin/yuzu-tester # Download tools needed to build an AppImage wget -nc https://raw.githubusercontent.com/yuzu-emu/ext-linux-bin/main/appimage/deploy-linux.sh wget -nc https://raw.githubusercontent.com/yuzu-emu/AppImageKit-checkrt/old/AppRun.sh -wget -nc https://github.com/yuzu-emu/ext-linux-bin/raw/main/appimage/exec-x86_64.so +wget -nc https://codeberg.org/yuzu-emu/ext-linux-bin/raw/main/appimage/exec-x86_64.so # Set executable bit chmod 755 \ deploy-linux.sh \ diff --git a/.ci/scripts/linux/upload.sh b/.ci/scripts/linux/upload.sh index fbb2d9c1b0..b33699de98 100755 --- a/.ci/scripts/linux/upload.sh +++ b/.ci/scripts/linux/upload.sh @@ -27,7 +27,7 @@ fi # Build an AppImage cd build -wget -nc https://github.com/yuzu-emu/ext-linux-bin/raw/main/appimage/appimagetool-x86_64.AppImage +wget -nc https://codeberg.org/yuzu-emu/ext-linux-bin/raw/main/appimage/appimagetool-x86_64.AppImage chmod 755 appimagetool-x86_64.AppImage # if FUSE is not available, then fallback to extract and run diff --git a/.ci/scripts/merge/apply-patches-by-label.py b/.ci/scripts/merge/apply-patches-by-label.py index 17bb7dc13d..a12571e8ca 100644 --- a/.ci/scripts/merge/apply-patches-by-label.py +++ b/.ci/scripts/merge/apply-patches-by-label.py @@ -15,7 +15,7 @@ def check_individual(labels): return False def do_page(page): - url = f"https://api.github.com/repos/yuzu-emu/yuzu/pulls?page={page}" + url = f"https://api.github.com/repos/yuzu-mirror/yuzu/pulls?page={page}" response = requests.get(url) response.raise_for_status() if (response.ok): @@ -26,7 +26,7 @@ def do_page(page): if (check_individual(pr["labels"])): pn = pr["number"] print(f"Matched PR# {pn}") - print(subprocess.check_output(["git", "fetch", "https://github.com/yuzu-emu/yuzu.git", f"pull/{pn}/head:pr-{pn}", "-f", "--no-recurse-submodules"])) + print(subprocess.check_output(["git", "fetch", "https://codeberg.org/yuzu-emu/yuzu.git", f"pull/{pn}/head:pr-{pn}", "-f", "--no-recurse-submodules"])) print(subprocess.check_output(["git", "merge", "--squash", f"pr-{pn}"])) print(subprocess.check_output(["git", "commit", f"-m\"Merge {tagline} PR {pn}\""])) diff --git a/.github/workflows/android-merge.js b/.github/workflows/android-merge.js index 315f81ba03..983dd0d94b 100644 --- a/.github/workflows/android-merge.js +++ b/.github/workflows/android-merge.js @@ -126,7 +126,7 @@ async function tagAndPushEA(github, owner, repo, execa) { const newTag = `ea-${tagNumber + 1}`; console.log(`New tag: ${newTag}`); console.info('Pushing tags to GitHub ...'); - await execa("git", ["remote", "add", "android", "https://github.com/yuzu-emu/yuzu-android.git"]); + await execa("git", ["remote", "add", "android", "https://codeberg.org/yuzu-emu/yuzu-android.git"]); await execa("git", ["fetch", "android"]); await execa("git", ['tag', newTag]); @@ -224,7 +224,7 @@ async function resetBranch(execa) { console.log("::group::Reset master branch"); let hasFailed = false; try { - await execa("git", ["remote", "add", "source", "https://github.com/yuzu-emu/yuzu.git"]); + await execa("git", ["remote", "add", "source", "https://codeberg.org/yuzu-emu/yuzu.git"]); await execa("git", ["fetch", "source"]); const process1 = await execa("git", ["rev-parse", "source/master"]); const headCommit = process1.stdout; @@ -274,7 +274,7 @@ async function getMainlineTag(execa) { console.log(`::group::Getting mainline tag android-${MAINLINE_TAG}`); let hasFailed = false; try { - await execa("git", ["remote", "add", "mainline", "https://github.com/yuzu-emu/yuzu-android.git"]); + await execa("git", ["remote", "add", "mainline", "https://codeberg.org/yuzu-emu/yuzu-android.git"]); await execa("git", ["fetch", "mainline", "--tags"]); await execa("git", ["checkout", `tags/android-${MAINLINE_TAG}`]); await execa("git", ["submodule", "update", "--init", "--recursive"]); @@ -300,7 +300,7 @@ async function mergebot(github, context, execa) { } console.info("The following pull requests will be merged:"); console.table(displayList); - await fetchPullRequests(pulls, "https://github.com/yuzu-emu/yuzu", execa); + await fetchPullRequests(pulls, "https://codeberg.org/yuzu-emu/yuzu", execa); const mergeResults = await mergePullRequests(pulls, execa); if (BUILD_EA) { diff --git a/.gitmodules b/.gitmodules index 52256d86f7..8ee467944b 100644 --- a/.gitmodules +++ b/.gitmodules @@ -9,22 +9,22 @@ url = https://github.com/mozilla/cubeb.git [submodule "dynarmic"] path = externals/dynarmic - url = https://github.com/merryhime/dynarmic.git + url = https://codeberg.org/yuzu-emu/dynarmic.git [submodule "libusb"] path = externals/libusb/libusb url = https://github.com/libusb/libusb.git [submodule "discord-rpc"] path = externals/discord-rpc - url = https://github.com/yuzu-emu/discord-rpc.git + url = https://codeberg.org/yuzu-emu/discord-rpc.git [submodule "Vulkan-Headers"] path = externals/Vulkan-Headers url = https://github.com/KhronosGroup/Vulkan-Headers.git [submodule "sirit"] path = externals/sirit - url = https://github.com/yuzu-emu/sirit.git + url = https://codeberg.org/yuzu-emu/sirit.git [submodule "mbedtls"] path = externals/mbedtls - url = https://github.com/yuzu-emu/mbedtls.git + url = https://codeberg.org/yuzu-emu/mbedtls.git [submodule "xbyak"] path = externals/xbyak url = https://github.com/herumi/xbyak.git @@ -51,19 +51,19 @@ url = https://github.com/bylaws/libadrenotools.git [submodule "tzdb_to_nx"] path = externals/nx_tzdb/tzdb_to_nx - url = https://github.com/lat9nq/tzdb_to_nx.git + url = https://codeberg.org/yuzu-emu/tzdb_to_nx.git [submodule "VulkanMemoryAllocator"] path = externals/VulkanMemoryAllocator url = https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git [submodule "breakpad"] path = externals/breakpad - url = https://github.com/yuzu-emu/breakpad.git + url = https://codeberg.org/yuzu-emu/breakpad.git [submodule "simpleini"] path = externals/simpleini url = https://github.com/brofield/simpleini.git [submodule "oaknut"] path = externals/oaknut - url = https://github.com/merryhime/oaknut + url = https://codeberg.org/yuzu-emu/oaknut [submodule "Vulkan-Utility-Libraries"] path = externals/Vulkan-Utility-Libraries url = https://github.com/KhronosGroup/Vulkan-Utility-Libraries.git diff --git a/CMakeLists.txt b/CMakeLists.txt index d460f1f7d3..127e3a4a5f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -126,7 +126,7 @@ if (YUZU_USE_BUNDLED_VCPKG) set(VCPKG_DOWNLOADS_PATH ${PROJECT_SOURCE_DIR}/externals/vcpkg/downloads) set(NASM_VERSION "2.16.01") set(NASM_DESTINATION_PATH ${VCPKG_DOWNLOADS_PATH}/nasm-${NASM_VERSION}-win64.zip) - set(NASM_DOWNLOAD_URL "https://github.com/yuzu-emu/ext-windows-bin/raw/master/nasm/nasm-${NASM_VERSION}-win64.zip") + set(NASM_DOWNLOAD_URL "https://codeberg.org/yuzu-emu/ext-windows-bin/raw/master/nasm/nasm-${NASM_VERSION}-win64.zip") if (NOT EXISTS ${NASM_DESTINATION_PATH}) file(DOWNLOAD ${NASM_DOWNLOAD_URL} ${NASM_DESTINATION_PATH} SHOW_PROGRESS STATUS NASM_STATUS) @@ -620,7 +620,7 @@ if (NOT CLANG_FORMAT) message(STATUS "Clang format not found! Downloading...") set(CLANG_FORMAT "${PROJECT_BINARY_DIR}/externals/clang-format${CLANG_FORMAT_POSTFIX}.exe") file(DOWNLOAD - https://github.com/yuzu-emu/ext-windows-bin/raw/master/clang-format${CLANG_FORMAT_POSTFIX}.exe + https://codeberg.org/yuzu-emu/ext-windows-bin/raw/master/clang-format${CLANG_FORMAT_POSTFIX}.exe "${CLANG_FORMAT}" SHOW_PROGRESS STATUS DOWNLOAD_SUCCESS) if (NOT DOWNLOAD_SUCCESS EQUAL 0) diff --git a/CMakeModules/DownloadExternals.cmake b/CMakeModules/DownloadExternals.cmake index a52148bd8f..3fc9784737 100644 --- a/CMakeModules/DownloadExternals.cmake +++ b/CMakeModules/DownloadExternals.cmake @@ -7,7 +7,7 @@ # prefix_var: name of a variable which will be set with the path to the extracted contents function(download_bundled_external remote_path lib_name prefix_var) -set(package_base_url "https://github.com/yuzu-emu/") +set(package_base_url "https://codeberg.org/yuzu-emu/") set(package_repo "no_platform") set(package_extension "no_platform") if (WIN32) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md deleted file mode 100644 index 1860f8cffc..0000000000 --- a/CONTRIBUTING.md +++ /dev/null @@ -1,6 +0,0 @@ - - -**The Contributor's Guide has moved to [the yuzu wiki](https://github.com/yuzu-emu/yuzu/wiki/Contributing).** diff --git a/README.md b/README.md index d258584bfa..2f0671c1c5 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,6 @@ SPDX-License-Identifier: GPL-2.0-or-later -->
- Compatibility | Development | - Building | - Download | - Support | License
-## Compatibility - -The emulator is capable of running most commercial games at full speed, provided you meet the [necessary hardware requirements](https://yuzu-emu.org/help/quickstart/#hardware-requirements). - -For a full list of games yuzu supports, please visit our [Compatibility page](https://yuzu-emu.org/game/). - -Check out our [website](https://yuzu-emu.org/) for the latest news on exciting features, monthly progress reports, and more! - ## Development -Most of the development happens on GitHub. It's also where [our central repository](https://github.com/yuzu-emu/yuzu) is hosted. For development discussion, please join us on [Discord](https://discord.com/invite/u77vRWY). +Most of the development happens on Codeberg. It's also where [our central repository](https://codeberg.org/yuzu-emu/yuzu) is hosted. -If you want to contribute, please take a look at the [Contributor's Guide](https://github.com/yuzu-emu/yuzu/wiki/Contributing) and [Developer Information](https://github.com/yuzu-emu/yuzu/wiki/Developer-Information). -You can also contact any of the developers on Discord in order to know about the current state of the emulator. +Git history will be rewritten frequently as patches are added and removed from other forks -If you want to contribute to the user interface translation project, please check out the [yuzu project on transifex](https://www.transifex.com/yuzu-emulator/yuzu). We centralize translation work there, and periodically upstream translations. - -## Building - -* __Windows__: [Windows Build](https://github.com/yuzu-emu/yuzu/wiki/Building-For-Windows) -* __Linux__: [Linux Build](https://github.com/yuzu-emu/yuzu/wiki/Building-For-Linux) - -## Download - -You can download the latest releases automatically via the installer on our [downloads](https://yuzu-emu.org/downloads/) page. - - -## Support - -If you enjoy the project and want to support us financially, check out our Patreon! - - -
-
-
-Any donations received will go towards things like:
-* Switch consoles to explore and reverse-engineer the hardware
-* Switch games for testing, reverse-engineering, and implementing new features
-* Web hosting and infrastructure setup
-* Software licenses (e.g. Visual Studio, IDA Pro, etc.)
-* Additional hardware (e.g. GPUs as-needed to improve rendering support, other peripherals to add support for, etc.)
-
-If you wish to support us a different way, please join our [Discord](https://discord.gg/u77vRWY) and talk to bunnei. You may also contact: donations@yuzu-emu.org.
## License
-yuzu is licensed under the GPLv3 (or any later version). Refer to the [LICENSE.txt](https://github.com/yuzu-emu/yuzu/blob/master/LICENSE.txt) file.
+yuzu is licensed under the GPLv3 (or any later version). Refer to the [LICENSE.txt](https://codeberg.org/yuzu-emu/yuzu/raw/branch/main/LICENSE.txt) file.
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index c0c0a19b85..90d127722b 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -448,10 +448,7 @@ GMainWindow::GMainWindow(std::unique_ptr