Commit Graph

24102 Commits

Author SHA1 Message Date
marius david 9de0769002 Merge commit 'd6ca4f11c1' into torzu-merging 2025-01-01 19:32:14 +01:00
marius david ab0b473a8e Merge commit 'ab4c093976' into torzu-merging 2025-01-01 19:30:37 +01:00
marius david eb37e57ffd Merge commit '587825f60a' into torzu-merging 2025-01-01 19:27:12 +01:00
marius david 6d8208478e Merge commit 'cd40133aa4' into torzu-merging 2025-01-01 19:23:04 +01:00
marius david 18220cb4d4 Merge commit 'a1c2940b31' into torzu-merging 2025-01-01 19:19:00 +01:00
marius david f3eae47aa2 Merge commit '93c9c33b9f' into torzu-merging 2025-01-01 18:39:00 +01:00
marius david a215a76eda Merge commit 'a9f6342ea4' into torzu-merging 2025-01-01 18:22:38 +01:00
marius david 7b0c1a84d8 Merge commit 'c432641245' into torzu-merging 2025-01-01 18:21:33 +01:00
marius david ee75e0e457 Merge commit '66ae161cf8' into torzu-merging 2025-01-01 18:19:52 +01:00
marius david ad61f5f432 Merge commit '01d9c403f2' into torzu-merging 2025-01-01 18:16:47 +01:00
marius david 521e4dae5a Merge commit 'a96e97ea13' into torzu-merging 2025-01-01 18:11:50 +01:00
marius david a09f75dec3 Merge commit '2ad113f22c' into torzu-merging 2025-01-01 18:00:24 +01:00
marius david e1a463ba81 Merge commit 'e0e2a4c0c5' into torzu-merging 2025-01-01 17:57:45 +01:00
marius david 7dd8ff60c2 Merge commit 'dfa2204aa2' into torzu-merging 2025-01-01 16:49:02 +01:00
marius david 9a91dd98a0 Merge commit '69a4d26b1ed350a378798ac05d72f890ca3c3d1b' into torzu-merging 2025-01-01 16:45:08 +01:00
marius david 2bbc2437eb Merge some changes related to friends
Merge commit 'd0ef57274a' into torzu-merging
2025-01-01 15:10:17 +01:00
marius david 4197305117 Prohib running main menu when another software is already being emulated
Merge commit 'a5a11e03a1f4433aeb2907f1c1c3364075ed99a3' into torzu-merging
2025-01-01 15:04:12 +01:00
Samuliak 40def7017c
include fmt/ranges.h 2024-10-05 09:10:15 +02:00
Samuliak c52427b676
mark format functions as const 2024-10-05 08:04:46 +02:00
CrimsonHawk 509b880eec
Revert all the trash commits that were breaking build, back to e5c47e911b
This reverts commit 592f93b26c.
2024-10-05 13:50:31 +08:00
lui d6ca4f11c1 profile_manager: Implement firmware avatar selector (#56)
Adds an option to set a user's profile image from the avatars in the firmware. Background color can be changed with a color picker. Also modifies profile image saving to account for this, and as a result images are now saved as JPEG with 100% quality. Any PNG, JPEG, or BMP can now also be used in the image file picker instead of just JPEG.

Also of note: I am not a C/C++ developer so please let me know if anything should be changed. Used ryujinx's implementation and other parts of the yuzu codebase for reference.

Reviewed-on: http://vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion/torzu-emu/torzu/pulls/56
Co-authored-by: lui <lui@vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion>
Co-committed-by: lui <lui@vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion>
2024-10-03 12:50:46 +00:00
echosys ab4c093976 Fix Android crash caused by incorrect type in progress dialog callbacks (#58)
Bug discovered via an incomplete fix in Sudachi.

Some Progress Dialog callbacks pass the wrong type (Double instead of Long) from C++ to Java code causing a crash at runtime.
To fix this a new function is implemented to convert to a Java Long and that is used instead of the function that converts to a Double.

Reviewed-on: http://vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion/torzu-emu/torzu/pulls/58
Co-authored-by: echosys <echosys@noreply.localhost>
Co-committed-by: echosys <echosys@noreply.localhost>
2024-10-03 12:08:28 +00:00
Crunch (Chaz9) 3aca4a3490 Updated 2024-09-29 21:31:09 +01:00
Crunch (Chaz9) 76f6f8de80 ok 2024-09-29 21:28:35 +01:00
Crunch (Chaz9) 592f93b26c Update Core Timing .h file 2024-09-29 21:23:11 +01:00
Exverge 66993e2603 Comment out unimplemented check
In my testing on macOS, MK8 sometimes crashed at this function, giving a void type instead of u32.
I've temporarily commented this out until (if) this is implemented and added a check for if it is implemented
2024-09-15 21:37:12 +02:00
chaphidoesstuff 6be886d0ff audio_core: increment current revision, Courtesy of Sudachi Dev
Originally from 39effa1011/src/audio_core/common/feature_support.h# and my mirror
2024-09-15 17:50:09 +02:00
Herman Semenov e886f27816 Using reserve() for optimization inserts, marked unused pair items and minor code refactor 2024-09-15 17:30:44 +02:00
echosys e157415bd9 Update Android app dependencies (#52)
Update the dependencies of the Android app (used libraries and SDK). The Android SDK was not updated to the latest version, because then the build fails.

The `gradle-wrapper.jar` (the only binary blob touched in this PR) can be verified by checking against the official checksums [here](gradle-wrapper.jar).

Co-authored-by: spectranator <spectranator@vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion>
Reviewed-on: http://vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion/torzu-emu/torzu/pulls/52
Co-authored-by: echosys <echosys@noreply.localhost>
Co-committed-by: echosys <echosys@noreply.localhost>
2024-08-24 16:53:35 +00:00
echosys 587825f60a Fix x86_64 build for Android (#49)
Fixes x86_64 builds for Android by stubbing a function that calls into libadrenotools to query GPU driver information. libadrenotools is only available for arm64.
The function should not be called anyways, as the menu that would display the information is disabled on unsupported devices.

To enable x86_64 for building change the line `abiFilters += listOf("arm64-v8a")` in `src/android/app/build.gradle.kts` to `abiFilters += listOf("arm64-v8a", "x86_64")`.
I did not do this by default as it significantly increases the build time (the native part needs to be build once for each architecture) and increases the app size (this is less of a concern as games are already significantly larger).
It might allow usage on Chromebooks (the internet tells me those run on x86_64) and some few Android devices. The main advantage I see is for development of the app itself, as it allows running it in waydroid for local testing.

Reviewed-on: http://vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion/torzu-emu/torzu/pulls/49
Co-authored-by: echosys <echosys@noreply.localhost>
Co-committed-by: echosys <echosys@noreply.localhost>
2024-08-11 12:11:13 +00:00
anon 0719273fed Reorder configuration tabs (#32)
Co-authored-by: spectranator <spectranator@vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion>
Reviewed-on: http://vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion/torzu-emu/torzu/pulls/32
Co-authored-by: anon <anon@noreply.localhost>
Co-committed-by: anon <anon@noreply.localhost>
2024-08-10 13:28:05 +00:00
echosys cd40133aa4 Be more explicit on struct init (#46)
Older versions of gcc (gcc-11 which is used in the build guide) seem to struggle with these two struct initializations (if I understand this correctly it is using "designated initialization" which is new in C++20) leading to compile errors (see #42).
This replaces those two initializations with a more explicit one that also compiles on gcc-11.

Reviewed-on: http://vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion/torzu-emu/torzu/pulls/46
Co-authored-by: echosys <echosys@noreply.localhost>
Co-committed-by: echosys <echosys@noreply.localhost>
2024-08-10 12:53:04 +00:00
anon c8997e4ab5 Remove elements for removed buttons in web config (#31)
Reviewed-on: http://vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion/torzu-emu/torzu/pulls/31
Co-authored-by: anon <anon@noreply.localhost>
Co-committed-by: anon <anon@noreply.localhost>
2024-07-26 22:15:01 +00:00
anon f38060714a Better text spacing in about dialog (partial #22) 2024-07-26 17:51:02 +02:00
spectranator c92b9f9024 Automatically generate token (#22/#28)
Co-authored-by: anon <anon@noreply.localhost>
Co-authored-by: spectranator <spectranator@y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion>
Reviewed-on: http://vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion/torzu-emu/torzu/pulls/22
Reviewed-on: http://vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion/torzu-emu/torzu/pulls/28
2024-07-26 17:40:08 +02:00
anon a1c2940b31 option to skip compiling the -cmd executable (#26)
There's already a `-DYUZU_ROOM` flag that can be set to OFF to skip compiling that executable.

This adds a `-DYUZU_CMD` flag that is ON by default, but can be set to OFF to also skip compiling the yuzu-cmd executable.

Setting both to OFF saves **_a lot_** of compiling time if you don't ever use either the yuzu-room or yuzu-cmd exes.

Reviewed-on: http://vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion/torzu-emu/torzu/pulls/26
Co-authored-by: anon <anon@noreply.localhost>
Co-committed-by: anon <anon@noreply.localhost>
2024-07-24 23:24:18 +00:00
echosys a41955cc58 Remove early access Android app variant (#27)
Removes the early access Android app variant from the build config and removes the get early access button from the settings tab.

I also tried to remove the code for the variant (different logo + colors) and the code for the button, but I am no Android developer so I might have missed some stuff.
Additionally I did not touch the translation files.

Essentially this gets rid of the now useless fancy button and improves build times as it only needs to build one apk now.

Reviewed-on: http://vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion/torzu-emu/torzu/pulls/27

Spec's note:
Whatever there's left can still be removed at a later point.
Co-authored-by: echosys <echosys@noreply.localhost>
Co-committed-by: echosys <echosys@noreply.localhost>
2024-07-24 23:05:03 +00:00
echosys 7e27e6476d Add option to only optimize SPIRV during load (#13)
Adds a new option "On Load" to the "Optimize SPIRV output" option that turns on optimizations during the loading of the shader cache from disk, but turns it off after that.
The previous checkbox states have been named "Never" for unchecked and "Always" for checked.

The idea is that once the shader cache has most of the shaders in a game cached they can be optimized during initial game startup (where a performance hit matters less) and the few shaders that get compiled during runtime are not optimized to reduce performance hits.

Most of the commit is adding the setting to the Android app, the main logic is in the `gl_shader_cache.cpp` and `vk_pipeline_cache.cpp` files.

Reviewed-on: http://vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion/torzu-emu/torzu/pulls/13
Co-authored-by: echosys <echosys@noreply.localhost>
Co-committed-by: echosys <echosys@noreply.localhost>
2024-07-19 19:14:19 +00:00
spectranator e3ea6f2059 Revert "Added abgr8 srgb to d24s8 conversion shader"
This reverts commit e8f43b7078.
2024-07-06 22:39:54 +02:00
mateomaui 93c9c33b9f revert changes introduced in EA3835 to audio sink auto-select, fixing stuttering in Diablo 3, etc (#3)
Reverts most of this commit (but not all, some parts are still needed, or were reverted already in later EAs): 39c8ddcda2?style=split&whitespace=show-all&show-outdated= or 39c8ddcda2?style=split&whitespace=show-all&show-outdated=

Above commit to the audio sink was first included in EA-3835, changing the way an audio engine is auto-selected by lowest latency... but still doesn't work very well, often using cubeb when it should use SDL.

A side effect of this was that microstuttering was introduced in a few titles. In Diablo 3, the main player character appears to teleport forward a few steps, every couple of steps. It's a consistent, constant stutter when simply walking forward. Occurs for both SDL and cubeb, with cubeb noticeably worse.

3834 and 3833 didn't have this issue with SDL, and the commit above was the bulk of the changes for 3835. Reverting those changes back to the 3833 version has fixed the stutter (for me at least) in D3 as long as SDL is selected (cubeb still stutters). The only observed negative is the audio engine may need to be manually selected in global settings instead of using auto.

Also seems to have fixed intermittent microstutters in TOTK and RDR. Unaware of other titles this may fix, or possibly create a problem for (though creating issues probably is not likely.)
2024-07-06 20:38:09 +00:00
Jarrod Norwell e8f43b7078 Added abgr8 srgb to d24s8 conversion shader 2024-07-06 20:38:09 +00:00
spectranator a9f6342ea4 Added ILibraryAppletSelfAccessor::UnpopInData stub 2024-06-30 17:55:17 +02:00
Reg Tiangha c432641245 MacOS: Fix Debugger namespace naming confilct 2024-06-30 15:18:24 +00:00
Reg Tiangha ccd735ec8a hardware_composer.cpp: Add missing includes 2024-06-30 15:18:24 +00:00
spectranator f064967e32 Fixed multiplayer lobby list (thanks to anonymous contributor!) 2024-06-30 17:14:51 +02:00
spectranator 39af5e51ff Revert "Removed web service reminiscents" in preparation to fix multiplayer lobby list
This reverts commit ffc907460f.
2024-06-30 16:54:56 +02:00
spectranator 002d0559f2 Updated onion site links 2024-06-10 19:41:41 +02:00
Jarrod Norwell 66ae161cf8 Stubbed QueryLastPlayTime 2024-06-01 15:22:10 +02:00
spectranator e339153ede Updated Vulkan stuff for bug fixes and improved hardware compatibility (#21)
Fixes TOTK crashes on Steam Deck and potentially VRAM leak issues

Reviewed-on: http://y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion/torzu-emu/torzu/pulls/21
2024-05-31 15:17:47 +02:00
spectranator 910ffe7c10 Ran clang-format 2024-05-31 10:19:41 +02:00