Skip to content

GinjaNinja32/cli-nbt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cli-nbt

Command-line NBT editor, with support for reading and writing a custom NBT-like text language.

Author: GinjaNinja32 (@GNinja32)

Binaries:
All binaries require Java 7
v1.0 http://bit.ly/YMhSNP - No text file support, just load/save of NBT files
v1.1 http://bit.ly/12GNXKz - Supports read/write of text format
v1.1 Update 1 http://bit.ly/1aef5VJ - GZip saving fixed, added -g argument to read a compressed file

List of in-app commands: Type 'help' at the '>' prompt to access this list in-app.

CommandResult
add <type>Add a new tag
rem <name|index>Remove a tag
lsView the contents of the current tag
cdChange to another tag. Path is '/' or '\'-separated, '..' is parent.
clrClear (empty) the current tag
exitExits the program without saving
save <filename>Save to the specified file.
save -g <filename>Save to the specified file with GZIP compression.
load <filename>Load from the specified file.
load -g <filename>Load from the specified file with GZIP compression.
helpShow this help text

Command-line:

ArgumentResult
-d file1 file2Decode file1 (in true NBT format), and write the results (in text format) to file2
-c file1 file2Encode file1 (in text format), and write the results (in true NBT format) to file2
-m fileLoad file in text format
-g fileLoad file with gzip decompression
fileLoad file with no compression

Text language: <tag-type>:"<name>"=<value>;
All tag types are supported:

  • byte
  • short
  • int
  • long
  • float
  • double
  • bytearr
  • string
  • list
  • compound
  • intarr
There is an example file in the repository, example.nbtm, with 'comments' in string tags to explain the format more thoroughly. There is also a Notepad++ 'user-defined language' file for the text language in the repository - nbtm.xml

About

Command-line NBT editor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages