Jump to content

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

MineEdit All-In-One Editor (Last Updated 11/21/2010)


  • Please log in to reply
570 replies to this topic

#1

N3X15
    N3X15

    Coal Miner

  • Members
  • 144 posts

Posted 18 June 2010 - 12:01 PM

NOTE: MineEdit is going through some heavy rewrites right now to support Mac and Linux.  Don't expect an update soon.

Since I enjoy tinkering and coding, I'm currently throwing together an inventory and (eventually) map editor for MineCraft infdev.  The backend for reading is extensible and should allow for an easy transition to the new Infdev saves and adding support for indev and creative.  I may also eventually add in support for other voxel storage formats.

Downloads:
    [*:94d8mzet] Source code (needs Visual C# Express 2010, available free from M$.  May also work in MonoDevelop.)
    [*:94d8mzet] Binaries (DOWNLOAD THIS, open with this)

To run, you need .NET 3.5 (or a recent Mono on non-windows platforms).

Current features:
    [*:94d8mzet] Inventory editing using a user-friendly graphical interface.
    [*:94d8mzet] Browsing to infdev saves (makes it easier for Linux users, where saves are stored in different locations)
    [*:94d8mzet] Infdev map reading and writing
    [*:94d8mzet] Player editing (Health, Position, Fire, Air)
    [*:94d8mzet] 1-click tool repairs
    [*:94d8mzet] (Tile)Entity editor (Chests, MobSpawners, Mobs)
    [*:94d8mzet] Dropdown now has block icons.
    [*:94d8mzet] Tile replacer.
    [*:94d8mzet] Map generator (Flat and Default) with advanced customization!
    [*:94d8mzet]BROKEN: Lighting recalculator!
    [*:94d8mzet]Random Seed (*.rnd) importer/exporter!
    [*:94d8mzet]Trees and stuff!
    [*:94d8mzet]NEW: Completely new dialog for replacing crap! (Edit > Replace...)
    [*:94d8mzet]Pretty splash screen to look at while it loads stuff!
    [*:94d8mzet]NEW: Fixed to work with /game/!
    [*:94d8mzet]NEW: Automated unit testing through NUnit!
    [*:94d8mzet]NEW: Support for Halloween entities and blocks!
    [*:94d8mzet]NEW: Hills generator creates a vast desert wasteland instead of what you asked for!
    [*:94d8mzet]NEW: Water generator takes a lot less time!
    [*:94d8mzet]NEW" ENTITIES SAVE, FOR ONCE

Known issues:
    [*:94d8mzet] Terrain generation creates a few invalid chunks here and there.  Reason as to why this happens is unknown. Minecraft regenerates them automatically.
    [*:94d8mzet] Terrain generation takes a godawfully long time compared to systems that generate a heightmap and then add caves.  This is expected, as we use an exceptionally more complex terrain generation system than others. I'll address this with an alternate terrain generation plugin.

Pix:

(Coming soon)

How to use the inventory window:
    [*:94d8mzet]Click on the inventory slot you wish to edit.  The borders will turn orange, indicating the items/slots were selected.
    [*:94d8mzet] Mess with the settings.  The settings you select will be applied to all selected slots (clicking them toggles their selection).
    [*:94d8mzet] Hit Apply To Selected to apply the settings.  Repair Selected will repair damaged items.
    [*:94d8mzet] Hover over each item to get a description.

How to compile on Windows (.NET 3.5):
    [*:94d8mzet]double-click on runprebuild2010.bat.
    [*:94d8mzet] Run compile.bat (AND PRAY). If this fails, open MineEdit.sln and ensure MineEdit is set as a startup project (right-click on MineEdit > Set As Startup Project).
    [*:94d8mzet] Open MineEdit.exe in bin/.

How to compile on Linux (Mono and nant required)
    [*:94d8mzet] Through the console, and in the MineEdit directory, run prebuild.sh.
    [*:94d8mzet] Run nant (AND PRAY).
    [*:94d8mzet] To run MineEdit, cd to bin/ and enter the following to run the program: mono MineEdit.exe

MineEdit :: Snow :: VoxelSim


Register or log in to remove.

#2

fotoply
    fotoply

    Redstone Miner

  • Members
  • 511 posts
  • Location: Denmark

Posted 18 June 2010 - 12:23 PM

wow  :shock:
This is so cool!
So, I got a surprise for you!
Spoiler:

#3

riverchen
    riverchen

    Nether Resident

  • Members
  • 2287 posts
  • Location: Behind You.
  • Minecraft: Riverchen

Posted 18 June 2010 - 02:30 PM

What. What do i do with the source?
Posted Image
Posted Image
Made by AWOL42

#4

N3X15
    N3X15

    Coal Miner

  • Members
  • 144 posts

Posted 18 June 2010 - 02:38 PM

riverchen said:

What. What do i do with the source?
I don't want to provide binaries yet since I'm still trying to fix the map and I'm making a lot of changes.

MineEdit :: Snow :: VoxelSim


#5

riverchen
    riverchen

    Nether Resident

  • Members
  • 2287 posts
  • Location: Behind You.
  • Minecraft: Riverchen

Posted 18 June 2010 - 02:39 PM

Uhh.....okay? So i cant use this right now?
Posted Image
Posted Image
Made by AWOL42

#6

N3X15
    N3X15

    Coal Miner

  • Members
  • 144 posts

Posted 18 June 2010 - 02:40 PM

riverchen said:

Uhh.....okay? So i cant use this right now?
You can if you have Visual C# 2010 Express.  I'm only providing the git repo so people can track progress and laugh at me as I make all the problems ten times worse.

I had the map working a while ago, but I split it into multiple pieces so it wouldn't take as long to refresh.  I lost the code to that control, too.  Now just trying to re-fix it. :/

MineEdit :: Snow :: VoxelSim


#7

riverchen
    riverchen

    Nether Resident

  • Members
  • 2287 posts
  • Location: Behind You.
  • Minecraft: Riverchen

Posted 18 June 2010 - 02:45 PM

Okay thanks
Posted Image
Posted Image
Made by AWOL42

#8

BigD145
    BigD145

    Redstone Miner

  • Members
  • 513 posts

Posted 18 June 2010 - 02:59 PM

Aw, no negative values for damage?

/will wait for proper release before making more judgements
Posted ImagePosted ImagePosted Image

#9

N3X15
    N3X15

    Coal Miner

  • Members
  • 144 posts

Posted 18 June 2010 - 03:16 PM

BigD145 said:

Aw, no negative values for damage?

/will wait for proper release before making more judgements
Wasn't sure if that was possible.  

Map's looking a little better, Z values are still wonky, and negative x/y = scrambled...

MineEdit :: Snow :: VoxelSim


#10

aeomin
    aeomin

    Zombie Killer

  • Members
  • 213 posts

Posted 18 June 2010 - 03:22 PM

I know you can solve the problem by hard working =)
Though I am not sure why the map looks like a pattern. My guess is calculation for index is wrong. Infdev map chunk does not use the same calculation.

