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

2433 commits

Author SHA1 Message Date
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
9d8ddddedd
move -j at the end of calling extraction script 2025-02-18 17:15:10 +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
b06e4f4095
bss 2025-02-18 12:16:29 +01:00
Dragorn421
efd480b82f
add docs on how images are handled 2025-02-18 11:48:40 +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
751d08050f
Merge branch 'main' into meta_new_assets_2025 2025-02-17 15:48:09 +01:00
Dragorn421
ec30dcbe4e
assets xmls fixes (#2476) 2025-02-16 18:10:26 -05:00
Dragorn421
7b503e9e8c
Merge branch 'main' into meta_new_assets_2025 2025-02-16 23:03:51 +01:00
mzxrules
652478c338
Reduce overlay dependencies on global.h (7) (#2472)
* z64env_flags, z64quest_hint_commands

* z64cutscene_spline, z64save.h moved from z64.h

* bss

* pr suggestion

* bss

* suggestions
2025-02-16 15:33:55 -05: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
7cb604387b
assets xmls fixes 2025-02-16 13:14:10 +01:00
Dragorn421
137e178790
fix assembly warning in normalize.s (#2473) 2025-02-15 21:21:07 -05:00
cadmic
aba3720d62
Use enums for settings in SRAM header (#2429)
* Use enums for settings in SRAM header

* Fix bss

* Uglify z_en_mag to match ique
2025-02-15 19:36:19 -05:00
Dragorn421
e1b558df4d
finish xml spec doc 2025-02-16 00:44:13 +01:00
Dragorn421
a0108c1630
fix missing braces in n64dd_error_textures.c 2025-02-15 22:37:58 +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
6f8b4d82d5
Cleanup colliders 3 (#2467)
* standardize s[Name][Collider]JntSphElementsInit[Name]

* standardize ColliderCylinder struct members names on `[name]collider[s][Cylinder]`

* format

* fix

* fix2

* fix3

* collidersCylinder -> colliderCylinders
2025-02-14 22:41:32 -05:00
fig02
c859678d5f
Document sSceneInitLetterboxTimer (#2469)
* document scene init letterbox timer

* reword
2025-02-14 13:55:11 -05:00
cadmic
bbcdf22647
Identify some unaccounted and blob asset data (#1953)
* Identify some unaccounted and blob asset data

* Add bug comments for flex skeleton weirdness

* Use (SkeletonHeader*) cast instead of .sh

* Fix vtx counts
2025-02-14 08:06:49 +01:00
mzxrules
4639914583
Reduce overlay dependencies on global.h (6) (#2468)
* add some headers, split some of z64.h

* MtxClear -> IdentityMtx

* more misc cleanups

* move D_80116280 to header, fix build issue

* remove z64.h

* Revert "MtxClear -> IdentityMtx"

This reverts commit 8fc74c0672.

* split z64path.h and z64skin.h functions

* z64face_reaction.h

* cleanup overlay global references

* trim padding

* bss
2025-02-13 18:15:14 -05: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
mzxrules
494aecc9fc
Reduce overlay dependencies on global.h (5) (#2466)
* remove global.h dependency from all actors

* fix compiler error

* fix another build issue

* fix bss
2025-02-12 21:50:46 +01:00
Dragorn421
1d2c912fbb
Cleanup colliders struct members 2 (#2465)
* Cleanup colliders 2

* format

* fixes & review
2025-02-12 13:37:05 -05:00
Dragorn421
e3831947b0
Assets fixups 2 (#2461) 2025-02-12 12:56:04 -05:00
fig02
96e13149ea
Name Actor_DrawAll (#2464) 2025-02-11 17:33:09 -05:00
Dragorn421
ae89a8e47b
Polish up docs on EnDaiku and EnDaikuKakariko (#2463) 2025-02-11 09:02:05 -05:00
Dragorn421
3dd893c210
Cleanup colliders struct members 1 (#2462)
* Standardize some ColliderJntSphElement buffer members on `colliderElements`

* Standardize some ColliderTrisElement buffer members on `colliderElements`

* format
2025-02-10 20:02:56 -05:00
Dragorn421
8e5e543731
misc cleanup/fixes, pygfxd 1.0.3 2025-02-10 22:30:22 +01:00
Dragorn421
15692565fe
extract sTransCircleDL and sTransWipeDL 2025-02-10 22:29:49 +01:00
Dragorn421
0824c9898a
start writing actual docs 2025-02-10 21:28:32 +01:00
Dragorn421
f4cdf0a34b
Makefile: Add rules to build .png, .bin and .jpg in assets/ too 2025-02-10 18:28:07 +01:00