=============================================================
                   NW2PNG - made by Alex
http://forums.graalonline.com/forums/showthread.php?p=1583800
=============================================================

Installation:
You only need the Java Runtime (JRE) - thats all
If you dont have Java you can download and install it here:
http://java.com/en/download/manual.jsp
An advantage of Java is that it uses the same program on every operating system
Non extra builds / extra libaries or extra tools needed

Usage:
Drag and drop one or multiple .nw or .gmap file(s) on the NW2PNG.bat
If you recieve one of the following errors:
"Invalid maximum heap size: -Xmx1536m ..."
"Error occurred during initialization ... Could not reserve enough space for object heap"
Then use the "NW2PNG - low ram usage.bat" instead
this is for computers who dont have much ram

If drag'n'drop doesnt work you can run the command prompt
in the folder and do it manually by typing in:
java -Xmx1536m -jar NW2PNG.jar "FILEPATH/FILENAME.nw_or_gmap" "FILEPATH2/FILENAME2.nw_or_gmap" "FILE..." "..." "..." "..."
or for the low ram usage:
java -Xmx512m -jar NW2PNG.jar "FILEPATH/FILENAME.nw_or_gmap" "FILEPATH2/FILENAME2.nw_or_gmap" "FILE..." "..." "..." "..."

You can also select more ram by increasing the -Xmx1536m number (experimental)
Ram doesnt speed the process up - its only allowing bigger gmaps

You can use any tileset you want by replaceing the pics1.png image

All npc images must be in images/ to work

-- Changelog ---
1.3:
- Added support for normal NPC images
- Added ignorecase for "pics1.png" npcs and npcs containing "light" in their name
  (Detection of setimgpart() not added yet)
- Small source code changes

1.2:
- Added support for Tilelayers
- Improved the source code for speed
- Increased max ram usage to 1536 MB
- Added option for the low ram usage

1.1:
- Fixed the typo which switched Height and Width
- Little code improvements

1.0:
- First initial release