Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

InvGrid - Inventory Editor - OS X, Linux (May-30-2011)


  • Please log in to reply
410 replies to this topic

#1

jbendig
    jbendig

    Stone Miner

  • Members
  • 80 posts

Posted 24 September 2010 - 06:31 PM

LAST UPDATED ON MAY 30, 2011 FOR MINECRAFT 1.6. NO MORE UPDATES ARE PLANNED.

Hello,

InvGrid is a simple Minecraft inventory editor native for OS X and Linux. It's written in C++ using Qt. The license is public domain. Thanks to everyone for the positive support and feedback!

Screenshot
Source Code
Download InvGrid 0.9 (OS X 10.5, OS X 10.6, and Ubuntu 10.10)
Download InvGrid git (Arch Linux, maintained by quantumphaze]

Notes
To colorize wool, set the damage to a value listed below.
0: Plain
1: Orange
2: Magenta
3: Light Blue
4: Yellow
5: Light Green
6: Pink
7: Black
8: Grey
9: Cyan
10: Purple
11: Blue
12: Brown
13: Dark Green
14: Red
15: Black
List originally provided by poke722.

Similarly to wool, wood can be changed with its damage using the list below to change the type.
0: Regular
1: Redwood
2: Birch
List originally provided by Blagob.

Dyes can be changed as well by modifying the damage value.
0: Ink Sac
1: Rose Red
2: Cactus Green
3: Cocoa Beans
4: Lapis Lazuli
5: Purple Dye
6: Cyan Dye
7: Light Gray Dye
8: Gray Dye
9: Pink Dye
10: Lime Dye
11: Dandelion Yellow
12: Light Blue Dye
13: Magenta Dye
14: Orange Dye
15: Bone Meal

Lua Scripting
For Lua scripting examples, see this post. You can use scripting to add items that aren't normally listed in InvGrid.

Custom Items
As of version 0.8.2, you can now register custom item types. This is so mod users and impatient people who can't wait for InvGrid to update can add new items themselves. All custom items are available using Lua.

To add custom items, you must be create an items.csv file in the InvGrid settings directory.
OS X: <User>/Library/Application Support/invgrid/items.csv
Linux: ~/.invgrid/items.csv

The items.csv is a plain text file in a comma delimiter format with two columns. The first column must be the item value and the second must be the item name. Duplicating an existing item value OR item name will overwrite that item for the duration InvGrid is running.

Example items.csv
380,Bridge Start
381,Bridge Stop
401,Drill
501,Computer

Usage instructions
Start InvGrid and go to File->Open World X, with X being the world number of your save.

Next, select a row in the table on the left to begin editing. If an item doesn't exist in that slot, click "New Item" to create one. Adjust the selected item's type, count, and damage on the right. Changes are automatically reflected in the left table.

Finally, when you're done editing, go to File->Save to save your changes.

