Commit Graph

2631 Commits

Author SHA1 Message Date
madeline 29dc57f91b stub dsp send commands for now 2026-03-14 13:49:16 +01:00
PJB3005 11d90302f1 Fix build
Heck
2026-03-14 13:45:58 +01:00
PJB3005 303a21a4a3 JAudio field name/comment pass
HUGE thanks to XAYRGA for their work documenting JAudio file formats
2026-03-14 13:45:55 +01:00
TakaRikka 8837df94bb some more imgui refactoring 2026-03-14 04:07:30 -07:00
Max Roncace 7da7cefe30 Add point selector to map loader (+ other loader UI improvements) 2026-03-14 01:20:27 -04:00
qwertyquerty 6431dd3d19 fix reticles (#89) 2026-03-13 14:41:46 -07:00
BigBen 7c2a32b209 Change imgOffset type from u32 to s32
Should help prevent crashes opening map
2026-03-13 13:33:00 -04:00
TakaRikka 86b1b97c53 fix obj_sw ptr math bug 2026-03-13 02:42:45 -07:00
TakaRikka 10ccf8e2b1 Merge branch 'main' of https://github.com/TakaRikka/dusk 2026-03-13 01:54:42 -07:00
TakaRikka 78d80f11d9 fix bgobj particle block 2026-03-13 01:54:35 -07:00
Jasper St. Pierre 4b52394294 grass fix 2026-03-13 01:13:22 -07:00
madeline de9751c6dd fix epona ub 2026-03-13 01:06:28 -07:00
Jasper St. Pierre 1eca6f52b7 brg fix 2026-03-12 23:56:33 -07:00
Max Roncace 9fff8d45a1 Fix multiple classes being inappropriately zero-initialized via JKR_NEW* (#70)
This might also fix #71 and #72.
2026-03-13 02:50:53 -04:00
Jasper St. Pierre 2d430eb9a1 shadow fix 2026-03-12 23:49:13 -07:00
Jasper St. Pierre 3f548f2244 dont draw zero things 2026-03-12 23:49:12 -07:00
madeline 6b2666878b Merge branch 'main' of https://github.com/TakaRikka/dusk 2026-03-12 23:12:03 -07:00
madeline 181640d68a fix LZ fadeout Fixes #87 2026-03-12 23:12:00 -07:00
Max Roncace dae2aca542 Initialize daObjSwPr_c::mRotateTime on actor create
This fixes a floating point exception due to division by zero when
executing the actor for the first time.
2026-03-13 01:35:23 -04:00
madeline 2f984f160b Merge branch 'main' of https://github.com/TakaRikka/dusk 2026-03-12 22:34:37 -07:00
madeline 5f1cf058b5 fix menu snapshot viewports and loading zone ones (kind of but not at all) Fixes #59 2026-03-12 22:34:33 -07:00
Jeffrey Crowell ffcdacc09f remove instance of double endian swapping pContent->0 was already endian swapped (#84) 2026-03-12 21:19:48 -07:00
TakaRikka 6cac92aa50 Merge branch 'main' of https://github.com/TakaRikka/dusk 2026-03-12 21:16:04 -07:00
TakaRikka 820327989c fix event camera ptr param size 2026-03-12 21:15:50 -07:00
madeline 710faac392 Merge branch 'main' of https://github.com/TakaRikka/dusk 2026-03-12 21:03:45 -07:00
madeline 9f01779686 fix new file name fade viewport 2026-03-12 21:03:42 -07:00
Jeffrey Crowell 18efe4b4fc fix clang error on pointer narrowing (#83)
fix cast
2026-03-12 20:15:00 -07:00
BigBen d06eb678be Update d_file_select.cpp 2026-03-12 22:53:10 -04:00
BigBen 42ccd3bcd8 Changed setJ3D to load from private copied resource buffers
Fixed file select crash when loading mirror / mask
2026-03-12 22:11:03 -04:00
madeline d95516b870 Merge branch 'main' of https://github.com/TakaRikka/dusk 2026-03-12 18:10:21 -07:00
madeline 9bf919ffc2 zero init anm mtx Fixes #66 2026-03-12 18:10:15 -07:00
TakaRikka 1618e9b276 Merge https://github.com/zeldaret/tp 2026-03-12 17:56:51 -07:00
madeline b7d4c2d1ca Fixes #63 fix """UB""" in callHorseSubstance 2026-03-12 16:52:47 -07:00
madeline 4e5a39ba85 Fixes #56 UB in dKyr_odour_draw 2026-03-12 16:28:27 -07:00
Lurs 1633f8d50d fix Midna (?) (#52) 2026-03-12 14:30:42 -07:00
qwertyquerty 767ba3bb14 Ongoing gameplay dev (#49)
* launch.json cwd

* bodge to load gci for testing

* stub card stat

* gameplay bodges

* viewport, ub fixes

* add release with debug info cmake variant

* be fixes, sound stub

* viewport h

* d_msg_flow BE

* be fopAcM_createItemFromEnemyID

* update launch configuration to use iso

* more audio stubs

* Attempt to set viewport and get messages for brightness check

* skip opening scene again, fixed JMessage::TResourceContainer::TCResource::Do_destroy

* add guards for viewport changes

* moar endian swapping to get Link sitting in PROC_OPENING_SCENE and for dialogues

* BE d_msg_class i_data

* stub bgm start

* fix div by 0 error (for now)

* TEMP_BROKEN in d_menu_ring

* REQUIRES_GX_LINES

* properly stub renderingAmap::draw with REQUIRES_GX_LINES

* better stubbing outside of stubs

* fix event data getting swapped multiple times

* evil draw vp fix

* Stub log imgui

This redirects all spammy logs to an imgui window that is cleared per frame.

This fixes the serious performance dip of the logging, and makes the regular log readable.

* Oops move those optimization changes I accidentally committed behind a flag

DUSK_SELECTED_OPT

* gx_line macro in map

* fix audio stubbing

* switch to CARD API aurora impl

* remove kabufuda from link libs

* refactor imgui stuff and add input viewer

* merge stub log with refactor

* accidentally committed a metaforce header shh

* basic map loader

* ImGuiConsole: Add missing <thread> include

* you may now play as luigi (you may now load stages with bridges)

* bloom fix

* bloom leak fix

* cloud shadow fix

* add soft reset button to imgui menu

* if it broke dont not fix it

* i swear i committed this

* BE swap indMtx in JPAResource::setPTev

* wnark ct fix

* frsqrte implementation from kinoko

* Fix Clang compile error in JAISeq::prepare_getSeqData_

* Add endian conversions to dMsgFlow_c::getInitNodeIndex

This fixes a freeze when Fado tries to stop you from leaving the
starting area.

* Add RAII GXTexObj wrapper; fix almost all leaks

* Update aurora for indirect texturing

* Update aurora for CARD fix

* Fix Clang build

* More d_msg_flow endian fixes

Fixes softlock when trying to talk to Fado and possibly other NPCs.

* no frame limiter

* get pause menu working

* proper frame limiting

* particle pointer size fix

* improve map loader a bit

---------

Co-authored-by: Jasper St. Pierre <jstpierre@mecheye.net>
Co-authored-by: TakaRikka <takarikka@outlook.com>
Co-authored-by: CraftyBoss <talibabdulmaalik@gmail.com>
Co-authored-by: Luke Street <luke@street.dev>
Co-authored-by: Lurs <2795933+Lurs@users.noreply.github.com>
Co-authored-by: PJB3005 <pieterjan.briers+git@gmail.com>
Co-authored-by: tgsm <doodrabbit@hotmail.com>
Co-authored-by: Max Roncace <me@caseif.net>
Co-authored-by: Phillip Stephens <antidote.crk@gmail.com>
2026-03-12 04:01:03 -07:00
Pieter-Jan Briers 15732e241c Pjb dev 3 (#48)
* Undo array allocation changes from #43

Doesn't work

* Expand dmeter heap sizes, give names

* Fix manual operator delete call in resource.cpp

* Disable map rendering for now

Aurora can't handle lines

* Re-enable assert heap on DVD thread

Should be fine?

* Some basic debug groups with the new Aurora API

* Allow Aurora backend to be set via CLI

* Give materials debug groups

* More debug groups

* JKRHeap separation: array edition

Pain
2026-03-11 13:40:21 -07:00
Max Roncace 0db911ae43 d_a_npc_tkj2 debug code+data 100% (#3128) 2026-03-11 03:18:57 -07:00
Max Roncace 57441f5817 d_a_horse debug improvements (#3127) 2026-03-11 03:16:11 -07:00
Max Roncace f924a1d8cd Z2Creature debug fixes (#3126) 2026-03-11 03:13:09 -07:00
Luzagar 9b14f18755 E wb documentation + e_rd cleanup (#3125)
* e_rd cleanup

* first pass

* fix ?

* rename

* more rename

* fix other platform

* fix typo

* more documentation

* more work

* fix build

* fix

* more doc

* camera work

* more work

* cleanup

* more work

* clean up + fix build

* fix build

* more work

* change mSpeedRate name

* change description

* more work

* fire eff work

* fix build

* fix match

* debug fix ?

* update description

* rename field
2026-03-11 03:12:17 -07:00
Max Roncace 2e75ea2444 More debug fixes for 99% TUs (#3122)
* d_a_e_hp debug code 100%

* d_a_npc_chin debug improvements

* d_a_npc_du debug code 100%

* d_a_npc_cdn3 debug code 100%

* d_a_e_rdy GCN symbol fixes

* d_a_kago debug code 100%

* d_a_e_oc debug code 100%

* d_a_e_yr debug code almost matching

* d_a_e_bg debug code 100%

* d_a_ykgr debug code 100%

* d_a_tag_hjump debug data fixes

* d_a_tag_attack_item debug data fixes

* d_a_e_df debug code 100%

* d_a_e_sh debug code 100%

* d_a_L7op_demo_dr debug code 100%

* d_a_L7low_dr debug code 100%

* d_a_e_sm2 debug code 100%

* d_a_movie_player debug code 100%

* d_a_e_st debug code 100%

* d_a_npc_aru debug code 100%

* d_a_e_yg debug code 100%

* d_a_door_spiral debug code 100%

* d_a_bg debug code 100% (still has .data issues)

* d_a_e_dn debug code 100%

* d_a_tag_attention debug code 100%

* d_a_e_bd debug code 100%

* d_a_tag_camera debug .rodata fix

* d_a_obj_movebox debug code 100% (array dtors are mismapped)

* d_a_mg_rod debug improvements

* d_a_e_rd debug symbol fixes
2026-03-11 03:07:19 -07:00
Luke Street 9e303b063f Fix UB in dRes_control_c::newResInfo 2026-03-10 21:02:16 -06:00
Luke Street 58707afed0 Update aurora w/ custom SDL3 build for Windows (libusb enabled) 2026-03-10 00:53:52 -06:00
Luke Street c42a435b73 Update aurora for prebuilt packages (#44) 2026-03-09 20:40:55 -07:00
Huitzi 56890c32e8 Actor status consolidation & process profile definition editing (#3117)
* Consolidate fopAcM_STATUS into fopAc_Status_e

* Add _e suffix to fopAcStts enums

* Prepare for profile enumeration
* Correct typo in scene_process_profile_definition
* Manually handle g_profile_Obj_DamCps (inline preprocessing)
* Correct g_profile_TAG_LV5SOUP procname to enum
* Create d_priority.h

* Update process profile definitions
* Moved inline comments to the left
* Add missing fopAcStts enums
* Add d_priority.h include in f_pc_leaf.h
* Manually update d_a_obj_damCps profile

* Replace fopAcStts enums replacing and anticipatory profile size correction
* Changed profile size from literal to sizeof() in anticipation of PR #3116
* Provided putative names to staff-related status enums
* Replaced appropriate literals with fopAcStts enums

* Fix borked merge

* Rename item number enums and move to d_item_data.h

* Rename process profile name & draw priority enums

* Move process profile name & draw priority enums to appropriate files
* Moved fpcNm_ enums from d/d_procname.h to f_pc/f_pc_name.h
* Moved fpcDwPi_ enums from d/d_priority.h to f_pc/f_pc_draw_priority.h

* ACTUALLY (whoops) stage merge

* Correct item mistranslation

Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>

---------

Co-authored-by: LagoLunatic <LagoLunatic@users.noreply.github.com>
2026-03-09 18:33:31 -07:00
Luke Street 5b39f22caa Remove OSTicksToCalendarTime stub 2026-03-09 01:41:00 -06:00
Luke Street 746d01e44c Aurora DVD support (#43)
* Aurora DVD support

* Remove commented code

* Restore STUB_LOG
2026-03-09 00:33:04 -07:00
madeline d35381a60e HEAP_SIZE macro 2026-03-08 21:13:45 -07:00
madeline 783566c8b6 byte swap checksums 2026-03-08 21:13:15 -07:00