Commit Graph
45 Commits
Author SHA1 Message Date
ArchezandGarrett Cox bbb0e2a4e0 Fix interpolation crashes due to unclosed records (#263)
* Fix interpolation crashes due to unclosed records

* rework en_mnk drawface to avoid return in open/close disps pair [still matching]

* fix placement of close_disps in en_osn draw

* replace returns with goto to follow other decomp patterns
2024-05-22 09:05:02 -05:00
Garrett Cox 16e4ccf9af Add Event Log and more hooks (#247) 2024-05-22 09:05:02 -05:00
inspectredcandGarrett Cox c897fc2399 Gamecube NTSC US Support (#155)
* initial asset xml split

* move otrexporter back

* update exporter

* update xml progress

* update xmls -- todo: rename actor.xml

* use latest otrexporter

* cherry pick over gc support changes

* zapdtr gc support

* fix title screen

* fix jumpslash

* add gc file list

* add additional asset header

* Update OTRExporter

* Update ZAPDTR

* Update libultraship

* Update OTRExporter

* submodule

* attempt 3 at submodules

* add gPowderKegFuseVtx to gc xml

* lus main

* for pr

* zapdtr rebased

* move game versions to benport

* update xml for PRs

* move audio, todo: add to GC

* gc audio

* explain commented assets

* zapdtr

* pull and update zapdtr

* Update OTRExporter
2024-05-22 09:05:02 -05:00
louist103andGarrett Cox 3ad053807e Fix cremia text crash. (#235) 2024-05-22 09:05:01 -05:00
ArchezandGarrett Cox ab19d6417d Fix save corruption from non null-terminated cstrings (variation) (#230)
* verify save slots better; allow global.sav to work again

* fix save corruption and restore global.sav

* add comments
2024-05-22 09:05:01 -05:00
Garrett Cox dfe0e1d6c2 Actor hooks (#135) 2024-05-22 09:05:01 -05:00
ArchezandGarrett Cox 25864d1a92 Add volume slider support (#201)
* Add volume slider support

* extern fix?
2024-05-22 09:05:01 -05:00
ArchezandGarrett Cox 0a08986176 Fix song of double time camera spline data (#203) 2024-05-22 09:05:01 -05:00
912d46761b Audio Works (#180)
* initial audio work

* Implements caching and fixes a ton of issues with audio

* Uses correct memory sizes in mixer.c

* Resets mixer values

* Actually correct dmem buff values in mixer.c

* Remove breakpoints

* Fix sequences not playing

* The forbidden type.

* Forbidden TYPES?!

* Thanks Louis

* Thanks Louis Part 2

* Fix garbled audio

* Fixed ADSR bugs

* Fixes ASAN crash in loading samples.

This code is causing the game to attempt to read sample data beyond the actual sample data.

* Comments out the sample clamping since we aren't affecting the rest of the calculations in the function.

* Fixes crashing while loading audio samples.

Additionally, lowers the log level for audio commands.

* Textbox SFX UB Fix

* Decreases priority of more debug messages

* Fixed a couple uintptr_t issues

* Adds context to Jack's hack of shortcutting later loading sequences.

* Audio corruption fix

* Few uintptr_t fixes

* Fix build on linux

* Fix build on mac

* call audio exit

* fix sfx in dialog

* unstub more audio funcs

---------

Co-authored-by: Random06457 <28494085+Random06457@users.noreply.github.com>
Co-authored-by: Nicholas Estelami <NEstelami@users.noreply.github.com>
Co-authored-by: louis <35883445+louist103@users.noreply.github.com>
Co-authored-by: Adam Bird <archez39@me.com>
2024-05-22 09:05:01 -05:00
louist103andGarrett Cox 27b70f03c1 Track LUS changes for LUS refactor. (#163)
* Track LUS changes. So far implemented:
- Moving the big switch into unordered maps.
- Dynamically switching between different ucodes. So far tested switching between f3dex2 and s2dex.

* track LUS changes

* LUS Bump
2024-05-22 09:05:00 -05:00
904bf60b36 Changes for new LUS resources (#151)
* Changes for new LUS resources

* fix factory issues and bump modules

* add build version, custom assets folder, and fix extraction

* add missing custom assets

* fix build .h

* libzip in the workflows

* apt-deps

* Fixes to importers to work with upstream Resource Manager.
Also remove duplicated structs.

* Bump LUS

* bump LUS

* Bump LUS

* bump lus

* point back to louist103/mm

---------

Co-authored-by: Adam Bird <archez39@me.com>
2024-05-22 09:05:00 -05:00
Garrett Coxandlouist103 9da273a8ea Add fast text enhancement (#150)
Co-authored-by: louist103 <35883445+louist103@users.noreply.github.com>
2024-05-22 09:05:00 -05:00
ArchezandGarrett Cox 82cf1a4885 Add cvar methods to global functions header and cleanup includes (#152)
* add cvar methods to global functions header and cleanup includes

* fix z_lib.c

* tweak includes
2024-05-22 09:05:00 -05:00
Garrett Cox cacf0d000a Sort better map select entries (#138) 2024-05-22 09:04:59 -05:00
ArchezandGarrett Cox a035554cbc increase audio seq cmd queue (#144) 2024-05-22 09:04:59 -05:00
Garrett Cox 87e7c24c7b 2 Fix 2 Owl Saves (#142) 2024-05-22 09:04:59 -05:00
Garrett Cox 683820632a Fix owl save crash by adjusting save buffer size (#141) 2024-05-22 09:04:59 -05:00
ArchezandGarrett Cox 48f197c049 Better GFX debugging control and fix accidental opcode overwrites (#132)
* implement better gfx command debugging

* revert xlu crash fix back to source
2024-05-22 09:04:59 -05:00
ArchezandGarrett Cox 32caecabfc read proper depth values from the renderer (#124) 2024-05-22 09:04:59 -05:00
ArchezandGarrett Cox d479a7db37 Add ActorResetFunc for variable cleanup (#98)
* add actor reset func handling

* reset func for day transitions

* reset func for deku playground

* reset func for dog race

* reset func for grass

* reset func for goron shrine chandelier

* reset func for lost woods intro sparkles

* reset func for deku palace patrol guards

* reset func for dampe

* reset func for beaver race rings

* reset func for butler race doors

* reset funcs for deep sea python

* reset func for dogs

* reset func for deku curse mad scrubs

* reset func for keaton grass

* reset func for marine lab fish

* reset func for shooting gallery scrubs

* reset func for Stone Tower FloorSwitch

* reset func for ice platforms

* reset func for punchable pillar

* reset func for blue warps

* reset func for odolwa

* reset func for twinmold

* reset func for gyorg

* reset func for wart

* reset func for igos window

* reset func for majora

* reset func for snow head central pillar
2024-05-22 09:04:59 -05:00
Garrett Cox 2bce365364 Add humanName to actor table (#71) 2024-05-22 09:04:59 -05:00
Garrett Cox 8894215a4b Add/adjust some 2S2H comments (#116) 2024-05-22 09:04:59 -05:00
inspectredcandGarrett Cox 745e554d3a Fix Various Player Anim Checks (#89)
* Fix Player Anim Checks

* strcmp everything

* missed a couple

* use macro

* update comment
2024-05-22 09:04:58 -05:00
louist103andGarrett Cox ce17d97ac4 Frame interpolation (#78)
* Initial. Only enough to get it running. Missing changes to effects and actors.

* Add frame interp calls to most files in `code`

* Fix bubbles (The ones that look like bubbles)

* Fix kankyo and takkuri.

* Fix obj_grass interpolation

---------

Co-authored-by: Garrett Cox <garrettjcox@gmail.com>
2024-05-22 09:04:58 -05:00
Garrett Cox 7573a9378c Double DList buffer size (#88) 2024-05-22 09:04:58 -05:00