Commit graph

171 commits

Author SHA1 Message Date
squidbus
9ace79a4d2
Switch to upstream plume. (#1645)
Some checks are pending
validate-internal / build (push) Waiting to run
2025-08-03 19:52:08 +03:00
squidbus
80e779afd9
Add support for macOS. (#745) 2025-08-03 18:56:42 +03:00
Skyth (Asilkan)
325e4d34a0
Fix profiler crashing in the installer. (#1507)
Some checks failed
validate-internal / build (push) Has been cancelled
2025-04-04 00:17:00 +03:00
Skyth (Asilkan)
21be4e17fb
Try creating the D3D12 device again if redirection to Vulkan fails. (#1504) 2025-04-03 16:02:30 +03:00
Skyth (Asilkan)
8370312454
Redirect Intel GPUs to Vulkan on auto graphics API mode. (#1491)
Some checks failed
validate-internal / build (push) Has been cancelled
2025-03-30 19:06:03 +03:00
squidbus
f5f92d0761
Prevent rendering ownership change between command lists. (#1486)
Some checks are pending
validate-internal / build (push) Waiting to run
2025-03-30 15:53:11 +03:00
Skyth (Asilkan)
49d3b675ed
Implement a mechanism to survive from GPU driver crashes on Windows. (#1480)
Some checks are pending
validate-internal / build (push) Waiting to run
2025-03-30 04:36:55 +03:00
Skyth (Asilkan)
33b557e68b
Check if the 4 GB memory allocation failed. (#1459)
* Check if the 4 GB memory allocation failed.

* Update UnleashedRecomp/locale/locale.cpp

Co-authored-by: Hyper <34012267+hyperbx@users.noreply.github.com>

* Update locale.cpp

* Add localizations.

* Fix installer not booting with the changes.

* Fix stale reference crash.

---------

Co-authored-by: Hyper <34012267+hyperbx@users.noreply.github.com>
2025-03-28 22:38:07 +03:00
Hyper
8e0d1f2873
Added MSAA level availability checks (#1446) 2025-03-24 20:57:50 +03:00
Skyth (Asilkan)
d15bb7a501
GPU Upload Heap & UMA. (#1421)
Some checks are pending
validate-internal / build (push) Waiting to run
* Initial work for GPU upload heap & UMA.

* Finish D3D12 Support.

* Rework the logic for the GPU Upload Heap fallback.

* Only enable UMA on Vulkan on integrated GPUs.

* Fix D3D12 fallback condition.

---------

Co-authored-by: Dario <dariosamo@gmail.com>
2025-03-24 03:07:12 +03:00
Skyth (Asilkan)
a02f34b028
Fix Cool Edge whale not having reflections. (#1441)
Some checks are pending
validate-internal / build (push) Waiting to run
* Fix Cool Edge whale not having reflections.

* Fix Vulkan validation error.
2025-03-23 18:59:10 +03:00
Skyth (Asilkan)
41fd1761b1
Apply half pixel offset in the vertex shader. (#1391) 2025-03-23 17:25:40 +03:00
Skyth (Asilkan)
756d001d35
Disable hardware resolve on Intel GPUs. (#853) 2025-03-06 01:53:36 +03:00
Skyth (Asilkan)
34a23d48db
Force triangle strip workaround for AMD GPUs. (#659) 2025-03-03 03:00:26 +03:00
Skyth (Asilkan)
f9b5e52a8b
Implement fix for buggy Adabat assets hanging async PSO compiler. (#618) 2025-03-03 01:59:35 +03:00
Darío
03ef34ffe8
Dpi fixes (#449)
* Potential fix for DPI scaling.

* Show window size in pixels while in Fullscreen mode.
2025-02-22 16:12:56 +03:00
ĐeäTh
82f81dc7f9
Options menu fixes for Japanese (#436)
* fix options menu descriptions

* add explanation for special gylph characters

* update resources submodule
2025-02-20 21:51:42 +03:00
Skyth (Asilkan)
5f5517977a
Fix SDF font outline sizes. (#435) 2025-02-20 21:14:32 +03:00
ĐeäTh
b101e016cf
Japanese localization (#415)
* translate most option names and setting names

* add most header/button guide japanese localizations

* include furigana usage guidance for japanese localization

* remove os message window furigana note

* fix incorrect kana usage for 'lock'

* add more option localization

* translate achievement notification option

* remove english battle theme description from japanese

* fix compilation errors

* Japanese localization 1st pass

* Revert JP localization taken from in-game

* Use "Window Size"

* add support for zero width line break hints

* add dirty hack for kana being clipped at the right edge of the info panel

* Changed line to original meaning

* Added zero width spaces to option descriptions

* Japanese localization 2nd pass

* Remove furigana from Video_BackendError

* add more japanese specific hacks for installer_wizard description

* locale small fixes

* Update config_locale.cpp

* options menu scroll fixes, minor localization touchups

* adjust installer wizard text spacing

* fix installer wizard text positioning when a line starts with a normal kana in japanese

* Installer adjustment

* option fixes

* Added missing line break on introduction

* do touchups to message window annotation drop shadow

* adjust spacing in TitleMissingDLC text to fit furigana properly

* add brianuuuSonic to credits

* change capitalization of xbox in xbox color correction

* remove usage of temporaries

* tweak cutscene aspect ratio description

* add missing credit for german translation

* update resources submodule

---------

Co-authored-by: brianuuu <38166666+brianuuu@users.noreply.github.com>
2025-02-20 20:20:49 +03:00
Skyth (Asilkan)
ba522c0e42
Draw low quality text for custom UI that is directly part of the game. (#434) 2025-02-20 17:18:27 +03:00
Skyth (Asilkan)
14faa17cd8
Implement workaround for Mesa triangle strip bug. (#428)
* Convert restart indices to degenerate triangles for Mesa.

* Check for Mesa to enable the triangle strip workaround.

* Remove _WIN32 ifndefs.
2025-02-18 21:15:50 +03:00
Skyth (Asilkan)
868e0f922a
Update PSO cache. (#410) 2025-02-14 23:42:30 +03:00
Skyth (Asilkan)
431a6d9841
Fix shadow map values getting lost on resize. (#399) 2025-02-13 20:30:03 +03:00
Skyth (Asilkan)
e9f510e8c9
Comment out PSO_CACHING. (#394)
* Comment out PSO_CACHING.

* Comment out PSO_CACHING further.
2025-02-13 16:05:13 +03:00
Hyper
ab382deb04
video: fix profiler not revealing mouse cursor in fullscreen (#391) 2025-02-13 15:43:03 +03:00
Darío
3081aec7c1
Collect samples over one second for FPS counter and average. (#377) 2025-02-12 00:25:03 +00:00
Hyper
a07610fb7a
Implemented FPS overlay (#361) 2025-02-11 15:15:28 +00:00
Darío
0194c372e9
Replace the default value when applying low end defaults so reset button works properly. (#359)
* Replace the default value when applying low end defaults so reset button works properly.

* Update video.cpp
2025-02-11 15:13:43 +03:00
Darío
0441845f2a
Add Auto Graphics API option, add AMD driver workaround. (#358)
* Add Auto Graphics API option, add AMD driver workaround.

* Remove unused line.
2025-02-11 14:22:03 +03:00
Darío
f6d820faae
GPU Profiling functionality. (#363)
* Added profiling timestamps to Vulkan. Added more profilers in general.

* Add timestamps to D3D12.

* Add update director to the profiler.

---------

Co-authored-by: Skyth <19259897+blueskythlikesclouds@users.noreply.github.com>
2025-02-11 14:21:43 +03:00
Darío
d2a3818700
Add support for preferred device to configuration. (#355)
* Preferred device support.

* Add GraphicsDevice option and fix error in Config class to accept strings.

Co-authored-by: Hyper <34012267+hyperbx@users.noreply.github.com>

---------

Co-authored-by: Hyper <34012267+hyperbx@users.noreply.github.com>
2025-02-11 00:01:12 +03:00
Skyth (Asilkan)
7c1aea4e24
Fix the custom UI drawing in front of ImGui windows. (#335) 2025-02-09 14:25:06 +03:00
Darío
266d436c28
Block exit button from terminating the installer while it's in progress. (#300)
* Block exit button from terminating the installer while it's in progress.

* Fix quit prompt not appearing when closing the game from the taskbar.

---------

Co-authored-by: Skyth <19259897+blueskythlikesclouds@users.noreply.github.com>
2025-02-07 01:21:18 +03:00
Skyth (Asilkan)
9549ba54aa
Implement black bar drawing for loading and cutscenes. (#298) 2025-02-07 00:30:08 +03:00
Skyth (Asilkan)
96108e1759
Use a separate upload buffer allocator for the main thread. (#281) 2025-02-05 17:02:27 +03:00
Skyth
2d56566924 Remove the yield from the render thread. 2025-02-05 12:59:42 +03:00
Hyper
66648d550a
Implemented vertical scrolling for descriptions (#271)
* options_menu: implemented vertical scrolling for descriptions

* use correct size calculation

* remove empty lines from descriptions without value desc, move fix

* remove calculating the space for the next annotation after the last line

---------

Co-authored-by: DeaTh-G <hatvongeorge@gmail.com>
Co-authored-by: DeaTh-G <55578911+DeaTh-G@users.noreply.github.com>
2025-02-04 17:30:42 +00:00
Skyth (Asilkan)
ee97736d58
Make custom UI a bit more accurate looking. (#274)
* Update spacing for default font & pixel snap 2D primitives.

* Replicate the missing info outline from world map.
2025-02-04 14:53:43 +03:00
Skyth (Asilkan)
11d0fd2f9c
Implement rasterization path for framebuffer copy operations. (#270)
* Move all copies & resolves to rasterization.

* Fix Vulkan crash.

* Implement hardware resolve path for both color and depth targets.
2025-02-03 23:02:47 +03:00
Skyth (Asilkan)
aaad10d797
Implement copy bypass optimization. (#262)
* Initial work on copy bypass optimization.

* Force depth stencil textures to be transient.

* Get rid of texture copying for shadow maps.

* Move barrier populate function.

* Set viewport/scissor rect explicitly for MSAA depth resolve.
2025-02-02 21:29:47 +03:00
Skyth (Asilkan)
342d696f99
Implement vertical marquee fade. (#261) 2025-02-02 20:09:19 +03:00
Darío
9d98d507b0
Add low-end defaults for low-end devices. (#252)
* Add low-end defaults for low-end devices. Uses either the reported type by the API or the VRAM.

* Update video.cpp

* Check for UMA flag on D3D12 to detect integrated GPUs.

* Display device type and UMA in inspector.

* Dynamic depth bias on F1.

---------

Co-authored-by: Skyth <19259897+blueskythlikesclouds@users.noreply.github.com>
2025-01-31 22:43:23 +03:00
Darío
cd38776576
Update checker. (#251)
* Update checker.

* Fix build and enum class.

* Get rid of submodule for httplib.

* Get rid of submodule for curl.

* Minor style changes and fix video.cpp Linux build error.

* CTitleStateIntro_patches: implemented update message

* Update update_checker.cpp

* CTitleStateIntro_patches: fix fade out accepting input

---------

Co-authored-by: Hyper <34012267+hyperbx@users.noreply.github.com>
2025-01-31 16:47:15 +03:00
Darío
54d5588d79
Add fallback for creating other video backends. (#254)
* Add fallback for creating other video backends.

* Update video.cpp
2025-01-31 15:45:48 +03:00
Hyper
8cba851212 api: added globals struct 2025-01-31 02:35:00 +00:00
Skyth (Asilkan)
21c1d36836
Allow specifying all corners for ImGui gradients. (#247) 2025-01-30 23:25:19 +03:00
Hyper
93f120ae83
Implemented toggle light (#237)
* Implemented toggle light, moved common textures to imgui_utils

* Fix compilation error.
2025-01-29 14:52:45 +03:00
Hyper
aa6118b448
Implemented title animation for options menu (#235)
* options_menu: implemented title animation

* Adjust options title flash animation.

* Replace use of std::numbers::pi with M_PI.

* Implement shader modifier for options title rectangle.

* Replicate the same scaling applied to the rectangle in world map.

---------

Co-authored-by: Skyth <19259897+blueskythlikesclouds@users.noreply.github.com>
2025-01-29 14:39:10 +03:00
Skyth (Asilkan)
50529a95fc
Make pipeline precompilation/recompilation part of the consumer thread queue. (#229) 2025-01-28 18:24:53 +03:00
Hyper
7b9b4245de
SDL/HID fixes and clean-up (#224) 2025-01-28 00:38:46 +00:00