Re: RandomMap generator error.

From: jteu004@cs.auckland.ac.nz
Date: Thu 25 Nov 2004 - 19:38:54 GMT


The MapGenerator produces node.bin, building.bin and road.bin files. If you have
an existing map and just want to make random gisini.txt files then you should
use the RandomConfig program.

In the same directory as the .bin files for the map, run:

java -cp rescuecore.jar;. rescuecore.tools.RandomConfig

the "-cp rescuecore.jar;." sets the class path. This means Java will look for
files in rescuecore.jar and in . (current directory). If you are running on
linux I believe you will need to use a ":" instead of a ";" to delimit the
different paths.

Hope that helps,
Jono.

Quoting wielinga@ph.tn.tudelft.nl:

> Hello,
>
> I downloaded the rescuecore.jar at
> http://sourceforge.net/projects/rescuecore/
>
> While running the program with the default settings (command from the
> userguide) > java rescuecore.tools.mapgenerator.MapGenerator
> The file gave the following error:
> Exception in thread "main" java.lang.NoClassDefFoundError:
> rescuecore/tools/mapgenerator/MapGenerator
>
> I am using
> java version "1.4.2_04"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
> Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)
>
> How can I overcome this problem? I'm not familiar with java, so any help
> is welcome.
> I'm trying to create random "Gisini.txt" files for a map I use. How can I
> do this with the rescuecore.jar program?
>
> Krijn Wielinga
> Delft University of Technology
>
>



This archive was generated by hypermail 2.1.3 : Thu 25 Nov 2004 - 19:39:13 GMT