Commit graph

318 commits

Author SHA1 Message Date
Hyper
4b358d8e43 Rebase branch to main 2025-01-17 20:44:56 +00:00
Hyper
110f341af6 reddog_window: fix variable titlebar button positions 2025-01-17 20:17:59 +00:00
RadiantDerg
00e148b182 Draw position, Move patches to debug_patches.cpp 2025-01-17 20:17:56 +00:00
RadiantDerg
eb3225c2f7 SWA API mappings 2025-01-17 20:17:16 +00:00
Hyper
4ab26a1696 reddog: window improvements, added "welcome" message 2025-01-17 20:17:16 +00:00
Hyper
72a0a17e3a view_window: reordering and clean-up 2025-01-17 20:17:15 +00:00
Hyper
35b9361a91 api: use MmGetHostAddress for globals 2025-01-17 20:17:15 +00:00
Hyper
7788e36704 api: added globals struct 2025-01-17 20:17:15 +00:00
RadiantDerg
023fc0edf7 Added Vector mappings, Added DebugDraw class for drawing text on screen and in a popup
SWA API:
- Added CVector
- Added CVector4
- Combined CVectorX into one header

Reddog:
- Added toggle for visualizing the loaded GI Atlas Mipmap level
- Added toggles for rendering Havok collision
- Added toggles for Light Field
2025-01-17 20:17:12 +00:00
Hyper
d5ca843716 reddog: implemented FPS counter 2025-01-17 20:16:30 +00:00
Hyper
dbdf020218 reddog: improve button accuracy 2025-01-17 20:14:53 +00:00
Hyper
d5e947f520 reddog: improve window list accuracy 2025-01-17 20:14:52 +00:00
Hyper
a7e004fb60 reddog: improve window colour accuracy 2025-01-17 20:14:52 +00:00
Hyper
892e24f71e reddog: implemented custom button 2025-01-17 20:14:51 +00:00
Hyper
72a0507c66 Fix old header paths 2025-01-17 20:14:51 +00:00
Hyper
2f68ee5df2 Implemented mock reddog window manager
Requires micross.ttf font in game root and ENABLE_IM_FONT_ATLAS_SNAPSHOT undefined, not currently in the font atlas.
2025-01-17 20:14:50 +00: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
Hyper
d23e6d0e90 Implemented vibration option 2025-01-01 18:05:18 +00:00
Hyper
90cf22e586 cmake: fix dxil.dll location 2025-01-01 16:16:45 +00:00
Skyth
d6c2884f2e Look for mod loader .ini file in config folder. 2025-01-01 11:49:20 +03:00
Skyth (Asilkan)
a397a90551
Mod loader implementation. (#66)
* Initial mod loader implementation.

* Allow iterating in mod directories.

* Initial append archive implementation.

* Avoid calling function wrappers when loading append ARs.

For some reason they cause issues. Should investigate later.

* UMM merge archive support.

* Load merge archives without archive lists.

* Less thread locals.

I shouldn't worry about string allocations this much when the game itself spams them...

* Check for read-only UMM archives.

TODO: Skip merging as it's currently just doing duplicate loads.

* Skip loading merge archives if they are read-only.

* Merge only archives.

* Implement decompression.

* Fix append ARLs not loading.

* Initial save file redirection implementation.

* Slightly refactor resolved path usage.

* Implement save file redirection fallback.

* Set a default save file path if none is provided.

* Check for enabled option & replace backward slashes with forward ones in mod save file paths.

* Convert back slashes to forward ones when iterating directories.

* Make CSB limit dynamic.

* Cache append/merge archive lookups.

* Close stream after reading compressed ARL.

* Fix UMM/HMM ARL file path inconsistency.
2024-12-31 20:20:07 +03:00
Skyth
281535ad51 Stub out buggy render game scene function. 2024-12-30 14:20:21 +03:00
Hyper
31bb28d0fd message_window: fix mouse input issues
Addresses issues #25, #27 and #28.
2024-12-27 23:13:06 +00:00
Hyper
bab9705151
Fix auto controller icons breaking loading screen graphics (#64) 2024-12-27 20:58:41 +00:00