Changes
Version 0.9
- Added items introduced in Minecraft 1.4, 1.5, and 1.6.
Version 0.8.2
- Added items introduced in version 1.3.
- Added loading of custom item types from a csv file in the InvGrid settings directory called items.csv.
- Changed the File->Open dialog so it automatically opens to the Minecraft saves directory.
Version 0.8.1
- Added Beta items and blocks.
- Fixed crash when trying to save after running a script.
Version 0.8
- Added Lua based scripting.
- Added health field to Misc. page.
- Added prompt on close that asks if user wants to save changes.
Version 0.7
- Fixed unknown items being turned into air when edited.
- Changed item type list so it expands to fit as much space as is available vertically.
- Added double clicking an empty slot in the inventory table will now automatically create a new item.
- Added preset item buttons for creating stone, wood, glass, and torches x64. (Consider it a trial feature)
- Added misc page for adjusting the time of day, spawn position, and current position. (With helpful explanation provided by Rofang!)
- Changed inventory and misc pages so they are disabled unless a valid world file is loaded.
Version 0.6.1
-Fixed item issues reported by Bigmacbook.
--Fixed Pumpkin incorrectly being Red Mossy Cobblestone.
--Renamed Red Mossy Cobblestone to Bloodstone.
--Renamed Brittle Gold to Lightstone.
--Renamed Brittle Gold Dust to Lightstone Dust.
--Renamed Glowing Pumpkin to Jack-O-Lantern.
Version 0.6
-Added Netherworld patch items. (Pumpkin, Glowing Pumpkin, Red Mossy Cobblestone, Mud, Brittle Gold, Brittle Gold Dust, Portal, Watch, Raw Fish, and Cooked Fish)
- Fixed Air being selected by default when creating a new item even though Air was removed.
- Added import and exporting of inventories as csv files.
Version 0.5
- Added copy(Ctrl+C) and paste(Ctrl+V) of items.
- Added delete item key shortcuts (Ctrl+D or Del)
- Added button that sets item damage to zero.
- Added button that sets item count to 64.
- Added Ubuntu/Debian deb package support.
- Fixed table view allowing multiple rows to be selected at the same time.
- Removed "Air" item because it's useless and causes Minecraft to crash.
- Removed buggy Iron and Wood door items. Real "Iron Door" and "Wood Door" items remain!
- Disabled automatic focus of item type field on row selection in favor of tab key navigation.
Version 0.4
- Replaced item type combo with a list and text field for easy searching of items.
- Ported to Linux. (No deb or rpm yet)
Version 0.3
- Creating a new item now automatically gives the type combobox keyboard focus.
- Added keyboard shortcuts Ctrl+1-5 for loading worlds 1-5.
- Added Inventory->New Item (Ctrl+N) menu option as an alternative to creating a new item instead of pressing the New Item button.
- Added White Cloth to item type list.
- Added application icon donated by Lachy17689. Thanks!
- Added automatic backup of existing level.dat before saving.
- Fixed crash when opening files with unknown item layouts.
- Fixed issue where opening a file with an empty inventory and then saving would corrupt the file. (Missing world problem)
Version 0.2
- Added File->Open World 1-5 options to quickly open various world files.
- Changed File->Save to work more traditionally by saving the currently open file in place.
- Added File->Save As option to save to a specific location.
- Fixed item damage not being adjustable to negative values.

Register or log in to remove.

#2

ceolwulf

Posted 26 September 2010 - 03:07 PM

Very nice, thanks for making. I've been looking for an inventory editor for OS X.

#3

zaaakk
    zaaakk

    Carpenter

  • Members
  • 43 posts

Posted 26 September 2010 - 03:16 PM

You are my hero.

EDIT: My world shows up as empty after I finish editing. What did I do wrong?

#4

Noelpac
    Noelpac

    Out of the Water

  • Members
  • 5 posts

Posted 26 September 2010 - 06:18 PM

It's very very nice, but i had a problem, i just change my inventory and give me 64 TNT but when I press "i" for open my inventory, minecraft crashed and I see it :
	  Minecraft has crashed!	  
	  ----------------------	  

Minecraft has stopped running because it encountered a problem.

If you wish to report this, please copy this entire text and email it to [email protected]
Please include a description of what you did when the error occured.



--- BEGIN ERROR REPORT a1dce528 --------
Generated 26/09/10 20:16

Minecraft: Minecraft Alpha v1.1.2_01
OS: Mac OS X (i386) version 10.6.4
Java: 1.6.0_20, Apple Inc.
VM: Java HotSpot(TM) Client VM (mixed mode), Apple Inc.
LWJGL: 2.4.2
OpenGL: ATI Radeon HD 2600 PRO OpenGL Engine version 2.1 ATI-1.6.18, ATI Technologies Inc.

java.lang.NullPointerException
	at ab.a(SourceFile:114)
	at ee.a(SourceFile:113)
	at ee.a(SourceFile:46)
	at lo.a(SourceFile:60)
	at iq.b(SourceFile:301)
	at net.minecraft.client.Minecraft.run(SourceFile:608)
	at java.lang.Thread.run(Thread.java:637)
