Commit Graph

4017 Commits

Author SHA1 Message Date
Philip Dubé f6d723b447 fix build (#6911)
GIM needed change from game interactor no longer pulling in z64.h
2026-07-12 15:49:07 +00:00
Philip Dubé c94ae8ccf3 wire decomp static savestates with macros (#6904) 2026-07-12 15:09:47 +00:00
Amber Burton 2b423c36aa GIM Restoration (#6865)
All edge cases for bottle combinations and replacement/filling mirrors the real game, as well we produce the compass text, and does not render the item exactly as the original game does. (I would have preferred rendering the item since its only cosmetic but I couldn't find a way to do it).

This also swaps the table redirect stuff for using the direct item id's which is a lot more clear and does not substitute anything for 'good enough' and covers all the edge case ids that have been documented.

This is purely a cosmetic change to present the visual of the item without affecting the cutscene making any tricks for GIM still work and just looks more polished.

This supplies effects of ALL game versions (including MZX build) as well as providing text table.

To note: we still can crash with GIM even when returning item None EVEN at least with returning Kokiri Tunic (I can't really figure out why) and there are a few items in the table that use extra data that I don't know how to implement here just yet but the info is in the docs under "Variable".

In the case of disabling the gim restoration, the game would still crash. This change adds a text id protection to prevent crashing, as well prevents invalid items from crashing directly, and also makes it so the game will no longer crash when having GIM disabled in the menu.

Co-authored-by: serprex <159546+serprex@users.noreply.github.com>
2026-07-12 15:09:06 +00:00
djevangelia 1003c462a8 Decomp pull, some z_player and global changes (#6908) 2026-07-12 14:59:10 +00:00
Jameriquiah e2daa80623 fix master sword in sheath custom equip not loading (#6909)
LoadCustomGfx's check being gated by OR condition broke gCustomMasterSwordInSheathDL, i can only assume this is because the sheathed sword DL is the "default" state called by link's skeleton. that condition in customequipment.cpp is not the cause of the log spam that #6862 aimed to fix so it was unneeded
2026-07-12 13:36:03 +00:00
louist103 ffb741b1dd remove z64.h from gameinteractor.h (#6903) 2026-07-12 04:06:30 +00:00
Philip Dubé 8a45801199 optimize frame interpolation memory (#6901)
don't generate all matrices for game tick upfront, interpolate per frame
2026-07-12 04:01:51 +00:00
Jordan Longstaff b81d47d795 Hookify text speed options (#6881) 2026-07-11 18:01:02 +00:00
Chris 1ae55a0a7e Add water switch signs to shuffle signs (#6876) 2026-07-11 17:56:26 +00:00
djevangelia 847e3cd323 Maintenance, edits and addition to Lake Hylia water control (#6884) 2026-07-11 15:18:55 +00:00
Pepe20129 bd7191875a Add color to the log level in the console log (#6589) 2026-07-11 15:13:32 +00:00
Philip Dubé db41e1b5f8 Fix audio regression playing audio too slowly (#6894)
Dither to 32000Khz
2026-07-10 20:24:11 +00:00
Jake Edvenson 49edb25c45 Optional 3rd-Person Mouse Camera Controls (#6891)
Included quick spins in disabled checks
2026-07-10 17:37:24 +00:00
Garrett Cox 417256b42c Force skipping GF cutscene in rando (#6893) 2026-07-10 06:37:16 +00:00
djevangelia 50837308b7 Decomp, update z_en_holl.c (#6890) 2026-07-09 15:44:29 +00:00
Chris 3249b96343 [Bugfix] - First quiver starting item causes crash (#6889) 2026-07-09 07:15:44 +00:00
djevangelia 73df35c6ab Bugfix, child Hookshot first person in Hylia lab (#6847) 2026-07-08 19:58:24 +00:00
djevangelia 2fc787d64b Enhancement, add SoT blocks to one point cutscene skip (#6848) 2026-07-08 16:04:29 +00:00
Philip Dubé 3a12eeaa71 cleanup lake hylia swim spawn hook (#6887) 2026-07-08 13:58:23 +00:00
Jameriquiah 10cde0b8ad gGiScaleMtx (#6886) 2026-07-08 13:47:32 +00:00
djevangelia 1133ae221a Bugfix, rando Domain to Lake entry air swim (#6873) 2026-07-08 13:46:34 +00:00
A Green Spoon 86fdb9bfe7 Fix rando items in gameplay stats (#6883)
Fixes a regression in displaying rando items and an oob check in the gameplay stats timestamps. Also adds missing random items to the list.
2026-07-08 03:38:18 +00:00
Philip Dubé bb6a80b480 fix regression where gerudo guards stopped asking if you want to be jailed (#6879) 2026-07-07 13:24:18 +00:00
Philip Dubé 5cf03a4cda pull decomp changes: actor functions, z_en_horse.c (#6877) 2026-07-07 01:51:44 +00:00
AutoJanitor 8602c6d154 fix: restore BGM after Stalfos group defeat in MQ Water Temple (#6408)
In EnTest_Destroy, the check for nearby Stalfos uses
Actor_FindNearby which includes killed actors (update == NULL)
still in the linked list. When multiple Stalfos die in the
same frame or in quick succession, the last one to be destroyed
still sees the others in the actor list and skips the BGM
restore call (func_800F5B58).

Replace Actor_FindNearby with a custom check that only counts
living actors (update != NULL). This ensures the miniboss BGM
is properly restored to the dungeon theme when the last
Stalfos in a group is defeated.

Co-authored-by: serprex <159546+serprex@users.noreply.github.com>
2026-07-05 15:32:34 +00:00
Jameriquiah b7b565aaf0 remove set env color from key dl (#6866) 2026-07-05 12:12:06 +00:00
Amber Burton 3c48ccd705 1 Cache + Fix logical errors (#6862)
So this fixes some logical errors with loading the resources so its checking they exist before trying to test-load them... It also added a cache for the alt skeleton by tunic type so we arent constantly trying to reassign the tunic (This change in particular may prevent instant model swapping depending how the model swap with custom content is handled if loaded in a menu like NEI does)... Current system was just spamming that check over and over and trying to reload skeletons constantly so I opted for detecting if the tunic actually changes THEN allow a recheck here, otherwise exit out early. The  skeleton.cpp and skeleton.h files can be reverted if suspected that will interfere with intended custom model usage.
2026-07-05 11:17:57 +00:00
Philip Dubé 015440fdff Decouple GBK from LACS (#5838)
Triforce Pieces can now be tokens for bridge or ganon's soul. & can be tokens for multiple rewards

Wincon can now be arbitrary conditions

Ganon's Soul (removed from existing boss soul options) can now be arbitrary conditions

Co-authored-by: Pepper0ni <93387759+Pepper0ni@users.noreply.github.com>
2026-07-04 20:04:09 +00:00
Philip Dubé 618b7694b1 SpeedModifiers.cpp (#6861)
Prevent speed modifiers affecting dive speed when bunny jump not enabled
2026-07-04 13:25:44 +00:00
Garrett Cox 942134669a Ensure great fairy rewards are synced in vanilla (#6859) 2026-07-04 12:29:00 +00:00
djevangelia 53a663577f ActorViewer, add hex id and params (#6863) 2026-07-04 12:23:10 +00:00
Amber Burton f59d9172d6 Desync the great fairy cutscene (#6860)
When 2 players are in the fairy fountain and 1 activates the great fairy cutscene, it can force the other player into the cutscene as well, and I've had some crashes arbitrarily too so this guarentees that doesnt happen.
2026-07-04 03:40:06 +00:00
Shishu the Dragon b09c0733e2 Ivan: Move ActorDB registration into IvanCoop.cpp (#6815) 2026-07-04 01:51:28 +00:00
Philip Dubé c76d175526 DC MQ: RT_VISIBLE_COLLISION to reach above stairs with hookshot (#6840)
Also RT_DC_ALCOVE_GS

MQ crate is like RT_DC_VINES_GS but without precision
2026-07-03 22:21:42 +00:00
Pepper0ni ed4868f62e Check for the Wolfos Gate before letting child out of SFM without climb. (#6851) 2026-07-03 20:43:01 +00:00
djevangelia 2385603496 Bugfix, add Dodongo fire in enemy randomizer (#6855) 2026-07-03 18:14:01 +00:00
A Green Spoon 7effe28911 move wallet fill after Link's Pocket (#6846) 2026-07-02 18:49:09 +00:00
djevangelia 1580d7c3d1 Bugfix, Bigocto softlock on early damage (#6842) 2026-07-01 15:40:48 +00:00
FantaTanked 2418d51df5 Fix for actors / crawlspaces / doors not loading after loading a savestate (#6838)
Fixes an issue where actors do not load properly after creating a savestate and then going to either a new scene or loading a different area of the map (graveyard near shadow -> main section of graveyard dampes door is missing after loading again.)
2026-07-01 12:55:22 +00:00
A Green Spoon d12c0d4ed7 move randinf item handling inside set_randinf block (#6843) 2026-07-01 12:35:43 +00:00
A Green Spoon d34f664a29 disable starting wallet when child wallet is shuffled (#6844) 2026-07-01 12:34:09 +00:00
Chris c5835669fe Hookifying Various Cheats and FixVineFall (#6827) 2026-06-30 04:10:56 +00:00
A Green Spoon 1fd3a467cd Add Kakariko watchtower butterfly fairy (#6839) 2026-06-30 01:55:52 +00:00
Jameriquiah c91f7b6ce7 dynamic cosmetic manifests (#6792) 2026-06-30 00:47:57 +00:00
Reppan 55b804a673 Add Easy Butterfly Fairy Cvar (#6833) 2026-06-29 19:13:39 +00:00
A Green Spoon 68d4c6049e Add to queue if kz red ice removed (#6836) 2026-06-29 16:26:13 +00:00
djevangelia 984ccf80e4 Vanilla bugfix, Goron Link first talk softlock (#6834) 2026-06-29 16:17:49 +00:00
Chris 4edf9c920d [Bugfix] Autosave timestamp incorrectly seeded (#6566) 2026-06-29 13:26:42 +00:00
Amber Burton aedddc21e9 Sync's Ganons Trials and Fixes Softlock (#6828)
Previous co op softlock fix introduced a possible trial softlock making barrier never dissappear. This not only ensures that softlock cant happen, it syncs the trial flags in real time and allows all cutscenes to finish playing to properly remove the barrier even if the beams are physically visible in your game.
2026-06-29 04:48:27 +00:00
Reppan a629af2e9f [Enhancement] Improved Roll (#6604) 2026-06-28 13:41:59 +00:00