NBTExplorer - NBT Editor for Windows and Mac

  • #21
    Don't mind this.
    Last edited by arugaicastle: 3/25/2012 10:39:00 AM

  • #22
    Nice!

    It'd be cool if you also added compatibility for Cubic Chunks' "r2.x.y.z.mcr/mca" file format. Basically standard MCR/MCA files, except with a sector size of 256 bytes instead of 4096 bytes. (This, of course, means that the offsets and timestamps tables have to take up 16 sectors each.)

    Regardless, +1, and great tool!
  • #23
    Is this something with widespread adoption?

    Unfortunately it's something I would need to add support for in Substrate and that would require a bit of work. I may look into it when I near the end of a proper Anvil rewrite but it's still a ways off.
    NBTExplorer - NBT editor for Windows and Mac
    Substrate - Minecraft map editing library for C#/.NET
  • #24
    Great project ;) it's very similar to my project NBT Maker, have the same resources of yusuke kamiyamane :)
    My project is also inspired in NBTEdit.

    http://www.minecraftforum.net/topic/951141-nbt-maker/
    http://www.minecraft-esp.com/viewtopic.php?f=15&t=6937

    i'm working in the new version that will can have the new tag tag_int_array.
    Alberto Molero
    NBT Library
  • #25
    Quote from jaquadro

    Is this something with widespread adoption?

    Unfortunately it's something I would need to add support for in Substrate and that would require a bit of work. I may look into it when I near the end of a proper Anvil rewrite but it's still a ways off.

    Aside from the few thousand Cubic Chunks users, no. Of course, that is a decent-sized "Aside"...

    Feel free to use my SaveConverter code. Sorry, but it is in Java... For SmallSector files, focus on RegionFile and its subclasses.

    Cheers
  • #26
    Holy cow... why did I never see this before...

    Kudos to you good sir you deserve a full set of diamonds :D
    :DH:
    :DA: :DSWORD: :Zombie:
    :DPANTS:
    :Dboots:

    hehe, had to completed that with the sword and stuff... anyways: :-(o): :Diamond: :-(o): :Diamond: :-(o): :Diamond: :-(o): :Diamond:

    now down to business... where does minecraft load and save these files? im working on a mod to use them schematic files and stuff... but i need some help on exactly how a byte-array becomes a list of Blocks and their coordinates etc. I got the tag structure and stuff worked out already, just the Blocks, Entities, you know, the complicated stuff.
  • #27
    NBTExplorer is just a raw NBT presenter. What you really want is to browse through the source code of the underlying library, Substrate https://github.com/jaquadro/Substrate/tree/AnvilOnly (link is to Anvil-compat branch), which has constructs for everything that builds on top of NBT. The way I work with the data in Substrate is not necessarily the way you'll want to work with it in a mod (I'm currently abstracting Anvil chunks into Beta-style chunks, which closely mirrors .schematic file data, but also complicates things), but you should be able to see how to interpret the data.
    NBTExplorer - NBT editor for Windows and Mac
    Substrate - Minecraft map editing library for C#/.NET
  • #28
    Quote from jaquadro

    NBTExplorer is just a raw NBT presenter. What you really want is to browse through the source code of the underlying library, Substrate https://github.com/j.../tree/AnvilOnly (link is to Anvil-compat branch), which has constructs for everything that builds on top of NBT. The way I work with the data in Substrate is not necessarily the way you'll want to work with it in a mod (I'm currently abstracting Anvil chunks into Beta-style chunks, which closely mirrors .schematic file data, but also complicates things), but you should be able to see how to interpret the data.

    thanks so much. good thing c# is alot like java :D
    Also, I found this... http://jnbt.sourceforge.net/ its a java library for reading this stuff.. has an NBT InputStream that takes care of everything. Then it puts the tags in a map with the name as key. helps a lot when learning how they work.
  • #29
    Great tool! I'm surprised there aren't like 1,000's of posts already stating this!

    Great for moving a World's default spawn. Also a great tool for loading player files to find their coordinates, if you are running Vanilla. Also, just a rather fun tool to play around with, tweaking and editing things here and there, if stuff like that amuses you.
  • #30
    Quote from VoidingNixx

    Great tool! I'm surprised there aren't like 1,000's of posts already stating this!

    Great for moving a World's default spawn. Also a great tool for loading player files to find their coordinates, if you are running Vanilla. Also, just a rather fun tool to play around with, tweaking and editing things here and there, if stuff like that amuses you.


    agreed.
  • #31
    How do I run this with Mono on mac?

    Also, can I use this to find dropped items somewhere in the world and convert them into items in my inventory?
    Last edited by Liquid_Metal_Slime: 4/21/2012 9:37:15 PM
  • #32
    I don't own a Mac, so I can't really give you instructions. Someone else may be able to. But probably it's along the lines of going to the Mono website, downloading the latest Mono runtime for MacOS, and then running NBTExplorer with a command like "mono nbtexplorer.exe".

    Potentially, yes, you could find dropped items, since NBTExplorer has a Find command that will operate on chunk data (one of the main things that distinguishes this from NBTedit). Search for a tag named "id" and specify the item ID you're looking for. If you manage to find the right item, then all of your other dropped items will probably appear in the same Entity list, or in immediately neighboring chunks. There's no way to automatically move these to your inventory, but you could write down the relevent information, delete them from the chunks, and add new nodes into your inventory (or get a tool like InvEdit that is optimized for adding to your inventory). Alternatively if you find your cache of dropped items, you can figure out the chunk and block coordinates and either navigate there yourself, or set your player coordinates to that general location, and pick them up.
    NBTExplorer - NBT editor for Windows and Mac
    Substrate - Minecraft map editing library for C#/.NET
  • #33
    Is there a way to get the seed of a multiplayer world?
    You must first learn the rules before you break them.
    lol i've been banned 23 times so far.
  • #34
    It should be in the world's level.dat.
    NBTExplorer - NBT editor for Windows and Mac
    Substrate - Minecraft map editing library for C#/.NET
  • #35
    Mine keeps saying that ''NBTExplorer doesnt respond''. Is it because i dont have 2.0 Netframework? I mean i think i do have...
  • #36
    It should be built for .NET 2.0 (since that gives better compatibility for Linux/Mac under Mono). Can you give more information, like what OS/version are you running? Are you able to open the program at all, or does it stop responding before it even comes up?
    NBTExplorer - NBT editor for Windows and Mac
    Substrate - Minecraft map editing library for C#/.NET
  • #37
    Can this make a pre-1.8 world generate structures in future versions? If so, how?
  • #38
    Quote from Spoony G

    Can this make a pre-1.8 world generate structures in future versions? If so, how?


    up to you and how you use it.
    keep in mind, this is only a mod that lets you lookat and edit the save files. if you wanna generate stuff by hand.. by all means do so.
  • #39
    Technically it's a tool rather than a mod.

    Your question is ambiguous, so I will try to verify that I am answering the right one.

    Will this tool allow my pre-1.8 world to generate post-1.8 features when I upgrade Minecraft?
    In theory, you can increase the Version field in your level.dat to match what is used in current worlds, and your old world will generate new chunks with all of the most recent features. However, your new chunks will PROBABLY no longer join cleanly to the old ones, just like the old days when Notch changed the biome or map code.

    If that does not answer your question, please rephrase it.
    NBTExplorer - NBT editor for Windows and Mac
    Substrate - Minecraft map editing library for C#/.NET
  • #40
    Quote from jaquadro

    Technically it's a tool rather than a mod.

    Your question is ambiguous, so I will try to verify that I am answering the right one.

    Will this tool allow my pre-1.8 world to generate post-1.8 features when I upgrade Minecraft?
    In theory, you can increase the Version field in your level.dat to match what is used in current worlds, and your old world will generate new chunks with all of the most recent features. However, your new chunks will PROBABLY no longer join cleanly to the old ones, just like the old days when Notch changed the biome or map code.

    If that does not answer your question, please rephrase it.

    Actually, I figured it out myself. Just change the "MapFeatures" to 1. That simple.
  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes