Commit Graph

215 Commits

Author SHA1 Message Date
fullgrowngaming
79544c9093
bg_mbar_chair OK (#28) 2020-09-23 20:02:50 -04:00
Rozelette
10f9460b3b
Fix several issues with the makefile (#30)
* Fix several issues with the makefile

* Make ROM_NAME conditionally set to allow custom names
2020-09-23 19:47:05 -04:00
fullgrowngaming
a241f57e60
obj_hana OK (#20) 2020-09-19 21:55:06 -05:00
Rozelette
dc7b8cc5b4
Add some OOT tools (#17)
* Add first_diff.py and sym_info.py

* Add c tools from OOT. Replace yaz0 tool
2020-09-17 17:11:59 -04:00
Rozelette
88e5dbbb7a
Add .data and .rodata sections to generated assembly. Add Overlay .rodata splits. (#18) 2020-09-16 20:33:34 -05:00
Rozelette
ec912054da
Update tools (#16)
* Clean up .gitignore

* Set exec bit on all python and shell scripts

* Delete unused files

* Add decomp-permuter repo

* Update submodules
2020-09-13 21:09:13 -04:00
Rozelette
189d0d6c30
Bootstrap actors (#14)
* Bootstrap actors

* Address feedback. Improve header guard. Remove ovl_Player_Actor, it will need to be handled seperately.
2020-09-13 14:21:43 -04:00
Rozelette
b930732494
Makefile rework. Add init and uncompressed targets. (#15)
* Makefile rework. Add init and uncompressed targets

* Update file_setup.sh for new makefile

* Change CFLAGS
2020-09-11 19:00:17 -04:00
Rozelette
0844c24773
Split headers to be more similar to OOT (#13) 2020-08-31 19:02:37 -04:00
Rozelette
de7a521857
Decompile z_snap (#11) 2020-08-29 01:10:24 -04:00
Rozelette
f4936cc471
Delete function type information (#12)
* Remove ability to generate headers when disassembling

* Remove type information from function table

Co-authored-by: Rozelette <users.noreply.github.com>
2020-08-28 20:55:33 -04:00
Rozelette
b4b8044d38
Make the disasm target when appropiate instead of needing to do it manually (#10) 2020-08-28 20:55:08 -04:00
Rozelette
125b16cb17
Add object enum (#9) 2020-08-07 18:12:03 -04:00
Rozelette
12e258561e
Cleanup some function identifications. (#7)
* Add missed functions, remove not functions

* Fix typo
2020-08-06 18:11:32 -04:00
Rozelette
f37da749f6
Add actor and scene enums (#8) 2020-08-06 18:06:38 -04:00
Kenix3
e80336d4a8 Initial code format 2020-07-24 20:00:52 -04:00
Kenix3
7323c17eaf Adds clang-format script to MM
Same as OOT for consistency.
2020-07-24 19:57:54 -04:00
mmb70
ac685a8161 updated functions.txt for func_800968B0 2020-07-24 19:26:37 -04:00
mmb70
ae6b5c6aa1 fix local var names 2020-07-24 19:26:37 -04:00
mmb70
b93b6f0389 fix improper spacing 2020-07-24 19:26:37 -04:00
mmb70
522ccdbb95 func_0x800968B0 PR review 2020-07-24 19:26:37 -04:00
mmb70
7b45043c97 Matched boot_0x800968B0.c
Matched func_800968B1
2020-07-24 19:26:37 -04:00
Kenix3
07cfe5b43f Merge branch 'master' of https://github.com/zeldaret/mm 2020-06-23 17:38:34 -04:00
Rafael Moura
c9dc82cbe5 func_800B72F8 decompiled 2020-06-23 17:35:29 -04:00
MMDecomp
7d61d4e6ff Decompile game.c 2020-06-23 10:55:11 -04:00
Kenix3
2d191e301a Adds TODO comments to remove implementation defined pointer manipulation. 2020-06-06 19:27:28 -04:00
Kenix3
cb8b9a2020 z_lib now uses SEGMENTED_TO_VIRTUAL macro
Additionally removed some TODO comments in z_scene and defining gRspSegmentPhysAddrs array size as NUM_SEGMENTS
2020-06-04 23:25:57 -04:00
Kenix3
5c97d35841 Added macros header
Additionally, updated code to use PHYSICAL_TO_VIRTUAL and ALIGN16 macros.
Additionally, retyped gRspSegmentPhysAddrs back to u32 as in OOT. These get the straight return value of PHYSICAL_TO_VIRTUAL, so they are u32.
2020-06-04 23:07:09 -04:00
Kenix3
664182c289 Fixes known undefined behaviour from DmaMgr and Lib_Ptr taking u32 rather than void* 2020-06-04 21:41:44 -04:00
Kenix3
dfbcac539e All z_scene functions now OK 2020-06-04 20:41:16 -04:00
Kenix
6046720adc Allows make process to identify bin utils prefix (from OOT makefile) 2020-05-12 17:08:58 -04:00
MMDecomp
730b1ae46b Add helper script to generate mips2c C-Context
- This script is based on it's OoT decomp variant
2020-05-04 22:51:31 +02:00
MMDecomp
8e8d99e6fd Improve Drag & Drop support for IDO Tools
- Add optional default for QEMU_IRIX to Makefile
- Add tools/qemu-mips to .gitignore
-  `make clean` should not fail if rom.z64 doesnt exist
2020-05-04 22:51:31 +02:00
rozlette
f9149c93a9 Merge branch 'master' of https://github.com/zeldaret/mm 2020-05-01 16:50:01 -05:00
rozlette
df921ce024 Automatically find and create src directories when building 2020-05-01 16:49:27 -05:00
rozlette
a5eed624ed Add ZAP2 module 2020-05-01 16:48:21 -05:00
Kenix3
f230898dfe
z_scene functions now use the same structs as OOT (#3)
* z_scene now uses OOT structs where available

Additionally commits a decompiled z_actor function.

* Fixes audio_setBGM function call in Scene_HeaderCommand15

* Update structs.h

Co-authored-by: rozlette <uberpanzermensch@gmail.com>
Co-authored-by: Egor Ananyin <ananinegor@gmail.com>
2020-04-29 22:14:29 -05:00
rozlette
5687f3741a Fix variadic function typedef to be legal C 2020-04-28 15:11:14 -05:00
rozlette
01c86ec621 Decompile z_prenmi.c 2020-04-23 01:11:25 -05:00
rozlette
c1bb5f00d6 Decompile z_rpc.c 2020-04-22 15:38:09 -05:00
rozlette
639df45a03 Some work on z_view 2020-04-21 11:49:16 -05:00
rozlette
e3a064dbcc Merge branch 'master' of https://github.com/zeldaret/mm 2020-04-21 00:46:08 -05:00
rozlette
ec3ccda941 Fix build issue 2020-04-21 00:45:00 -05:00
rozlette
2b50a1eab8 Update to latest ghidra project 2020-04-19 13:15:10 -05:00
Rozelette
9c85eaea92
Move installation to wiki and update readme 2020-04-18 18:04:03 -05:00
rozlette
57587fa612 Add file_setup.sh to streamline first-time setup for each file 2020-04-18 14:42:28 -05:00
rozlette
73893926c4 Fix warnings for pointer/int mismatch 2020-04-17 13:34:15 -05:00
Kenix3
2ab90dca27
Adds in fully matching Scene_HeaderCommand00
Additionally fixes code formatting in Scene_HeaderCommand15
2020-04-08 18:37:27 -04:00
Kenix3
4e63d23cf4
Merge pull request #2 from Kenix3/master
Decompile functions in z_scene
2020-04-08 17:52:03 -04:00
Kenix
f8713ceb46 Decompile functions in z_scene 2020-04-08 17:49:40 -04:00