BMP to HWL

The role-playing games (I-X) that started it all and the various spin-offs (including Dark Messiah).
User avatar
Pixoala
Leprechaun
Leprechaun
Posts: 14
Joined: 27 May 2019

BMP to HWL

Unread postby Pixoala » 27 May 2019, 13:27

Hello !
Do you know how import bmp files to a hwl file ?
I want to replace all textures for the mm678 merge for HD textures. I'm able to extract all bmp with the .hwl unpack tool but I can't find a way to do the opposite.

Thanks !

User avatar
Dragonfly
Leprechaun
Leprechaun
Posts: 23
Joined: 27 Sep 2017

Re: BMP to HWL

Unread postby Dragonfly » 28 May 2019, 04:30

I think the mm678 merge uses only the lod files...

For the bmp -> hwl you can use this:
https://mega.nz/#!Xj4zXQpa!n0p3zANS0Jv5 ... TNa4ySO2dU
It currently only works with d3dbitmap.hwl
In a few days I'll make it more configurable and create a post with it.
Last edited by Dragonfly on 28 May 2019, 04:31, edited 1 time in total.

User avatar
Pixoala
Leprechaun
Leprechaun
Posts: 14
Joined: 27 May 2019

Re: BMP to HWL

Unread postby Pixoala » 28 May 2019, 15:11

Thanks for the tool !
I'm pretty new with MM files modifications. I've noticed that with lod files I can't change the tile size (using MM6view, gave me an error if I want to import larger textures to the lod file).

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

Re: BMP to HWL

Unread postby GrayFace » 29 May 2019, 14:52

Dragonfly wrote:I think the mm678 merge uses only the lod files...
It's controlled by NoD3DBitmapHwl parameter in mm8.ini. Not for sprites though. [edit] I see you've already found that.
Last edited by GrayFace on 29 May 2019, 14:55, edited 2 times in total.
My patches: MM6 MM7 MM8. MMExtension. Tools. Also, I love Knytt Stories and Knytt Underground. I'm also known as sergroj.

User avatar
Dragonfly
Leprechaun
Leprechaun
Posts: 23
Joined: 27 Sep 2017

Re: BMP to HWL

Unread postby Dragonfly » 04 Jun 2019, 13:46

Well, I'm trying but couldn't, yet, create an usable new .hwl file that MM likes. What I could achieve is to modify an existing .hwl file and update the textures contained there. If I try to create a new hwl and put the same textures, they aren't recognized by MM. Why am I trying to do this? So we can create a d3dbitmap.hwl that works with mm678 merge.
This is my repo if someone wants to take a look:
https://github.com/diegolopezbugna/hwlarchive


Return to “Might and Magic”

Who is online

Users browsing this forum: Amazon [Bot] and 1 guest