Commit Graph

124 Commits

Author SHA1 Message Date
Alejandro Asenjo Nitti
b8a3bf635c
VERSION_EU audio files (#277)
* remove yamls that were wrong and prevented jp rev0 from building correctly

* playerstate

* some jp rev0 settings

* func_800145FC should return value instead of count

* enum usage

* format

* rename vars in Audio_PlaySoundTestTrack

* Makefile: audio OPTFLAGS for EU

* VERSION EU audio_general decompiled

* audio_effects.c (Identical to US)

* audio_heap.c

* VERSION_EU audio_load.c

* renames

* audio_playback.c

* audio_seqplayer

* audio_synthesis.c

* comment

* EU audio_thread.c

* fox load symbols

* more EU symbols and functions identified

* state_1C8 -> state

* identify more eu symbols

* more EU symbols
2024-11-09 14:52:34 -03:00
Alejandro Asenjo Nitti
0251769d16
General docs (#269)
* fox_display.c DOCS

* PRINTF

* actor->destroy boolean

* corneria docs

* Boss->unk_04C to Boss->animFrame

* aCoGrangaWalkingAnim

* more corneria docs

* Spawner

* Spawner code refined

* Spawner description

* Actor Spawn guard

* Molar Rock (name by @inspectredc)

* more docs

* actor docs

* initial disassembly config for lodgenet

* correct vram addresses for lodgenet

* Actor Docs

* More actor docs

* more actor docs

* correction

* correction

* more actor docs

* Preliminary work for Effect documentation

* Change Init for Setup

* fox_play cleanup and defake

* fox_zo function names

* fox_so function renaming

* more object docs

* venom 1 actors

* actor docs

* some fox_bo docs

* some fox_fo corrections

* fox_ma obj->this

* fox_ma renamings

* fox_ma docs

* fox_ti Actors

* revert permuter settings to ido

* some renames on fox_andross.c

* fox_sy actors

* object names

* corrections

* some effect comments

* fix AudioTable struct and data to avoid UB

* uintptr_t in audio

* audio load changes

* event id enum usage in fox_sy

* clear padding in sPlaylists

* HUD_FoBase_ExplodeCs

* HUD
2024-08-12 11:58:54 -03:00
Lywx
24e316a2b2
Fixed RUN_CC_CHECK on MacOS ARM (#266)
* Fixed RUN_CC_CHECK on MacOS ARM

* Fixed indentation
2024-06-15 23:49:48 -03:00
petrie911
80eaf7d2e5
support for EU rev 0, updates to tools, other cleanup (#255)
* srceu

* remove warning

* and some cleanup
2024-05-18 19:49:49 -03:00
Lywx
27c77ddeba
Bump torch and added mod step (#251)
* Bump torch and added mod step

* Bump torch

* Fixed torch crash
2024-05-16 11:08:02 -03:00
petrie911
1a5569bef5
Comptool support for byteswapped ROMs (#249)
* comptool update

* further updates

* lodgenet

* comptool and main split

* one last thing
2024-05-15 13:41:15 -05:00
Alejandro Javier Asenjo Nitti
6dd8ceb923 more version checks 2024-05-15 13:39:32 -03:00
Alejandro Javier Asenjo Nitti
fdef9d6246 version check for EU 2024-05-14 22:29:21 -03:00
Alejandro Javier Asenjo Nitti
33d566b3be use TOOLS var in relevant places 2024-05-14 15:06:35 -03:00
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