Commit Graph

101 Commits

Author SHA1 Message Date
Mr-Wiseguy 4ec6b4a89b Bump version number and fix nav for note saving option 2025-12-30 21:58:54 -05:00
Wiseguy e7185d889e Note saving (#30)
* WIP note saving implementation

* Fix note saving affecting other files

* Prevent note collection in demo playback for safety

* Cache note saving enabled while in the lair or file select to prevent it changing in levels with notes

* Prevent "Grunty's magic" note dialog from being shown if note saving is enabled

* Implement dynamically spawned note saving

* Properly clear loaded save extension data when score status is cleared

* Hook up menu for note saving
2025-12-30 21:41:30 -05:00
Dario 90dcdbde92 Update RT64 to fix crash when toggling texture packs. 2025-12-30 21:42:26 -03:00
Darío fdc9e6b650 Analog camera support. (#28)
* Implement analog camera.

* Change swimming camera to use R Look mode instead.

* More work on flight mode.

* Add extra updates to improve transitions between modes.

* Add flying camera and some bug fixes to target computation.

* Remove extra updates.

* Update analog_camera_patches.c
2025-12-29 19:31:09 -05:00
Wiseguy 7b9f13819f Remove unnecessary physical address conversions to allow extended addressing (#33) 2025-12-29 18:52:45 -05:00
Darío 2e675d5865 Do not discard framebuffers unless options relevant to the resolution are changed. (#31)
* Do not discard framebuffers unless options relevant to the resolution are changed.

* Change comment.
2025-12-29 16:29:22 -05:00
Dario ae4c84d608 Update RT64 to fix rect LR on bottles bonus. 2025-12-29 15:36:41 -03:00
Mr-Wiseguy 7dcd4f8e87 Add recomp controller database 2025-12-29 00:46:17 -05:00
Wiseguy ee07c24902 Fix demos, SNS, and Bottles Bonus timings and desyncs (#29)
* Fix speed of demos by using recorded deltatime to control frame divisor

* Adjust frustum culling in demos to make them play back correctly

* Adjust deltatime used for hourglass decrement in Bottles' Bonus to have slowdown like original hardware

* Limit framerate in Mumbo SNS cutscene for some maps to let all dialog finish
2025-12-28 23:17:42 -05:00
Darío 9ca2716376 Increase amount of rain and weather effects. (#24)
* Increase amount of rain and weather effects.

* Update weather and snow to be able to revert to vanilla behavior under demo playback.
2025-12-28 14:13:48 -05:00
Darío 8d91c1d411 Add higher precision vertex buffers for CPU skinned geometry. (#26)
* Add higher precision vertex buffers for CPU skinned geometry.

* Change RT64 to point to the branch. Account for new change in base segment address.

* Update RT64.

* Add comment.

* Update RT64 commit after merge
2025-12-28 02:36:19 -05:00
Darío 8c105f6724 Fix ripple particle teleportation when water levels change. (#25) 2025-12-27 22:52:49 -05:00
Darío c1d569c32b Fix text rendering in orthographic mode. (#27) 2025-12-27 22:32:36 -05:00
Darío 7e7d5d4907 Only use simple interpolation on models that use bones. (#23)
* Only push new matrices and simple interpolation on models that use bones.

* Rework patch.

* Update comment.

* Fix typo.
2025-12-26 12:37:33 -05:00
Dario a321fad91c Fix transform tagging for sky projection. 2025-12-26 09:51:12 -03:00
Wiseguy 8b9ce25191 Improve model tagging by switching to a counter that accounts for sort commands, skip rotation interpolation for billboards in models when camera interpolation is skipped (#22) 2025-12-25 18:59:05 -05:00
Darío 8a307d7802 Add interpolation to almost every 2D element in the game. (#20)
* Add interpolation to almost every 2D element in the game.

* Add comments.

* Fix interpolation on life icon. Also fix text interpolation.

* Fix interpolation for more 2D elements and disable vertex interpolation on them.
2025-12-25 17:47:03 -05:00
Wiseguy 0e1970a6cb Move clanker transform tagging patch to not conflict with romhacks (#21) 2025-12-23 21:03:53 -05:00
Darío 17b88e7a97 Rewrite depth rectangle for 3D HUD so it gets interpolated. (#19) 2025-12-23 20:54:16 -05:00
Darío b5966ad2f0 Apply tag for perspective projection in a higher level function. (#18)
* Apply tag for perspective projection in a higher level function.

* Create new projection for HUD elements so they don't interpolate in world space

* Remove skip interpolation for zoomboxes as it's no longer needed.

---------

Co-authored-by: Mr-Wiseguy <mrwiseguyromhacking@gmail.com>
2025-12-22 19:46:47 -05:00
Mr-Wiseguy 36663818d4 Add missing egbi macros in patches.h 2025-12-21 21:20:04 -05:00
Mr-Wiseguy 48cceaf898 Fix aspect ratio control in picture gamemodes when camera interpolation is skipped 2025-12-21 20:16:17 -05:00
Mr-Wiseguy a31d5ff623 Fix projection tagging for zoomboxes when multiple are on screen 2025-12-21 17:19:53 -05:00
Mr-Wiseguy c9a3b857a5 Force nearest LODs and disable nearclipping to improve camera clipping in ultrawide aspect ratios 2025-12-21 04:18:03 -05:00
Darío 84394461f7 Add tag for Clanker. (#17)
* Add tag for Clanker.

* Add transform ID to header.
2025-12-20 22:02:05 -05:00
Darío a4866d2f23 Add tagging to weather effects for CCW. (#16) 2025-12-20 22:01:11 -05:00
Darío fff8bff6e5 Further improve skipping logic for projectiles to address particles spawned in the origin. (#15) 2025-12-20 15:41:25 -05:00
Darío 96f5668957 Fix interpolation on bee swarms. (#14) 2025-12-20 15:40:38 -05:00
Darío f74f796129 Rewrite pause menus to use rows instead of tiles to fix artifacts in wide aspect ratios. (#13) 2025-12-20 14:13:29 -05:00
Dario b09f08f552 Fix logical error in model matrix group function. 2025-12-20 16:11:33 -03:00
Mr-Wiseguy 5bc7880347 Prevent popping matrix groups that weren't pushed 2025-12-20 13:01:34 -05:00
Darío 86f6f20b97 Skip interpolation when particles are freed. (#12)
* Skip interpolation when particles are freed.

* Update particle_transform_tagging.c
2025-12-20 12:43:29 -05:00
Darío 498002a425 Add patch for skipping camera interpolation during non-gameplay segments. (#6)
* Add patch for skipping camera interpolation during non-gameplay segments.

* Fix ignore interpolation patches. Add skip for zoombox.
2025-12-20 12:41:47 -05:00
Mr-Wiseguy b3886866b9 Simplify and improve particle transform tagging, modify and document transform ID allocation 2025-12-20 01:48:19 -05:00
Darío ae6a97e91b Only enable view matrix compensation for gameplay projection. (#11) 2025-12-19 21:20:13 -05:00
Darío 9979ac2c50 Extend snow to work in 360 degrees and add transform tagging to it. (#10)
* Extend snow to work in 360 degrees and add transform tagging to it.

* Add top-level comments to functions.
2025-12-19 19:52:45 -05:00
Darío 639d2d8ac6 Tag the lens flare effect. (#9) 2025-12-18 22:18:09 -05:00
Darío 246d3e8136 Tag the honeycomb upgrade and any 3D hud elements. (#8)
* Tag honeycomb transform.

* Add tags for HUD elements.
2025-12-18 21:20:56 -05:00
Mr-Wiseguy c6c0428b39 Implement bgm volume control and remove zelda low health beeps option 2025-12-18 02:39:11 -05:00
Darío 4581c4c20b Fix seams in bottles bonus, mumbo's picture and aspect ratio adjustment. (#7) 2025-12-18 02:35:52 -05:00
Mr-Wiseguy b32951d976 Update RT64 for tile reinterpret discard fix 2025-12-16 22:37:12 -05:00
Mr-Wiseguy a82a0f88b6 Fix texture seams in intro level model extension 2025-12-13 20:30:46 -05:00
Mr-Wiseguy b8e081d6e2 Add level model hotpatch for intro scene to fix gap in widescreen
Co-authored-by: Reonu <15913880+Reonu@users.noreply.github.com>
2025-12-13 20:14:08 -05:00
Mr-Wiseguy bb434b7757 Update RT64 for lower createCommandList requirements 2025-12-13 14:32:40 -05:00
Dario 297391877e Update RT64 with pre-plume wait swap chain behavior. 2025-12-13 15:17:14 -03:00
Dario 22385809e8 Update RT64 with fixed plume options. 2025-12-13 01:15:46 -03:00
Mr-Wiseguy 52565c65e4 Update RT64 for tearing feature check 2025-12-12 22:20:19 -05:00
Mr-Wiseguy 674efaa5ce Fix vertex modification race condition by using displaylist parsed event 2025-12-12 02:12:42 -05:00
Mr-Wiseguy 8fa0dd559f Fix vanilla memory corruption bug with invalid vector defrag call 2025-12-10 20:43:51 -05:00
Mr-Wiseguy d331f4e5cb Add transform tagging for map models and fix build after updating RT64 2025-12-09 19:48:25 -05:00