#11

N3X15
    N3X15

    Coal Miner

  • Members
  • 144 posts

Posted 18 June 2010 - 05:07 PM

aeomin said:

I know you can solve the problem by hard working =)
Though I am not sure why the map looks like a pattern. My guess is calculation for index is wrong. Infdev map chunk does not use the same calculation.
I figured it out (map control was asking for bogus voxel vectors),  now just having minor mirroring issues with negative-index chunks.  May enable editing and saving of positive-position chunks in a bit when I fix chunk saving.  Might also upload a binary since I managed not to horribly screw everything up yet.

Pic of what is currently available in git (assuming that it grabs icon resources correctly, going to have to double-check):
Posted Image

MineEdit :: Snow :: VoxelSim


#12

Alphasoldier

Posted 18 June 2010 - 05:27 PM

Not to destroy your ideas, seeing I find it amazing that there's a working infdev editor in the works again, but Notch DID say he was going to break our saves soon, so I'm not sure if it has a lot of use to already make a map editor.

When this is finished however it'd be nice if I weren't be needed to download unnecessary crap that I'll never use again. Like python, that Visual C stuff or whatever else.
Posted Image

#13

N3X15
    N3X15

    Coal Miner

  • Members
  • 144 posts

Posted 18 June 2010 - 05:50 PM

