Commit Graph

3077 Commits

Author SHA1 Message Date
Luke Street fd0e33460f Gamemode -> GameMode 2026-08-19 20:49:58 -06:00
jdflyer 2f0cb26ceb Small fixes 2026-08-19 00:19:11 -07:00
jdflyer 21bc055552 Merge with origin/main 2026-08-19 00:16:37 -07:00
Luke Street f6b7448de3 FlowService & MessageService (#2313) 2026-08-19 00:32:23 -06:00
jdflyer edfb93440c Prelaunch UI Fixes. Create Prelaunch after mod init. 2026-08-18 21:04:41 -07:00
jdflyer c0d44d4a21 Gamemode service improvements. Disable achievements on custom gamemodes (for now) 2026-08-18 00:33:15 -07:00
jdflyer 85c2ddd8ff Merge with origin/main 2026-08-17 22:52:28 -07:00
jdflyer 8953532fe7 OnNewSaveSelectFunction fix (Don't show name anm) 2026-08-16 18:41:07 -07:00
Irastris c880d46fb5 d_menu_option bugfix (#2294) 2026-08-15 11:58:24 -06:00
Irastris 27d27e6d94 Add support for playing Dusklight using Wii disc images (#2296)
* Add offsets for Wii USA R0/R2, JPN, and PAL
Also fix an oopsie where l_pos and l_normal's offsets were swapped

* Allow loading Wii discs

* Change GameVersion::GcnJpn checks to isRegionJpn()

* Change GameVersion::GcnPal checks to isRegionPal()

* Add platformSelect and regionSelect templates, simplify a ton of code

* Add *_get() macros to simplify REL loads

* Actually accept Wii USA Rev. 2 discs

* Show the Wii USA revision in prelaunch's disc status

* l_normal isn't in Wii RELs, so I'll just hardcode it

* Account for various BLO differences

Fix crash when opening the map on Wii USA Rev 0 and Wii PAL

* Use the streamed version of the file select music

* Update language selection

* Fix the d-pad/cross button text for Wii PAL
Resizing panes that are already 120.0f wide is harmless, so I didn't bother with a GameVersion check

* Fix brightness check discrepancy, use IF_DUSK_BLOCK macros when ideal

* Update docs and the issue template
2026-08-15 11:58:09 -06:00
Irastris ac45cac56e Fix Graphics Backend option value (#2295)
* Graphics backend setting bugfix

* Better solution
2026-08-15 11:52:54 -06:00
Luke Street 9d38af22ee GfxService v1.2 + fixes (#2305)
* GfxService v1.2 + fixes

* gfx::synchronize before mod_shutdown
2026-08-15 11:50:13 -06:00
Luke Street 0f5a248401 Time revamp (#2304)
* Don't Use OSCalendarTime for Speedrun Timing

- Shouldn't rely on OSTicksToCalendarTime since it will be changed to handle time zone conversion, and that doesn't make sense on elapsed time

* Use OSGetSystemTime Extension

- Fixes desyncing issues with save file time and a couple other odd instances, particularly on mobile platforms that suspend apps

* Time revamp

* Update aurora

* Split IGT/RTA calculations

* Shift-Turbo to slow down

---------

Co-authored-by: SuperDude88 <82904174+SuperDude88@users.noreply.github.com>
2026-08-14 00:07:54 -06:00
matthewdavidrichardanderson 045fbd9b46 request presentation sync for all captures (#2293)
Co-authored-by: matthewdavidrichardanderson <matthewdavidrichardanderson@mfb.com>
2026-08-13 23:54:29 -06:00
doop 46da33be37 Use texture replacement API for HQ minimap textures (#2303) 2026-08-13 23:44:36 -06:00
TakaRikka 008a18c142 Merge pull request #2292 from TwilitRealm/item-svc
initial item service implementation
2026-08-12 15:34:45 -07:00
TakaRikka 5b4def820a couple fixes 2026-08-12 15:02:33 -07:00
TakaRikka 5abc956448 daTbox2 handling 2026-08-11 14:45:53 -07:00
TakaRikka 0c3bbbaba0 standardize some check names 2026-08-10 12:35:08 -07:00
baxlek 0fc05028cc Add Aiming Reticle for Bow and Slingshot (#2290)
* Change sight drawing flag to on in arrow logic

* Refactor setBowSight for PC targeting and reticle logic

* Add Aiming Reticle option to settings

Add option for Aiming Reticle in settings.

* Add aiming reticle setting to game preferences

* Add aiming reticle to user settings registration

* Add aimingReticle configuration variable

* Fix syntax error in settings.cpp

* Add aiming reticle check to bow charge condition

* Refactor bow charge sight position logic

Removed redundant sight position handling when aiming reticle is not displayed.

* Refactor setBowSight for Dusk targeting

* Clarify aiming reticle option description

* Refactor bow sight logic in setBowSight function

Removed dusk condition from bow sight check and adjusted sight drawing logic.

* Refactor sight drawing logic in d_a_alink_bow.inc

Remove redundant call to offDrawFlg() when aiming reticle is enabled.
2026-08-10 00:14:17 -04:00
TakaRikka 71b2eedc82 initial item service implementation 2026-08-09 16:40:26 -07:00
jdflyer 315897e45a Gamemode service fixes 2026-08-08 17:12:38 -07:00
jdflyer 8be95d3aa3 Allow Gamemodes to interrupt flow on file creation 2026-08-07 18:46:52 -07:00
jdflyer ce6850acd3 Fix small issues, update example in modding.md to show scoped hooks 2026-08-07 15:27:23 -07:00
jdflyer 4aa3b647a3 Merge with origin/main 2026-08-07 13:57:48 -07:00
TakaRikka 82e2fd4bea Merge pull request #2283 from encounter/camera-operator
Add camera operator API to CameraService
2026-08-07 03:44:59 -07:00
TakaRikka fcd9dd0f70 Merge pull request #2282 from encounter/mods-data-dir
Add HostService.data_dir
2026-08-07 03:42:53 -07:00
Luke Street c5933be631 Add camera operator API to CameraService 2026-08-07 00:34:57 -06:00
Luke Street 928e9b4bc7 Add HostService.data_dir 2026-08-07 00:20:09 -06:00
Luke Street 3ac0fcb156 Add mods::hook::uninstall 2026-08-06 23:59:26 -06:00
Luke Street cf8ab52f55 Fix ATTRIBUTE_ALIGN placement 2026-08-05 21:16:06 -06:00
Luke Street 13b3b68fe5 Migrate to Borealis (#2266) 2026-08-05 07:54:31 -06:00
TakaRikka 4604304305 mods: stage service (#2268)
* initial stage service ported from encounter's original impl

* Review cleanup

* initial stage service ported from encounter's original impl

---------

Co-authored-by: Luke Street <luke@street.dev>
2026-08-04 21:51:52 -06:00
TakaRikka 76079b6294 mods: save service (#2256)
* initial save service updated from encounter's impl

* Review cleanup

---------

Co-authored-by: Luke Street <luke@street.dev>
2026-08-03 20:58:09 -06:00
Luke Street 4504e5009f Mods: Add toasts to UiService (#2252) 2026-07-30 00:28:08 -06:00
Luke Street 7305ef09b9 Mods: WindowService, log wrappers, external rendering (#2251) 2026-07-30 00:24:24 -06:00
jdflyer f22bfcd9ba Add restart to prelaunch button to settings, remove gamemodeStub functions 2026-07-26 00:25:59 -07:00
jdflyer 9c2e0e9331 Fix typo on std::tolower 2026-07-20 23:22:46 -07:00
jdflyer ecbec503dc Merge with origin/main 2026-07-20 17:24:48 -07:00
jdflyer 91c6c5c137 Fix Issues with mod resetting, make gamemode ids lowercase, update modding.md 2026-07-20 17:18:23 -07:00
jdflyer 449a8408ab Correctly unregister gamemodes from the service 2026-07-19 20:01:46 -07:00
TakaRikka 95608438c1 Merge pull request #2227 from TwilitRealm/jpn
japanese gamecube version support
2026-07-19 01:20:07 -07:00
jdflyer 61a4ab3117 Mod SDK: Gamemode Service, Change Speedrun mode to a gamemode, Allow prelaunch to be restarted 2026-07-19 00:50:49 -07:00
TakaRikka 3e343acc86 revert, e_pm jpn logic change TODO later 2026-07-18 22:09:32 -07:00
TakaRikka 9696c12563 couple more fixes, revert e_pm for now 2026-07-18 21:17:29 -07:00
TakaRikka d3e05a4f37 pr comments again 2026-07-18 19:39:24 -07:00
TakaRikka 27c9719abc pr comments 2026-07-18 18:07:49 -07:00
Luke Street 8caab1a6ba Implement iOS hook prepatching & improve MSVC PTMF support (#2222) 2026-07-17 22:35:37 -06:00
TakaRikka e3075520e7 convert jpn logic changes to runtime checks 2026-07-17 20:35:15 -07:00
TakaRikka ce386d8dbd convert jpn ui/text changes to runtime checks 2026-07-17 18:12:28 -07:00