Forum



Spike am 08.12.2012 19:11 #10874

Im Ruhestand
Hey everybody,
I made a small tool which you can use to place some more objects on your map like the sunken ship or a
snowman. I don't know if my saved maps work with the original Settlers II but for RttR it's enough. Sometimes
the mapsize is wrong, I have no idea why but as far as I know it just happens if the saved map was made with
the Mapeditor by Xaser and you haven't changed the name "Ohne Name".



latest changes(v0030):
0030
-First Version of enlarge map tool
-Change a Texture Tool
0029
-Fixed critical bugs when converting bmp to wld (why didn't it crash before?)
-Added some Information while converting bmp to wld
-Added some colors
-Typing '.bmp' is no longer required
-Converted maps are now saved as 'n'+'[BMPFILENAME]'+'wld' (eg. if you load 'test' it opens 'test.bmp' and saves 'ntest.wld')
0028
-Commented Height generation for mountains out
0027
-Improved random Object Tool
-Added Map Information Tool(WIP)
0026
-Fixed Heightmaptool
0025
-Fixed the "Enter userseed" bug
-Fixed a bug where the mapheader (bmp to swd) were destroyed
0024
-Fixed some bugs where files weren't closed after aborted operation
-Fixed some bugs when choosing an option
-Fixed some bugs when choosing a Userseed
-Added own generation for maps (only BMP to SWD for now)

The program can at the moment(note:only for maps up to 1024x1024):
-Add special objects to a map
-Convert 16 color BMP to SWD
-change all heights of a map
-rotate Texture 180° (untestested, maybe works wrong)
-mirror map y-axis (left side is mirrored to the right side)
-mirror map x-axis (upper side is mirrored to the lower side)
-random heights (just changing all heights of the map, no special heights for mountains,swamp,desert etc.)
-random map (some patches and random stuff)
-random Objects,animals,granite,trees

TODO:
Done: better .bmp to .swd (thats needed for my 1024x660 map)
- better random heights (thats needed for the random mapgen)
- rotate everything (don't know what this is good for)
WIP: random mapgen (thats the reason why I'm doing things)
- copy maps together (You have 2 parts of a map and you want to copy them together?)
(Should I also make an option to just copy some areas?)
- enlarge maps (Maybe your map isn't big enought to add everything you want)
- move maps (You maybe want to have your map more in the middle or something like that)
Done: Heightmaps


Draworder:
LAVA_B
WATER_B
MAGENTA
DESERT
MAGENTA
STEPPE
SAVANNAH
MEADOW
SWAMP
MMEADOW_B
MOUNTAIN
FMEADOW
MMEADOW
SNOW
WATER
LAVA



Example heightmaps, BMP file with 255 white steps

Save as greyscale! 0x00 must be black and 0xFF white!

Code(0026 last update):
http://bazaar.launchpad.net/~fvv1/s25rttr/babylonian/files/head:/ObjectPlacement/

Latest version:
http://www.rfmonline.de/rttr/spike/spikesmaptool30.zip

http://www.youtube.com/watch?v=h-OJNPTjzB0&list=PLDA58AE35E51B6843&index=11

FAQ:
Q:It says something like "msvd120.dll is missing" what should I do?
A:Go to: http://www.visualstudio.com/downloads/download-visual-studio-vs
Download: Visual C++ Redistributable for Visual Studio 2013 x86
( http://go.microsoft.com/?linkid=9832155 )
Install this Update
Restart your PC
Everyhthing is working again.
The Problem is caused by using MSVC12 which requires these files to run...

And of course you use this tool on your own risk ;)

---


Editiert von Spike am 22.10.2015 02:25

Giant am 12.12.2012 22:04 #10876


Cool, werd ich sicher bald mal testen!


Spike am 12.12.2012 23:31 #10877

Im Ruhestand
Ich bin mittlerweile auch schon etwas weiter mit dem ganzen programm:
Wird dich sicherlich an ein bereits bestehendes oder mal bestandenes Programm erinnern :).

Show english version
I'm already a bit further already with the whole program.
You maybe remember the program written by hubert which I try to rewrite :):

only for you gefroy :*


http://picload.org/image/dpwooar/unbenannt.png

---


Editiert von Spike am 13.12.2012 18:04

~Gast am 13.12.2012 15:29 #10878


English spike english!


gefroy am 13.12.2012 15:30 #10879


Zitat von Gast:

English spike english!


Written by me!


Spike am 13.12.2012 18:10 #10880

Im Ruhestand
Okay, I will upload a newer version that you can use the program if you want to.


gives now finally:


You may ask yourself why the .bmp looks sharper then the .swd map? The Point is that I'm at the moment just place one hexagon after each other - means that nearly everything of the first hexagon is overwritten by the 2nd hexagon.
I will add later an option to change the order of hexagons placed but well, maybe that will be hardcoded and (Means first of all water, then desert, then steppe, then savanna, then grassland, then flower meadow, then mountains, then mountain meadow etc.)

So, Well, hopefully you like what I have done so far :)

(the link on the first page is up to date)

---



Spike am 23.12.2012 03:34 #10890

Im Ruhestand
Just had an other try to mirror maps :)



(And yes I know, that the editor by Xaser is able to do the same ;))

---


Editiert von Spike am 24.12.2012 03:10

Vesanus am 25.12.2012 22:40 #10891


Trying it right now to place special objects on my newest map :)

Edit: It worked, thanks!

Editiert von Vesanus am 25.12.2012 23:12

Spike am 26.12.2012 02:01 #10893

Im Ruhestand
Cool :) I will have a look at your map then ;)

