Forum



Merri am 29.08.2012 20:01 #10416


Does anyone have the object graphics already extracted in PNG or GIF or do I need to do the work by myself?

---
Settlers II.net admin


Merri am 29.08.2012 23:05 #10419


Well, I went ahead and did all the hard work by myself (<- its a link!). Enjoy the objects table, it is more complete than RttR's current support.

---
Settlers II.net admin

Editiert von Merri am 30.08.2012 12:37

Parasit am 29.08.2012 23:11 #10420

RTTR-Doofie
nice work, thanks for your online table :)

---
>> My Youtube Channel <<




Spike am 30.08.2012 11:59 #10422

Im Ruhestand
really nice work merri!

---



Merri am 30.08.2012 20:17 #10426


I figured out the format of savegame world maps (WORLD900.DAT), but I'm too tired to do any programming. But I'll tell you how it works.

Code:
11 27 FF FF FF FF 00 00 00 00 00 01 00 01 38 62 00 00 34 34 FF 0A 34 FF 0A 34 FF 0A 34 FF 0A



  • 11 27 = identifier

  • FF FF FF FF = -1 = file uses short block header = each block is separated only by bytes to read

  • 00 00 00 00 = always null

  • 00 01 = 256 = width

  • 00 01 = 256 = height

  • 38 62 00 00 = 25144 = bytes to read = block is compressed if this is not width * height



The compression starts by telling a byte value that is used for data repetition information. I think it can be any byte value.

  • 34 = data repetition marker


Then the data follows.

  • 34 FF 0A = repeat value 10 (0x0A) for a total of 255 (0xFF) times



Any other bytes are just uncompressed data that you can use as it is.

If 34 is actual data, you'll see it appear as 34 01 34.


If anyone notices anything that might be wrong here or missing, let me know. I haven't written the file reader yet so this is all based on what I've just read off the file itself.

---
Settlers II.net admin


Merri am 01.09.2012 15:51 #10431


My map loader now supports loading savegame maps :) I guess I should now output a dump of a savegame file and then see what the map contains... it might and probably tells more about the map file format.

There is one unique map by Blue Byte I haven't seen anyone else to extract from the game. It is in the demo version of Veni Vidi Vici and involves a Viking opponent using a Harbor.


Edit!
Just noticed that RttR style of detecting 7+ players is not possible with savegame maps. It seems like 0x80 is reserved some other use than is regularly seen with map files. Looks like there'll be a lot of new stuff to discover.

---
Settlers II.net admin

Editiert von Merri am 01.09.2012 16:34

Merri am 02.09.2012 17:26 #10443


Hacker's guide to WORLD800.DAT

Pretty images! Make your life easy in figuring out the original savegame files!

DEMO V0.16


DEMO V1.02


DEMO V1.51 "Cold Times"



(images now @ imageshack)

---
Settlers II.net admin

Editiert von Merri am 02.09.2012 20:34

jh am 02.09.2012 19:16 #10447


We see only the hotlink images, Merri ;)


Merri am 02.09.2012 20:14 #10448


That's odd, as I've added this site to non-hotlink domains... oh but I might've forgotten to add siedler25.org, are you visiting from there?

Edit!
Nope, no problem, atleast from https. Both siedler25.org and rttr.info should work just fine.

Code:
# Hotlink
<IfModule mod_rewrite.c>
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?settlers2.net [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?rttr.info [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?siedler25.org [NC]
    RewriteRule \.(jpg|jpeg|png|gif)$ http://piittinen.name/settlers2_hotlink.png [NC,R,L]
</IfModule>


But replaced with images hosted on ImageShack.

---
Settlers II.net admin

Editiert von Merri am 02.09.2012 20:34

jh am 02.09.2012 22:28 #10449

Spike am 02.09.2012 22:35 #10454

Im Ruhestand
interesting pics but I don'T know what they are telling :D

---



Parasit am 03.09.2012 00:21 #10455

RTTR-Doofie
Zitat von Spike:

interesting pics but I don'T know what they are telling :D


i dont understand it too ^^

---
>> My Youtube Channel <<




Merri am 03.09.2012 00:29 #10456


Zitat von jh:


How many domains this site has? :D

---
Settlers II.net admin


Spike am 03.09.2012 00:44 #10457



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?