Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Max-RM authored Sep 6, 2021
1 parent 95b0e68 commit b7f2de8
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# SnbtCmd
SNBT to NBT and NBT to SNBT converter.

This program was created by Tryashtar on August 30, 2021. written in C#, you can use it to convert NBT files to SNBT and back. this is very useful.

■usage examples■

Use:
First type mode 'path' or 'raw'
If using 'path', next type the file path
Next type 'to-snbt' or 'to-nbt'
If using 'to-snbt', add 'expanded' for pretty-print)
If using 'to-nbt', add 'gzip' for g-zip compression)

write the code to a file with the extension cmd or bat.
to run it, double-click on the file containing your code.

example:

1) SnbtCmd.exe path "file path" to-snbt > out.txt
"file path" specify the full path to the NBT file. or, if the file is located in the same folder with SnbtCmd.exe and your executable cmd file, you can enter in the" file path " just the name of the NBT file.
the to-snbt module converts an NBT file to snbt
out.txt will be an snbt file containing the snbt. (you can change its name)

2) SnbtCmd.exe path "file path" to-nbt" > out.nbt

0 comments on commit b7f2de8

Please sign in to comment.