---



Vesanus am 26.12.2012 14:33 #10895

Spike am 27.12.2012 16:06 #10900

Im Ruhestand


Got an other tool which is (maybe) working :p

---



Spike am 29.12.2012 03:42 #10902

Im Ruhestand

And this is the first attemt to use some random heights... which is still... not good :p

---



RM1985 am 29.12.2012 17:55 #10906


@Spike:
Vielleicht bin ich ja zu blöd, aber bei mir funktioniert das Tool nich richtig, ich krieg immer ne Fehlermeldung, dass irgendeine .dll-Datei nich vorhanden ist. Vorschläge?

Und nochwas: In deinem Video zum Tool benutzt du einen neueren
RttR-Editor mit neuen Features und so. Ich hab nur den alten gefunden auf deiner Seite. Wo gibts den neuen Editor???


Spike am 29.12.2012 19:16 #10907

Im Ruhestand
a) tell me which .dll is missing (I think msvc100.dll or something like that)
b) I'm not using a newer version of Xasers editor, I'm using an older version which does the same as the latest version. (or maybe I'm also using the latest version which uses sdl 1.2.5, I don't know)

---



RM1985 am 30.12.2012 10:06 #10908


a) yea, this is exactly the .dll thats missing (says your program), but how can I get it running then???

b)but yours must be newer than the one I have, cause in your video, the menu of the editor is way more complex, just like the original S2-editor.
But my question was, where do I get the newest version of the RTTR-Editor?


Spike am 30.12.2012 13:45 #10909

Im Ruhestand
b) if you would just have a look at our forum ( http://www.siedler25.org/index.php?com=forum&mod=forum&action=thread&id=890&start=-1#last) you would find our RttR Editor.

a)That .dll is part of the Microsoft "Microsoft Visual C++ 2010 Redistributable Package" which you can easy google and download, which most ppl already have installed ;)

---



Spike am 31.12.2012 03:16 #10910

Im Ruhestand


Now it works a bit better than my last try :p

---



RM1985 am 31.12.2012 13:08 #10911


@Spike:
to b) I havent been here for a couple of weeks and so I forgot a few things, for example, where to find the editor in the forum.

a) Unfortunately I have only Microsoft Visual C++ Redistributable Package 2005 (dont know why), but then I must only get the 2010-version. THX


Spike am 01.01.2013 21:16 #10912

Im Ruhestand


Added some random heights - every point of the map which does not touch any water (0x05,0x06,0x13) will get a height of 10 - 14. 10 is the default height of every map and well yes, you see, that it looks quite good already, if you ignore the fact, that I still ignore swamp and desert which I normally lower and do not add some more heights if I got mountains or lakes on mountains, but thats something todo ;)

---



RM1985 am 02.01.2013 12:10 #10914


@Spike:

Yesterday I saw a couple of your Videos on youtube and now I got some questions:

1. Is this BMP-SWD-Tool, in which you can draw your own Maps, already available or still in development? By the way, great Idea!

2. How is the progress of your "ObjectPlacement"-Tool? I already tried a few things, but it seems like there is a lot of work to do. I would love to try out the "Mirror-Map"-Tool. Will it be possible to mirror maps both vertical and horizontal???


Spike am 02.01.2013 13:13 #10915

Im Ruhestand
for question 1 I quote myself:

Zitat:
The program can at the moment(note:only for maps up to 248x248):
-Add special objects to a map
-Convert 16 color BMP to SWD
-change all heights of a map
-rotate Texture 180° (untestested, maybe works wrong)
-mirror map y-axis (left side is mirrored to the right side)
-random heights (just changing all heights of the map, no special heights for mountains,swamp,desert etc.)


question 2: I tried a few objects (waterstone, sunken ship, snowman) and it worked. Also as far as I know Vesanus (hopefully I'm not mixing things) made a map using some special objects (for example the tent) and it seems like the map is working. This means I think the tool is 99% finished cause nobody ever reported a bug (neither you, you just say there seems to be done a lot of work but not what wents wrong).

Yes, I will add the secons option too, its like the rotate map tool, I just need to change some small things and it also works but at the moment I want to add the random heights function more than mirror maps :p

---



RM1985 am 02.01.2013 13:32 #10916


So for using the BMP-SWD-Tool, I just have to draw something with PAINT and then change it to SWD with your tool. But I think I have to use specific colors for every terrain and to know which ones, I think I have to watch your video and remember the colors for every terrain, right?
But as far as I know, there was not a color for ALL of the different terrains or not specified. Maybe you could post the colors for ALL terrains, would be very helpful. THX

P.S. What if I use a different color than those you used??

Editiert von RM1985 am 02.01.2013 13:36

Spike am 02.01.2013 15:50 #10920

Im Ruhestand
Oh, I forgot to add the color explanation in the first post ;) Now you can have a look at the colors.
If you use a color I don't use a message should appear which tells you, that there are unknown information and that they will be ignored (hopefully) if you use an other .bmp format you will get a several times the same error, maybe someinformation will be known but used wrong or in an other way you think and the result would be a buggy mapfile which you maybe can use but which is just crap.

Also I do not use all terrains - such as the diffrent mountain textures or grassland textures are missing, I wanted to add a random function for these things.

---



RM1985 am 02.01.2013 16:27 #10921


Ok, thanks for the Info.
But unfortunately I tried to convert a bmp file into swd and your tool wasnt able to read my file. I did everything exactly like in your video, put both files in the same directory (all in my WORLDS folder), but didnt work. I always type the name of my file (test.swd) and then the program tells me again to type in the name of my swd-file and if I do so, it crashes. Any help????


