Commit Graph

115 Commits

Author SHA1 Message Date
Alejandro Javier Asenjo Nitti
a1afe21820 whoops 2024-05-14 15:04:49 -03:00
Alejandro Javier Asenjo Nitti
3ec7a180b1 clean recipe 2024-05-14 15:04:04 -03:00
Alejandro Javier Asenjo Nitti
207662a0f9 Merge branch 'master' of github.com:sonicdcer/sf64 2024-05-14 11:46:55 -03:00
Alejandro Javier Asenjo Nitti
cf786a6c15 update clean recipe to handle versions 2024-05-14 11:46:46 -03:00
petrie911
3045745789
name remaining files, fix some fake matches (#245)
* splits

* split and migrate

* readwrite const

* format
2024-05-14 11:44:12 -03:00
Alejandro Javier Asenjo Nitti
89f11fc142 fix jp rev0 build 2024-05-14 10:59:18 -03:00
Alejandro Javier Asenjo Nitti
fb7b087664 make clean clears version specific asm folders 2024-05-13 19:41:31 -03:00
petrie911
7168299be4
decompression also prints file offsets for yaml (#240)
* verbose

* indices
2024-05-12 10:45:33 -05:00
Alejandro Asenjo Nitti
1dec9db413
Initial JAP REV0 extraction for function exploring (#241)
* progress so far

* no v

* root yamls ignored

* gitignore jap version src extraction for now

* wipe this

* separate yamls
2024-05-12 01:07:54 -03:00
Alejandro Asenjo Nitti
cd3444b727
Isolate rev1 building tree (#239)
* try

* move yamls

* gitignore

* fix

* gitignore starfox64.us.rev1.yaml

* fix RM

* update readme

* readme again, forgot a few things

* okay one more...

* fix ci
2024-05-11 21:11:29 -03:00
petrie911
0dbbf453f9
More actor docs. starting on event IDs (#238)
* id start

* stuff

* comp and cam

* add errors
2024-05-11 17:53:37 -03:00
Alejandro Asenjo Nitti
455aa0aa2c
Initial Katina documentation (#228)
* initial docs

* func names

* docs

* more docs

* more katina docs

* format

* format

* yRot

* more docs

* more docs

* this

* some fixes

* fixes

* ActorAllRange

* These should not be used here

* corrections

* some renamings

* more docs

* format

* Merge remote-tracking branch 'origin' into fox_ka_docs

* ActorCutscene

* PR review

* comment

* bump torch

* PR review

* review
2024-05-05 17:23:49 -03:00
petrie911
0c9be776da
Cumulative docs update (#221)
* lights fix

* names

* remove header

* so many names

* format

* more docs

* makefile
2024-04-25 01:14:49 -03:00
Alejandro Javier Asenjo Nitti
6bdfd2845f remove duplicated GFLAGS 2024-04-21 19:32:53 -03:00
Alejandro Javier Asenjo Nitti
043177b5fc -Os 2024-04-21 18:31:57 -03:00
Alejandro Asenjo Nitti
1272524325
MOD: FPS COUNTER (#216)
* progress

* working

* move to Play_Draw

* remove mods.h include from fox_hud

* fix name

* __floatundisf needed by GCC

* Improve level select

* __floatundisf in yaml for GCC

* jump directly to level loading in Map_LevelSelect

* comments

* fix level select

* AVOID_UB in audio

* stable flags

* fix UB in AudioHeap_DiscardSampleCaches co-authored-by: @petrie911

* fox_map fix

* move frame counter a few pixels to the right

* format

* add measurement correction for overclocked N64s
2024-04-20 16:18:09 -03:00
Alejandro Javier Asenjo Nitti
aa97afffb4 fix GCC UB with audio (finally) 2024-04-16 00:14:12 -03:00
Alejandro Javier Asenjo Nitti
d27a276cb2 correction 2024-04-15 20:55:24 -03:00
Alejandro Asenjo Nitti
1ee6762797
Initial GCC Support (#212)
* first try

* progress

* progress

* gcc compiling, rom not booting yet

* format

* restore word compiler

* comment

* fix

* fix

* fix addresses for new splat

* progress

* splat

* we don't need these anymore

* gcc build seems stable now
2024-04-15 20:15:45 -03:00
petrie911
126a55aa0e
Event Actor docs that kind of ballooned into a bunch of stuff (#200)
* stuff

* too much

* Torch commit

* torch again
2024-04-05 17:11:36 -03:00
petrie911
ac41c180a9
Reorganizaton of main (#199)
* reorganize main

* more names

* libc
2024-04-03 11:30:50 -03:00
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