Commit Graph

160 Commits

Author SHA1 Message Date
Tharo 012e3c21ae
Floats and Strings in asm (#82) 2021-03-27 14:10:09 -05:00
Rozelette 6536afc6d3
Restructure how buffers are set up (#77) 2021-03-27 12:44:39 -05:00
Kenix3 22cb3c4b27
Fixes -include in makefile. (#74) 2021-03-16 22:48:54 -05:00
Kenix3 a53626049f
Decompiles z_vr_box (from zel) (#73) 2021-03-16 21:27:14 -04:00
Rozelette 3a91922e89
Generate dependencies for C files with GLOBAL_ASM (#70) 2021-03-14 22:12:14 -04:00
Kenix3 8468e83786 Updates file_setup.sh script to split based on the asm files being in different sub directories 2021-03-10 22:28:06 -05:00
Kenix3 037ba9a22e Initial support of tracking progress per code/boot/overlay, and outputs the stats to csv. 2021-03-10 22:28:06 -05:00
Kenix3 7ef48e193b
Make defaults to uncompressed (#52)
* PoC automatic rodata split Total split: 585 Failed / Troublesome: 61 (10,42735042735043%) Successfull rodata split: 524 (89,57264957264957%) Failed due to Script issues: 51 Failed due to object boundary issues or unreferenced .rodata: 10 Build OK?: :feelsokman:

rom_uncompressed.z64: OK
2a0a8acb61538235bc1094d297fb6556  rom.z64
rom.z64: OK

List Of Troublesome (mostly simliar edge cases, some are strings that we dont catch right / data without references):
 -    ovl_Arrow_Ice
 -    ovl_Arrow_Light
 -    ovl_Bg_Dkjail_Ivy
 -    ovl_Bg_Ikana_Mirror
 -    ovl_Boss_02
 -    ovl_Boss_07
 -    ovl_Boss_Hakugin
 -    ovl_Elf_Msg
 -    ovl_Elf_Msg2
 -    ovl_Elf_Msg3
 -    ovl_Elf_Msg4
 -    ovl_Elf_Msg5
 -    ovl_En_Az
 -    ovl_En_Bigokuta
 -    ovl_En_Bigpamet
 -    ovl_En_Bigpo
 -    ovl_En_Bigslime
 -    ovl_En_Box
 -    ovl_En_Butte
 -    ovl_En_Col_Man
 -    ovl_En_Crow
 -    ovl_En_Death
 -    ovl_En_Elf
 -    ovl_En_Elforg
 -    ovl_En_Encount3
 -    ovl_En_Encount4
 -    ovl_En_Fish
 -    ovl_En_Fish2
 -    ovl_En_Fsn
 -    ovl_En_Honotrap
 -    ovl_En_Horse
 -    ovl_En_Horse_Game
 -    ovl_En_Invadepoh
 -    ovl_En_Ishi
 -    ovl_En_Kame
 -    ovl_En_Kanban
 -    ovl_En_Kusa2
 -    ovl_En_M_Thunder
 -    ovl_En_Maruta
 -    ovl_En_Mushi2
 -    ovl_En_Okuta
 -    ovl_En_Ossan
 -    ovl_En_Pametfrog
 -    ovl_En_Peehat
 -    ovl_En_Rg
 -    ovl_En_Ruppecrow
 -    ovl_En_Slime
 -    ovl_En_Sob1
 -    ovl_En_Syateki_Man
 -    ovl_En_Test7
 -    ovl_En_Trt
 -    ovl_En_Wiz_Fire
 -    ovl_Mir_Ray
 -    ovl_Obj_Bombiwa
 -    ovl_Obj_Driftice
 -    ovl_Obj_Hariko
 -    ovl_Obj_Iceblock
 -    ovl_Obj_Mure
 -    ovl_Obj_Snowball2
 -    ovl_Obj_Toudai
 -    ovl_select

* Make now defaults to only build the uncompressed rom. This fixes permuter import errors, and makes building quicker since most of the time people only need to test one rom. Uncompressed was chosen because it's easier to debug with the first_diff script.

Co-authored-by: MMDecomp <MMDecomp@anon.tld>
2021-02-25 19:12:48 -05:00
louist103 36557611ce
Added IDO recomp support (#45)
* Added recomp

* Fix .exes not being included maybe

* Fixed now?

* OK this should add IDO

* Re recompile in -O2

* Updates asm-processor to point to current HEAD.

* Uses the exact same ido_recomp binaries as OOT.

Co-authored-by: Kenix3 <kenixwhisperwind@gmail.com>
2021-02-24 00:50:57 -05:00
Rozelette 31a5f1e4ba Use MAKE in Makefile 2020-09-28 17:42:16 -05: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
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 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 b4b8044d38
Make the disasm target when appropiate instead of needing to do it manually (#10) 2020-08-28 20:55:08 -04:00
Kenix 6046720adc Allows make process to identify bin utils prefix (from OOT makefile) 2020-05-12 17:08:58 -04: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 df921ce024 Automatically find and create src directories when building 2020-05-01 16:49:27 -05:00
rozlette 5037e2da8d Set up diff script 2020-03-02 00:21:16 -06:00
rozlette 74c1dc2145 Decompile code_0x800CAE10.c 2020-03-01 16:49:45 -06:00
rozlette 759fef3928 Some loadfragment2.c progress 2020-03-01 14:57:16 -06:00
rozlette 2ee01ad0b7 Avoid changing the last modified date on the built elf files during later parts of the build process 2020-02-27 16:58:39 -06:00
rozlette baf0935a47 Build ROM with relocated overlays to prep for nonmatching builds. Makefile cleanup of the predmadata stage. 2020-02-27 16:22:42 -06:00
rozlette 581a97b561 Make non-matchings consistent with oot 2020-02-20 16:29:22 -06:00
rozlette c7a60e9fd5 Rename table files to *.txt so as to not confuse github language statistics 2020-02-19 14:08:04 -06:00
rozlette 0c2cca4801 Don't generate headers from disassembling. This hasn't been relevant for awhile. 2020-02-19 11:19:30 -06:00
rozlette 1b4bc7910d Fix various errors in README 2020-01-25 00:22:56 -06:00
rozlette 36f1c42bf9 Modernize z_std_dma.c, and match a few more functions 2020-01-21 01:45:43 -06:00
rozlette 930b8bc242 Port a bunch of libultra files from sm64 2020-01-20 23:27:02 -06:00
rozlette 7f4a682072 Port perspective.c from sm64 2020-01-17 01:04:40 -06:00
rozlette e74e227113 Decomp idle.c 2020-01-16 21:35:54 -06:00
rozlette 30daa16255 Port stackcheck.c from oot decomp 2020-01-12 20:18:31 -06:00
rozlette 36f623023d Port over fault.c from oot decomp 2020-01-12 16:52:32 -06:00
rozlette 7692d06fcd Decompile Bg_Ikana_Ray 2019-12-28 02:23:17 -06:00
rozlette 37969fbe50 Decompile Bg_Fu_Kaiten. Add some method to generate overlays, refinement needed 2019-12-27 20:55:40 -06:00
rozlette 890a8acba4 Generate limker map 2019-12-20 01:50:43 -06:00
rozlette 45d820041c Add README.md. Minor makefile cleanup. 2019-12-15 23:06:39 -06:00
rozlette 86ab9c2067 Use variable names from ghidra project. Reorganize some data tables and header files to work easier with it. 2019-11-28 00:26:09 -06:00
rozlette 08d128bdaa Add dmadata vrom symbols. Link rom in two passes: first to generate dmadata, second to apply dmadata symbols. Clean up symbols at low addresses. 2019-11-16 03:28:05 -06:00
rozlette b4b98af631 Minor makefile changes for building a decompressed file in the future 2019-11-12 22:58:52 -06:00
rozlette 33a45c2819 makerom improvements. Faster and generate checksum 2019-10-02 19:52:30 -05:00
rozlette 9fe4f51f97 Moved extract_rom into tools 2019-09-23 01:46:58 -05:00
rozlette b88d1d0bf6 Move more tools into tools folder 2019-09-22 03:11:22 -05:00
rozlette ec35f43925 Make dmadata tool usable from command line 2019-09-22 02:11:47 -05:00
rozlette 7546b77798 Make disassembler usable from command line 2019-09-21 20:53:37 -05:00
rozlette 2581bed7bf Use per-function ASM blocks 2019-09-20 20:47:01 -05:00
rozlette 15d44ed724 Add z_effect_soft_sprite 2019-04-15 21:01:57 -05:00
rozlette 0b8a130d8b Use compiled boot and code files 2019-04-12 00:09:21 -05:00
rozlette bbaa5c05a3 Generate dmadata 2019-04-11 21:12:49 -05:00
rozlette a4c43e4a0d Add matching yaz0 compression 2019-04-10 23:58:55 -05:00
rozlette 2b7d9ed708 Do most of code_0x800FEC90 2019-03-06 21:48:32 -06:00
rozlette a309571228 Updata current progress 2018-12-06 13:47:07 -06:00
rozlette 55bece5060 Decompile sinf.c 2018-11-17 02:16:20 -06:00
rozlette ec97f0156e Use asm-processor for -O2 -g3 files in boot 2018-11-13 22:10:59 -06:00
rozlette 00e3a8fcb7 Get boot_0x80080790 somewhat close to matching 2018-11-08 21:02:45 -06:00
rozlette 563866f074 Fix misnamed function 2018-10-29 23:52:02 -05:00
rozlette 98cdbcf8a5 get boot_0x80080180 close to matching 2018-10-29 22:16:17 -05:00
rozlette 62a88f34a6 Split file in boot as functions differ in opt level 2018-10-28 23:12:21 -05:00
rozlette e5737d1688 Decompile code_0x80183070 2018-10-28 03:32:16 -05:00
rozlette cc9baa93a8 Dump current status 2018-10-25 22:09:52 -05:00