Spike am 02.01.2013 16:59 #10922

Im Ruhestand
Send me both files and I will have a look at your problem ;)

---



RM1985 am 02.01.2013 17:10 #10923


Ok, tell me where to send them files! Maybe you should send me a PM.


Spike am 02.01.2013 18:35 #10925

Im Ruhestand
upload it on a filehoster and send me a pm here or just send me an email to fvv1@gmx.de

---



Vesanus am 02.01.2013 21:44 #10926


Is there a way to make the map that is already made bigger (in size), without completely turning it into
grassland?


Spike am 03.01.2013 00:33 #10927

Im Ruhestand
Not yet, is there really need for such a tool? I guess yes :s I think it's much the same like putting some maps together. I would just need to change a file header and then copy some positions but yeah well, I think I should finish first my random heights and random objects part (thats cool for randommaps ;)) and then I could add such things.
Maybe I should do a TODO list that I can remember all ideas you give.

*whoops* didn't update the link on the first page, now the bugfree version is online ;)

---


Editiert von Spike am 03.01.2013 11:23

LordVader am 03.01.2013 12:01 #10929


Question at Vesanus: by increasing size, you mean stretching the map or just creating a bigger map and copy/paste the old (smaller) map into the bigger one? The second option should be easy to implement, or not?


RM1985 am 03.01.2013 16:16 #10932


@Spike:
I found the problem, it was you, because you uploaded the buggy version, but now I got the bug-free version and everything works so far. THX


Just tried out the new version, unfortunately the set objects-tool still doesnt work. The mirror map-tool works, just for x-axle so far, but it works. But the tool only mirrors the map but NOT the player positions, they stay like before, this should be fixed.

Editiert von RM1985 am 03.01.2013 16:34

Spike am 03.01.2013 16:49 #10933

Im Ruhestand
Yeah... I know that I fixed the problem so you didn't find the problem just noticed that there is one ;)

Telling me "doesn't work" will not help me - I need to know what doesn't work, otherwise I have no clue what I should test to reproduce bugs and things.

Also it's not a bug that I don't mirror player positions, I just don't want to mirror them so I think I will not add this function.

---



RM1985 am 03.01.2013 16:54 #10934


Ok, if I try to place an Object, the tool tells me, it has been sucessfully placed, then I save the map and then, when I check it on the editor, NOTHING.
I think this has nothing to do with where I place the Object,acctually I could place a tent right in the ocean, right?

Yea, mirroring positions is not necessary, but would be helpful, I would like it that way, but its your tool and you choose its functions.

Editiert von RM1985 am 03.01.2013 16:57

Spike am 03.01.2013 17:27 #10935

Im Ruhestand
Thats because the Editor does NOT support all "special" objects (such as snowmen,sunken ship etc.) please check your
map in rttr and if it then still doesn't work I'll have a look at it.
That's the main reason why I made the tool,to place objects on a map without the "objekteditor" which also doesn't support
all objects.

---



RM1985 am 03.01.2013 21:41 #10940


Ok, in RTTR it works, but is this going to get fixed, so that the Editor supports the special objects?


Spike am 03.01.2013 22:05 #10942

Im Ruhestand
I don't think that this will be added soon - But thats something for xasers mapeditor and not my problem ;)

---



RM1985 am 04.01.2013 11:42 #10946


@Spike:
you were right, its not going to be added soon, asked Xaser and he said its not his problem either ;)  
(because no time)

Editiert von RM1985 am 04.01.2013 11:43

Vesanus am 04.01.2013 23:41 #10948


@LordVader:

Both ways are good, second sounds better - i just want to make my map a bit bigger.


Spike am 04.01.2013 23:47 #10949

Im Ruhestand
I dislike stretching, because I think this makes only sense for small maps. The enlarge map idea was the same as just copying 2 maps together (smaller map on a bigger map) so it's the same I think ;)

---



Spike am 09.03.2013 17:38 #11184

Im Ruhestand
So, I just uploaded the code to save everything (had to reinstall windows and nearly forgot the projects on
my old HDD :o) and thats the reason why I uploaded it (in my babylonian) branch. Feel free to change or add
things ;)

http://bazaar.launchpad.net/~fvv1/s25rttr/babylonian/files/head:/ObjectPlacement/

---



Spike am 10.03.2013 03:29 #11190

Im Ruhestand
Okay, finally (hopefully working) added the option for you to add "random" heights. This tool still needs
some improvement but for the moment it should be enough to test it.

http://www.rfmonline.de/rttr/spike/spikesmaptools5.rar

I haven't tested it on my own yet cause I'm just tired so hopefully someone of you does this :)

---



Spike am 11.03.2013 02:58 #11192

Im Ruhestand
And I added an other option to generate random maps:



Doesn't look like a random map right? Well, I got the plan to make a random map generator like they made for settlers IV.
So this randommapgen makes maps which are equivalent for every player. I will add 8x8 patches on the map, means a 96x96 map
will have 121 patches. You may ask yourself why I don't have 144, well I also add a frame on each side of x4. After this
happened I will randomly give all these patches a number (at the moment ranging from 0-4) which I will translate to
maptypes (for now only desert, water, mountain, swamp, meadow) which are equal for now. Maybe I should add some more types
like mountain and mountain meadow, vulcano, oasis, small island etc.

Edit:
Well, as far as I got, I finally can create maps using this simple way:

now the next steps are to add percentage of the diffrent countrysides - this means I will maybe add a .cfg file which I
will load then (Also I have to add this then to the seed or kinda just add a global percentage)

---


Editiert von Spike am 11.03.2013 04:28

~Gast am 11.03.2013 10:32 #11193


I'm looking forward to getting the possibility to generate random maps, since I'll run out of pre-
built new maps at some point. Even though maps generated this way most probably won't ever pose
special requirements (like e.g. 'Mapeditor's maps do), I still prefer to play an unknown, randomly
generated map to replaying maps you already know, at least when talking about single player or co-
op (meaning human vs. computer alliances) games.

However, I'd prefer a more 'random' approach instead of just generating axis-aligned rectangular
patches of terrain. One possibility used by many random map generators is to do a height field
generation first (e.g. using diamond-square, 2D midpoint displacement or a similar pseudo-fractal
approach) and then set the terrain according to the heights - e.g. water for heights below a given
sea level,  mountains and mountain meadows for peaks, maybe swamps or lakes in local valleys, and
so on. While this would of course not generate a balanced map in every case, the result will look
much more realisitic and less repetitive.

Well, maybe you can implement both a patch-based and a height-based terrain generator, using the
first for multiplayer maps and the latter for single player or co-op ones.


Spike am 11.03.2013 14:29 #11194

Im Ruhestand
Well, the other maptype will or is possibly released by Maqs who also started adding a random map generator which generates
far more "random" maps. You also got the option to use the "Landschaftsgenerator" which is the best generator at the moment
but it only runs on windows xp so you have to use an older PC or to emulate windows. However for sure it could be possible
to add an other way to generate maps but for now I just want to add a SIV like generator because MP maps are the problem at
the moment.

Edit: Also as I already said, I will add some "special places" like oasis etc. and spawn objects (hopefully) better than
humans do :)

---


Editiert von Spike am 11.03.2013 14:35

~Gast am 11.03.2013 17:08 #11195


Fine, I'll check the other map generation tools as well, thanks for the hints, and thanks for your
work.

I've still got a couple of unused pre-built maps to play, mostly from 'Mapeditor', but I'm already
looking for a new source of maps to play thereafter. Maybe my use case is rather uncommon, but
frankly, I prefer long (some hours at least) single player or co-op games, building up and running
sophisticated economy, to rather short multiplayer battles.


Spike am 11.03.2013 18:24 #11196

Im Ruhestand
Sounds good, I'm also interested in somebody who would maybe test the mp campaign with me and also help
changing maps :)

---



Spike am 12.03.2013 02:13 #11197

Im Ruhestand


thats kinda more random than before, also I added more types: mountain, mountain and vulcano,swamp, desert,
desert and
oasis, meadow, water, water and island. Still missing are the transitions etc.

Edit: something went wrong with vulcanos.


Edit2: And now islands etc aren't anymore in the middle of a patch


Edit3: This is how oasis can look


Edit4: Same map but now with improved oasis :)


Edit5: now with (some) heights :)


---


Editiert von Spike am 12.03.2013 18:14

Spike am 14.03.2013 03:07 #11198

Im Ruhestand
And finally I'm also able to use maps with larger sizes than 256x256 :)


---



Spike am 17.03.2013 16:53 #11203

Im Ruhestand
And now we already have some objects ;)



http://img3.picload.org/image/aoprgoi/s25client2013-03.png

---


Editiert von Spike am 17.03.2013 18:32

Spike am 20.03.2013 01:28 #11206

Im Ruhestand
Now with objects:


---



Spike am 21.03.2013 03:42 #11209

Im Ruhestand
Players and granite added - but sadly at the moment RttR doesn't like the maps the way I throw them out...
need to find out, how this comes.


---



Spike am 22.03.2013 00:52 #11215

Im Ruhestand


---



~QuackersMcGee am 08.04.2013 19:05 #11244


How can I get my hands on a working map-editor? I love this game and playing with my friend is
amazing but we've run out of maps! Especially symetrical maps! Please help!

Signed: Quackers


Spike am 09.04.2013 03:35 #11245

Im Ruhestand
You should maybe login because I'm not sure if unregistered users can see al threads, we got an editor by
xaser which you can find in this forum (very easy) :)

---



~Gast am 16.04.2013 20:34 #11252


i always run the old editor from s2 in dosbox, and after creating the map i copy it into s2rttr-folder. Works also perfectly.


Spike am 17.04.2013 02:34 #11255

Im Ruhestand
Sure it does - My program isn't an editor it's just a tool to do enhanced things with maps.

---



Sintho am 06.07.2013 16:38 #11545


Didnt read all the pages, but is it possible to add objects to a 256x256 map? Would help me a lot :(


Spike am 06.07.2013 23:08 #11549

Im Ruhestand
It is possible (which means it should be possible but... nobody could be sure :D)

---



Sintho am 07.07.2013 14:09 #11552


Well, it didnt work for my map :)

"Mapsize = 0"

:(


Spike am 07.07.2013 15:31 #11555

Im Ruhestand
Well do you have the latest version? I think I changed it later. If still not send me the mapfile and I'll have a look at it then ;)

---



Sintho am 08.07.2013 17:10 #11562


I used the one linked on page 5 of this threat :)


Spike am 09.07.2013 01:43 #11563

Im Ruhestand
use the one linked on page 1:

Latest version:
http://www.rfmonline.de/rttr/spike/spikesmaptools9.rar

---



Spike am 14.07.2013 03:58 #11567

Im Ruhestand


X-Mirroring works for now a bit ;) just looking forward to implement the full version ;).

(As always latest version on page 1)

---


Editiert von Spike am 28.07.2013 00:43