Alphasoldier said:

Not to destroy your ideas, seeing I find it amazing that there's a working infdev editor in the works again, but Notch DID say he was going to break our saves soon, so I'm not sure if it has a lot of use to already make a map editor.

When this is finished however it'd be nice if I weren't be needed to download unnecessary crap that I'll never use again. Like python, that Visual C stuff or whatever else.
When it's in a distributable mode, all you'll need is .NET 3.5, which should already be included with Windows.  Mac/Linux users will need mono, which is already included on most Linux distros.

Also, the way I coded the InfDev map handler is flexible.  All I'd (probably) need to do is change a few numbers and maybe load inventory from a different file.  If I'm REALLY lucky, he'll have a different filename/extension for the main file (currently level.dat) and I'll be able to make a new MapHandler just for Infdev 2.0 saves that's mostly copied from the system I already use.

MineEdit :: Snow :: VoxelSim


#14

N3X15
    N3X15

    Coal Miner

  • Members
  • 144 posts

Posted 18 June 2010 - 06:38 PM

Quick update: Posted some binaries.  Don't know if they work or not outside of my machine, but I've cleaned up most of the references.    Map is still screwy (less than it was), but inventory editing still works.  Adding a new panel for editing the player object itself (health, fire, air, position, and velocity) next.

MineEdit :: Snow :: VoxelSim


#15

kizzycocoa
  • Location: swindon, UK
  • Minecraft: kizzycocoa

Posted 18 June 2010 - 08:59 PM

you sir are god. so much have I hoped someone will just merge nbtedit and nbtforge/omen. this  at least creates part of NBTedit in a graphical format =D

any chest compatability forseen in the future?
EDIT: remember, the max amount of items possible outside of play is 255, not 64. so idk, I think should be fixed  :Skeleton:
also, yeah. damage to -1 plz.

#16

Menen
    Menen

    Ghast Hunter

  • Members
  • 2543 posts

Posted 18 June 2010 - 09:24 PM

Instalation Tutorial plox

Kilgallon said:

MomizerRox said:

ZarroTsu said:

Creepa stole ma bike.  [SSSS]

Sooo... when's the next seecret Friday update topic going up? =[
On Friday.

Could you simplify that please?

I don't quite understand your logic.

#17

N3X15
    N3X15

    Coal Miner

  • Members
  • 144 posts

Posted 18 June 2010 - 10:40 PM

Tutorial: Extract somewhere, doubleclick on the .exe.

As for the other stuff:  Doing it ATM.  Patching LibNBT so I can just grab something via a path.

MineEdit :: Snow :: VoxelSim


#18

N3X15
    N3X15

    Coal Miner

  • Members
  • 144 posts

Posted 20 June 2010 - 12:33 PM

Freshly updated, player editing added.  Let me know if I should tweak any of the numbox limits or if any bugs (besides the damn map control) rear their heads.

MineEdit :: Snow :: VoxelSim


#19

kizzycocoa
  • Location: swindon, UK
  • Minecraft: kizzycocoa

Posted 20 June 2010 - 02:38 PM

wait, has the limit on the items now go to 255? and damage to -1?

#20

Frost01
    Frost01

    Nether Resident

  • Members
  • 2030 posts
  • Location: Aperture science labratories, the home of portal and all things portal-ish

Posted 20 June 2010 - 02:43 PM

I cant find the cart tracks on the item list, but maybe I'm just being blind.
http://www.youtube.c...h?v=Y6ljFaKRTrI
^The Portal Song!^

http://www.youtube.c...h?v=b6Q_koTHB54
^Taste the cake song!^

The cake is NOT a lie!