Commit Graph

676 Commits

Author SHA1 Message Date
Alex Bates
f9a667bc7d
begin script disassembly 2020-10-19 22:58:57 +01: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
Ethan Roseman
a8e550dd9a yee 2020-10-17 22:27:25 -04:00
Ethan Roseman
3136a914c6
Merge pull request #75 from ethteck/Yay0
Yay0
2020-10-17 21:57:48 -04:00
Ethan Roseman
2a8759d522
Merge pull request #73 from ethteck/cornucopia
Cornucopia 2
2020-10-17 21:51:18 -04:00
Ethan Roseman
3e412377d9 si.c 2020-10-17 21:05:17 -04:00
Alex Bates
e59617891e
revert "add bitarray python dependency" 2020-10-18 00:45:48 +01:00
Alex Bates
8eb0e79067
add bitarray python dependency 2020-10-18 00:32:34 +01:00
Ethan Roseman
c8b796595d . 2020-10-17 18:05:39 -04:00
Ethan Roseman
ebdc55d8b1 renaming func 2020-10-17 17:49:33 -04:00
Ethan Roseman
a7fdf796d9 Merge branch 'cornucopia' of github.com:ethteck/papermario into cornucopia 2020-10-17 17:48:48 -04:00
Ethan Roseman
5ce835151a fixing extern 2020-10-17 17:48:43 -04:00
Ethan Roseman
de8d3fd839 Yay0 matching compression OK! :nice: 2020-10-17 17:08:57 -04:00
Ethan Roseman
948697d3d8 Initial work 2020-10-17 16:37:46 -04:00
Alex Bates
bbeef1ff98
near-match ActorSpeak
just regalloc issues
2020-10-17 21:21:57 +01:00
Ethan Roseman
890fd346e9 🌠 2020-10-16 23:47:10 -04:00
Ethan Roseman
36f2fc2f86 clover we miss you 2020-10-16 22:36:28 -04:00
Ethan Roseman
9866661518 Merge branch 'better-cornucopia' into cornucopia 2020-10-16 21:00:37 -04:00
Ethan Roseman
f67477a9eb meowp 2020-10-16 20:59:49 -04:00
Ethan Roseman
67b516d3d2 :arrow: 2020-10-16 18:23:52 -04:00
Ethan Roseman
e1b4b8b594 🐱 2020-10-16 16:29:55 -04:00
Alex Bates
57d69d1e72
match add_actor_decoration, near-match others 2020-10-16 21:29:54 +01:00
Alex Bates
46586ba9ba
match actor/part decoration funcs 2020-10-16 20:07:41 +01:00
Ethan Roseman
9e9ce5bb29 👀 2020-10-16 14:49:18 -04:00
Alex Bates
c1fabdfad9
match and name create_part_shadow_by_ptr 2020-10-16 18:15:51 +01:00
Alex Bates
ddbb46112d
match create_part_shadow and heroes_is_ability_active 2020-10-16 17:59:36 +01:00
dark-samus
57f56dd257 oops 2020-10-16 02:37:40 -04:00
dark-samus
361983e872 start on new splits 2020-10-16 02:24:04 -04:00
Ethan Roseman
369cb32bbc hey rain 2020-10-16 02:09:20 -04:00
Ethan Roseman
1040a9124c hey clover lol wudup 2020-10-15 23:07:50 -04:00
Ethan Roseman
5bc8e56a91 treats 2020-10-15 22:05:04 -04:00
Ethan Roseman
302dc7cfef
Merge pull request #72 from ethteck/cornucopia
Some shtuff
2020-10-15 18:46:26 -04:00
Ethan Roseman
3fcceae5be format 2020-10-15 18:44:42 -04:00
Ethan Roseman
02aa37c31d Fix coverage.py 2020-10-15 18:42:54 -04:00
Ethan Roseman
67719a662f Cleanup 2020-10-15 18:26:59 -04:00
Ethan Roseman
f45c24f7c8 Some shtuff 2020-10-15 18:11:56 -04:00
Ethan Roseman
5a2f8d8834
Merge pull request #70 from ethteck/asm-cleanup
Asm cleanup, many new file splits
2020-10-15 12:42:18 -04:00