Commit Graph

520 Commits

Author SHA1 Message Date
Alejandro Asenjo Nitti
3e1c0db70b
fox_option decompiled (#44)
* func_EBFBE0_8019CD54

* func_EBFBE0_8019D118

* func_EBFBE0_8019D624

* func_EBFBE0_8019DB20

* func_EBFBE0_8019E284

* importing data

* Data ready to be IMPORTED (technically),
bss split needed

* restore toolchain build init

* comments
2023-12-06 06:20:22 -06:00
Alejandro Asenjo Nitti
2607623487
Update ci.yaml 2023-12-06 00:55:02 -03:00
Alejandro Asenjo Nitti
7910efb530
Update ci.yaml 2023-12-06 00:53:02 -03:00
Ryan Myers
065b566eb6
Makefile Changes (#40)
* Remove existing recomp

* Compile ido-static-recomp instead of relying on precompiled version. Also introduce makefile changes to allow aarch64 devices to compile.

* Get mio0 from the source, and build it in the init.

* Workaround for sm64tools not ignoring it's build files.

* Fix cflags

* Fancy colours for build system

* Remove sm64tools submodule and just take the minimum required files instead.

* Remove ido-static-recomp submodule and just fetch latest from GH instead.

* Add support for using a venv in python.

* remove mio0-decompressor temp

* Fix the mio0-decompress files being somehow missing.

* Fix stray message about "fix_checksum"

* Update logo to be a VAR, and have a failed build say FAILED

* Add checksum fix back in.
2023-12-04 18:36:31 -03:00
petrie911
3a38f87ea5
wip on sf_A4B50 (probably fox_play), also names and cleanup (#43)
* objects?

* objects2?

* more stuff

* format

* even more cleanup

* RCP function names

* format

* NO U

* makerom too
2023-12-04 15:50:52 -03:00
Alejandro Asenjo Nitti
b035b53569
fox_option functions (#41)
* func_EBFBE0_801992C4

* func_EBFBE0_8019949C

* func_EBFBE0_80199820

* func_EBFBE0_80199EA8

* func_EBFBE0_80199FA8

* func_EBFBE0_8019A0B8

* func_EBFBE0_8019A1A8

* func_EBFBE0_8019A2E0

* func_EBFBE0_8019A4DC

* func_EBFBE0_8019A6DC

* func_EBFBE0_8019A954

* func_EBFBE0_8019AAB4

* func_EBFBE0_8019AB30

* func_EBFBE0_8019AD84

* func_EBFBE0_8019AFFC

* func_EBFBE0_8019B1F8

* func_EBFBE0_8019B3DC

* func_EBFBE0_8019B5AC

* func_EBFBE0_8019B6D8

* func_EBFBE0_8019B7D4

* func_EBFBE0_8019B8C8

* func_EBFBE0_8019B9C0

* func_EBFBE0_8019BAB8

* func_EBFBE0_8019BBA4

* func_EBFBE0_8019BC44

* func_EBFBE0_8019BDF0

* func_EBFBE0_8019BE7C

* func_EBFBE0_8019BF34

* func_EBFBE0_8019C04C

* func_EBFBE0_8019C120

* comments and member names

* func_EBFBE0_8019C418

* func_EBFBE0_8019C5A0

* func_EBFBE0_8019C8C4
2023-12-04 09:19:33 -06:00
Alejandro Asenjo Nitti
aa59b6ff69
fox_option functions (#39)
* func_EBFBE0_80195B74

* func_EBFBE0_80196894

* func_EBFBE0_8019896C

* fix

* func_EBFBE0_80194CE4

* func_EBFBE0_801952B4

* RCP_SetupDL

* format

* move data around

* space
2023-11-30 16:35:40 -06:00
petrie911
2f67ed8638
Names and such (#38)
* names and such 1

* more names

* format
2023-11-29 23:44:42 -03:00
Alejandro Javier Asenjo Nitti
78a940dbb0 fix_checksum 2023-11-29 11:45:46 -03:00
petrie911
cae711a312
should work (#37) 2023-11-29 08:40:43 -03:00
Alejandro Asenjo Nitti
31e564e5c8
fox_title data imported (#36)
* begin importing data

* data imported

* remove padding
2023-11-28 20:32:45 -06:00
petrie911
078a9f5897
Sf_bb360, also major data import (#35)
* all sorts of imports and such

* oops

* names and such
2023-11-28 17:03:47 -03:00
Alejandro Asenjo Nitti
57aa26f0b8
make disasm (#34)
* make disasm

* update

* phony
2023-11-28 15:26:18 -03:00
Alejandro Asenjo Nitti
be46258c0c
fox_title decompiled (#33)
* func_EBFBE0_8018C1C0

* func_EBFBE0_8018C644

* func_EBFBE0_8018CB90

* func_EBFBE0_8018CC30

* func_EBFBE0_8018CD9C

* func_EBFBE0_8018D2B8

* M_DTOR

* func_EBFBE0_8018D510

* func_EBFBE0_8018DDB8

* func_EBFBE0_8018FD08

* func_EBFBE0_8018FD08

* func_EBFBE0_801903B8

* func_EBFBE0_8018E200

* func_EBFBE0_8018E67C

* func_EBFBE0_8018EDC8

* func_EBFBE0_80192D58

* func_EBFBE0_80193C4C
2023-11-28 10:38:25 -06:00
Alejandro Asenjo Nitti
5d35055807
fox_title functions (#32)
* add recipe for context

* echo

* $(PYTHON)

* func_EBFBE0_801881FC

* func_EBFBE0_801881FC

* format

* format

* func_EBFBE0_8018994C

* func_EBFBE0_8018A644

* func_EBFBE0_8018A990

* no casting for you

* func_EBFBE0_8018ABC0

* func_EBFBE0_8018ACEC

* func_EBFBE0_8018B038

* func_EBFBE0_8018B058

* func_EBFBE0_8018B5C4

* func_EBFBE0_8018C114

* unify phony
2023-11-27 06:39:12 -06:00
petrie911
0205789a28
a bunch of graphics related functions and data importation (#31)
* graphics?

* more stuff

* missed one

* headers

* data import and such
2023-11-26 18:27:05 -03:00
Alejandro Asenjo Nitti
d6fc56adc0
fox_title (#30)
* func_EBFBE0_801919C4

* fox_title functions

* func_EBFBE0_8019C66C

* broken branch

* fix branch

* more functions

* remove unnecessary file

* sizes

* func_EBFBE0_80188010

* func_EBFBE0_801894E8

* func_EBFBE0_8018A2F8

* func_EBFBE0_8018A338
2023-11-25 14:08:39 -06:00
petrie911
d32854ced1
Proposed names for library stuff (#29)
* get this started

* linker scripts fixed

* oh god what now

* names

* the blue pill

* names, perhaps

* save

* clean out structs

* save for later again

* more names

* save, again
2023-11-24 16:11:20 -03:00
Lywx
e0cc3dbc0e
Decomp 2F300.c (#26)
* Decompiled func_8002EE34

* Fixed format

* Matched func_8002F64C

* Decompiled func_8002FE74 and fixed array size
2023-11-22 11:57:54 -03:00
petrie911
c2a2b60871
enemy drawing routines decomped (#28)
* graphics?

* more stuff

* missed one
2023-11-22 11:56:29 -03:00
Alejandro Asenjo Nitti
4cfdc163e9
fox_option.c (#27)
* func_EBFBE0_801920C4

* func_EBFBE0_80192190

* func_EBFBE0_801924C4

* func_EBFBE0_80192598

* func_EBFBE0_80192738

* func_EBFBE0_801928BC

* func_EBFBE0_80192938

* rename to fox_option found in sf643D rom symbols

* dec

* few functions

* need input! more input!

* NO DISASSEMBLE!

* func_EBFBE0_80196E54 & func_EBFBE0_80196EFC

* func_EBFBE0_80196F9C

* func_EBFBE0_80196FC4 & func_EBFBE0_80197074

* format

* func_EBFBE0_8019715C

* fix stack

* func_EBFBE0_801973C0

* sneaky ido

* data indicates these are floats

* did i say floats? i was looking at the wrong offsets

* func_EBFBE0_8019752C

* func_EBFBE0_80197914

* func_EBFBE0_80197A3C

* func_EBFBE0_80197DE4

* func_EBFBE0_8019A214

* break

* func_EBFBE0_80199284

* func_EBFBE0_80199424

* func_EBFBE0_8019978C

* func_EBFBE0_8019A080

* func_EBFBE0_8019A298

* func_EBFBE0_8019B8A0

* func_EBFBE0_8019C824

* func_EBFBE0_8019CAE0

* func_EBFBE0_8019DF64

* func_EBFBE0_8019DE74

* func_EBFBE0_8019E030

* func_EBFBE0_8019DD44

* func_EBFBE0_8019DCE8

* func_EBFBE0_8019CBC0

* format

* func_EBFBE0_80193B04

* func_EBFBE0_801944F0

* .

* func_EBFBE0_80197F74

* more functions
2023-11-22 11:47:38 -03:00
petrie911
ca9899deed
sf_61B30 decomped (#25)
* my god it's done

* save for later
2023-11-18 12:44:33 -03:00
Alejandro Asenjo Nitti
d34a5e370a
more "hud" functions (#24)
* decompile func_80086444

* func_80084930

* func_80084B94

* decompile func_80084E78

* pr review
2023-11-17 12:17:56 -03:00
petrie911
3fbfdf01d2
names and namespaces cleaned up (#23)
* threads galore

* something's up

* try this

* I don't even

* who knows

* I can't stop it

* let's try data for fun

* ok I think I've gone far enough

* well maybe a little more

* visual assets somewhat documented

* just keeps going

* forgot formatting

* let
's try bss

* too much?

* one fix

* even more things

* one quick thing

* oh come on

* graph complete?

* format and such

* decomp and such

* small cleanup

* 6 and such

* more overlay fixes

* more of them

* again

* and done
2023-11-15 23:14:33 -03:00
Alejandro Asenjo Nitti
4fa27a34eb
sf_hud functions (#22)
* decompile func_80093310

* decompile func_8008AC54

* func_80094BBC

* func_80094BBC & func_80094954 &func_800933D8

* fix?

* fix2 ?

* fix3 (finally)

* remove commented asm

* decompile func_800869A0

* correction
2023-11-15 08:40:38 -06:00
petrie911
8f695918e3
More decomp, organization of variables.h (#21)
* threads galore

* something's up

* try this

* I don't even

* who knows

* I can't stop it

* let's try data for fun

* ok I think I've gone far enough

* well maybe a little more

* visual assets somewhat documented

* just keeps going

* forgot formatting

* let
's try bss

* too much?

* one fix

* even more things

* one quick thing

* oh come on

* graph complete?

* format and such

* decomp and such

* small cleanup
2023-11-15 00:34:10 -03:00
Alejandro Asenjo Nitti
59475cd4f6
fox_rcp (#20)
* func_800B8E14 & func_800B8DD0

* func_800B94D0

* func_800B9618

* func_800B9760

* func_800B9790

* func_800B98A8

* func_800B99C0

* func_800B99F0

* func_800B9A20

* func_800B9B38

* func_800B9C50

* func_800B9D68

* func_800B9E80

* func_800B9EB0

* func_800B9FC8

* func_800BA0E0

* func_800BA110

* func_800BA140

* func_800BA1A0

* func_800BA1D0

* func_800BA2E8

* func_800BA400

* func_800BA430

* func_800BA460

* func_800BA490

* func_800BA4C0

* func_800BA520

* func_800BA550

* func_800BA5E0

* func_800BA640

* func_800843FC

* func_80084370

* func_80084688

* gSetupDLs

* gSetupDLs

* fox_rcp

* break

* newline

* mvoe screen_width and screen_height to gfx.h

* remove space

* correct size

* clang-tidy from mm
2023-11-13 10:18:43 -06:00
petrie911
77894de848
Decomped and named Matrix functions, decomped some sf_ files, some other cleanup and naming (#19)
* threads galore

* something's up

* try this

* I don't even

* who knows

* I can't stop it

* let's try data for fun

* ok I think I've gone far enough

* well maybe a little more

* visual assets somewhat documented

* just keeps going

* forgot formatting

* let
's try bss

* too much?

* one fix

* even more things

* one quick thing

* oh come on
2023-11-12 19:49:03 -03:00
Alejandro Asenjo Nitti
a56edcf8e8
Several functions (#18)
* func_800BA760

* func_800BA7BC

* func_800B8F48 & func_800B8F78

* func_800B8FA8

* func_800B8FD8

* func_800B9120

* func_800B9150

* func_800B9298

* func_800B92F8

* func_800B9328 & func_800B9358

* func_800B94A0

* func_800B9730

* func_800BA808

* fix func_8002E4F8 args

* func_800B9388
2023-11-11 19:08:26 -06:00
petrie911
6b4015367d
Non-audio threads. Some data importation. (#17)
* threads galore

* something's up

* try this

* I don't even

* who knows

* I can't stop it

* let's try data for fun

* ok I think I've gone far enough

* well maybe a little more

* visual assets somewhat documented

* just keeps going

* forgot formatting
2023-11-07 19:32:09 -03:00
petrie911
931f589177
Fully split and name libultra, and also decomp 3404 (#16)
* libultra sorted out

* missed some things

* forgot some things

* one more thing

* not actually libultra

* also split out the data into three sections

* finer split

* parameter is a thing, apparently

* named everything in libultra

* make
2023-11-04 19:45:03 -03:00
petrie911
f2af4867e4
Identified and organized libultra (#15)
* libultra sorted out

* missed some things

* forgot some things

* one more thing

* not actually libultra

* also split out the data into three sections

* finer split

* parameter is a thing, apparently
2023-11-02 20:36:13 -03:00
Alejandro Asenjo Nitti
e072f198e3
Update README.md
--break-system-packages
2023-10-30 03:54:38 -03:00
petrie911
4311c670c3
Libultra headers and some decomp (#14)
* lib is ultra

* it just keeps going

* math names

* format
2023-10-29 18:19:30 -03:00
Alejandro Asenjo Nitti
854cadfa16
sf_hud functions (#13)
* decompile func_80091F00

* decompile func_80092244

* decompile func_800922F4

* decompile func_800857DC

* decompile func_80085890

* decompile func_80086110

* decompile func_800886B8

* decompile func_800953A0

* decompile func_8009546C

* decompile func_80095538

* decompile func_8009092C

* decompile func_8008D0DC

* fix warnings

* decompile func_8008E51C

* underscore in offsets

* spaces
2023-10-29 17:17:25 -03:00
Alejandro Asenjo Nitti
35ff3f1f39
sf_hud functions (#12)
* space

* decompile func_80090CCC

* unk_ format

* Rand_ZeroOne

* decompile func_80090E8C

* decompile func_800910C0

* decompile func_80091298

* decompile func_80091368

* dec

* false

* decompile func_800914FC

* decompile func_80091864

* decompile func_80091B90

* decompile func_80091CF8

* dec

* decompile func_80091DF4
2023-10-27 02:35:11 -03:00
Alejandro Asenjo Nitti
a194fd2109
sf_hud functions (#11)
* space

* decompile func_80090CCC

* unk_ format

* Rand_ZeroOne

* decompile func_80090E8C

* decompile func_800910C0

* decompile func_80091298

* decompile func_80091368

* dec

* false

* decompile func_800914FC

* decompile func_80091864

* decompile func_80091B90
2023-10-27 02:11:13 -03:00
Alejandro Asenjo Nitti
bf55772bd9
sf_hud functions (#10)
* decompile func_8008C5C8

* decompile func_8008CA44

* decompile func_8008CFB8

* decompile func_8008D250

* decompile func_8008D31C

* decompile func_8008D4F0

* trailing comma

* x and y axis

* decompile func_8008D7F4

* decompile func_8008D984

* decompile func_8008DCB0

* decompile func_8008DD78

* decompile func_8008DE68. Co-authored-by @tharo

* unnecessary parenthesis

* decompile func_8008E2C8

* decompile func_8008E620

* decompile func_8008F96C

* dec

* space

* format

* dec

* decompile func_800907C4

* fix warnings

* decompile func_80090A00 (finally)

* format
2023-10-26 16:22:08 -03:00
petrie911
b698fd3628
Header fix (#9)
* headers

* format

* format

* format again

* headers oh my

* irix is love

* irix is life

* working

* even more fixes

* format

* touching to rebuild
2023-10-23 17:02:01 -03:00
Alejandro Asenjo Nitti
ac1a081cab
Update README.md
clang-format clang-tidy
2023-10-23 17:00:53 -03:00
Alejandro Javier Asenjo Nitti
75778b4598 fix 2023-10-23 15:42:40 -03:00
Alejandro Javier Asenjo Nitti
4617d34d3f rename R4300.h 2023-10-23 15:34:26 -03:00
Alejandro Asenjo Nitti
fd742f93be
sf_hud functions + code organization (#8)
* decompile func_80086C08

* decompile func_80086CC8

* format

* decompile func_80088784

* preserve macros

* better match func_80005708

* format

* *arg0

* decompile func_80089670

* decompile func_80089710

* decompile func_800897B0

* decompile func_80089850

* decompile func_800898F0

* decompile func_80089994

* decompile func_80089AF4

* decompile func_80089B94

* decompile func_80089C38

* decompile func_80089D28

* space

* format

* decompile func_80089E98

* correction

* declare segmented addresses in func_80088784

* segmented addresses in undefined_syms

* correction

* Gfx type

* *arg0 + 1 in func_80005708

* roll back s32 -> Gfx

* fix

* array of Gfx pointers

* decompile func_8008AD94

* decompile func_8008AD94

* decompile func_8008B1B0

* decompile func_8008B2F0

* create structs.h

* reordering

* format

* decompile func_8008B5B0

* decompile func_8008B9E8

* decompile func_8008BAE4

* decompile func_8008C390

* fixes

* fixes

* fix warnings

* move protos to functions header

* move variables to variables.h

* roll back segmented config in header
2023-10-23 11:01:29 -05:00
Alejandro Asenjo Nitti
90538c74e5
Update README.md
--break-system-packages
2023-10-23 12:11:15 -03:00
Alejandro Asenjo Nitti
cdfa9d45cf
correct version of gfxdis (#6) 2023-10-19 13:40:37 -05:00
petrie911
0c7c184d8a
Library split (#5)
* fixed

* and cleanup

* format

* let's all go to the library

* split

* small cleanup
2023-10-19 14:53:47 -03:00
petrie911
0e74b7902a
Split game engine files and rodata, fix some rodata offsets (#4)
* fixed

* and cleanup

* format

* hud escaped

* format
2023-10-19 10:57:03 -05:00
Alejandro Javier Asenjo Nitti
789830d285 TODO comment 2023-10-18 19:54:49 -03:00
Alejandro Javier Asenjo Nitti
59e32d05b8 func_80189208_EC18C8 matching 2023-10-18 19:54:19 -03:00
Alejandro Javier Asenjo Nitti
a6530bcfba decompile func_80187E28_EC04E8 2023-10-18 18:20:10 -03:00