The VG Resource
Extract game files from .mhk ? (logical journey of the zoombinis) - Printable Version

+- The VG Resource (https://www.vg-resource.com)
+-- Forum: The Resources (https://www.vg-resource.com/forum-109.html)
+--- Forum: The Spriters Resource (https://www.vg-resource.com/forum-110.html)
+---- Forum: Ripping Help (https://www.vg-resource.com/forum-114.html)
+---- Thread: Extract game files from .mhk ? (logical journey of the zoombinis) (/thread-39029.html)



Extract game files from .mhk ? (logical journey of the zoombinis) - yoshipower - 04-27-2021

Hello,

For a graphical project I'd like to extract sprites from the Zoombinis games. I'd like to know if there is a smart or automated way to do so.
I have a CS background but I have no experience in hex editing, and old files parsing...

- I have the .iso file from the game that I extracted into a folder containing several .mhk
- As I understand, .mhk is the format for the Mohawk game engine.

- From those .mhk files, i use the scummvm-tools package, and with the extract_mohawk command I get a bunch of other .bin files, such as :
0000_00_NODE_1000.bin
0002_00_tBMP_9000.bin
0044_00_.SND_1100.bin


With my little knowledge I guess that "tBMP" files are images (bitmaps) and "SND" refers to sound files.
But at that point I'm lost ! I've tried giving the tBMP file to an image converter, no good results.

I am doing it wrong? Is there a better way of approaching the problem?


RE: Extract game files from .mhk ? (logical journey of the zoombinis) - boilingpot - 04-27-2021

I was thinking about Mohawk Engine files too, Green Eggs and Ham to be specific. The bitmap files are obviously compressed, and according to the ScummVM source it's LZ? I don't know how to code so I can't go further than that, but I guess that would be the way to decompress it.


RE: Extract game files from .mhk ? (logical journey of the zoombinis) - Arnand56 - 02-12-2024

Hello,
Just like you, I'm stuck at this step. I extracted the WarBreeds MHK files with ScummVM Tools but I end up with palette and tBMP files with a .BIN extension.

The solution can be found under the links below, in the ScummVM source code which can interpret these formats. An interested C++ developer would need to be able to develop the appropriate converter. I don't have these skills, it's a shame, I want to make a mod for WarBreeds.

However, all is not lost. I managed to extract WarBreeds sound effects from the MHK archives with the "Riveal" tool. To test, it also supports images but it didn't work for this game, you might have better luck.

Here is the link:
http://www.rshayter.com/riveal/
There are also other tools on this site.

Another possible solution here :
https://www.mystellany.com/riven/imageviewer/

I tried my luck on the ScummVM forum but no converter or decompressor will be developed.
https://forums.scummvm.org/viewtopic.php?p=99269#p99269

Good luck in this complex adventure.
We are alone unfortunately.