Commit Graph

94 Commits

Author SHA1 Message Date
Lywx
1b72918e7f
Bump torch to use file change detection (#182)
* Bump torch to use file change detection

* Added -f flag on rm
2024-03-29 14:31:28 -03:00
Alejandro Javier Asenjo Nitti
906ba85040 update message 2024-03-27 01:12:50 -03:00
petrie911
a7aac0753d
torch update, ast_area_6 and ast_vs_player, new names (#169)
* split up

* format

* torch

* headers

* just keep going

* torch

* names and such

* format

* remove headers
2024-03-17 01:06:28 -03:00
Alejandro Asenjo Nitti
ec7ece3c61
export configuration for ast_option (#155)
* initial

* progress so far

* progress

* progress

* progress

* progress

* more progress

* more progress

* progress so far

* comment out BLOB

* comment

* D_8015DF0

* Matchpoint

* matching

* update torch again

* verbose Torch

* remove comments

* fix
2024-03-10 22:38:13 -03:00
petrie911
7e99fe712d
In my nightmares, I see audio_synthesis (#146)
* heapsort

* suff

* load init

* split

* split data

* begone asm

* names

* names and cleanup

* let's try this

* woo macros

* general

* bgm macro

* names

* audio_thread

* Update Torch

* I think it's time to move on

* Merge remote-tracking branch 'upstream/master' into play

---------

Co-authored-by: Alejandro Javier Asenjo Nitti <alejandro.asenjo88@gmail.com>
2024-03-05 19:51:52 -03:00
Alejandro Javier Asenjo Nitti
f23e2efc05 simplify compiler flags for certain directories. 2024-03-03 19:44:36 -03:00
Alejandro Asenjo Nitti
1c204a0151
Export configuration for ast_bg_planet (#145)
* Matching

* remove unnecessary header

* fix

* add rule to extract textures as PNGs
2024-03-03 12:19:57 -03:00
Alejandro Javier Asenjo Nitti
f654b88a5c Update clean recipe 2024-02-22 00:24:52 -03:00
petrie911
c651825586
Name audio files and finish splitting them (#141)
* heapsort

* suff

* load init

* split

* split data

* begone asm
2024-02-21 19:10:06 -03:00
Alejandro Asenjo Nitti
807ade8ff7
ast_blue_marine extraction (#140)
* progress so far

* progress

* progress

* progress

* matching

* revert F3DEX_MK64

* update torch

* update gitIgnore

* correction

* add src/assets to clean recipe
2024-02-21 12:52:42 -03:00
petrie911
05747b1b52
Clean up hardcoded symbols (#139)
* heapsort

* suff
2024-02-20 15:01:42 -03:00
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
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
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
18a99b767f fix CI 2024-01-21 14:21:06 -03:00
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