Commit graph

325 commits

Author SHA1 Message Date
Skyth
15e809d65b Interpolate to original 4:3 scale. 2025-01-18 00:41:12 +03:00
Skyth
0f3c7ccfde Add more path flags. 2025-01-18 00:41:12 +03:00
Skyth
daa1d3a152 Release paths when the YNCP file gets freed. 2025-01-18 00:41:12 +03:00
Skyth
f29fc5e593 Keep UI scale same only above Steam Deck aspect ratio. 2025-01-18 00:41:12 +03:00
Skyth
6a709a358d Make original 4:3 scaling a separate option, use custom behavior for auto. 2025-01-18 00:41:12 +03:00
Skyth
c1e08f2bea Replace camera aspect ratio/field of view logic. 2025-01-18 00:41:12 +03:00
Skyth
0c2ff653e7 World map now identical to original 4:3. 2025-01-18 00:41:12 +03:00
Skyth
867e78ff6d Replicate the game's 4:3 downscaling behavior. 2025-01-18 00:41:12 +03:00
Skyth
411cb1ff98 Use 4:3 as the base aspect ratio instead of 16:9. 2025-01-18 00:41:11 +03:00
Skyth
e20fab10ab Add stretch flags for background casts. 2025-01-18 00:41:11 +03:00
Skyth
b0a43559bb Fix and properly align font, handle most 3D screen positions. 2025-01-18 00:41:11 +03:00
Skyth
22e5855b7a Current work trying to get 3D screen position casts working correctly. 2025-01-18 00:41:11 +03:00
Skyth
ebf1965fab Snap to pixel on the CPU. 2025-01-18 00:41:11 +03:00
Skyth
c592727757 Replace CSD vertex shaders to get rid of pixel snapping. 2025-01-18 00:41:11 +03:00
Skyth
41a6ab1f08 Move CSD patches to its own file. 2025-01-18 00:41:11 +03:00
Skyth
8a759bf78c Add some more flags. 2025-01-18 00:41:11 +03:00
Skyth
c485f79d5f Set more title casts to unscretch. 2025-01-18 00:41:11 +03:00
Skyth
ce368a5aab Implement unstretching. 2025-01-18 00:41:11 +03:00
Skyth
6e4d5a6a7c Fill the flags map with a bunch of casts. 2025-01-18 00:41:11 +03:00
Skyth
63b968897d Add right extend flag. 2025-01-18 00:41:11 +03:00
Skyth
3ea73978be Add extend flag, fix cast lookups. 2025-01-18 00:41:11 +03:00
Skyth
0c68dc7406 Initial work for unstretching & aligning to edges. 2025-01-18 00:41:11 +03:00
Skyth
f8c6f5172e Map CSD structures by full path. 2025-01-18 00:41:09 +03:00
Hyper
95bd71a23e
Implemented hidden config values, removed DLL exports (#112) 2025-01-17 19:51:56 +00:00
Hyper
d297c07edb options_menu: only fast increment for float/int sliders 2025-01-17 15:27:40 +00:00
Hyper
f8e6b74551
Respect system colour scheme for title bar colour (#109) 2025-01-17 15:08:52 +00:00
Hyper
7c60e47eee
hid: implemented button prohibition (#104) 2025-01-17 15:14:26 +03:00
Hyper
fdc37d4073
installer_wizard: added credits info (#103) 2025-01-17 15:14:18 +03:00
Hyper
15c962150b
Implemented embedded version information (#82) 2025-01-17 15:13:37 +03:00
Hyper
92cfee2a97 locale: update strings, added localisation notes, misc. clean-up 2025-01-16 17:20:44 +00:00
Darío
72250e691a
Add tutorial for installer wizard for add files and add folder (#86)
* Add tutorial for installer wizard for add files and add folder.

* locale: update tutorial strings

---------

Co-authored-by: Hyper <34012267+hyperbx@users.noreply.github.com>
2025-01-16 15:59:14 +00:00
Darío
5c98a34084
Improve error message behavior on installer for invalid sources. (#77) 2025-01-16 18:13:14 +03:00
Darío
5f9fdcf934
Add capability of max width wrapping to message box (#78)
* Add capability of max width wrapping to message box. Takes out the need to add manual line breaks to messages.

* DrawCentredParagraph: fix line centring breaking at unequal lengths

---------

Co-authored-by: Hyper <34012267+hyperbx@users.noreply.github.com>
2025-01-16 15:09:37 +00:00
Hyper
63d474ce91
Implemented controller LED timings for cutscenes (#83) 2025-01-16 15:08:57 +00:00
Hyper
666f93843d
Calculate movie aspect ratio using vertices (#84) 2025-01-16 15:08:48 +00:00
Hyper
4b7f2c0ae7 api: update research 2025-01-15 19:47:11 +00:00
Skyth (Asilkan)
064d0a1736
Async PSO improvements. (#80)
* Fix how planar reflections are handled & compile SDR pipelines for particles.

* Improve pipeline handling for particles.

* Recompile pipelines on option change.

* Fix counter logic for pipeline recompilation.

* Playing around with thread priorities.

* Prioritize loading for threading priorities.

* Compile pipelines in model consumer thread during boot sequence.

* Remove a good chunk of async pipelines from the cache.

* Remove even more async pipelines from the cache.

* Delete a few more async pipelines.

* Compile morph pipelines asynchronously.

* Remove morph pipelines from the cache.

* Implement dynamic depth bias.

* Add upreel/pulley shadow pipelines.

* Disable debug macros.

* Reduce depth bias function calls in D3D12.

* Compile instanced models asynchronously.

* Fix the logic for determining if depth bias is used.
2025-01-15 15:09:14 +03:00
Skyth
27a541b7a3 Place function table after the executable. 2025-01-15 02:01:59 +03:00
Lorenzo Raineri
0e8dbe797b Localization: Initial Italian translation 2025-01-13 20:51:00 +01:00
Hyper
cf7db11db0
README: remove notice about VS2022 Preview 2025-01-13 10:49:33 +00:00
Skyth
30fded0685 Potential fix for async PSO freezing issue. 2025-01-13 01:10:52 +03:00
Hyper
9a29b187cd
Implemented support for maintaining aspect ratio for movies (#73)
* video_patches: aspect ratio support for CPlayMovieWrapper

* config: remove movie scale mode option

* video_patches: improve movie aspect ratio correction, support intro logos

Co-Authored-By: Darío <538504+DarioSamo@users.noreply.github.com>
Co-Authored-By: Skyth (Asilkan) <19259897+blueskythlikesclouds@users.noreply.github.com>

* api: upload Inspire research

* api: move Vertex struct

---------

Co-authored-by: Darío <538504+DarioSamo@users.noreply.github.com>
Co-authored-by: Skyth (Asilkan) <19259897+blueskythlikesclouds@users.noreply.github.com>
2025-01-12 18:53:31 +03:00
Darío
0737ff771d
Use different path for patched executable. (#70)
* Use different path for patched executable.

* Use error code variant on std::filesystem::create_directories.
2025-01-10 14:57:34 +03:00
Hyper
b9cffba14d xam: disable keyboard input if left alt is down
This prevents the game from receiving erroneous inputs when trying to do ALT+ENTER.
2025-01-03 21:16:43 +00:00
Hyper
0613dc6337 options_menu: find nearest window size on lock, intro transition fixes 2025-01-03 02:46:30 +00:00
Hyper
31fb63ad81 Implemented window size option 2025-01-03 02:04:24 +00:00
Hyper
90e499cc8c options_menu: hide reset button during intro, fix pause menu reappearing 2025-01-03 00:50:02 +00:00
Hyper
e24fa84e16 options_menu: implemented Miles Electric transition 2025-01-02 22:07:27 +00:00
Skyth
967a0ce17f Combine guest memory and function table into one virtual allocation. 2025-01-02 14:46:31 +03:00
Skyth
038edfdebd Handle 32 bit index buffers when uploading data. 2025-01-02 13:44:42 +03:00