Spike am 06.12.2013 01:54 #12042

Im Ruhestand
Updated the Code - if somebody will every be interested :D

---



Spike am 07.12.2013 05:59 #12045

Im Ruhestand
Greatly improved BMP to SWD Tool!

BMP map:

Link: http://picload.org/image/opcggaw/test.png

Old Tool:

Link: http://picload.org/image/opcggog/old.png

New Tool:

Link: http://picload.org/image/opcggor/new.png

EDIT: Added an example
I always had the idea to convert some areas of WoW to RttR maps - but by hand this would take ages.

WoW Version:


16 Bit Version:


RttR Map Version:


---


Editiert von Spike am 07.12.2013 16:21

Spike am 07.12.2013 21:02 #12048

Im Ruhestand
Update: Added "Random-All" thing with option 6 instead of 9.
Deleted option 9 as option 6 can do the same now.
Added a way to enter a userseed.
Added a way to question the user which things he wants to place random.
Fixed a bug that caused every file to be 2 bytes longer.
Fixed a bug that swapped MMEADOW and MOUNTAIN.

---



Spike am 09.12.2013 00:14 #12057

Im Ruhestand
Update:
Fixed last compiler warning
Placing hexagons by coordinates not ID and fixed a problem causing broken maps when converting bmp to swd

---



Spike am 10.12.2013 01:55 #12062

Im Ruhestand
Update:
Fixed some minor bugs (hopefully)
Added check variable for safety
Added a way to leave the "enter filename" part
Fixed Heightmap bug - should work now

---


Editiert von Spike am 10.12.2013 02:07

Spike am 30.12.2013 07:03 #12087

Im Ruhestand
Update:
Fixed a bug that blocked opening a file
Fixed a bug that blocked saving a file
Fixed a bug that missplaced hexagon textures
Fixed a bug that blocked a warning
Added:
Background textures now work

---


Editiert von Spike am 30.12.2013 07:04

Spike am 01.01.2014 23:40 #12100

Im Ruhestand
Update:
Fixed a bug that crashed the program if you wanted to exit the fileloading
Fixed a bug that blocked placing "LAVA" (BMP to SWD Tool)

---



Spike am 18.01.2014 02:12 #12223

Im Ruhestand
Update:
Added a "Random" Resource-Tool
Note: This isn't really random, I just make sure that I place 3 Coal, 1 Iron, 1 Gold, 1 Granite in order
The reason is easy: 1Tool/Weapon + 1 Coin + Granite also this makes sure, that every player has the same resources -
nearly.



---



Quorzom am 18.01.2014 15:10 #12224


The next step towards a random map generator for RttR/S2! (Let's be a little bit optimistic about that)

I like the way way you spread the resources across the mountain! This way it is assured that everyone gets an equal amount
of resources and claiming that mountain for your empire is always worth it this way, because it doesn't matter if you lack
coal/iron/gold or stone. You'll definitely find something for your needs.


Juiced18 am 21.01.2014 22:20 #12240


Hey Spike, ich wollte heute mal dein Tool ausprobieren. Ist das irgendwie eine 64-Bit-Anwendung.
Bekomme wenn ich die auf XP öffne eine Fehlermeldung, dass es keine zulässige Win-32-Anwendung
wäre.


Spike am 22.01.2014 00:24 #12241

Im Ruhestand
I have no idea if my tool is WinXP compatible, I just tested it with Win7 x64 and it's a x32 built - so it
should work.

---



Juiced18 am 22.01.2014 12:50 #12242


Zitat von Spike:

I have no idea if my tool is WinXP compatible, I just tested it with Win7 x64 and it's a x32 built - so it
should work.


Is it possible, that anyone else who has XP could test the tool to know if it runs on XP or not. Maybe there are missing some files for the tool on my system.


DeSergo am 22.01.2014 20:46 #12243


Zitat von Juiced18:

Zitat von Spike:

I have no idea if my tool is WinXP compatible, I just tested it with Win7 x64 and it's a x32 built - so it
should work.


Is it possible, that anyone else who has XP could test the tool to know if it runs on XP or not. Maybe there are missing some files for the tool on my system.


Ich kann es erst am Freitag testen ;)

---
Diplomatie ist die Kunst, mit hundert Worten zu verschweigen, was man mit einem einzigen Wort sagen könnte.


Juiced18 am 23.01.2014 00:37 #12244


Zitat von DeSergo:

Zitat von Juiced18:

Zitat von Spike:

I have no idea if my tool is WinXP compatible, I just tested it with Win7 x64 and it's a x32 built - so it
should work.


Is it possible, that anyone else who has XP could test the tool to know if it runs on XP or not. Maybe there are missing some
files for the tool on my system.


Ich kann es erst am Freitag testen ;)


Das wäre cool von dir!


DeSergo am 23.01.2014 21:18 #12246


spikesmaptools21

Funzt bei mir auf win 7 nicht.. aber morgen mal schauen ob es auf dem alten XP geht.

Win 7 :

---
Diplomatie ist die Kunst, mit hundert Worten zu verschweigen, was man mit einem einzigen Wort sagen könnte.


Spike am 23.01.2014 21:24 #12248

