zeldamods / rstb Goto Github PK
View Code? Open in Web Editor NEWUtilities to modify Breath of the Wild's Resource Size Table (RSTB)
License: GNU General Public License v2.0
Utilities to modify Breath of the Wild's Resource Size Table (RSTB)
License: GNU General Public License v2.0
% rstbtool System/Resource/ResourceSizeTable.product.srsizetable get Voice/Common/NV_AncientDoctor.bars
Voice/Common/NV_AncientDoctor.bars: 680488 bytes (0x000a6228)
% rstbtool System/Resource/ResourceSizeTable.product.srsizetable compare Voice/Common/NV_AncientDoctor.bars Voice/Common/NV_AncientDoctor.bars
Traceback (most recent call last):
File "~/.local/lib/python3.7/site-packages/rstb/__main__.py", line 13, in parse_size
return int(size_str, 0)
ValueError: invalid literal for int() with base 0: 'Voice/Common/NV_AncientDoctor.bars'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "~/.local/bin/rstbtool", line 10, in <module>
sys.exit(main())
File "~/.local/lib/python3.7/site-packages/rstb/__main__.py", line 117, in main
args.func(args, table)
File "~/.local/lib/python3.7/site-packages/rstb/__main__.py", line 65, in rstb_compare
calculated_size = parse_size(args.file, be=args.be, force=True)
File "~/.local/lib/python3.7/site-packages/rstb/__main__.py", line 15, in parse_size
size = rstb.SizeCalculator().calculate_file_size(file_name=size_str, wiiu=be, force=force)
File "~/.local/lib/python3.7/site-packages/rstb/rstb.py", line 227, in calculate_file_size
return self.calculate_file_size_with_ext(file_name, wiiu, ext, force)
File "~/.local/lib/python3.7/site-packages/rstb/rstb.py", line 189, in calculate_file_size_with_ext
file_data = syaz0.decompress(open(file, 'rb').read())
ValueError: Invalid Yaz0 header
+100 bytes work well for me.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.