about Extract/Construct Mohawk command tools

Ask for help with ScummVM problems

Moderator: ScummVM Team

Post Reply
kremiso
Posts: 27
Joined: Tue Jul 28, 2020 4:19 pm

about Extract/Construct Mohawk command tools

Post by kremiso »

I was trying to use these pair of commands, but if i take correctly the procedure, i think that at least the Construct one is quite impossible to be used as it is

the Scumm Tools readme lacks of description about these two commands, so i hope in a mine wrong understanding

questions :

1) the Extract_Mohawk syntax can extract all the files from an .MHK archive; i'm wondering if i can extract a single file too, and re-insert only that (using Construct_Mohawk) ?

2) the Construct_Mohawk syntax seems require to type in all the filenames to be repacked in the archive;
if you consider that the MHK can contain thousands of files, this seems impossible to be done; imo would be better choosing a folder where all the files are, instead.

a clarify in matter would be widely appreciated, thanks
Last edited by kremiso on Thu Aug 13, 2020 12:47 pm, edited 2 times in total.
digitall
ScummVM Developer
Posts: 1185
Joined: Thu Aug 02, 2012 1:40 pm

Re: about Extract/Construct Mohawk command tools

Post by digitall »

Those two tools were added to scummvm-tools, but are not really intended / ready for end-user usage i.e. compression of resources.

They really should have been in scummvm/devtools i.e. developer tools as they were mainly for developers to use in looking at the contents
of Mohawk archives and testing small modified Mohawk archives with the original engines to check for corner cases. This explains the lack
of documentation.
kremiso
Posts: 27
Joined: Tue Jul 28, 2020 4:19 pm

Re: about Extract/Construct Mohawk command tools

Post by kremiso »

digitall wrote: Thu Aug 13, 2020 5:25 am Those two tools were added to scummvm-tools, but are not really intended / ready for end-user usage i.e. compression of resources.
got it @digitall, many thanks for the explanation

yes, my purpose was indeed to compress some resources (i.e. Riven intro video)
to reduce the size of some big files

this can converted in a request then, i hope some developer consider to implement at least
the second point of mine first post; imo it would make these commands enter in the official tools olympus :)
Post Reply