Im Ruhestand
Zitat:
Q:It says something like "msvd120.dll is missing" what should I do?
A:Go to: http://www.visualstudio.com/downloads/download-visual-studio-vs
Download: Visual C++ Redistributable for Visual Studio 2013 x86
( http://go.microsoft.com/?linkid=9832155 )
Install this Update
Restart your PC
Everyhthing is working again.
The Problem is caused by using MSVC12 which requires these files to run...


Try this otherwise, well I have no idea about OS so I maybe would just try a vs2010 build

---



DeSergo am 23.01.2014 21:30 #12249


Zitat von Spike:

Zitat:
Q:It says something like "msvd120.dll is missing" what should I do?
A:Go to: http://www.visualstudio.com/downloads/download-visual-studio-vs
Download: Visual C++ Redistributable for Visual Studio 2013 x86
( http://go.microsoft.com/?linkid=9832155 )
Install this Update
Restart your PC
Everyhthing is working again.
The Problem is caused by using MSVC12 which requires these files to run...


Try this otherwise, well I have no idea about OS so I maybe would just try a vs2010 build


Tomorrow I'll try it.

---
Diplomatie ist die Kunst, mit hundert Worten zu verschweigen, was man mit einem einzigen Wort sagen könnte.


Juiced18 am 23.01.2014 22:25 #12250


Zitat von Spike:

Zitat:
Q:It says something like "msvd120.dll is missing" what should I do?
A:Go to: http://www.visualstudio.com/downloads/download-visual-studio-vs
Download: Visual C++ Redistributable for Visual Studio 2013 x86
( http://go.microsoft.com/?linkid=9832155 )
Install this Update
Restart your PC
Everyhthing is working again.
The Problem is caused by using MSVC12 which requires these files to run...


Try this otherwise, well I have no idea about OS so I maybe would just try a vs2010 build


Hatte heute die Möglichkeit es auf einem Win7-32Bit-System zu testen. Da kam die gleiche Meldung
wie bei mir auf Xp.

Muss die exe in ein spezielles Verzeichnis?

Würde ansonsten auch mal die Nummer mit dem Download probieren.


Quorzom am 23.01.2014 22:48 #12252


Did you download & install the vcredist_x86.exe before you tried to run the tool? And just to be really sure, did you
extract the file of the object tool before you ran it? I tested it with Windows 7 32bit after installing the Visual C++
redist thingy and everything worked fine for me.

It seems like you'll need the .dlls that vcredist_x86.exe provides to launch it.


Juiced18 am 24.01.2014 22:13 #12257


I had installed the vcredist_x86.exe before starting the tool. Although I restart my PC but I
think there is an other problem with the application or the os.

Is there a special file-location where I must start the tool?


Quorzom am 24.01.2014 23:10 #12259


Zitat von Juiced18:

I had installed the vcredist_x86.exe before starting the tool. Although I restart my PC but I
think there is an other problem with the application or the os.

Is there a special file-location where I must start the tool?


Okay, today I was able to test it on a machine running WinXP SP3 and I got the same issue saying it is not a valid win32
application. It seems like you'll need Windows 7 (maybe someone can test it with Windows 8?) to run this tool
unfortunately.


Juiced18 am 24.01.2014 23:32 #12260


Zitat von Quorzom:

Zitat von Juiced18:

I had installed the vcredist_x86.exe before starting the tool. Although I restart my PC but I
think there is an other problem with the application or the os.

Is there a special file-location where I must start the tool?


Okay, today I was able to test it on a machine running WinXP SP3 and I got the same issue saying
it is not a valid win32
application. It seems like you'll need Windows 7 (maybe someone can test it with Windows 8?) to
run this tool
unfortunately.


I test it yesterday at a Win7-32Bit-Machine and I had the same error with "it is no win32-App".


Spike am 25.01.2014 05:36 #12262

Im Ruhestand
well - in fact, that I'm running my tool on a win7 x64 and did a x32 build this application IS a win32 application - no
idea why it doesn't work for you.

EDIT:
You may could try this one: http://www.rfmonline.de/rttr/spike/spikesmaptooslvs2010testbuild.rar

if this is working the 2012 files are still not installed properly on your system which I couldn't fix then (neither would
do msvc2010 builds)

---


Editiert von Spike am 25.01.2014 05:41

Juiced18 am 25.01.2014 16:16 #12264


The new version works fine on my pc but I had not installed the 2010er files.

Under "Software" I find the redistributables 2005, 2008, 2012 and 2013 installed.


Spike am 25.01.2014 18:51 #12265

Im Ruhestand
Well, I also needed a while to figure it out when I tested my tool on my 2nd PC - I also tried installing the
2013 redistributables which didn't work until I found out that it seems not to work with the Redistributable
2013 Update 1 but with the version I linked on the first page. I don't think, that I will do a 2010 build but
I may could try something else...

Edit: Okay, I just found out, that the Platformtoolset of Visual Studio 2013 is not WinXP compatible anymore
which means: bad luck for you (As I had to use v120_xp instead of v120).

IF this http://www.rfmonline.de/rttr/spike/spikesmaptools21platformtoolsetv100.rar works fine
for your winXP machine AND if no other problems with win7 are reported then I can just continue using
v100

---


Editiert von Spike am 25.01.2014 18:57

Juiced18 am 25.01.2014 19:33 #12266


The version v100 works on my machine too.

Thanks for your great support!


DeSergo am 25.01.2014 22:05 #12267


starts on win7  ^^

I'll test it tomorrow

---
Diplomatie ist die Kunst, mit hundert Worten zu verschweigen, was man mit einem einzigen Wort sagen könnte.


Spike am 23.02.2014 15:00 #12422

Im Ruhestand
Just started converting some SIV maps - maybe when we have a mission scripting interface it will be possible
to add the SIV Missions too.




http://www.rfmonline.de/rttr/spike/siv_m_r_01.rar

I also fixed a bug my Tool had...

---



Spike am 12.05.2014 01:33 #12688

Im Ruhestand
Update:
For BMP to SWD you will now only need to enter a BMP file not SWD anymore!

---



Spike am 12.05.2014 15:25 #12689

Im Ruhestand
Update:
-Fixed the "Enter userseed" bug
-Fixed a bug where the mapheader (bmp to swd) were destroyed

---



Palatinus am 09.07.2014 21:50 #12822


What about program 04 SWD-BMP-Tool. Is that one still under cunstruction?


Palatinus am 09.07.2014 21:57 #12823


I know it says that it is under construction but do you still plan to release that
tool?


Spike am 10.07.2014 01:53 #12824

Im Ruhestand
have a look at page one - the is a download link with all options posted. if you encounter any bugs I may fix
them but thats not for sure.

---



Spike am 09.08.2014 14:16 #12877

Im Ruhestand
Okay, someone tried to use my Heightmapstool and... it failed so I fixed it.



plus



gives



Please make sure, that you are using greyscale! I only tested the program with a gimp version, which means 0x00 = black and
0xFF = white.


I also included a bit safety to make sure no one uses heigt differences above five (maximum).

---



Spike am 12.08.2014 02:43 #12881

Im Ruhestand
I just started adding a new tool - now you can gather some more information of your maps like resources etc. which is very
helpfull for balancing. Just guess you try to not build a symmetrical map but you don't want to count resources? Well, just
finish placing resources, save your map, and now you just have to erase all resources but one position, save your map with
another name, test resources, repeat for every player, compare and now you have a result how many resources every player
should have.



I also changed the random object tool, now it should work on winterworld maps too :)

---



Spike am 15.08.2014 01:26 #12882

Im Ruhestand
I added an other option when placing random objects, well, trees aren't really objects as usual but they are still map
objects.
When I started building my tool and placing trees I copy pasted a lot of code for placing normal map objects, which didn't
allow any "large" cluster of trees like a forest. But the way I placed granited worked nearly the same so I did some rework
and fixed some other ugly bugs and now you are able to place trees, tree clusters or both together (in my opinion the best
way). At the moment objects and forests aren't placed at the same time, maybe this will change later (like a small chance
that some trees are bushes etc.).



