1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-02-26 19:04:20 +00:00
oot/tools
Tharo 3d61fb85ef
Add n64texconv and bin2c tools to convert extracted .png and .bin to C arrays during build (#2477)
* n64texconv and bin2c

* mv tools/n64texconv tools/assets/

* fix

* more light fixes

* Silence -Wshadow for libimagequant

* Add reference counting gc for palette objects in python bindings

* Fix missing alignment in n64texconv_*_to_c functions

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

* Check palette size in n64texconv_image_from_png

* accept memoryview as well as bytes for binary data

* minimal doc on n64texconv_quantize_shared

* fix a buffer size passed to libimagequant

* assert pal count <= 256 on png write

* Disable palette size check for input pngs, ZAPD fails the check

* No OpenMP for clang

* When reading an indexed png into a CI format, requantize if there are too many colors for the target texel size

---------

Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2025-02-17 17:09:42 -05:00
..
asm-differ
asm_processor
assets Add n64texconv and bin2c tools to convert extracted .png and .bin to C arrays during build (#2477) 2025-02-17 17:09:42 -05:00
audio [iQue] Build some C files with EGCS (#2396) 2025-01-02 03:35:22 -05:00
com-plugin git subrepo clone --force git@github.com:Thar0/com-plugin.git tools/com-plugin (#2455) 2025-02-05 22:53:35 -05:00
disasm Delete disassembly data for ique-cn (#2453) 2025-02-04 13:17:57 +01:00
fado git subrepo pull tools/fado (#2437) 2025-01-22 13:42:19 -05:00
ido5.3_compiler
ido7.1_compiler
overlayhelpers Colliders: elemType -> elemMaterial (#2189) 2024-09-16 18:11:01 -04:00
tests
ZAPD git subrepo pull --force tools/ZAPD (#2441) 2025-01-24 14:02:44 -05:00
ZAPDConfigs Rename gMtx(F)Clear to gIdentityMtx(F) (#2458) 2025-02-08 19:00:32 -05:00
.gitignore Add n64texconv and bin2c tools to convert extracted .png and .bin to C arrays during build (#2477) 2025-02-17 17:09:42 -05:00
assist.py Move roms to build folder (#1651) 2024-02-02 16:34:20 -05:00
bin2c.c Add n64texconv and bin2c tools to convert extracted .png and .bin to C arrays during build (#2477) 2025-02-17 17:09:42 -05:00
check_disasm_metadata_unksyms.py Cleanup: Pass all paths to tools rather than tools constructing them (#2017) 2024-09-05 03:49:16 +09:00
check_format.py Fix typos found by codespell (#2229) 2024-09-26 00:21:00 -04:00
compare_actors_sizes.py
compress.py Match iQue compression (#2389) 2024-12-27 10:34:45 -05:00
convert_chars.py
csdis.py Update csdis.py (#2459) 2025-02-09 16:42:39 -05:00
csdis_re.py Add names for Medallion cutscene data (#2319) 2024-12-08 20:45:02 -05:00
decompile_data.py
decompress_baserom.py Use CIC 6102 for iQue decompressed ROMs (#2457) 2025-02-06 21:10:30 +01:00
disasm_elf_msg.py
dmadata.py
dmadata_start.sh
elf2rom.c
elf32.c
elf32.h
endian.h Add n64texconv and bin2c tools to convert extracted .png and .bin to C arrays during build (#2477) 2025-02-17 17:09:42 -05:00
extract_assets.py Name asset extraction tools more consistently (#2316) 2024-12-04 19:44:16 -05:00
extract_audio.py Name asset extraction tools more consistently (#2316) 2024-12-04 19:44:16 -05:00
extract_baserom.py Cleanup: Pass all paths to tools rather than tools constructing them (#2017) 2024-09-05 03:49:16 +09:00
extract_incbins.py Cleanup: Pass all paths to tools rather than tools constructing them (#2017) 2024-09-05 03:49:16 +09:00
extract_text.py iQue text extraction (#2383) 2024-12-25 12:07:08 -05:00
fix_bss.py fix_bss.py: Try to handle one-past-the-end pointers (#2471) 2025-02-15 16:24:25 -05:00
generate_patch_from_jenkins.sh Fix /bin/bash -> /usr/bin/env bash (#2448) 2025-01-28 18:45:56 -05:00
ichaindis.py
ido_block_numbers.py Cleanup: Pass all paths to tools rather than tools constructing them (#2017) 2024-09-05 03:49:16 +09:00
m2ctx.py Cleanup: Pass all paths to tools rather than tools constructing them (#2017) 2024-09-05 03:49:16 +09:00
Makefile Add n64texconv and bin2c tools to convert extracted .png and .bin to C arrays during build (#2477) 2025-02-17 17:09:42 -05:00
makeromfs.c
mkdmadata.c
mkldscript.c
msgenc.py iQue text extraction (#2383) 2024-12-25 12:07:08 -05:00
n64chksum.c
n64chksum.h
namefixer.py Fix typos found by codespell (#2229) 2024-09-26 00:21:00 -04:00
patch_data_with_rodata_mdebug.py Read static symbols from .mdebug in sym_info.py (#2460) 2025-02-09 18:16:18 -05:00
patch_ique_driverominit.py Match remaining IDO files for iQue (#2394) 2025-01-06 01:45:12 -05:00
patch_ique_kaleido_reloc.py Finish matching ique-cn (#2451) 2025-02-04 06:55:04 -05:00
permuter_settings.toml Preserve NULL/true/false macros in permuter/decomp.me import (#2430) 2025-01-17 15:37:40 -05:00
preprocess.sh Use iconv from Homebrew on macOS (#2374) 2024-12-15 17:53:07 -05:00
preprocess_pragmas.c
regconvert.py
reloc_prereq.c
rgba5551.py
set_o32abi_bit.py
sfxconvert.py
spec.c
spec.h
split_out.py
util.c
util.h New relocation-generating program (#1016) 2022-02-06 14:40:26 -05:00
version_config.py Set up build system for ique-cn (#2382) 2024-12-21 14:13:56 -05:00
vt_fmt.py
vtxdis.c