INVedit Minecraft Inventory Editor - Beta 1.9 pre3
#1
Posted 28 June 2010 - 03:30 PM
POPULAR
INVedit is the (more like "some kind of") successor of NBTedit. With it you can create your own porta- wait, wrong game. You can use it to edit your inventory both Singleplayer and Multiplayer, if you're the server host.
Here's some screeny of a regular game inventory opened in INVedit:
Here's a list of features:
• Loads blocks from the enclosed files (items.txt and the .pngs).
• Groups for faster access of individual blocks.
• Search box lets you filter items.
• If possible, displays item damage as bar.
• Stacks items almost like in the game itself.
• Tabs for editing multiple inventories simultaneously.
• Moving items from one tab to another is possible.
• Quick load and save.
• Automatic updating.
But wait, there's more! Please ..
• .. read the tutorial below if you have problems, before asking.
• .. consider sending a private message to me instead of asking in the thread.
• .. keep in mind that you can only edit your INVENTORY with this.
• .. don't report bugs/errors/crashes to Notch if you're not sure if it wasn't caused by INVedit or similar tools.
• .. include as much data as you can, if there are errors or bugs: A short description of the problem, what you did and if Minecraft itself breakes, include the .dat file so I can fix it as soon as possible.
• .. redownload the full thing, if updating fails.
Download: Direct #1, Direct #2, MediaFire - Version 0.9.15 for Minecraft Beta 1.9 pre3
INVedit usually is forward-compatible with new versions of Minecraft, new items will just be missing.
I try to update it as soon as possible and it's usually done in a day or two, maybe even within hours.
Common problems
AVG says this is Adware/Spyware
It's called a false positive. It seems like only AVG has this problem, any other antivirus programs are fine with INVedit. However, this is your decision. There are alternatives for editing inventories, so go check them out.
Error messages "The application has failed to initialize properly (0xc0000135)"
and "Unable to find a version of the runtime to run this application"
and "Could not load file or assembly 'System.Core [...]' or one of its dependecies."
and many more weird error messages:
Make sure you have .NET 3.5 (link below) installed and working correctly. .NET 4.0 doesn't do the job. If you're not sure, try to reinstall or repair it. If that doesn't fix it, please send me a PM.
Error message "Couldn't find NBT.dll":
Some people seem to have problems extracting the program correctly. Here is what to do:
If you open the .zip file there should one folder inside called "INVedit". You have to extract the full folder and not just start the .exe within it. If you do that, only the .exe gets extracted temporarily and it won't be able to find the other needed files. Just drag the folder onto your desktop or personal folder, then you can proceed as usual.
Error message "Failed to parse column ITEMS at line 235 in file items.txt":
Automatic updating was broken. Old versions are having problems updating the .exe. If you try to do it anyway, the next time you start a message box will pop displaying the above error and the first group will be missing. To fix this, just redownload it.
Error message "System.IO.InvalidDataException: The magic number in GZip header is not correct. [...]":
Make sure your world file isn't corrupted, and that you are actually opening a valid Minecraft file.
Error message "Can't find Inventory tag":
This shows up if you're trying to edit a level.dat of a multiplayer world, as the inventories get stored in seperate player files (you can open these with INVedit). It rarely happens on new worlds, where no inventory has been saved yet. Pick up a random item ingame and quit.
Changes do not appear in the world:
Make sure you quit the world before editing the inventory in it.
If you have Aethermod installed, you have to manually save to aether.dat.
TooManyItems might be the better choice in this case.
Again, before asking any questions, also read the tutorial post below.
It usually will help you with your first steps and shows you some more features and how everything works.
You can find the .NET Framework 3.5 for Windows here (full download) or here. May also work with Mono or Wine on Linux and Mac, but there is no guarantee or support. If you're an unexperienced Mac or Ubuntu user, this is probably not the right tool for you. There are a few unofficial tutorials on how to do it, but I really suggest using a different tool or mod.
Source code: On github.com. It's public domain, do what you want.
Other helpful tools you may want to check out:
- NBTedit: Raw NBT editor by me.
- MCEdit: Map editor by codewarrior.
- Inside Job: Inventory editor for Mac by preble.
- TooManyItems: Inventory editor mod by Marglyph.
#2
Posted 28 June 2010 - 03:31 PM
Click New if you want to create a completely new inventory.
Click Open to open an .inv or .dat file.
Now edit your inventory by dragging and dropping items from the item list at the right, moving them around or modifying their count or damage.
At last, Save it as and .inv file or save over an existing .dat file to modify the inventory inside.
Make sure you exit the world before editing it, the changes won't affect a running game.
Click the small arrows next to open or save to use the quick-load/save feature:
Items are grouped together, you can switch between these groups by clicking on them.
You can also filter for any item with the search bar:
Out of bounds
1) A simple iron pickaxe, which is damaged a little bit.
2) A gold shovel with negative damage. Negative damage means more uses. Minimum is -32657.
3) 64 cobblestone blocks, with positive damage. Tools with damage above their maximum will have their damage displayed like this as well.
4) 255 dirt blocks. Note the red border of the text. Same with stacked tools, since you can't do that ingame.
5) A nonexistent item with ID 80.
• Tools with negative damage are pretty useful, because it means they have more uses than they normally have.
• Armor with negative damage is almost indestructible and protects you from receiving any damage. It actually increases your health above its maximum. Eating something will reset it.
• Setting the damage of blocks to anything but 0 or tools above their maximum doesn't do anything, expect for a few special blocks and items, where damage is used to distinguish different versions of the same item.
• You can carry multiple tools in one slot. It won't destroy the whole stack if one tools is destroyed.
• When setting block counts to a high number (e.g. 255), they count as infinite as long as you don't restart the game.
• Java's bytes are signed (-128 to 127) whereas C#'s are unsigned (0 to 255). You can notice this ingame, when stacks of blocks or items larger than 127 disappear, do nothing or don't work as expected.
Other controls
When dragging:
Normal: Move/swap items.
Ctrl: Copy items. Overwrites existing items.
Alt: Split items. Like right-clicking ingame.
When item slot is selected and scrolling the mouse wheel:
Normal: Change count.
Shift: Change damage.
Ctrl: Modify x4.
Editing items.txt
Even tho it should be self-explanatory, I'll tell you how it works.
Here is a valid items.txt example file:
:version 0The version value is used for checking for updates.
# This is a comment, just for decoration
1 Stone terrain.png 1,0
4 Cobblestone terrain.png 0,1
48 Moss_Stone terrain.png 4,2
5 Wooden_Planks terrain.png 4,0
17 Wood terrain.png 4,1 0
17 Dark_Wood terrain.png 4,7 1
17 Birch_Wood terrain.png 5,7 2
266 Gold_Ingot items.png 7,2
278 Diamond_Pickaxe items.png 3,6 +1024
297 Bread items.png 9,2 x1
332 Snowball items.png 14,0 x16
~ Stone 4 1,4,48
~ Wood 17 5,17
~ Items 266 266,278,297,332
If you want to update, but also want to keep your items.txt, simply backup it.
INVedits loads the file line by line and tries to parse it.
These lines are divided into columns, which are seperated by spaces.
• The first value is the item's ID, you can find the IDs of items for example here.
• The second one is obviously the name. Any spaces have to be replaced with an underscore.
• Next up is the file where the item icon can be found.
• The next two values is the position where the icon is located. 15,15 would be the bottom right one.
• The last column is optional and either contains one of these:
-- The damage value of an item. This is used by Minecraft to identify items which have the same ID, e.g. wood.
-- The maximum damage of a tool. Begins with a "+". Example: Diamond Pickaxe has 1024 uses.
-- The maximum count of a block or item. Begins with an "x". Example: Bread = x1, Snowball = x16.
Lines which define a group start with "~".
• The first value is the name (you won't see this in INVedit).
• The second one is an ID of an item. Its icon will be used for the group.
• A list of items which will show up in that group, seperated by commas.
#4
Posted 28 June 2010 - 03:58 PM
sorry for the rambling, i suppose that you know what i mean. sorry for the unconstructive critisism.
Ps. keep up the good work.
Bowserking64 said:
Andeh6 said:
Yes, Problem?
#5
Posted 28 June 2010 - 04:11 PM
I have nothing else relevant to say.
#6
Posted 28 June 2010 - 04:15 PM
lowerthanlow said:
lowerthanlow said:
lowerthanlow said:
lowerthanlow said:
Also, you're welcome and thank you for the critisism ;D
BigD145 said:
#7
Posted 28 June 2010 - 04:36 PM
#8
Posted 28 June 2010 - 05:52 PM
I love you so much
Catgirl12446: Infdev= INFinite DEVelopment
Ranavalona: FUUUUUUU-
5-43-31-18
Tell me what that means for a +1 respect
#10
Posted 28 June 2010 - 10:35 PM
System.BadImageFormatExeption: Could not load file or assembly
'NBT, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of
its dependencies. An attempt was made to load a program with an incorrect format.
File name: 'NBT, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=null'
at INVedit.Inventory.Load(String filename, Dictonary 2 slots)
At INVedit.MainForm.BtnOpenGameClick (Object sender, EventArgs e)
#11
Posted 29 June 2010 - 01:52 AM
Do you just open the level.dat and edit the inventory and save it?
#12
Posted 29 June 2010 - 01:54 AM
mrsquidon said:
Do you just open the level.dat and edit the inventory and save it?
Yes, thats it.
#13
Posted 29 June 2010 - 02:41 AM
Baldr said:
mrsquidon said:
Do you just open the level.dat and edit the inventory and save it?
Yes, thats it.
Alright I just did that aaaaand... I spawned beneath the map forever doomed to wander endlessly.
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
#14
Posted 29 June 2010 - 02:54 AM
#15
Posted 29 June 2010 - 03:01 AM
Fatalis said:
System.BadImageFormatExeption: Could not load file or assembly
'NBT, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of
its dependencies. An attempt was made to load a program with an incorrect format.
File name: 'NBT, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=null'
at INVedit.Inventory.Load(String filename, Dictonary 2 slots)
At INVedit.MainForm.BtnOpenGameClick (Object sender, EventArgs e)
Getting the same error, I'm on windows 7 64bit so it obviously comes with .net 2.0...
#16
Posted 29 June 2010 - 03:02 AM
That rectangle looks blue to me.
I am a very picky person.
#17
Posted 29 June 2010 - 03:04 AM
In short, it doesn't work for me
http://www.points2shop.com/?ref=uin1277132235
GO HERE TO GET FREE POINTS TO SPEND AT AMAZON!
#18
Posted 29 June 2010 - 03:19 AM
I SAY WE BURN THE PROGRAMMER AT THE STAKE LIKE A WITCH BACK IN YE' OLDEN DAYS!!!
#19
Posted 29 June 2010 - 07:54 AM
Fatalis said:
mrsquidon said:
copyboy said:
EDIT: It'd be nice if you told me how you managed to do that, because I'm not able to reproduce this bug.
DarkCybrid said:
In short, it doesn't work for me
In short, can't fix it.
#20
Posted 29 June 2010 - 09:18 AM
I'm sticking to NBTedit thanks. Unless you decide to combine this with editing the other aspects of level.dat