---



Spike am 12.04.2015 21:45 #13448

Im Ruhestand


-Fixed critical bugs when converting bmp to wld (why didn't it crash before?)
-Added some Information while converting bmp to wld
-Added some colors
-Typing '.bmp' is no longer required
-Converted maps are now saved as 'n'+'[BMPFILENAME]'+'wld' (eg. if you load 'test' it opens 'test.bmp' and saves 'ntest.wld')

---



Spike am 07.05.2015 01:54 #13481

Im Ruhestand
First attempt of a resizing tool for settlers 2 maps - it still needs some fixing and changes (and doing the same for objects,
resources, etc.) but I think thats already a good part that is done.



---



RM1985 am 07.06.2015 14:19 #13525


Hey Spike, i have a few questions about your tool:

1. what is the "use own userseed" option for?

2. how do I set special objects? I tried it, but failed. Tool said, object has been placed, saved it, opened map in editor and NOTHING! What am I missing?

---
S2-Freak auf dem Weg zum Titelträger


Spike am 07.06.2015 17:41 #13529

Im Ruhestand
1) That you can either use a random 8-digit userseed (13371337) or you just use a default seed (12345678) - same seed with same
settings (map, settings etc.) will always produce the same result

2) You are missing, that the editor is not able to show all special objects, open your map in RttR and you will see those

---



RM1985 am 08.06.2015 16:49 #13530


Got some more for you :D

1. How did you convert the Settlers IV Maps into RTTR? And the Wow-Map? Cause I started working on a map of Middle-Earth a while ago, but by hand it takes A LOT of time, just have the outline and a few rivers yet.

2. Does your tool always create a new map when saving or can I choose not to? Cause I want to rework the maps I made with the s2mapgen_091 and it would be easier, if I could just overwrite the old .swd files, instead of having 2 files then.

---
S2-Freak auf dem Weg zum Titelträger


Spike am 08.06.2015 17:22 #13532

Im Ruhestand
1) BMP to SWD

2) It does, because I don't want to overwrite the original file just in case, trust me, it's better that way.

---



RM1985 am 08.06.2015 17:37 #13533


1. I knew it, but I thought you can only convert maps with that specific colors, not like the original Wow map. So you had to change that map that you only have the right colors or what?

2. Yea I know, I just wanted to know, if it's possible, so it's not.

---
S2-Freak auf dem Weg zum Titelträger


Spike am 08.06.2015 18:04 #13534

Im Ruhestand
1. yep - http://www.rfmonline.de/rttr/spike/silverpineforrestall.rar as example

2. Currently not, also I'm not sure if I will every implement such a function

---



RM1985 am 08.06.2015 18:14 #13535


Ok, thanks buddy, maybe I can now try again making a map of middle-earth, would love to conquer the lands of Rohan, Gondor, Mordor ..., don't know if someone else was interested in such a map.

---
S2-Freak auf dem Weg zum Titelträger

Editiert von RM1985 am 08.06.2015 18:14

RM1985 am 08.06.2015 22:14 #13536


Another one:

When I use the BMP to SWD tool, I have to use a certain picture size, right? Like in the S2-Maps, moving in 16 pixel increments, like 128x128 or 160x176 and not 182x198, correct?
But how big can I go without getting trouble with the tool or the game?

---
S2-Freak auf dem Weg zum Titelträger


Spike am 08.06.2015 22:27 #13537

