- 22,936 views, 10 today
- 2,681 downloads, 0 today
29
It is not a virus. Windows SmartScreen filters out new, unknown software. For some reason, someone probably reported it to Google as a virus rather than tell me. I've updated the download to be on GitHub. instead. If Windows Defender tells you not to run it, click "More info", then "Run Anyway". I've published the source code now, too:
github.com/Miclebrick/Schematic2Json/
Hello all. I've made a new simple utility that converts a schematic file
to a .json mesh file. For most users, you simply have to extract the
zip folder somewhere and run "Schematic2Json.exe". Then, you enter the
location of your schematic file and it will create a json model from it
in the same folder as the schematic. If you want to run it from a script
or something, you can just supply the path in the first command
argument, and put "nopause" in the second, so it doesn't pause after the
operation is complete. Example: "schematic2json
"<pathtoschematic>" nopause"
For the textures, it uses the white wool texture by default. The UV is randomly picked. If you build with wool or stained clay, it will use the wool texture of the same color as the color of the block you used. It randomly picks which pixel of the texture to use for each voxel, but you may disable this with the "nonoise" parameter.
Command line parameters:
To use command line parameters, you need to run it as a command like this in your command prompt:
schematic2json "modelschematicfile.schematic" nonoise nopause
This converts modelschematicfile.schematic to modelschematicfile.json, and since it has the parameter "nonoise" and "nopause", it will not randomly select pixels and it will close immediately after finishing.
List of parameters:
nopause - Closes right after completion
nonoise - Disables random pixel selection
Mac users:
You'll have to use Mono to run the application, as it is written in C#.
http://www.mono-project.com/download/ to get mono.
After installing mono, run "mono Schematic2Json.exe"
Libraries used:
- JSON.NET json.net
- fNbt github.com/fragmer/fNbt
If you have any suggestions, want to make a comment on something, or need any help please ask/tell me in the comments!
github.com/Miclebrick/Schematic2Json/
Hello all. I've made a new simple utility that converts a schematic file
to a .json mesh file. For most users, you simply have to extract the
zip folder somewhere and run "Schematic2Json.exe". Then, you enter the
location of your schematic file and it will create a json model from it
in the same folder as the schematic. If you want to run it from a script
or something, you can just supply the path in the first command
argument, and put "nopause" in the second, so it doesn't pause after the
operation is complete. Example: "schematic2json
"<pathtoschematic>" nopause"
For the textures, it uses the white wool texture by default. The UV is randomly picked. If you build with wool or stained clay, it will use the wool texture of the same color as the color of the block you used. It randomly picks which pixel of the texture to use for each voxel, but you may disable this with the "nonoise" parameter.
Command line parameters:
To use command line parameters, you need to run it as a command like this in your command prompt:
schematic2json "modelschematicfile.schematic" nonoise nopause
This converts modelschematicfile.schematic to modelschematicfile.json, and since it has the parameter "nonoise" and "nopause", it will not randomly select pixels and it will close immediately after finishing.
List of parameters:
nopause - Closes right after completion
nonoise - Disables random pixel selection
Mac users:
You'll have to use Mono to run the application, as it is written in C#.
http://www.mono-project.com/download/ to get mono.
After installing mono, run "mono Schematic2Json.exe"
Libraries used:
- JSON.NET json.net
- fNbt github.com/fragmer/fNbt
If you have any suggestions, want to make a comment on something, or need any help please ask/tell me in the comments!
Progress | 100% complete |
Game Version | Minecraft 1.10 |
Tags |
3 Update Logs
0.0.7 : by MicleBrick 10/02/2016 6:09:54 pmOct 2nd, 2016
Added stone_slab and all of its variants. Textures not used by the model are no longer included in the model. Stained clay no longer uses wool's texture.
LOAD MORE LOGS
tools/tracking
3717688
7
schematic2json-convertor
Create an account or sign in to comment.
pastebin.com/mgDpRq08
Can you please provide a visual representation (e.g. a screenshot)?
Here's what I made using your tool!
https://ibb.co/chE8mQ
Next thing we need to top it off is json to schematic. XD
That's awesome! I've converted a few ~2000 block starships and it worked pretty well for a minigame which I sadly never got around to finishing....