Commit Graph

76 Commits

Author SHA1 Message Date
Lywx
d7d9e472c3
MacOS Building Support (#59)
* Fixed MacOS compilation

* Updated spimdisasm requirement to use latest develop

* Updated README

* Fixed python requirements

* Readded --gc-sections on mio0

* Added a conditional flag for gc-sections

* Fixed indentation errors
2023-12-26 17:55:57 -03:00
Alejandro Javier Asenjo Nitti
9d4aa08c2b Failed message 2023-12-24 17:01:44 -03:00
Ryan Myers
015ce283b4
Match over 20 new funcs in sf 77e40 (#55)
* Match func_8007B9DC and func_8007BB14

* Remove macro and add debug notices

* Fix merge diff

* Match func_8007BC7C

* Match func_8007BCE8

* Match func_8007BDE0

* Match func_8007BE54 and an audio func func_8001A500

* Match func_8007BEE8

* Match func_8007BF64

* Match func_8007BFFC

* Match func_8007C088

* Match func_8007C120

* Match func_8007C1AC

* Match func_8007C250

* Fix merge from master

* Match func_8007C3B4

* Match func_8007C484 and func_8007C50C

* Match func_8007C608 and func_8007C688

* Match func_8007C6FC and func_8007C85C

* Match func_8007C8C4

* Add a progress script WIP
2023-12-21 12:52:51 -03:00
petrie911
af26374677
Match Matrix_Scale, change some file names (#52)
* stuff

* three whole files

* format

* format and such

* a switch in time

* merge prep

* nintendo switch

* format

* the great switch statement of our time

* 43AC0 matched

* stuff

* Enums everywhere

* oh god the switch

* knakyo

* new headers

* format

* fox

* everyone hates recursion

* format

* one more thing

* one more one more thing

* renames

* matches

* matrix scale why

* names and such

* cleanup

* name back
2023-12-15 17:09:49 -03:00
Alejandro Javier Asenjo Nitti
f19d05e361 fix make toolchain 2023-12-10 16:27:26 -03:00
Ryan Myers
392305e919
Warnings Fixes (#45)
* fox_option and fox_title warnings

* Couple small warnings

* Fix all remaining warnings

* Run make format

* make tools on its own

* Fix warnings introduced in last master version

* Better use of the drawGfx union
2023-12-08 15:58:37 -06:00
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
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
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
Alejandro Javier Asenjo Nitti
78a940dbb0 fix_checksum 2023-11-29 11:45:46 -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
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
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
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
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
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 Javier Asenjo Nitti
92644c09aa rule for aisetfreq.o 2023-10-18 10:49:51 -03:00
Alejandro Javier Asenjo Nitti
cfb4411646 rule for aigetlen.o 2023-10-18 10:42:21 -03:00
Alejandro Javier Asenjo Nitti
1e929ef9a7 rule for ai.o 2023-10-18 10:26:51 -03:00
Alejandro Javier Asenjo Nitti
12f1704052 rule for xlitob.o 2023-10-18 08:56:49 -03:00
Alejandro Javier Asenjo Nitti
a3cd19ed4e ll.c 2023-10-17 18:50:39 -03:00
Alejandro Javier Asenjo Nitti
522780c936 ortho.c is matching (allá se lo están haciendo...) 2023-10-17 18:11:17 -03:00
Alejandro Javier Asenjo Nitti
85ab89eb48 guLookAt & guLookAtF matching 2023-10-17 17:43:47 -03:00
Alejandro Javier Asenjo Nitti
2142ae4410 guLookAt 2023-10-17 17:08:15 -03:00
Alejandro Javier Asenjo Nitti
b42c6bf539 echo 2023-10-16 14:55:18 -03:00
Alejandro Javier Asenjo Nitti
19e864bb06 reorder 2023-10-16 14:51:04 -03:00
Alejandro Javier Asenjo Nitti
be3c03cd5f comments 2023-10-16 14:50:24 -03:00
Alejandro Javier Asenjo Nitti
483a8a349d phony 2023-10-16 14:48:49 -03:00
Alejandro Javier Asenjo Nitti
5ef3cbcf0e comments 2023-10-16 14:47:20 -03:00
Alejandro Javier Asenjo Nitti
c8218ec461 Link comment 2023-10-16 14:46:11 -03:00
Alejandro Javier Asenjo Nitti
d98938673d decompile lldiv 2023-10-16 14:01:54 -03:00
Alejandro Javier Asenjo Nitti
4985931714 decompile memcpy 2023-10-16 13:52:40 -03:00
Alejandro Javier Asenjo Nitti
32bcc57984 MD5 CHECK 2023-10-16 12:58:34 -03:00
Alejandro Javier Asenjo Nitti
ab9c0f9837 silent jobs 2023-10-16 12:33:45 -03:00
Alejandro Javier Asenjo Nitti
ce9b18d811 O1 -g0 rule for controller.o 2023-10-16 12:27:32 -03:00
petrie911
f97d418f5b stuff 2023-10-16 08:54:41 -05:00
Alejandro Javier Asenjo Nitti
149316972a overlays yaml 2023-10-16 06:46:40 -03:00
Alejandro Javier Asenjo Nitti
547cff0c43 $(N_THREADS) 2023-10-16 06:44:09 -03:00
Alejandro Javier Asenjo Nitti
46c7b95f9a $(PYTHON) 2023-10-16 06:17:33 -03:00
Alejandro Javier Asenjo Nitti
66baed9d91 replace literal with var 2023-10-16 06:12:15 -03:00
Alejandro Javier Asenjo Nitti
29df5ad741 fix multi-threading 2023-10-16 06:04:16 -03:00
Alejandro Javier Asenjo Nitti
dde54193b4 phony 2023-10-15 20:41:23 -03:00
Alejandro Javier Asenjo Nitti
bc27e726f7 improve syntax 2023-10-15 19:54:57 -03:00
Alejandro Javier Asenjo Nitti
0dbc2c0fd4 fix compression 2023-10-15 19:47:03 -03:00
Alejandro Javier Asenjo Nitti
418e51ca7f clean linker_scripts 2023-10-15 19:35:00 -03:00