Im Ruhestand
For RttR you can use every size which is even, you can use 182x198, you can use 184x186 but NOT 185x185 (As far as I remember my tool
will inform you that something went wrong with you file). For settlers 2 it has to be a multiple of 16.

Maximum size is 1024x1024 (not recommended) but 512x512 should be used as maximum.

---



RM1985 am 10.06.2015 10:57 #13543


You won't get rid of me! ;))

1. Back to the map save question: Could you maybe include an option to overwrite your old file? Like making a new map (like it's now) and the option to overwrite the old file, so that you can choose yourself. Or do you think, it could be too risky, if one chooses the wrong option. Even if, the map is still there, just with different heights or objects.

2. I've noticed, that the color chart contains a few terrains twice, like water and background water, lava and background lava, mountain meadow and background mountain meadow. I tried it and made a map and there's no difference between the 2 variants. So why are there 2 of each?

3. Could you also use all of the 16 colors from your chart for your tool, to add all the different terrains to your tool? I checked it out, there are 17 different terrains, so one must be skipped, I would say snow or lava. Don't know if you'd consider it, but it would be AWESOME!

---
S2-Freak auf dem Weg zum Titelträger


Spike am 10.06.2015 11:30 #13544

Im Ruhestand
1) I won't, at least not soon. Program is working and doing what ist should. I may add new options but won't make it more
user friendly.

2) there is, place 1 background water surrounded by meadow and one normal water the same way, I think you'll spot the
difference

3) Wanted to keep the drawn image at least a bit natural - no need for 4 mountain/meadow colors.

Strange that an English layout still autocorrects is to ist...

---


Editiert von Spike am 10.06.2015 11:31

RM1985 am 10.06.2015 12:19 #13545


1. Yes, it works very good, and it's your work, I just suggested something, that COULD be added.

2. I tried it, with all 3 terrains (water, lava, mountain meadow) in both variants and I DON'T see any difference, sorry man, but you'll have explain it to me.

3. Maybe, but if you had all meadow-/mountain-types, you could draw a very versatile map, where you had different kinds of grass or mountain.
You told me once, I should use different terrain types for my maps, not just one mountain type and so, remember?

Another thing, do you have to use 16 specific colors for your chart or can you pick them yourself? And actually, it wouldn't be big deal, if one mountain type was magenta or a grass type brown, it's just about being able to draw your own map and with the help of the color chart you can't do it wrong!

---
S2-Freak auf dem Weg zum Titelträger


Spike am 11.06.2015 18:59 #13546

Im Ruhestand
2) You may don't I tried it, it is working as intended

3) Yeah and those maps would like stupid with 16 colors. Currently they are at least close to s2 (except mountain meadow)
And sure I could but that'd mean a lot of work, which I had no time for - also this tool did excactly what I wanted and still does.

---



Spike am 05.07.2015 10:15 #13574

Im Ruhestand
Working on a bit more visulisation - hopefully I can improve most parts so the program can be handled better ;)





---



Spike am 22.10.2015 02:26 #13819

Im Ruhestand
Added change a texture tool - that way you can use new textures way better as no editor can set those textures (yet).

---



~torteloni am 09.03.2016 21:50 #14083


Hey, I have problems using the BMP -> SWD feature of your tool, Spike. I was trying to copy the simple example that you
posted earlier somewhere, namely this one:



So I cropped your graphic and arrived at the following .bmp file:



After using your tool I arrive at a map which looks very different from the expected outcome, here is a screenshot:



The produced file can be found here: http://www.filedropper.com/ntest2 (I just searched and went with the first free file
hosting service I found. If you have trouble downloading the file, just post here, and I will upload it somewhere else.
However it worked just fine for me)

What's my mistake when operating your tool? I don't know which version do I use, but in the title line it says "Spikes
Maptools - Oct 22 2015 - 02:20:28".


Spike am 09.03.2016 22:02 #14084

Im Ruhestand
torteloni and I already found the cause, save the .bmp file as 16 color (not 16 bit) and everything works fine.

---



RM1985 am 02.09.2017 11:15 #14639


Have a question regarding the Change texture tool:

I guess I can only change textures of one terrain type (greenland, winterland OR wasteland), like change desert to greenland or something!

But would also be very cool, if I could add ANY texture in any terrain type.

---
S2-Freak auf dem Weg zum Titelträger


Spike am 03.09.2017 09:51 #14640

Im Ruhestand
Well, that doesn't work with the current map system - there have been a lot of thinking how to implement a new and better version.

---



RM1985 am 03.09.2017 11:14 #14641


I'm confused, do you mean the change texture tool doesn't work or it is not possible to add other textures to the game, like wasteland textures into greenland?

---
S2-Freak auf dem Weg zum Titelträger


Spike am 03.09.2017 22:24 #14644

Im Ruhestand
Yep, thats just not possible with the current map format. for example 0x05 means water, if the map type is wasteland then it's
wasteland water, if it's greenland, it's greenland water. So one value means different things depending on an other value. To actually
use both water types on the same map we'd need an other map format which allows that - which we don't have. But thats something a new
mapformat should cover as well without breaking original maploading.

---



RM1985 am 04.09.2017 17:48 #14645


Actually I meant more like REPLACING one texture with another. Would that be possible??

---
S2-Freak auf dem Weg zum Titelträger




Feel free to post in English!

Antwort schreiben

Username:
Security code:
Text:

   
  Convert smilies like :), ;) etc. into small graphics?
  Convert WWW-addresses into clickable links?
  Soll Boardcode in ihrer Nachricht aktiviert werden?