1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-05-11 11:33:48 +00:00
Commit graph

416 commits

Author SHA1 Message Date
Dragorn421
5861158d64
fix optional rich usage 2025-02-18 21:38:25 +01:00
Dragorn421
e5cc601482
import rich, except ImportError s 2025-02-18 21:31:51 +01:00
Dragorn421
c39fb7f1b8
multiprocessing.get_context("fork") 2025-02-18 21:31:29 +01:00
Dragorn421
9614a08708
use enum names in SCENE_CMD_SKYBOX_SETTINGS 2025-02-18 17:50:50 +01:00
Dragorn421
c3cc5d324a
make interrupting less jank by making child processes ignore sigint 2025-02-18 17:30:00 +01:00
Dragorn421
9765bd2561
with -j, update last_extracts.json as each job completes rather than only if all complete 2025-02-18 17:27:38 +01:00
Dragorn421
ccb20a00b3
fix n64texconv python bindings memory management 2025-02-18 17:10:47 +01:00
Dragorn421
ddec1a317c
allow -j N 2025-02-18 14:28:54 +01:00
Dragorn421
61ed5b84c2
simplify palettes with single user (ci images with a non-shared palette) 2025-02-18 11:24:33 +01:00
Dragorn421
4ac3852503
dont try to build zapd (rmd) 2025-02-18 11:23:41 +01:00
Dragorn421
4ea01b24ae
CC0 license (and some import cleanup) 2025-02-18 10:07:20 +01:00
Dragorn421
ba29f9c2c6
remove rule to generate dmadata_table.py 2025-02-18 09:57:28 +01:00
Dragorn421
d2624056d9
format 2025-02-18 09:48:46 +01:00
Dragorn421
26c9e8688e
rm ZAPD 2025-02-18 09:26:15 +01:00
Dragorn421
29b5985f79
rm tools/assets/bin2c 2025-02-18 09:25:34 +01:00
Dragorn421
72c566a7fa
C build_from_png 2025-02-18 09:21:48 +01:00
Dragorn421
f1987ded85
Merge branch 'main' into meta_new_assets_2025 2025-02-18 08:29:50 +01:00
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
Dragorn421
7b503e9e8c
Merge branch 'main' into meta_new_assets_2025 2025-02-16 23:03:51 +01:00
Dragorn421
43d93c112b
handle hackmode_syotes_room, fix compile 2025-02-16 14:27:53 +01:00
Dragorn421
b952b2db1e
some cleanup, use gNameTex_WIDTH/HEIGHT macros in dlists 2025-02-16 13:14:49 +01:00
Dragorn421
e1b558df4d
finish xml spec doc 2025-02-16 00:44:13 +01:00
cadmic
a64fd8dea8
fix_bss.py: Try to handle one-past-the-end pointers (#2471)
* fix_bss.py: Try to handle one-past-the-end pointers

* Proofread
2025-02-15 16:24:25 -05:00
Dragorn421
5eff83084c
more progress on spec 2025-02-15 22:23:56 +01:00
Dragorn421
9e92c36fae
misc 2025-02-12 23:10:27 +01:00
Dragorn421
b1fc3f2495
Move {} to in-source 2025-02-12 23:10:17 +01:00
Dragorn421
6e9b4d1a59
refactor CDataExt.set_write callback args to use a dataclass 2025-02-12 22:37:26 +01:00
Dragorn421
8e5e543731
misc cleanup/fixes, pygfxd 1.0.3 2025-02-10 22:30:22 +01:00
Dragorn421
0824c9898a
start writing actual docs 2025-02-10 21:28:32 +01:00
Dragorn421
3301e7cfd7
implement JFIFResource 2025-02-10 12:45:42 +01:00
Dragorn421
0ae9f1da89
Implement legacy skelanime resources 2025-02-10 12:02:14 +01:00
cadmic
be1f9e75f0
Read static symbols from .mdebug in sym_info.py (#2460)
* Patch .mdebug for data_with_rodata objects

* Read static symbols from .mdebug in sym_info.py

* Add ability to print all symbols

* Add license

* Fix bug when missing .mdebug section

* /patch_data_with_rodata_mdebug.py license + nitpicks
2025-02-09 18:16:18 -05:00
Dragorn421
36b71ca2de
Update csdis.py (#2459)
* csdis: move filemap import to main() as it is only needed there

* csdis: fix CS_TIME macro

* csdis: make `disassemble_cutscene` return cutscene size in words

* add comment on why total_entries+1
2025-02-09 16:42:39 -05:00
Dragorn421
e0b8f3087d
check attributes of xml resources elements 2025-02-09 21:42:48 +01:00
Dragorn421
ad6ff6df27
all versions OK 2025-02-09 20:32:18 +01:00
Dragorn421
dae083d039
fixups, gc-eu OK 2025-02-09 14:36:14 +01:00
Dragorn421
b60c71403d
only extract if xmls changed or if -f (force) is used 2025-02-09 14:15:57 +01:00
Dragorn421
e311e2d378
fixups 2025-02-09 13:34:19 +01:00
Dragorn421
485640273d
Merge branch 'main' into meta_new_assets_2025 2025-02-09 13:34:09 +01:00
Dragorn421
2843f50ea4
add tools/extract_assets.sh 2025-02-09 12:21:08 +01:00
Dragorn421
bb7215b25a
introduce RawPointers xml attribute to ignore specific pointers and keep them raw 2025-02-09 12:19:44 +01:00
Dragorn421
6b857c6c71
handle dependencies between xmls 2025-02-09 11:39:24 +01:00
Dragorn421
3dc74cde04
generate and use Limb enums (TODO: check Skin skels and implement for Curve skels) 2025-02-09 01:53:00 +01:00
mzxrules
03a2612246
Rename gMtx(F)Clear to gIdentityMtx(F) (#2458) 2025-02-08 19:00:32 -05:00
Dragorn421
589916d767
rm extract_assets.py 2025-02-08 18:11:07 +01:00
Dragorn421
3a428239c9
slightly improve standard output 2025-02-08 18:10:57 +01:00
cadmic
e63d2b73b7
Use CIC 6102 for iQue decompressed ROMs (#2457)
* Use CIC 6102 for iQue decompressed ROMs

* Future-proof is_ique

* Make things more readable
2025-02-06 21:10:30 +01:00
Dragorn421
8aaaca4fe0
dmadata file names no longer hardcoded for gc-eu-mq-dbg 2025-02-06 20:44:16 +01:00
Dragorn421
e8e15eca9f
fix csdis CS_TIME extra arg 2025-02-06 14:13:55 +01:00
Dragorn421
e6cf32d829
Implement PlayerAnimationDataResource (link_animetion data) 2025-02-06 14:13:35 +01:00