Commit Graph

605 Commits

Author SHA1 Message Date
Alejandro Asenjo Nitti
41698a131a
Extract ast_warp_zone (#136)
* try

* progress

* hasta la vista, baby

* ast_warp_zone matching

* remove symbols from linker

* new version of Torch

* ast_warp_zone
2024-02-18 22:34:56 -03:00
Alejandro Asenjo Nitti
e3b26ca666
sys_audio_C870.c Initial work (#135)
* func_8000BFE8

* func_8000BF6C

* func_8000BFD8

* func_8000BF94

* func_8000BFA8

* func_8000E1C4

* func_8000DBE4

* func_8000C0C0

* func_8000C1F8

* func_8000C13C

* matching

* various fixes

* AudioHeap_SearchRegularCaches

* func_8000CAF4

* func_8000DC84

* func_8000DC84

* .

* sf64 audio provisional header

* .
2024-02-18 12:43:21 -03:00
Lywx
0b13c0edef
Asset extraction (#133)
* Added torch and ast_logo yml

* Added torch into makefile

* Added torch into tools all rule

* Fixed version and removed clang-format from c header

* Reverted settings.json unrelated change

* Bump version

* Readded -s flag

* Fixed Makefile indentation
2024-02-17 23:19:18 -03:00
Lywx
423be52768
Swapped rule order on ci action (#134) 2024-02-17 10:44:12 -03:00
petrie911
9346a22c63
Asset names and headers (#131)
* assets and such

* here goes

* here goes again

* once more

* once more

* type fixing

* type fixing

* type fixing

* here goes

* here goes

* format
2024-02-16 21:58:59 -03:00
inspectredc
324115177e
match func_i5_8018A544 and cleanup func_i6_8019EE60 (#132) 2024-02-16 21:55:40 -03:00
Alejandro Javier Asenjo Nitti
2bd47f5bfd fix level select mod 2024-02-16 20:41:38 -03:00
petrie911
209b929eda
Import main, context, and option bss. Refactor headers. Some enum cleanup. (#130)
* stuff

* fixes

* addrs

* new header

* its bss time

* format and such

* fake symbols begone

* whoops forgot pragmas
2024-02-16 19:04:22 -03:00
inspectredc
16cc6a411f
Titania decomp - 4 non-matching, 2 non-equiv (possibly equivalent) (#129)
* progress

* progress2

* more matches and remove warnings

* add non matching/equivs and move assets to top

* update post merge

* data

* bss

* clean up

* correct numbers

* address review
2024-02-16 14:15:58 -06:00
petrie911
234b36ebb5
match fox_sy (#128)
* match

* pointer cleanup

* more cleanup

* more cleanup
2024-02-14 20:22:37 -03:00
Alejandro Javier Asenjo Nitti
16c0dc371f roll back rspboot & aspmain disassembly 2024-02-14 15:46:33 -03:00
petrie911
f83d179ea9
improve match on i3, add scratches, some linker cleanup (#127)
* stuff

* fixes

* addrs
2024-02-14 12:33:21 -06:00
Lywx
503ec0a01b
Splitted buffers to a new file (#126)
* Splitted buffers

* Moved buffers to latest overlay

* Removed sizes and moved buffers to a new overlays segment

* Removed addrs from libultra

* Readded symbols into symbol_addrs

* rename buffers to fox_buffers

---------

Co-authored-by: Alejandro Javier Asenjo Nitti <alejandro.asenjo88@gmail.com>
2024-02-14 15:32:33 -03:00
Lywx
902dc0b829
Match Libultra (#120)
* Matched perspective, contquery, contreaddata, recvmesg and sendmesg

* Fixed libultra compilation flags

* Matched viblack

* Matched virepeatline, visetmode, visetspecial and viswapbuf

* Matched cartrominit, dpsetstat, sptask, sptaskyield, visetevent, createthread, gettime, setthreadpri, settime, settimer and starthread

* Fixed bss bs

* Matched even more libultra stuff

* Matched even more

* __osRdbSend

* Decompiled most of the functions of libultra <3

* Matched last functions

* Added a separation to libultra macros

* Removed ARRLEN from controller.h

* Fix libultra warnings

---------

Co-authored-by: Alejandro Javier Asenjo Nitti <alejandro.asenjo88@gmail.com>
2024-02-14 12:24:31 -03:00
Alejandro Javier Asenjo Nitti
ff2627c1ca rsp_boot & aspmain assembly extraction 2024-02-13 21:40:09 -03:00
petrie911
32ff1bf34d
format (#124) 2024-02-12 15:53:43 -03:00
Alejandro Javier Asenjo Nitti
8754a483f2 fix func_i3_801AE168 NON_MATCHING 2024-02-11 23:39:59 -03:00
petrie911
c289b5d213
matches (#123) 2024-02-11 21:47:23 -03:00
Alejandro Javier Asenjo Nitti
f88d780765 func_800AF07C matched 2024-02-11 16:07:32 -03:00
petrie911
a66dbbfb0c
match fox_i6_4 (#122)
* match

* name
2024-02-10 15:10:45 -03:00
petrie911
25694f9d49
Finished Ve1, added permuter macros, fixed an error in Player struct (#121)
* format

* format

* cleanup

* offsets
2024-02-10 15:09:27 -03:00
Alejandro Javier Asenjo Nitti
b435e2b63f fix fox_ka warnings 2024-02-10 13:22:32 -03:00
Lywx
3d82f475de
Match fox_ka (#119)
* Decompiled a ton of functions

* Matched even more functions!

* Decompiled even more functions, now with Bill!

* Moved externs

* Matched func_i4_80192E20, func_i4_80193EF0, func_i4_801946C4, func_i4_80197290 and func_i4_80198AA0

* Cleaned code

* Sorted externs

* Added new line into breaks

* Added D_i4_8019F18C into symbol_addrs

* Added D_i4_8019F168 symbol

* TOMÁAAAAA

* Fixed merge conflicts

* Converted hex values to decimal

* Fixed format

* Added spaces on some ifs

* Removed unnecesary casts

* Added overlays.yaml

* Cleanup based on comments

* Cleaned based on petrie comments

* Changed obj status

* Fixed rot variables

---------

Co-authored-by: Alejandro Javier Asenjo Nitti <alejandro.asenjo88@gmail.com>
2024-02-08 23:12:28 -03:00
Alejandro Javier Asenjo Nitti
04291937f3 Match osDestroyThread 2024-02-07 17:27:48 -03:00
Alejandro Javier Asenjo Nitti
52a8a12bea Match osCreateMesgQueue 2024-02-07 16:06:55 -03:00
Alejandro Javier Asenjo Nitti
650dc4778a fox_option symbols 2024-02-06 23:12:45 -03:00
Alejandro Javier Asenjo Nitti
731f363dfc fox_versus symbols 2024-02-06 21:23:57 -03:00
Alejandro Javier Asenjo Nitti
7fb19f9825 fox_hud symbols 2024-02-06 20:59:18 -03:00
Alejandro Javier Asenjo Nitti
0084ed5123 fox_enmy2 symbols 2024-02-06 20:44:02 -03:00
Alejandro Javier Asenjo Nitti
a9caa3d48d fox_enmy symbols 2024-02-06 20:13:26 -03:00
Alejandro Javier Asenjo Nitti
c8977375e0 fox_demo lone symbol 2024-02-06 19:09:36 -03:00
Alejandro Javier Asenjo Nitti
1d90a928ec fox_std_lib symbols 2024-02-06 17:45:24 -03:00
Alejandro Javier Asenjo Nitti
c3fe1175ea fox_edisplay symbols 2024-02-06 16:38:23 -03:00
Alejandro Javier Asenjo Nitti
5bfab6e07e fox_ground code spacing 2024-02-06 14:22:39 -03:00
Alejandro Javier Asenjo Nitti
0e2578a9fe fox_end1 symbols 2024-02-06 14:13:29 -03:00
petrie911
e941d81b7f
Finished sf_i5_4, now fox_ground (#117)
* Match func_i5_801B49D0

* Match func_i5_801B4A54

* Fix warning

* merge master

* WIP func_i5_801B4AA8

* Stack fixed func_i5_801B4AA8

* Match func_i5_801B4AA8

* Better math for the func

* Match func_i5_801B5110

* Migrate RODATA

* format

* Match func_i5_801B6AEC

* Match func_i5_801B68A8

* Translation update

* WIP func_i5_801B58AC

* header cleanup

* make format

* a start

* match

* ground

---------

Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>
2024-02-06 12:14:35 -03:00
Alejandro Asenjo Nitti
4a85ee2663
fox_end2 decompiled (#116)
* func_ending_8018CE20

* progress

* func_ending_8018D638

* func_ending_8018D814

* func_ending_8018DA0C

* func_ending_8018DCB4

* func_ending_8018E1B8

* func_ending_8018E7B8

* func_ending_8018F2A8

* func_ending_8018F64C

* func_ending_8018FC60

* func_ending_80190274

* func_ending_80190648

* func_ending_80190778

* func_ending_80190CF0

* func_ending_80191234

* func_ending_80191294

* func_ending_80191710

* func_ending_80191C7C

* func_ending_80192164

* func_ending_80192290

* func_ending_8019237C

* func_ending_801926D4

* .

* everything matches

* MISSION ACCOMPLISHED

* review

* ultratype

* LEVEL_UNK_M1
2024-02-06 12:14:05 -03:00
Alejandro Asenjo Nitti
092b8fc169
fox_bo (BOLSE) Decompiled (#115)
* func_i4_8018BD60

* func_i4_8018C158

* func_i4_8018CC60

* func_i4_8018D278

* func_i4_8018D394

* func_i4_8018D414

* func_i4_8018D454

* func_i4_8018D584

* func_i4_8018D4F0 co-authored-by @inspectredc

* func_i4_8018D874

* func_i4_80192264

* func_i4_80191ED8 co-authored-by: @petrie911

* func_i4_80191DB0

* func_i4_80191BAC

* func_i4_80191AFC

* func_i4_80191AFC

* func_i4_80191180

* func_i4_80190FE8

* func_i4_80190F58

* func_i4_80190EE4

* func_i4_80190D98

* fix fake symbol

* func_i4_8018F94C

* func_i4_8018F94C refactor

* format

* function prototypes

* v

* func_i4_8018EAEC

* func_i4_8018ECB4

* func_i4_8018EC1C

* func_i4_8018EE4C

* func_i4_8018ED44

* func_i4_8018D960

* func_i4_8018CCE8

* func_i4_8018D008

* func_i4_8018D124

* func_i4_8018E710

* func_i4_801918E4

* func_i4_80191A6C

* func_i4_801912FC

* func_i4_8018EF6C

* func_i4_8018E870

* func_i4_8018CE5C

* func_i4_8018BEF8

* refact func_i4_8018D4F0

* func_i4_8018E3FC & func_i4_8018E05C co-authored-by: @inspectredc

* func_i4_8018DE8C

* func_i4_8018D9CC co-authored-by: @petrie911

* data imported

* import bss

* dec

* clean up

* PR review

* dec

* dec

* review
2024-02-05 16:52:41 -03:00
petrie911
c968a071cc
Ending 1 decomped (#114)
* ending

* ending
2024-02-03 14:14:43 -03:00
Alejandro Javier Asenjo Nitti
1475004917 update m2c to array-indexing 2024-02-02 00:20:26 -03:00
Alejandro Javier Asenjo Nitti
dd1e5ed1a7 update m2c 2024-02-02 00:08:35 -03:00
Alejandro Javier Asenjo Nitti
980d2e44b4 Merge branch 'master' of github.com:sonicdcer/sf64 2024-02-02 00:07:41 -03:00
Alejandro Javier Asenjo Nitti
aa719279ba Spyborg attacks 2024-02-02 00:07:28 -03:00
petrie911
85da422168
fox_aq decomped, some type cleanup (#112)
* stuff

* stuff

* temps

* matched

* so complete

* merge and clean

* format

* graphics macros

* aq

* more stuff

* oh god the clam

* limbdraw

* headers?

* format, name changes

* enums

* merge and format
2024-02-02 00:05:17 -03:00
Ryan Myers
22f5d22fa0
sf_i5_4.c WIP (#113)
* Match func_i5_801B49D0

* Match func_i5_801B4A54

* Fix warning

* merge master

* WIP func_i5_801B4AA8

* Stack fixed func_i5_801B4AA8

* Match func_i5_801B4AA8

* Better math for the func

* Match func_i5_801B5110

* Migrate RODATA

* format

* Match func_i5_801B6AEC

* Match func_i5_801B68A8

* Translation update

* WIP func_i5_801B58AC

* header cleanup

* make format
2024-02-02 00:02:52 -03:00
inspectredc
3dcd59adc1
fox_ma decompiled (#111)
* progress 1

* match functions

* data

* add brackets

* bss

* cleanup

* format

* post merge fixing

* cleanup 2

* suggestions
2024-01-30 15:17:20 -03:00
Alejandro Javier Asenjo Nitti
2c405ec3f3 m2c update 2024-01-28 18:30:55 -03:00
petrie911
6528b2b5cf
Rand and degree macros (#110)
* half

* pm

* dtor

* pi and such

* permuter settings

* angles

* float fix

* macro

* formatting

* small thing
2024-01-28 18:27:23 -03:00
Alejandro Asenjo Nitti
a784be473a
fox_fo Decompiled & Data imported (#109)
* func_i4_80187884

* func_i4_801888C0

* func_i4_80188A48

* func_i4_80188F08

* func_i4_80188FE4

* func_i4_8018906C

* func_i4_801890EC

* strings

* func_i4_801875F0 co-authored-by: @petrie911

* func_i4_80187960

* func_i4_8018BA2C

* func_i4_8018927C

* Import Data

* unnecessary externs

* fix

* Inspect review

* Us

* dec

* dec timers

* obj.status enum

* PR REVIEW
2024-01-28 17:49:14 -03:00
Alejandro Javier Asenjo Nitti
f642fc18b6 update mips2c 2024-01-27 15:26:37 -03:00