--- END ERROR REPORT ac0c08fc ----------




#5

nate451
    nate451

    Out of the Water

  • Members
  • 6 posts

Posted 26 September 2010 - 07:12 PM

I've had both of these problems -- my world showing up empty in the list of saved levels and the problem where Minecraft crashes when opening the inventory. Any insight into how to avoid both of these bugs would be awesome.

#6

jbendig
    jbendig

    Stone Miner

  • Members
  • 80 posts

Posted 26 September 2010 - 08:50 PM

For the empty inventory problem, did you start a new map? Try adding something to your inventory, save & quit, and then edit with InvGrid.

I'm not sure about the crashing. Try the above first. Otherwise, if one of you can post a zip of your world, I'll check it out.

#7

Noelpac
    Noelpac

    Out of the Water

  • Members
  • 5 posts

Posted 28 September 2010 - 05:17 PM

http://rapidshare.co...80292/level.dat

Here's the save of my level.dat

#8

Lusidea
    Lusidea

    Carpenter

  • Members
  • 41 posts

Posted 28 September 2010 - 05:53 PM

It's easier for me to use than INVedit since it's native to Mac, but its really hard to use, its pretty plain (and ugly) and you can't add minuses for the values (for pickaxes, hoes, axes, spades etc).

#9

jbendig
    jbendig

    Stone Miner

  • Members
  • 80 posts

Posted 29 September 2010 - 12:27 AM

I'm happy to see InvGrid being helpful. :D

Noelpac said:

http://rapidshare.co...80292/level.dat

Here's the save of my level.dat
Delete the air item assigned to the feet slot. -_-

Lusidea said:

It's easier for me to use than INVedit since it's native to Mac, but its really hard to use, its pretty plain (and ugly) and you can't add minuses for the values (for pickaxes, hoes, axes, spades etc).
You're right that it's ugly and could be easier to use. I want to keep it simple so it will probably never look nicer. On the other hand, I'm happy to improve usability. Also, I fixed minus values not being available, check out version 0.2!

#10

Noelpac
    Noelpac

    Out of the Water

  • Members
  • 5 posts

Posted 29 September 2010 - 01:21 PM

Thanks, it works better now, and the new version is good.

#11

Nickname97
  • Location: GMT -6
  • Minecraft: Nickname97

Posted 01 October 2010 - 01:55 AM

Its a great program but I downloaded the new version and it didn't work. Help???????
Check out my minecraft story by going to my profile!
Posted Image

#12

jbendig
    jbendig

    Stone Miner

  • Members
  • 80 posts

Posted 01 October 2010 - 01:48 PM

Nickname97 said:

Its a great program but I downloaded the new version and it didn't work. Help???????
Can you give me a little more detail, please? Did InvGrid not start at all? Did your inventory not change in Minecraft? Did Minecraft crash? Which version of OS X are you using? Are you using an older PPC mac or a newer Intel mac?

#13

nate451
    nate451

    Out of the Water

  • Members
  • 6 posts

Posted 01 October 2010 - 02:23 PM

Excited about the new version, but whenever I try to open a level -- either by selecting one manually or by using the 'open worldX' option -- the program crashes and I get a "quit unexpectedly" message. Am I perhaps installing it to the wrong place? Tried it in Applications and then in the saves directory. Happy to provide more information if it'd be useful. I'm running OS 10.5.

#14

jbendig
    jbendig

    Stone Miner

  • Members
  • 80 posts

Posted 01 October 2010 - 05:29 PM

nate451 said:

Excited about the new version, but whenever I try to open a level -- either by selecting one manually or by using the 'open worldX' option -- the program crashes and I get a "quit unexpectedly" message. Am I perhaps installing it to the wrong place? Tried it in Applications and then in the saves directory. Happy to provide more information if it'd be useful. I'm running OS 10.5.
Can you upload your level.dat that crashes, please? Sounds like my NBT parser is hitting a snag, which I'm happy to debug and fix.

