Commit Graph

2766 Commits

Author SHA1 Message Date
Teddy Heidmann 1783172231 GZLP01 2026-08-14 05:40:02 -07:00
Teddy Heidmann db58158c66 GZLJ01 2026-08-14 05:35:36 -07:00
Teddy Heidmann 06d5eda374 different fix for d_map.h 2026-08-13 21:19:57 -07:00
Teddy Heidmann 14f8187e5c not matching GZLJ01 2026-08-13 21:08:58 -07:00
Teddy Heidmann 384b8ca809 fix dMap_GetFloorNoForDmap 2026-08-13 21:00:33 -07:00
Teddy Heidmann 8bcb9f1f8e Merge remote-tracking branch 'upstream/main' into d_menu_dmap 2026-08-13 20:36:56 -07:00
Teddy Heidmann 50044f9119 cleanup for review, configure matching 2026-08-13 20:27:13 -07:00
LagoLunatic 7f5f5983fd GXAttr OK 2026-08-13 21:58:48 -04:00
Teddy Heidmann 42ec44822a _draw() 2026-08-13 18:56:19 -07:00
Teddy Heidmann 3b0e11115c deletes are weird in ghidra 2026-08-13 17:51:33 -07:00
LagoLunatic 2fe7e48e10 d_menu_collect closer 2026-08-13 19:06:17 -04:00
Teddy Heidmann abf90f1e00 boss animes 2026-08-13 14:22:36 -07:00
Mattias Blum 56f975b580 d_menu_collect mostly matching for GZLE01 (#1164)
* more progress

* more progress

* more progress

* more progress

* d_menu work

d_menu_collect class members cleaned up, some functions at 100% matching

* added `Nonmatching` tag to unmatched functions

* more functions at 100%

* more functions matching

* more functions matching

* more progress

* more progress

* d_menu mostly matching for GZLE01

* fixed broken member names
2026-08-13 16:27:09 -04:00
LagoLunatic 37f7baaaf0 Several demo matches (#1165) 2026-08-13 16:19:28 -04:00
LagoLunatic e1e081f37b d_a_obj_ikada OK 2026-08-13 14:23:30 -04:00
LagoLunatic 3af34ad575 Enable clang return type warning for incomplete TUs, disable unused var warning 2026-08-13 13:28:39 -04:00
Teddy Heidmann 2325547669 pls no more string logic 2026-08-13 09:57:14 -07:00
Teddy Heidmann bfe4c4c7ee so many pointers 2026-08-12 20:44:06 -07:00
Teddy Heidmann f4b701cc01 itemScale 2026-08-12 13:23:16 -07:00
Teddy Heidmann cd542998e3 notes 2026-08-12 09:56:47 -07:00
LagoLunatic 93a2a6522a d_a_movie_player fixes 2026-08-12 12:56:27 -04:00
LagoLunatic 5f056105b3 d_a_magma OK for demo 2026-08-12 12:18:36 -04:00
Teddy Heidmann 14f353da13 cursors 2026-08-12 06:03:50 -07:00
Teddy Heidmann 2f0310f080 alphas 2026-08-11 21:26:34 -07:00
Teddy Heidmann f627ab5c3a largest method ever 2026-08-11 20:08:27 -07:00
Teddy Heidmann bf9236dc28 treasureDraw 2026-08-11 13:04:33 -07:00
Teddy Heidmann b4cff7ab67 initialize 2026-08-11 09:25:38 -07:00
Teddy Heidmann 17e01665a1 boss door 2026-08-10 16:03:36 -07:00
Teddy Heidmann 543ae7ee66 More screenSet 2026-08-10 13:57:39 -07:00
Teddy Heidmann 46c980744d screenSet progress 2026-08-09 19:15:37 -07:00
Teddy Heidmann 729c36be93 dMd_HIO_c fields and constructor 2026-08-09 17:40:34 -07:00
Teddy Heidmann d2f955faaf initial structure from ghidra 2026-08-09 15:46:03 -07:00
LagoLunatic 2289b54d5f ba1 cleanup 2026-08-08 15:34:12 -04:00
Anthony Rossi 7bf6761243 D_a_npc_ba1 100% matching (#1144)
* Ba1 matched 100%

* last fixes

* Proper interaction with actor_fa

* Not matching 100% on JP

* Matching on JPN

* Forgot to update the configure file ...

* 100% matching

* Applied review suggestions

---------

Co-authored-by: Anthony Rossi <anthony.rossi@pm.me>
2026-08-08 15:01:29 -04:00
LagoLunatic 07b55421f9 msg inline fixes, remove some fake jsystem inlines 2026-08-07 16:40:56 -04:00
LagoLunatic 5e00819c5b msg mng work (#1147)
* msg mng JPN work

* stringShift match, cleanup

* stringLength equivalent for JPN

* stringLength 100% for JPN

* stringSet 100% for JPN

* Match timer tag funcs for PAL
2026-08-07 16:14:01 -04:00
LagoLunatic 1d57f04689 salvage_tbox demo match and fix inlines 2026-08-03 17:54:03 -04:00
LagoLunatic 8a602cb87f fix compilation error 2026-08-03 16:37:34 -04:00
Anders Gjerde cb6a9205db d_a_salvage_tbox - 100% (GZLJ01, GZLE01, GZLP01) (#1113)
* First attempts at d_a_salvage_tbox

* CreateHeap match

* set_mtx 87%

* set_mtx 100%

* initWaitGetItem 93%

* initWaitGetItem 98.24%

* initWaitGetItem 98.24% - removed comments

* Removed unecessary fields

* actWait02 78.04%

* daSTBox_Draw 100%

* _create 39.71%

* _create 80.10%

* _create 98.50%

* Some changes in class members to be done, _create 99.99%, started on shadowEcallBack.

* _create 100%, shadowEcallBack.getMaxWaterY 84.93%, shadowEcallBack.setup 100%

* shadowEcallBack.getMaxWaterY 93.68%

* shadowEcallBack.getMaxWaterY 94.64%

* shadowEcallBack.getMaxWaterY 99.32%

* getWaterY 99.62%

* Swap position of mpAngle to get setup back to 100%

* actWait02 81.50%

* actDrop 74.60%

* actDrop 98.80%

* actWait 32.54%

* actWait 84.60%

* actWait 88.69%

* actWait 99.35%

* actWait02 100%

* _delete 55.71%

* _delete 97.57%

* _delete 99.12%

* shadowEcallBack_c::execute 79.13%

* shadowEcallBack_c::execute 99.70%

* CreateInit 94.92%

* CreateInit 98.64%

* shadowEcallBack_c::draw 21.24%

* shadowEcallBack_c::draw 34.81%

* shadowEcallBack_c::draw 54.72%

* shadowEcallBack_c::draw 69.86%

* shadowEcallBack_c::draw 97.99%

* shadowEcallBack_c::draw 99.10%

* actWait 99.43%

* _execute 40.58%

* _execute 73.14%

* _execute 98.29%

* initWaitGetItem improvements 98.24%

* initWaitGetItem 100%

* Removed unnecessary this->

* _delete 100%

* actWait 99.82%

* CreateInit 99.52%

* shadowEcallBack_c::getMaxWaterY 99.32%

* CreateInit 99.52%

* Simplified getStaffId in _execute

* shadowEcallBack_c::draw 99.11%

* shadowEcallBack_c::draw 99.23%

* shadowEcallBack_c::draw 99.48%

* actWait 99.85%

* Named shadowCallback

* actDrop 99.60%

* Renamed m_arc_name to m_arcname

* actWait 99.97% - using dComIfGp_particle_setShipTail

* _execute 99.58% - changed actIdx type to s16

* _execute 98.43% - reverting actIdx type back to int.

* CreateInit 99.92% - created cXyz position in shadowEcallBack.

* _execute 100% - cast on ship.

* .rodata 100% - Moved crane_offset above actWait where it first is used.

* Hoisted alpha_arr in shadowEcallBack_c::execute but to no avail.

* shadowEcallBack_c::execute 100% - emitter->setGlobalTranslation for regswap and used inline emitter->setGlobalRotation

* shadowEcallBack_c::draw 100% - moved fVar3 down a few lines to fix regswap

* shadowEcallBack_c::execute 100% - getting global translation object, only modifying its y property, and setting it again.

* Removed Nonmatching from matching functions and fixed memory offsets in shadowEcallBack_c.

* Linked - Added destructor for shadowEcallBack and added Matching in configure.py

* Set MatchingFor Japanese, United Statian and European versions - demo differs quite a bit.

* Removed incorrectly added include d_a_ship.h from d_com_inf_game.h

---------

Co-authored-by: Anders Gjerde <mail@mail.com>
2026-08-03 16:36:40 -04:00
LagoLunatic 27e65e0f29 "control stick" -> "main stick" for consistency 2026-08-03 15:11:57 -04:00
LagoLunatic b8c26428ed Use CPad macros when accessing controller fields 2026-08-03 14:35:16 -04:00
LagoLunatic 15b181b15c Add enums for msg icons and control codes 2026-08-03 14:08:19 -04:00
LagoLunatic 7d10c4357a p1 cleanup 2026-08-03 02:08:28 -04:00
LagoLunatic 537b6cfc3b use 4 spaces for indentation instead of 2/8/etc 2026-08-03 01:53:25 -04:00
WilliamArnett 11f4940d74 d_a_npc_p1 100% Matching (#1098)
* 99% match

* Rewrote _execute to increase accuracy. Only issue in .text is a label not loading correctly. I have no idea how to fix this.

* Equivalent. Weak func ordering.

* 7% text

* 28% text

* 41% text

* 65% text

* Rewrote _execute to increase accuracy. Only issue in .text is a label not loading correctly. I have no idea how to fix this.

* Equivalent. Weak func ordering.

* 82% text

* Equivalent. A lot of work is needed to name variables and clean up functions. Weak function ordering is wrong.

* Cleaned some functions, named several variables, and began documenting dialog tree.

* Naming a couple more variables

* 21% text

* change out getMySubstanceP for getMyIntegerP inline

* 100% text

* Refactor to use JUT_ASSERT macro

* #181: d_a_tag_attention matching; TODO: implement chk_inside and dComIfGp_att_Look2RequestF

* #181: continue working on d_a_tag_attention, matching almost complete

* #181: revert naming class member (not certain enough)

* #181: preliminary changes to resolve #784 comments regarding usage of debug maps

* #181: commit suggestion by @WilliamArnett, fixing regalloc error

Co-authored-by: WilliamArnett <149556961+WilliamArnett@users.noreply.github.com>

* #181: fix missing curly bracket

* #181: resolve #784 comments with the kind help of @WilliamArnett;
 move `daTagAttention::Act_c::chk_inside` to header file; split `plyrToObjVec` definition to match assembly;
 remove temp variable, use values directly and swap operands;
 implement `Look2RequestF` in `include/d/d_attention.h`;
 remove non-matching use of temp variable `iVar1` and replace `current.pos` with uninitialized variable in `daTagAttention::Act_c::_execute`

* Update fork to match upstream

* some changes

* 73% text

* 100% Matching minus kaji_anm

* Delete debug/m2cdecomp

* revert unnecessary file changes

* remove d_a_npc_p2_cut.inc

* Match kaji_anm

* swap declaration order of l_msg and l_msgId

* Naming many fields

* Implement GetKajiID inline

* Enum and variable names

* Remove virtual genMessage function

* Implement @LagoLunatic 's suggested changes

* Revert array changes in d_camera.h (@LagoLunatic suggested change)

* Whitespace

* Rename dSnap enum

---------

Co-authored-by: Skelp <skelp@pm.me>
Co-authored-by: Skelp <59535863+Skelp@users.noreply.github.com>
2026-08-03 01:40:12 -04:00
LagoLunatic 380407dd26 msg work (#1143)
* fopMsgM_msgDataProc_c::stringSet work

* Fix JPN

* More stringSet work

* work

* get rid of fake temps

* stringSet 99.99%

* fopMsgM_msgDataProc_c::stringLength 100%

* d_msg work

* fix pal

* fix message_paper, d_meter version diff fixes
2026-08-02 21:04:29 -04:00
Benjamin ROELANDT dbc093a3cf d_scope 100% (#1112)
* First version of d_scope, everything is matching on all version, probably missing a few inline on undocumented field that i did not manage to find

* Readd stuff previously deleted but badly tested

* Rename some fields and a few more inline

doesn't improve matching but i think it looks more genuine

* clean up syntax

* move d_scptyp enum and add forgotten inline

* build fix

* replace seStart call with proper enum
2026-08-02 11:45:21 -04:00
LagoLunatic 6b911411f0 Actually fix debug_map_diff.py paths 2026-07-31 19:12:55 -04:00
LagoLunatic fa73747971 Fix paths in debug_map_diff.py 2026-07-31 19:02:36 -04:00
Mattias Blum d46b64f9cb d_menu work (#1141)
* more progress

* more progress

* more progress

* more progress

* d_menu work

d_menu_collect class members cleaned up, some functions at 100% matching

* added `Nonmatching` tag to unmatched functions

* more functions at 100%

* more functions matching

* more functions matching
2026-07-31 13:33:36 -04:00