115 Commits

Author SHA1 Message Date
emilybrooks 235b6575c2 extracted yubinkyoku and locerrmsg (#195)
* s post office

* winter post office

* extracted locerrmsg

* added comments
2024-06-15 12:56:42 -07:00
Prakxo 69201d6d72 m_room_type OK (#193)
* m_room_type OK

* offsets

* jenkins
2024-06-02 07:41:49 -07:00
Anghelo Carvajal fd05811213 m_trademark OK (#192)
* C file

* trademark_init

* trademark_cancel, trademark_move, trademark_main

* trademark_draw

* trademark_goto_demo_scene and func_80805360_jp

* set_npc_4_title_demo

* func_80804C40_jp

* trademark_cleanup

* func_808052B8_jp

* func_80805104_jp

* func_80804F78_jp

* func_80804EE0_jp

* fix warnings

* small cleanup

* fix build

* some fixes

* stuff

* some cleanups

* Fix rebase

* Import data

* Migrate bss

* cleanup

* Save substruct

* format

* TrademarkState and some other stuff

* remove fake match

* stuff I missed

* whoops

* Stupid `-Wtype-limits`

* Update src/overlays/gamestates/ovl_trademark/m_trademark.c

Co-authored-by: Prakxo <87568477+Prakxo@users.noreply.github.com>

* Review

* Update src/overlays/gamestates/ovl_trademark/m_trademark.c

Co-authored-by: emilybrooks <emilybrooksemilybrooks@gmail.com>

* Update src/overlays/gamestates/ovl_trademark/m_trademark.c

Co-authored-by: Prakxo <87568477+Prakxo@users.noreply.github.com>

* clang-tidy changes???

* review

---------

Co-authored-by: Prakxo <87568477+Prakxo@users.noreply.github.com>
Co-authored-by: emilybrooks <emilybrooksemilybrooks@gmail.com>
2024-05-30 14:00:57 -07:00
Prakxo 1f7fbf9b29 m_choice_main OK (#191)
* work

* m_choice_main OK
2024-05-27 19:19:42 -07:00
Prakxo 8f73c61ec5 second_game OK (#190) 2024-05-21 09:21:23 -07:00
Prakxo 448405671d m_time OK (#189) 2024-05-19 09:40:39 -07:00
Prakxo 92911830dc m_cpedit OK (#188)
* save_menu OK

* work

* m_cpedit OK

* fix
2024-05-18 14:45:24 -07:00
Anghelo Carvajal 727b57b899 Fix some fake symbols (#187)
* Fix fake reference from ovl_Npc_Conv_Master

* ovl_FallSESW fix

* reorder

* ac_npc_guide2 fix

* ovl_Npc_Police
2024-05-17 18:28:20 -07:00
Prakxo 707577c16e save_menu OK (#184) 2024-05-14 07:43:37 -07:00
Tom Overton 8b5260063f ac_structure OK with some minor documentation (#183)
* Partial progress

* `func_809E7F94_jp` OK

* Do some more DMA functions

* Fix build

* Finally make `func_809E823C_jp` work properly

* Finish DMA functions

* Use ALIGN16

* Make the size for `mSc_secure_exchange_keep_bank` more obviously related to what follows

* Fix build after merge

* aSTR_setupActor_proc OK

* aSTR_init_clip_area OK

* Import data to C

* Lots of cleanup

* Use enum values in actors

* StructureActor-ify the structures

* Move `setupInfo_table` inside the function and name it

* Name `aSTR_get_pal_segment` from context clues

* Use all the names I can from DnM+

* Try (and fail) to import BSS into C

* Match bss

* Make bss sizes more "correct"

* Use ARRAY_COUNT to define DMA length

* A lot fewer hardcoded numbers

* Lots of misc cleanup

* A huge amount of names and cleanup

* Get this PR-ready

* Forgot some booleans

* Name a lot of stuff after digging into the object files

* Remove magic numbers for bss array size

* Respond to review
2024-05-06 15:26:01 -07:00
inspectredc 8caa1e847b ac_dump OK (#180)
* ac_dump OK

* warnings
2024-04-24 08:43:28 -07:00
inspectredc 48c8a77bbf ac_tama OK (#179)
* ac_tama OK

* or else
2024-04-23 17:42:13 -07:00
inspectredc 7ae1401111 ac_airplane OK and documented (#178)
* ac_airplane OK and documented

* player lib funcs

* include object

* remove statics
2024-04-23 17:37:47 -07:00
inspectredc 99081d5a7e ac_kago OK and documented (#177)
* ac_kago OK and documented

* palette types

* suggestions + object stuff
2024-04-22 13:21:18 -07:00
inspectredc 30aaa1356f ac_bee OK (#175)
* ac_bee OK

* fix warning

* change sAdo_OngenPos back

* and in code..

* fix linker script stuff
2024-04-17 16:13:31 -07:00
inspectredc e6ea51bc3d ac_Fuusen OK and documented (#174)
* ac_Fuusen OK and documented

* add struct offsets

* use null post merge

* fix sym stuff

* suggestions

* act_balloon extracted

* remove fake symbol

* name object enum

* include assets

* fgname enum/macro
2024-04-16 12:31:29 -07:00
inspectredc 7f426967ef ac_ball OK and documented (#173)
* ac_ball OK

* hopefully format

* address warnings

* Apply suggestions from code review

Co-authored-by: emilybrooks <emilybrooksemilybrooks@gmail.com>

* suggestions pt2

---------

Co-authored-by: emilybrooks <emilybrooksemilybrooks@gmail.com>
2024-04-15 16:19:43 -07:00
Lucas Shaw 08f273cdf9 m_DLF.c OK (#170)
* m_DLF.c OK

* added comment
2024-04-12 20:19:59 -07:00
Lucas Shaw 0e972cfc83 m_debug_display.c OK (#168)
* m_debug_display.c OK

* .

* Migrated data for m_debug_display

* Finishing touches

* ran format.py

* made suggested changes
2024-04-12 09:39:33 -07:00
Prakxo 7146ace5cb m_submenu OK (#166)
* m_submenu OK

* mSM_load_player_anime no warning
2024-04-10 19:00:41 -07:00
Prakxo fce490d951 m_scene OK (#165) 2024-04-09 18:57:33 -07:00
Prakxo 322592d306 m_view OK (#163)
* m_view OK

* format?
2024-04-04 08:38:30 -07:00
Prakxo 1ffded6b49 m_string OK (#162)
* m_string OK

* replace with defines
2024-04-02 15:09:06 -07:00
Prakxo 770d3c2dca m_all_grow OK (#159) 2024-03-29 08:42:32 -07:00
Prakxo 540648ef26 listalloc OK (#158) 2024-03-27 09:55:05 -07:00
Prakxo 4b081155a9 ac_weather_sakura OK (#157)
* weather werk

* ac_weather OK

* format

* review

* sakura werk

* sakura ok

* format

* proto comments
2024-03-22 11:24:09 -07:00
emilybrooks 87c30f66d2 1/2 of structure objects extracted (#156)
* house2

* split yamishop

* split douzou

* split kago

* split dump

* split uranai

* split house

* fixed names

* obj_s_house3

* forgot

* obj_s_house4

* house5

* started winter houses

* w house3

* w_house4

* w_house5

* myhome2

* s myhome done

* w_myhome1

* freedom

* kouban

* small fixes
2024-03-16 08:09:26 -07:00
Prakxo d3623fca20 ac_weather OK (#155)
* weather werk

* ac_weather OK

* format

* review
2024-03-14 08:36:14 -07:00
emilybrooks abd5ecba65 ac_sum_hal_chest02 OK (#153)
* initial commit

* started draw function

* fully matching

* fix compile errors
2024-03-10 15:27:50 -07:00
emilybrooks 26183fe654 match ac_toudai draw functions (#151)
* matched aTOU_actor_draw_after

* some work on aTOU_actor_draw

* aTOU_actor_draw matching

* moved data to in function static

* missed some things

* space

* removed some unneeded stuff
2024-02-29 15:39:35 -07:00
emilybrooks 8ac6fcf5db match aMHS_make_bgOffset (#150)
* matched aMHS_make_bgOffset

* cleaned up

* cleanup

* combine var_v0
2024-02-28 08:31:56 -07:00
Derek Hensley c632d1d20b Link libultra archive (#149)
* git subrepo pull --force lib/ultralib

subrepo:
  subdir:   "lib/ultralib"
  merged:   "34e07ce"
upstream:
  origin:   "git@github.com:decompals/ultralib.git"
  branch:   "main"
  commit:   "34e07ce"
git-subrepo:
  version:  "0.4.6"
  origin:   "git@github.com:ingydotnet/git-subrepo.git"
  commit:   "110b9eb"

* Link in libultra archive

* git subrepo pull (merge) lib/ultralib

subrepo:
  subdir:   "lib/ultralib"
  merged:   "ce7b219"
upstream:
  origin:   "git@github.com:decompals/ultralib.git"
  branch:   "main"
  commit:   "caf88de"
git-subrepo:
  version:  "0.4.6"
  origin:   "git@github.com:ingydotnet/git-subrepo.git"
  commit:   "110b9eb"

* Update paths in lib warnings

* git subrepo pull (merge) lib/ultralib

subrepo:
  subdir:   "lib/ultralib"
  merged:   "4f49c1e"
upstream:
  origin:   "git@github.com:decompals/ultralib.git"
  branch:   "main"
  commit:   "299d7fa"
git-subrepo:
  version:  "0.4.6"
  origin:   "git@github.com:ingydotnet/git-subrepo.git"
  commit:   "110b9eb"

* FIXUPS
2024-02-26 08:18:26 -07:00
Tom Overton 84cb26a6b0 ac_t_keitai OK (#148)
* ac_t_keitai OK

* Pascal case the invented struct name
2024-02-23 15:31:45 -07:00
emilybrooks a187e97a8a Updated splat, implemented new palette system (#146)
* image_type_in_extension

* new palette extension

* global_id not found

* updated splat

* disaster

* changed wording

* fixed fall texture names

* delete bin_to_inc_c script

* forgot to rename
2024-02-21 07:31:13 -07:00
Derek Hensley c37305bb93 m_rcp OK (#145)
* ignore .venv

* Start m_rcp

* gfx_set_fog_position

* gfx_set_fog_nosync

* Data + func_800BD3EC_jp

* func_800BD428_jp

* func_800BD448_jp

* func_800BD470_jp

* func_800BD498_jp

* func_800BD4C0_jp

* _texture_z_light_fog_prim

* _texture_z_light_fog_prim_shadow

* func_800BD538_jp

* _texture_z_light_fog_prim_xlu

* _texture_z_light_fog_prim_light

* _texture_z_light_fog_prim_npc

* texture_z_light_fog_prim_bb_pal_opa

* texture_z_light_fog_prim_bb_pal_xlu

* texture_z_fog_lod_alpha_shadow

* func_800BD6F8_jp

* gfx_rect_moji

* rect_moji

* polygon_z_light_prim

* gfx_softsprite_prim_xlu

* gfx_tex_scroll2

* gfx_two_tex_scroll

* func_800BD9D8_jp

* func_800BD9FC_jp

* tex_scroll2

* two_tex_scroll

* DisplayList_initialize + bss

* fade_rgba8888_draw

* texture_z_light_prim_xlu_disp rename

* func_800BE030_jp

* fade_black_draw

* func_800BE094_jp

* func_800BE0E4_jp

* gfx_gDPFillRectangleF

* func_800BE184_jp

* gfx_gSPTextureRectangle1

* func_800BE27C_jp

* gfx_gSPScisTextureRectangle1

* func_800BE4F8_jp
2024-02-15 10:07:20 -07:00
emilybrooks a60184c64b imported data for ac_train_window (#144)
* initial commit

* add space

* made till_data static
2024-02-14 11:26:50 -07:00
Prakxo 689adc9446 m_name_table OK (#143) 2024-02-14 08:52:10 -07:00
Prakxo 4a679da489 m_actor_shadow OK (#142)
* werk

* more werk

* m_actor_shadow OK

* format

* protos fix

* jenkins happy
2024-02-09 09:55:22 -07:00
emilybrooks bebacf3ba8 1/4th of the structure object extracted (#141)
* linked yamishop

* linked uranai

* need to fix evw extensions

* count01 linked

* linked count02

* linked douzou

* obj_dump

* extracted the pointer tables

* obj_falls

* obj_e_kago

* koinobori

* lotus

* link koinobori

* mikanbox

* house1

* cleanup

* fix formatting

* comment out c file that doesn't exist yet
2024-02-08 08:43:50 -07:00
emilybrooks 1d31ba9ecd ac_koinobori OK (#140)
* initial commit

* everything but draw

* fully matching

* imported data

* fixed errors

* review
2024-02-06 18:49:33 -07:00
Prakxo 24074d678d m_private OK (#139)
* update m2ctx

* size fixes?

* size fix

* work

* more work

* m_private OK

* fix style

* format

* fix warnings

* format..
2024-01-31 11:39:03 -07:00
Prakxo eee794d4b6 Update m2ctx (#138)
* update m2ctx

* size fixes?

* size fix
2024-01-29 14:23:10 -07:00
emilybrooks 1d9c5c49c5 Second half of tool objects (#136)
* tol_keitai_1

* kenjyu

* evw_anime data extraction works

* forgot to remove this

* added comments for objects

* fixes

* scroll colprim colenv now extract as arrays

* forgot commas
2024-01-26 16:19:49 -07:00
Prakxo cc4355f6ad ac_sample OK (#134)
* ac_sample OK

* some review

* review
2024-01-19 17:09:40 -07:00
emilybrooks ef3e9edf8a Umbrella objects (#132)
* tol_umb_01

* umbrella2

* umbrella 3

* 4 and 5

* up to 8

* 9

* 16

* 17

* 22

* 22

* all extracted

* review
2024-01-14 10:09:15 -07:00
emilybrooks 93fa8a0e9e Implement asset extraction (#131)
* got stuff to extract properly

* je and bs extensions done

* got symbols named correctly

* extensions done, symbol naming done

* fixed some errors

* fixed more of them

* stuff

* started editing make file

* makefile works

* ci4 and palette extensions done

* cleaned up ckf_je extension

* fixed vertex problem

* cleaned up asset yaml

* cleaned up extensions

* added tol_cracker_1

* builds properly

* finished obj_s_yamishop and obj_w_yamishop

* updated to work with latest splat

* fixes

* makefile asset dir

* remove old codes from af_ci4.py
2024-01-08 13:00:03 -07:00
emilybrooks 093b8b7b9b Update splat to library version 0.21.0 (#130)
* build not matching for some reason

* partial fix

* builds properly now

* remove pigment64 from readme
2024-01-06 15:51:16 -07:00
emilybrooks ebd97e9fd1 sys_initial_check OK (#129)
* initial commit

* almost matching, need to figure out segment stuff

* fully matching

* file description

* m_std_dma
2024-01-02 11:14:05 -07:00
Prakxo 72514d5aae m_select OK (#128)
* m_select OK

* format
2023-12-21 08:50:42 -07:00
Prakxo 04cc631dab Audiomgr OK (#126)
* audiomgr work

* audiomgr OK

* format

* remove comment

* review
2023-12-12 07:27:09 -07:00