MM6 ddm data format

The role-playing games (I-X) that started it all and the various spin-offs (including Dark Messiah).
vladtheimpaler
Leprechaun
Leprechaun
Posts: 12
Joined: 18 Jun 2020

MM6 ddm data format

Unread postby vladtheimpaler » 18 Jun 2020, 00:51

Hi folks,

I am looking for information related the format of ddm (and dlv) file formats for MM6 specifically. The format does not match that of MM7. I am interested even more on the actor part of the ddm, as there is where the spawns of say "Peasants" are specified for a given map. The actor structure does not match that of MM7, it seems to be a lot smaller (548 bytes compared to over 700 that MM7 has).

Does anyone have more information on this? Would MMExtension source code/scripts help me here?

I reversed engineer some of the actor data in MM6 ddm but I need more.

User avatar
GrayFace
Round Table Hero
Round Table Hero
Posts: 1660
Joined: 29 Nov 2005

Re: MM6 ddm data format

Unread postby GrayFace » 18 Jun 2020, 07:59

vladtheimpaler wrote:Does anyone have more information on this? Would MMExtension source code/scripts help me here?
Sure. Look at MapMonster in Scripts\Structs\01 common structs.lua. CompileOdm at the end of Editor Odm Data.lua would give you the overall structure of Odm and Ddm.
My patches: MM6 MM7 MM8. MMExtension. Tools. Also, I love Knytt Stories and Knytt Underground. I'm also known as sergroj.

vladtheimpaler
Leprechaun
Leprechaun
Posts: 12
Joined: 18 Jun 2020

Re: MM6 ddm data format

Unread postby vladtheimpaler » 18 Jun 2020, 12:28

Thank you Sir, that is perfect, it worked. Your code is clear, easy to read and very helpful. Thank you for that!


Return to “Might and Magic”

Who is online

Users browsing this forum: No registered users and 56 guests