WebChest
CAUTION: Make sure to BACK UP YOUR LEVEL.DAT FILES before using this tool. There seems to be a bug when your uploaded inventory is empty. It can cause your level not to show in the game I'll remove this note when I have a fix.
Now supports the new Halloweed Update items/blocks and has updated images including some that were previously missing.
Hi all,
I've been working on some code for the past few weeks to parse and edit all the types of Minecraft files. I'm hoping I can eventually get around to writing a server, but for now it's only yielded an inventory editor. This editor has the ability to parse both single and multiplayer files (level.data and players/xxxx.dat) and output the files in the same format. It's a drag-and-drop interface that looks much like the Minecraft inventory screen. Here's the link: http://bosak.net/minecraft/inventory.html
I had to put an ad up on the site in case this tool gets popular and I need to afford a better server (I'm using an Amazon EC2 micro-instance currently). I'm also using image pulled straight from the Minecraft data, so if anyone knows if notch has a problem with either, please let me know.
This tool shouldn't be too buggy but has only been tested on Chrome and Firefox on Windows and Chrome on Mac. I'm also missing some images (like the ladder) and have disabled some of the items/blocks that I'm not sure should be used. If you find any display issues, other bugs, or have suggestions, post them here. And as always, back up your data before you overwrite it, just in case.
* Go to http://bosak.net/minecraft/inventory.html
* Click the "Choose File" button and select your level.dat (or multiplayer .dat) file.
* Click "Upload". Once uploaded you should see your current inventory.
* Drag and drop items from the right-hand box of items. Click on items in your inventory to change the quantity and damage. Not all items have damage.
* Once you're done, click the "Download" link.
* If you reload the page or leave and come back, the file you last uploaded should pop back up so you can continue editing
Sorry, probably should've posted more info here. There is however some instruction if you click the 'about' link on that page. I'll update my original post.
I'm seeing that some of you are checking out this tool, but it doesn't appear that many are actually downloading their files. Either the page is loaded and that's it, or a file is uploaded and never saved or downloaded. If you are having problems, please post them here. The sooner you post, the sooner I can get them fixed.
I'm guessing that some of what I'm seeing are people at work wanting to check out this tool but not having their Minecraft data available. If that's the case, it won't be of much use to you until you have your data uploaded.
Odd. It's worked for me every time. Did you have Minecraft running when you put the file in place? Anyone else having this issue?
Nah, didn't have it running.
That is strange, have you tried it again? If you DM me your IP I can check the logs to see what might have happened.
Also, I think one thing I need to change is how you have to explicitly save your changes before downloading. That's an extra step that really shouldn't be there, and I'm sure people will often forget to save.
Quick fix.. clear your cookies for my site and you can re-upload a new file. I'll work on getting a better error message and prevention of this issue.
Quote from Desterrado »
Heh, I was quite dumb and accidently used this and opened the wrong file. Now its not working, at all.
Heres the error screen. It's copied and pasted.
----------
System error
error: Died at /usr/local/www/sites/bosak.net/libs//Minecraft/Util.pm line 376, <GEN54> line 2.
context:
...
372:
373: require PerlIO::gzip;
374:
375: my $FH;
376: open $FH, "<:gzip", $filename or die $!;
377: return $FH;
378: }
379:
380: sub get_write_fh {
...
code stack: /usr/local/www/sites/bosak.net/libs/Minecraft/Util.pm:376
/usr/local/www/sites/bosak.net/libs/Minecraft/NBT.pm:203
/usr/local/www/sites/bosak.net/htdocs/minecraft/inventory.html:261
/usr/local/www/sites/bosak.net/htdocs/minecraft/autohandler:30
raw error
-----------
To avoid this, make sure you open the right files with the software. :biggrin.gif:
Desterrado, was your file one that ended in ".dat"? I thought I was checking for that. I've updated my code to hopefully handle that type of issue more gracefully. And if you haven't cleared your cookies yet, try reloading the page to see if it works without having to clear cookies.
I've updated my tool a bit, mostly changing the layout. I'm also planning on getting the ability to edit damage in today. Sorry for being down for a day (if anyone noticed), but I had accidentally edited the wrong file when making layout changes and couldn't easily revert.
Whenever I open up my inventory, the game crashes.
Can you give me any more information? I assume this only started happening after using my inventory editor? Was Minecraft running when you edited the file?
CAUTION: Make sure to BACK UP YOUR LEVEL.DAT FILES before using this tool. There seems to be a bug when your uploaded inventory is empty. It can cause your level not to show in the game I'll remove this note when I have a fix.
Now supports the new Halloweed Update items/blocks and has updated images including some that were previously missing.
Hi all,
I've been working on some code for the past few weeks to parse and edit all the types of Minecraft files. I'm hoping I can eventually get around to writing a server, but for now it's only yielded an inventory editor. This editor has the ability to parse both single and multiplayer files (level.data and players/xxxx.dat) and output the files in the same format. It's a drag-and-drop interface that looks much like the Minecraft inventory screen. Here's the link: http://bosak.net/minecraft/inventory.html
I had to put an ad up on the site in case this tool gets popular and I need to afford a better server (I'm using an Amazon EC2 micro-instance currently). I'm also using image pulled straight from the Minecraft data, so if anyone knows if notch has a problem with either, please let me know.
This tool shouldn't be too buggy but has only been tested on Chrome and Firefox on Windows and Chrome on Mac. I'm also missing some images (like the ladder) and have disabled some of the items/blocks that I'm not sure should be used. If you find any display issues, other bugs, or have suggestions, post them here. And as always, back up your data before you overwrite it, just in case.
And if any of you are Perl developers, my backend code is available here: http://github.com/kevinbosak/Minecraft-Perl
Instructions:
* Go to http://bosak.net/minecraft/inventory.html
* Click the "Choose File" button and select your level.dat (or multiplayer .dat) file.
* Click "Upload". Once uploaded you should see your current inventory.
* Drag and drop items from the right-hand box of items. Click on items in your inventory to change the quantity and damage. Not all items have damage.
* Once you're done, click the "Download" link.
* If you reload the page or leave and come back, the file you last uploaded should pop back up so you can continue editing
I'm guessing that some of what I'm seeing are people at work wanting to check out this tool but not having their Minecraft data available. If that's the case, it won't be of much use to you until you have your data uploaded.
Yup.
[simg]http://mcxc.net/images/logosmall.png[/simg]
Nah, didn't have it running.
That is strange, have you tried it again? If you DM me your IP I can check the logs to see what might have happened.
Also, I think one thing I need to change is how you have to explicitly save your changes before downloading. That's an extra step that really shouldn't be there, and I'm sure people will often forget to save.
Can you give me any more information? I assume this only started happening after using my inventory editor? Was Minecraft running when you edited the file?