54 Commits

Author SHA1 Message Date
aMannus
cb3237c645 Persistent Owl Saves & Autosaves (#458)
* Persistent Owl Saves & Autosaves

* Better entrance handling

* clang format happy now pls?
2024-05-24 13:01:48 -05:00
Garrett Cox
904c3641d9 Add support for dropping various save formats into the game window (#404) 2024-05-23 21:31:50 -05:00
PurpleHato
c46a6637fe ADD: Text Based Clock enhancement (#246)
* ADD: dirty simplier clock enhancement

* ADD: Crash timer + combobox

* ADD: Hook (not working yet)

* TWEAK: z_parameter formatting like original

* TWEAK: z_parameter formatting like original again

* TWEAK: z_parameter formatting like original part3

* TWEAK: Add back the gi in z_parameter

* TWEAK: recommendation + missing include

* Pointer to .

* Tweak include

* TWEAK: better naming for 24 hours texture name

* Tweak: line space

* TWEAK: Adressed review

* TWEAK: TwentyFourHours

* comma

* TWEAK: Accounted Reviews

* TWEAK: review enums

* ADD: Macro

* whitespace

* move macros and center clock text

---------

Co-authored-by: Adam Bird <archez39@me.com>
2024-05-22 09:05:05 -05:00
Garrett Cox
4cb34b2153 Add our own field for storing last entrance and other tweaks (#373) 2024-05-22 09:05:04 -05:00
inspectredc
04d56e8fbd 'Free/Debug' Camera & Free Look Camera (#323)
* Remove BenPort.h from functions.h

* use specific z64 includes

* free cam

* this -> thisx

* fl newline

* whitespace

* remove debugging stuff

* min and max cam heights. use correct func_800CBFA4 arg

* document and re-organise free cam

* fix linux building

* Custom Camera VB

* remove redundant section in header

* fix hook and re-organise menu

* Free Cam

* fix control flipping and some speed tweaks

* Fix Player flags not being reset

* Fix movement under roll: todo fix rotation under roll

* six degrees of freedom

* Multiple camera mode options, remove black bars, start with focal point by eye

* update free look

* cvar rename, menu disabling

* remove player state flag change

* renaming and remove some camera jumpiness

* remove scam comment

* remove port selection

* correct debugcam at initialised position

* fix focal point for non roll
2024-05-22 09:05:04 -05:00
Archez
df1976cd36 bump latest lus; window changes; header updates (#345) 2024-05-22 09:05:04 -05:00
inspectredc
ad478cfc59 DPad Items (#228)
* Initial Dpad

* remove old hud stuff

* and comment

* s..

* add dpad equip macro back in

* fix inputs

* fix equipping (hopefully all)

* finish some todos

* add 2s2h asset header

* check dpad macro

* remove 2s2h_assets

* re-add empty texture

* use correct struct for default dpad equips

* dpad save stuff

* fix item offering, use correct equip offset values

* finally figure out unk_154 and fix mask equipping

* avoid ugly code

* add necessary condition

* correct save names for dpad items/slots

* remove todos and sort out suggestions and rename cvar

* func standardise renaming

* Add dpad to hud presets

* dpad save migration
2024-05-22 09:05:04 -05:00
louist103
9554f79e26 Header and cmake cleanup. (#310) 2024-05-22 09:05:04 -05:00
inspectredc
292acc5ecd Remove BenPort.h from functions.h (#309)
* Remove BenPort.h from functions.h

* use specific z64 includes

* this -> thisx
2024-05-22 09:05:04 -05:00
Archez
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
inspectredc
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
louist103
3ad053807e Fix cremia text crash. (#235) 2024-05-22 09:05:01 -05:00
Archez
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
Archez
25864d1a92 Add volume slider support (#201)
* Add volume slider support

* extern fix?
2024-05-22 09:05:01 -05:00
Archez
0a08986176 Fix song of double time camera spline data (#203) 2024-05-22 09:05:01 -05:00
Kenix3
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
louist103
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
louist103
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 Cox
9da273a8ea Add fast text enhancement (#150)
Co-authored-by: louist103 <35883445+louist103@users.noreply.github.com>
2024-05-22 09:05:00 -05:00
Archez
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
Archez
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