Map Creator (development stopped)
Moderator: Locomotion Moderators
-
- TTDPatch Developer
- Posts: 417
- Joined: 13 Apr 2004 13:35
- Location: Eindhoven, Netherlands
- Contact:
Map Creator (development stopped)
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.
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.
- Attachments
-
- Part of the user interface
- screenshot2.png (34.66 KiB) Viewed 27410 times
-
- Part of the generated landscape
- screenshot.png (61.86 KiB) Viewed 3122 times
Last edited by Mek on 27 Oct 2004 14:53, edited 1 time in total.
-
- TTDPatch Developer
- Posts: 417
- Joined: 13 Apr 2004 13:35
- Location: Eindhoven, Netherlands
- Contact:
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..)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.....
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.
- Attachments
-
- wales_cardiff.rar
- The generated landscape
- (63.14 KiB) Downloaded 935 times
-
- Unless you have a good monitor, what you can't see is the Vale of Glamorgan coast. This is 96x96, stretched out within the program.
- wales3.png (4.09 KiB) Viewed 28504 times
-
- wales_donor.rar
- The empty, donor landscape
- (140.15 KiB) Downloaded 701 times
Bugzilla available for use - PM for details.
-
- TTDPatch Developer
- Posts: 417
- Joined: 13 Apr 2004 13:35
- Location: Eindhoven, Netherlands
- Contact:
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....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.
-
- TTDPatch Developer
- Posts: 417
- Joined: 13 Apr 2004 13:35
- Location: Eindhoven, Netherlands
- Contact:
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]
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]
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.ChrisCF wrote:Strange. I got it running in one attempt. Did you actually read any of this 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.
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.ampz wrote:You probably need to install java.
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.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.
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?
Last edited by ampz on 28 Sep 2004 20:34, edited 1 time in total.
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
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)
╔═════════════════╗
║░ГЯΔИ$PØЯГ Г¥¢ØØИ!░║
║▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒║
║▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓║
║▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒║
║░░░░░░░░░░░░░░░░░║
╚═════════════════╝
║░ГЯΔИ$PØЯГ Г¥¢ØØИ!░║
║▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒║
║▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓║
║▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒║
║░░░░░░░░░░░░░░░░░║
╚═════════════════╝
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.ChrisCF wrote:Really? You mean the said same one I'm running on three computers over two operating systems?Dan wrote:(the sun download doesn't work)
I'm not trying to be funny here, but ffs get a clue.
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
Last edited by Dan on 29 Sep 2004 22:31, edited 2 times in total.
╔═════════════════╗
║░ГЯΔИ$PØЯГ Г¥¢ØØИ!░║
║▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒║
║▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓║
║▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒║
║░░░░░░░░░░░░░░░░░║
╚═════════════════╝
║░ГЯΔИ$PØЯГ Г¥¢ØØИ!░║
║▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒║
║▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓║
║▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒║
║░░░░░░░░░░░░░░░░░║
╚═════════════════╝
Who is online
Users browsing this forum: No registered users and 8 guests