mrghosti3 / nbteditor Goto Github PK
View Code? Open in Web Editor NEWTUI type editor for Minecraft NBT format
License: MIT License
TUI type editor for Minecraft NBT format
License: MIT License
Implement functionality to get notifications of file changes and update NBT data (and probably if possible, YML if NBT changes). It should be easily enabled via CLI and opt-in. Flags could --watch
with alias -w
.
For now possible solution for this is to use inotify (7) syscall via nix crate.
Would specify for the program what data format type for input/output data:
Currently supported flags:
--gzip
(alias -g
) : for gzipped data--zlib
: for data archived in ZLib standartRewriting decompile/compile feature to output data in XML. Initially made output into YAML, but after some time the serde_yaml
library would crash (due to OOM or recursion) as the NBT file would be to big.
Solutions:
<compound>
<int name="count">64</int>
<string name="blockName">dirt</string>
</compound>
Serializer
from serde
crate and use it to incrementally output NBT into an XML file. Having issues understanding how the Serializer
might work;named-binary-tag
crate with better API and data structures that would make easier to accomplish solution nr 1.Make the program export NBT file into JSON, YAML or any other text based format so that user could edit the export version. After editing, user would run this program to import their changes back into NBT file.
A flag for de-compilation should be added, to write out data to STDOUT
instead of file.
Currently the code works with the assumption that the given input is of gzip. But fails to read region files which are raw NBT. There should be a functionality to detect what type of file is passed.
The check order will be:
Note
These features are just mentions of what could implemented instead of some features mentioned above.
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.