1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-15 06:06:04 +00:00
oot/tools
cadmic 0da402b9de
Automate fixing BSS ordering (#2009)
* Automate fixing BSS ordering

* Typo

* Some cleanups

* Move pragma check after printing BSS info

* Some proofreading

* multiprocessing, require version, some colors

* Tweak output

* Black + mypy

* Move logging and sys.exit out of helper functions

* Use stdout instead of stderr in fix_bss.py

* Add suggestion to conflicting offsets error

Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>

* Remove var = list[T]()

* Improve error handling

Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>

* Add error if no pointers to BSS

* Add comment about process_file_worker

* Only print updates if stdout is a tty

* Use new binary-search-esque candidate generation algorithm

Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>

* Add Wikipedia link

* More comment tweaks

---------

Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2024-08-02 20:31:15 -04:00
..
asm-differ subrepo and update asm-differ (#1664) 2024-01-30 15:25:15 -05:00
asm_processor
disasm Match NTSC z_kanfont.c and z_message.c (#1997) 2024-07-21 21:50:20 -04:00
fado git subrepo pull --force tools/fado (#1924) 2024-03-13 12:33:58 -04:00
ido5.3_compiler
ido7.1_compiler
ido_recomp
overlayhelpers Move baserom segments to extracted/ (#1916) 2024-03-04 19:06:26 -05:00
ZAPD Set up multiversion assets with ZAPD and match gc-eu (#1967) 2024-06-24 15:22:39 +02:00
ZAPDConfigs Extract NTSC assets for gc-us (#1973) 2024-06-26 06:22:26 -04:00
.gitignore New relocation-generating program (#1016) 2022-02-06 14:40:26 -05:00
assist.py Move roms to build folder (#1651) 2024-02-02 16:34:20 -05:00
check_format.py make format.py clean up extra whitespace, also in .h files (#1991) 2024-07-17 19:32:55 -04:00
compare_actors_sizes.py Improve the get_actor_sizes.py script (#673) 2021-02-02 13:30:34 -05:00
compress.py Syms DMA Entries Extraction Support (#1708) 2024-02-12 20:10:20 -05:00
convert_chars.py Removed unused imports and other minor improvements (#1602) 2024-01-11 11:04:53 -05:00
csdis.py Extract unused scene headers (#1930) 2024-03-23 12:38:05 -04:00
csdis_re.py Move baserom segments to extracted/ (#1916) 2024-03-04 19:06:26 -05:00
decompile_data.py Removed unused imports and other minor improvements (#1602) 2024-01-11 11:04:53 -05:00
decompress_baserom.py Introduce version-specific YAML config (#1957) 2024-06-20 22:26:32 -04:00
disasm_elf_msg.py Setup rom decompression and compression (#1614) 2024-01-24 13:00:10 -05:00
dmadata.py Syms DMA Entries Extraction Support (#1708) 2024-02-12 20:10:20 -05:00
dmadata_start.sh Match compression for gc-eu-mq (#1704) 2024-02-03 23:59:19 +01:00
elf2rom.c Remove 0xFF padding from uncompressed ROMs (#1910) 2024-03-04 11:39:16 -05:00
elf32.c Whitespace (#1112) 2022-01-23 18:09:02 -05:00
elf32.h
extract_baserom.py Introduce version-specific YAML config (#1957) 2024-06-20 22:26:32 -04:00
extract_incbins.py Configure incbins in version config instead of using the Debug ROM (#2005) 2024-07-28 00:24:13 -04:00
fix_bss.py Automate fixing BSS ordering (#2009) 2024-08-02 20:31:15 -04:00
ichaindis.py Removed unused imports and other minor improvements (#1602) 2024-01-11 11:04:53 -05:00
ido_block_numbers.py Automate fixing BSS ordering (#2009) 2024-08-02 20:31:15 -04:00
m2ctx.py z_view.c gc-eu-mq OK (#1681) 2024-01-31 20:09:16 -05:00
Makefile Delete unused yaz0tool (#1959) 2024-06-18 20:53:19 -04:00
makeromfs.c
mkdmadata.c Match compression for gc-eu-mq (#1704) 2024-02-03 23:59:19 +01:00
mkldscript.c Change linker script so gGameOverTimer can be in z_game_over.c (#1939) 2024-06-10 10:07:51 -04:00
msgdis.py Handle messages with different box types/positions between JPN/NES (#1984) 2024-07-17 17:56:00 -04:00
msgenc.py Reworked text extraction + add JP text extraction (#1980) 2024-07-02 22:42:52 -04:00
n64chksum.c
n64chksum.h
namefixer.py
permuter_settings.toml Fixup permuter_settings (#1746) 2024-02-20 07:38:58 -05:00
preprocess.py Automate fixing BSS ordering (#2009) 2024-08-02 20:31:15 -04:00
regconvert.py
reloc_prereq.c
rgba5551.py
set_o32abi_bit.py
sfxconvert.py Removed unused imports and other minor improvements (#1602) 2024-01-11 11:04:53 -05:00
spec.c Change linker script so gGameOverTimer can be in z_game_over.c (#1939) 2024-06-10 10:07:51 -04:00
spec.h Change linker script so gGameOverTimer can be in z_game_over.c (#1939) 2024-06-10 10:07:51 -04:00
split_out.py
util.c
util.h
version_config.py Configure incbins in version config instead of using the Debug ROM (#2005) 2024-07-28 00:24:13 -04:00
vt_fmt.py Removed unused imports and other minor improvements (#1602) 2024-01-11 11:04:53 -05:00
vtxdis.c