#15

scgreg
    scgreg

    Tree Puncher

  • Members
  • 16 posts

Posted 02 October 2010 - 12:56 PM

Awesome, thanks. Works perfectly for me.

Couple of shortcut suggestions:

⌘1 - Open world 1
⌘2 - Open world 2
⌘3 - Open world 3
.. etc ..
⌘N - New Item

Also, when the new item button action is called, can it automatically give the 'type' dropdown focus?

Icons would be cool, too. :P

#16

scgreg
    scgreg

    Tree Puncher

  • Members
  • 16 posts

Posted 02 October 2010 - 01:06 PM

scgreg said:

Awesome, thanks. Works perfectly for me.

Couple of shortcut suggestions:

⌘1 - Open world 1
⌘2 - Open world 2
⌘3 - Open world 3
.. etc ..
⌘N - New Item

Also, when the new item button action is called, can it automatically give the 'type' dropdown focus?

Icons would be cool, too. :Pig:
And another - how about ⌘R to refresh if you've already got a world open? May be pointless with the 'open world ones' above, though..

Edit: You're missing cloth. Couldn't find it in the editor so gave myself string, now when I look at the slot I have cloth in InvGrid it just shows '35'.

#17

FranktheZumbi

Posted 02 October 2010 - 03:52 PM

I am having a problem, when I try to pick a world to edit it just crashes.

I get "The application InvGrid quit unexpectedly"

Please fix?

#18

jbendig
    jbendig

    Stone Miner

  • Members
  • 80 posts

Posted 02 October 2010 - 06:15 PM

scgreg said:

scgreg said:

Awesome, thanks. Works perfectly for me.

Couple of shortcut suggestions:

⌘1 - Open world 1
⌘2 - Open world 2
⌘3 - Open world 3
.. etc ..
⌘N - New Item

Also, when the new item button action is called, can it automatically give the 'type' dropdown focus?

Icons would be cool, too. :)
And another - how about ⌘R to refresh if you've already got a world open? May be pointless with the 'open world ones' above, though..

Edit: You're missing cloth. Couldn't find it in the editor so gave myself string, now when I look at the slot I have cloth in InvGrid it just shows '35'.
scgreg, I fixed everything you suggested except refresh and icons. I think the refresh option is redundant, but it is not completely ruled out. I don't know if I'll ever add icons. Keeping artwork out helps to keep the project simple. Expect the release soon, I want to see if I can get this crash some people are experiencing fixed first.

FranktheZumbi said:

I am having a problem, when I try to pick a world to edit it just crashes.

I get "The application InvGrid quit unexpectedly"

Please fix?
Can you upload your level.dat so I can debug it, please?

#19

scgreg
    scgreg

    Tree Puncher

  • Members
  • 16 posts

Posted 02 October 2010 - 08:22 PM

jbendig said:

scgreg said:

scgreg said:

Awesome, thanks. Works perfectly for me.

Couple of shortcut suggestions:

⌘1 - Open world 1
⌘2 - Open world 2
⌘3 - Open world 3
.. etc ..
⌘N - New Item

Also, when the new item button action is called, can it automatically give the 'type' dropdown focus?

Icons would be cool, too. :iapprove:
And another - how about ⌘R to refresh if you've already got a world open? May be pointless with the 'open world ones' above, though..

Edit: You're missing cloth. Couldn't find it in the editor so gave myself string, now when I look at the slot I have cloth in InvGrid it just shows '35'.
scgreg, I fixed everything you suggested except refresh and icons. I think the refresh option is redundant, but it is not completely ruled out. I don't know if I'll ever add icons. Keeping artwork out helps to keep the project simple. Expect the release soon, I want to see if I can get this crash some people are experiencing fixed first.
Excellent. Looking forward to it :DBlock:

#20

FranktheZumbi

Posted 04 October 2010 - 02:44 AM

How would I upload my file?