Commit Graph

711 Commits

Author SHA1 Message Date
Alex Bates
6a5a200601
fix doxygen 2020-10-20 21:40:49 +01:00
Ethan Roseman
de83e08dbe
Merge pull request #87 from nanaian/split-maps
Splt maps further
2020-10-20 16:38:20 -04:00
Alex Bates
1e9843e549
remove _ prefix from filenames 2020-10-20 21:32:06 +01:00
Ethan Roseman
cb26ae5b16 Set theme jekyll-theme-midnight 2020-10-20 16:07:29 -04:00
Ethan Roseman
54d5f4f08e
Merge pull request #85 from nanaian/doxygen
Doxygen
2020-10-20 15:59:35 -04:00
Alex Bates
5d4b8c27f1
hotfix coverage.py bytes listing 2020-10-20 20:47:29 +01:00
Alex Bates
ca88a636e9
split maps further, clean asm 2020-10-20 20:47:10 +01:00
Ethan Roseman
f460a0e3cc
Merge pull request #86 from nanaian/split-maps
Split all map files
2020-10-20 15:31:04 -04:00
Alex Bates
ff7c3f333e
split all map files 2020-10-20 20:11:56 +01:00
Alex Bates
75ef09e046
fix start of .data/.rodata splits 2020-10-20 19:47:23 +01:00
Alex Bates
9e1613ebb9
split maps 2020-10-20 19:26:58 +01:00
Ethan Roseman
ac244f4220
Merge pull request #84 from nanaian/scripts
Script disassembly, match kmr_12
2020-10-20 13:50:04 -04:00
Alex Bates
c648cb6b69
deploy docs to gh-pages 2020-10-20 18:46:50 +01:00
Alex Bates
40e3ae5618
theme doxygen 2020-10-20 18:45:35 +01:00
Alex Bates
b41366a43b
configure doxygen 2020-10-20 16:46:29 +01:00
Alex Bates
8d89bbad3d
add @bug for read_west_sign return 2020-10-20 08:20:09 +01:00
Alex Bates
26f0cee254
comment goomba_npc movement 2020-10-20 08:14:07 +01:00
Alex Bates
056fbac32c
add FORMATION_ID macro 2020-10-20 07:49:40 +01:00
Alex Bates
8077a8f3cb
Script.uniqueID -> id 2020-10-20 07:40:15 +01:00
Alex Bates
ef7ddd6773
MapHeader -> MapConfig
It ain't a header if it ain't at the top of the data.
2020-10-20 07:36:05 +01:00
Alex Bates
99ac1cf053
update si types 2020-10-20 07:33:40 +01:00
Alex Bates
a9310efa85
add MessageID constants 2020-10-20 07:10:14 +01:00
Alex Bates
9d1715d198
kmr_12: use static where possible 2020-10-20 06:44:46 +01:00
Alex Bates
3b3b07c90a
kmr_12: use function pointers for unnamed api funcs 2020-10-20 06:14:50 +01:00
Devon R
1514bd43fa
New distro support: openSUSE, Alpine Linux (#82)
* Install scripts for openSUSE/Alpine, static cc1, mips-nintendo-nu64-as

* Update install.sh

only

Co-authored-by: Ethan Roseman <ethteck@gmail.com>
2020-10-20 00:07:04 -04:00
Alex Bates
136df602cd
update symbol_addrs 2020-10-20 04:41:23 +01:00
Alex Bates
9b3dedd328
add spaces between structs back
Whoops
2020-10-20 04:38:30 +01:00
Alex Bates
6d3d3b5fca
fix coverage workflow 2020-10-20 04:33:27 +01:00
Alex Bates
6cd1553070
Merge remote-tracking branch 'origin/master' into scripts 2020-10-20 04:31:25 +01:00
Alex Bates
9a60b9f311
add NPC_GROUP macro 2020-10-20 04:29:42 +01:00
Alex Bates
24ce2e9752
kmr_12: abstract structs/scripts further 2020-10-20 04:28:21 +01:00
Alex Bates
6c936a9126
kmr_12: uncomment string literals
It matches now I actually can't believe it
2020-10-20 04:18:00 +01:00
Alex Bates
23f8d8ee35
add structs/macros for matching map data 2020-10-20 04:11:07 +01:00
Alex Bates
dd72dfcd1f
fix kmr_12 split 2020-10-19 23:22:18 +01:00
Alex Bates
f9a667bc7d
begin script disassembly 2020-10-19 22:58:57 +01:00
alex
cab03be6be
consider function size in coverage output (#81) 2020-10-19 13:46:55 -04:00
Alex Bates
4d530df425
drop pycparser dependency
Removed in e7f93f62ae
2020-10-19 07:20:17 +01:00
Ethan Roseman
8e47ca56c4
Map code (#80)
* split all map code

hype

* split area_table.bin properly

* fix coverage.py c_func_pattern to match multiline func signatures

* add src/world/* to makefile

* bump splat

* yikes

* splat maps without vram_lock

Co-authored-by: Alex Bates <hi@imalex.xyz>
2020-10-19 00:42:17 -04:00
sonicspiral
a82d662627
Decomp func_8013A854 from code_d0a70_len_4fe0 and add UnkStructFromfunc8013A854 (#78)
* inisital docs of asm logic and mips_to_c output

* add temp unknown struct for this func
* remove comments from asm, will keep them local only.

* moved UnkSructFromfunc8013A854 to common_sructs.h
* added it's pointer to undefined_syms
* fixed struct pointer and size
* this is a new struct, no others that are `0x7C` in size

* pulled upstream. testing more code.

* fix func_8013A854 to represent latest upstream

* remove unknown struct from common structs to this func

* this is a void func

* unknown struct should be an array with size based on mipstoc outpute a0 < 0x5A

* correct number of lines of asm output from diff, but all code does not match

* fix data types in UnkStructFromfunc8013A854

* temp_v0's logical shift needs to go after UnkStructFromfunc8013A854

* remove unneeded variables

* remove unneeded variables and adding inline sll multiple calc

* add UnkStructFromfunc8013A854 back to common structs

* add UnkStructFromfunc8013A854 back to common structs

* pull latest n64 splat

* analyzing func_8013AA9C to construct UnkStructFromfunc8013A854

* may need unions to represent sub structs in this unk

* roll back struct changes and focus on regalloc

* not an array of pointers looks like there's an array of 90 structs, each struct of size 0x7C

* got OK, now need to cleanup code

* Merge branch 'master' of https://github.com/ethteck/papermario into code_d0a70_len_4fe0-func_8013A854

# Conflicts:
#	tools/n64splat

* fix comment

* remove func_8013AA9C comment used during debug

* add placeholders unks in UnkStructFromfunc8013A854 based on func_8013AA9C

* add first 6 unks in D_80156954

* update todo, add some padding

* adding padding

* adjusting padding

* finished first implementation of padding for UnkStructFromfunc8013A854

* run ./coverage.py --delete-matched

* git checkout -f master && git pull for tools/star-rod

* several changes to UnkStruct8013A854:
* change name from UnkStructFromfunc8013A854 to UnkStruct8013A854
* only include known member data
* add list typedef since this is any arracy of structs

* fix UNKSTRUCT8013A854_SIZE const

* fix スプラトゥーン n64splat

* implement UnkStruct8013A854List to track which array we are pointing to in this unknown struct

* resolve PR feedback. todo resolve splat, review alex optimization:
* move unkstruct extern, struct, and size to code_d0a70_len_4fe0.c
* format void func_8013A854 variable spacing
* add unknown symbol D_80156954;0x80156954 to tools/symbol_addrs.txt

* try fix スプラトn64 with git checkout master && git pull

* fix lint

* move var declaration to inside if and format code

* remove todo comment

Co-authored-by: sonicspiral <>
Co-authored-by: sonicspiral <mru@plusultra.localdomain>
2020-10-19 00:15:04 -04:00
Ethan Roseman
d353ab87a3
Merge pull request #79 from nanaian/assets-fs
Split assets/ filesystem
2020-10-18 10:49:16 -04:00
Alex Bates
5f87748ccf
merge master 2020-10-18 15:44:38 +01:00
Alex Bates
0167e3f581
bump n64splat 2020-10-18 15:43:23 +01:00
Alex Bates
59bc5dfa42
match fs.bin 2020-10-18 15:04:49 +01:00
Alex Bates
236aa9b718
decode assets fs
encoding is wip
2020-10-18 04:54:32 +01:00
Ethan Roseman
097e55ac64
Merge pull request #77 from ethteck/nu-update
Nusys 1.0 -> 2.05, Makefile cleanup
2020-10-17 23:52:09 -04:00
Ethan Roseman
55e4a0df8f Nusys 1.0 -> 2.05, Makefile cleanup 2020-10-17 23:48:26 -04:00
Ethan Roseman
c2471d7f73
Merge pull request #76 from ethteck/new_splits
New splits
2020-10-17 22:43:18 -04:00
Ethan Roseman
16a9ee0a7b Merge branch 'master' into new_splits 2020-10-17 22:41:09 -04:00
Ethan Roseman
4f85d2dcea cleanup 2020-10-17 22:39:30 -04:00
Ethan Roseman
f33010a8c2 deleting junk 2020-10-17 22:28:10 -04:00