mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-30 10:51:21 +00:00
wip: New assets system tm
Builds gc-eu-mq-dbg OK from clean after 1) make setup 2) python3 -m tools.assets.extract -j 3) replace 0x80A8E610 with sShadowTex in extracted/gc-eu-mq-dbg/assets/overlays/ovl_En_Jsjutan/sShadowMaterialDL.inc.c 4) make various symbols in extracted data like sTex static
This commit is contained in:
parent
748859595a
commit
8411c34b38
80 changed files with 535882 additions and 112 deletions
23
tools/assets/descriptor/__main__.py
Normal file
23
tools/assets/descriptor/__main__.py
Normal file
|
@ -0,0 +1,23 @@
|
|||
from tools import version_config
|
||||
|
||||
from . import base
|
||||
|
||||
|
||||
def main():
|
||||
vc = version_config.load_version_config("gc-eu-mq-dbg")
|
||||
|
||||
pools = base.get_resources_desc(vc)
|
||||
|
||||
from pprint import pprint
|
||||
|
||||
if 0:
|
||||
with open(
|
||||
"/home/dragorn421/Documents/oot/tools/assets/descriptor/resources.txt",
|
||||
"w",
|
||||
) as f:
|
||||
for i, pool in enumerate(pools):
|
||||
print(round(i / len(pools) * 100, 2), "%", end="\r")
|
||||
pprint(pool, f)
|
||||
|
||||
|
||||
main()
|
Loading…
Add table
Add a link
Reference in a new issue