Quote Originally Posted by Ramah View Post
Hmm... well that doesn't sound good if you don't know that eaither, Ravs.

The "Save Image" command just saves out exactly what it sees in the viewport, minus the green background. So if shades, shadows etc. are all turned on then it spits it out as one image. Limited use really.
The "Save All Layers" command spits out up to four images, one each for: _brushes.png, _shades.png, _shadows.png and _masks.png. This way they are kept separate and can be manipulated individually in PS or whatever. Are you not getting them either, Ravs?
Ah thanks for telling what we should expect.
It doesn't do that.
It pulls up a Save dialog asking for a filename,
and then spits out this Java error:

Code:
Exception in thread "AWT-EventQueue-0" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
	at java.lang.String.substring(String.java:1768)
	at mapmaking.Main.saveAll(Main.java:5173)
	at mapmaking.Main.saveAll(Main.java:5165)
	at mapmaking.Main$11.actionPerformed(Main.java:1433)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:334)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1050)
	at apple.laf.CUIAquaMenuItem.doClick(CUIAquaMenuItem.java:119)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1091)
	at java.awt.Component.processMouseEvent(Component.java:5617)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3129)
	at java.awt.Component.processEvent(Component.java:5382)
	at java.awt.Container.processEvent(Container.java:2010)
	at java.awt.Component.dispatchEventImpl(Component.java:4083)
	at java.awt.Container.dispatchEventImpl(Container.java:2068)
	at java.awt.Component.dispatchEvent(Component.java:3918)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
	at java.awt.Container.dispatchEventImpl(Container.java:2054)
	at java.awt.Window.dispatchEventImpl(Window.java:1801)
	at java.awt.Component.dispatchEvent(Component.java:3918)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:501)
	at java.awt.EventQueue.access$000(EventQueue.java:80)
	at java.awt.EventQueue$1.run(EventQueue.java:462)
	at java.awt.EventQueue$1.run(EventQueue.java:461)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:84)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:95)
	at java.awt.EventQueue$2.run(EventQueue.java:476)
	at java.awt.EventQueue$2.run(EventQueue.java:475)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:84)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:473)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)