Page 1 of 2
Map Creator (development stopped)
Posted: 27 Sep 2004 18:44
by Mek
I don't want to hijack other people's thread, so i thought i start my own thread, with my own Locomotion Map Creator. It can be downloaded
here.
In order to use it, you also need a donor scenario; a scenario without any towns/industries. You can download one from
here, or create your own one.
I think I shouln't be explaining why i used Java, but i can already here certain people complaining, so i thougt i'd explain it anyway. Actualy it is quite simple, i'm using Java because:
- it's portable. I only have Linux on my computers, so it's bad enough having to run an emulator to play locomotion, i don't want to run an emulator to create/test my own programs.
- It's easy to make GUI's. It's true it isn't very difficult to create portable programs in for example C, but it is however very difficult to make portable programs with a nice GUI...
- It's very easy extendable. You can change parts of the without having to recompile anything, just plug in the new classes, and everything still works perfectly.
I don't want to start a flamewar... I just don't want to here comments on my choice of programming language.
Posted: 27 Sep 2004 18:50
by jules
Erm appart form the fact that i have no idea how to run this

, is it possible to put more of the files into a subdirectory, just makes a rather messy folder.....
Posted: 27 Sep 2004 18:53
by Mek
jules wrote:Erm appart form the fact that i have no idea how to run this

, is it possible to put more of the files into a subdirectory, just makes a rather messy folder.....
You should not decompress the jar file... If you have a proper java setup, you could just start the jar file... If not, you have to start "java -jar MapCreator.jar" (or perhaps javaw, i'm not too sure about that..)
Posted: 27 Sep 2004 19:19
by Steve
Moved because it has A LOT more to do with scenarios that Graphics and Modding of Loco.
Posted: 28 Sep 2004 02:26
by TheDaian
i've tried running this program every way possible (running from the windows command line thing, opening with mozilla, ect...) perhaps you could compile it into a much more easy to use .exe?
Posted: 28 Sep 2004 02:28
by ChrisCF
Strange. I got it running in one attempt. Did you actually read any of this thread?
Posted: 28 Sep 2004 03:32
by ChrisCF
I fed it the attached donor scenario (slightly customised object set) and map image, and got an access violation + crash-to-desktop while trying to load the landscape. No towns, no roads, no industries.
Posted: 28 Sep 2004 08:00
by jules
ChrisCF wrote:Strange. I got it running in one attempt. Did you actually read any of this thread?
Dude take a chill pill, it wont open if you have winace installed as it just opens it as a shortcut, and i can get "java -jar MapCreator.jar" or javaw to work.
Posted: 28 Sep 2004 09:29
by ampz
You probably need to install java.
Posted: 28 Sep 2004 11:01
by Mek
ChrisCF wrote:I fed it the attached donor scenario (slightly customised object set) and map image, and got an access violation + crash-to-desktop while trying to load the landscape. No towns, no roads, no industries.
This is weird... I don't have any idea what could be causing this.. but i will investigate it; There must be something 'wrong' with the donor file, but what it is i don't know... However later this week i will release a new version, where you can also choose three built in donor files, one for each region. This way it shouldn't be necesairy to use your own donor files....
Posted: 28 Sep 2004 14:04
by Mek
Just uploaded a new
version. This version has 3 build in donor files, one for each region. So there's no more need for external donor files;
Also i've added some progressbars to this version, and a much more advanced image resizing/sampling algorithm, so maps from smaller images should look a lot smoother.[/url]
Posted: 28 Sep 2004 15:35
by TheDaian
ChrisCF wrote:Strange. I got it running in one attempt. Did you actually read any of this thread?
i have read the thread to it's fullest, and even tried reading between the thread, under the thread, over the thread, and of course, outside and inside the thread.
i am running windows XP pro, with SP1 installed. i have not specificly installed java on this machine, which brings me to my next point.
ampz wrote:You probably need to install java.
that is probably the case. would anyone be willing to inform me about which java i should install? a quick look at
http://java.sun.com provides seeminly 50 different download files.
i have no problem with people developing a useful program in java, but you have to know your audience. not everyone who wants to use this is running a java server on thier machine. again, making an .exe file out of it would be very useful for those of us who can't run a .jar file, and are too lazy to figure out how.
Posted: 28 Sep 2004 15:39
by orudge
I've stickied this, I think it would be better here.
Posted: 28 Sep 2004 17:17
by ChrisCF
TheDaian wrote:again, making an .exe file out of it would be very useful for those of us who can't run a .jar file, and are too lazy to figure out how.
That would entirely defeat the point of using Java

Posted: 28 Sep 2004 19:01
by ampz
TheDaian wrote:i have no problem with people developing a useful program in java, but you have to know your audience. not everyone who wants to use this is running a java server on thier machine. again, making an .exe file out of it would be very useful for those of us who can't run a .jar file, and are too lazy to figure out how.
There is a .exe available.
http://www.tt-forums.net/viewtopic.php?t=10713
orudge: May I ask why only one out of the two scenario generators got the honor of a sticky?
Posted: 28 Sep 2004 20:31
by kiop
that is probably the case. would anyone be willing to inform me about which java i should install? a quick look at
http://java.sun.com provides seeminly 50 different download files.
A excelent freeware for execute MapCreator.jar under Windows XP ...
JavaEXE
(for runtime Java) i use this of sun.com :
JRE JAVA
Posted: 29 Sep 2004 02:05
by Dan
Can someone please make an exe, I looked 2 hours trying finding a working download location.(the sun download doesn't work) I tried getting it working for 2 hours with no avail, I used to have a really old version that worked well but it got deleted(it was not a java 2)
Posted: 29 Sep 2004 03:14
by ChrisCF
Dan wrote:(the sun download doesn't work)
Really? You mean the said same one I'm running on three computers over two operating systems?
I'm not trying to be funny here, but ffs get a clue.
Posted: 29 Sep 2004 13:39
by orudge
ampz wrote:orudge: May I ask why only one out of the two scenario generators got the honor of a sticky?
Because I didn't notice the other one. Both are stickied now.

Posted: 29 Sep 2004 22:20
by Dan
ChrisCF wrote:Dan wrote:(the sun download doesn't work)
Really? You mean the said same one I'm running on three computers over two operating systems?
I'm not trying to be funny here, but ffs get a clue.
It says to right click to download if I use internet explorer and select "save target as" but when I right click, save target is not an option(greyed out), I had to find it somewhere else.
EDIT: apperently the install put the program in the wrong folder so I moved it and it works!
PS: ChrisCF that was not very nice