Maptool Data Directory Does Not Exist

Thoughts, Help, Feature Requests, Bug Reports, Developing code for...

Moderators: dorpond, trevor, Azhrei

Forum rules
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior. :)
Post Reply
Tidomann
Kobold
Posts: 1
Joined: Thu Feb 27, 2014 5:15 pm

Maptool Data Directory Does Not Exist

Post by Tidomann »

I had a plethora of other issues trying to launch the other versions of maptools on the latest java build for windows 7 so I am currently using b90 with the new launcher.

So changing the default drive that most things save to- I figured I had messed up java as well so this is to be expected.

Basically- the drive C:\Users\USER\.maptool does not exist

In my mt.cg the only two lines that exist are

Code: Select all

MAPTOOL_DIRECTORY=.
RELATIVE_PATHS=true
You used to be able to add a JVM line with the java directory and a - addition to redirect maptools to look in a new location for the .maptools folder to be used for storage correct? What do I need to do in the new mt.cfg in order to add this? I tried placing the path for the .maptools folder in the maptool_directory, but that did not work.

User avatar
Bone White
Great Wyrm
Posts: 1124
Joined: Tue Aug 23, 2011 11:41 am
Location: Cornwall, UK

Re: Maptool Data Directory Does Not Exist

Post by Bone White »

In b90 when you make edits in the launcher popup, it should apply these to mt.cfg then launch java with the contents of mt.cfg.
My b90 mt.cfg reads as follows

Code: Select all

# Lines that start with '#' and blank lines are comments and are ignored.
# The fields below may appear in any order.
# Field names are not case-sensitive but will always be written in uppercase.
# Leading and trailing spaces around field names or their values are ignored.
# Spaces inside a value are preserved (useful for directory names).
#
# Limited to approximately 1500MB on 32-bit systems; unlimited on 64-bit.
MAXMEM=1024
# Simply a starting point for memory allocation.  The default is fine.
MINMEM=256
# Any value larger than 8-10MB is likely to cause memory problems for MapTool.
STACKSIZE=2
#DATA_DIRECTORY=
# Set this to force MapTool to use a particular directory for all file storage.
MAPTOOL_DATADIR=C:\Users\David\.maptool
# Directory where the MapTool .jar file is stored.  (Also see EXECUTABLE.)
MAPTOOL_DIRECTORY=E:\MTB90-TEST
# Version of MapTool this configuration file is for; must exist in the MAPTOOL_DIRECTORY directory.
EXECUTABLE=maptool-1.3.b90.jar
CONSOLE=false
PROMPT=true
RELATIVE_PATHS=false
# Any extra arguments that should be placed on the Java command line.
#ARGS=
# A comma-separated list of XML files with enabled logging.
LOGGING=
# Locale setting for executing MapTool (does not apply to this launcher).
#LOCALE=
# Directory containing the version of Java to use; must contain a 'java' executable.
JAVA_DIRECTORY=C:\Program Files\Java\jre7\bin

Lee
Dragon
Posts: 958
Joined: Wed Oct 19, 2011 2:07 am

Re: Maptool Data Directory Does Not Exist

Post by Lee »

Try deleting the .cfg file and use the launcher again. if it still fails, try putting the argument for the data directory first and the -jar maptooljarhere.jar argument last on the command string. I encountered what seems to be a new Java bug / behavior change regarding system properties etc, and this helped me set my data directory.

Post Reply

Return to “MapTool”