Here is script for unpacking pak file from Dune: Spice Wars. It's not valid for re-import because there are checksums for every file (adler32).
Update: Though checksums are not validated against files, so it's possible to modify package without adjusting them (proof).
Also, files are using extensions of their sources instead of actual ones: png are dds of various types, fbx are hmd, and so on.
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Dune: Spice Wars (.pak)
-
- mega-veteran
- Posts: 181
- Joined: Sun Oct 10, 2010 9:44 pm
- Has thanked: 35 times
- Been thanked: 162 times
Dune: Spice Wars (.pak)
You do not have the required permissions to view the files attached to this post.
Last edited by Spiritovod on Tue Sep 26, 2023 1:32 am, edited 10 times in total.
-
- ultra-n00b
- Posts: 8
- Joined: Wed Jun 10, 2015 5:32 pm
- Has thanked: 7 times
Re: Dune: Spice Wars (.pak)
What game engine model format is .hmd?
Is there a tool that can read the .hmd model?
Is there a tool that can read the .hmd model?
-
- mega-veteran
- Posts: 181
- Joined: Sun Oct 10, 2010 9:44 pm
- Has thanked: 35 times
- Been thanked: 162 times
Re: Dune: Spice Wars (.pak)
@ghostx2015: The game is using Heaps engine, like for their previous games, Northgard and Wartales. Apparently native IDE for it (hide) works fine with renamed/converted sources, including animations. You need to convert textures though and some complex assets are not supported.
You do not have the required permissions to view the files attached to this post.
-
- mega-veteran
- Posts: 181
- Joined: Sun Oct 10, 2010 9:44 pm
- Has thanked: 35 times
- Been thanked: 162 times
Re: Dune: Spice Wars (.pak)
Here is script for repacking. You need to place modified file, script and archive in the same folder and run script on modified file - it will be appended to selected archive (can be specified in the script), if original file was there. Make sure to backup original archive and extracted files, as modified archive can't be extracted anymore (you can still add other modified files to it though).
It may be updated in the future, since current script is built with workarounds due to quickbms limitations.
Alternatively you can use native build tool from the engine as explained here.
Update: Script is updated to handle all files, though currently modified data.cdb should smaller or equal to original file.
It may be updated in the future, since current script is built with workarounds due to quickbms limitations.
Alternatively you can use native build tool from the engine as explained here.
Update: Script is updated to handle all files, though currently modified data.cdb should smaller or equal to original file.
You do not have the required permissions to view the files attached to this post.
- XRaptor
- mega-veteran
- Posts: 226
- Joined: Sat Jul 12, 2008 4:42 pm
- Location: Prague
- Has thanked: 6 times
- Been thanked: 47 times
- Contact:
Re: Dune: Spice Wars (.pak)
Try this - quick extractor with repack build to support Czech localization. I hope it will work fine
http://raptor-cestiny.cz/download/files ... tor100.zip
http://raptor-cestiny.cz/download/files ... tor100.zip
Re: Dune: Spice Wars (.pak)
Hi!XRaptor wrote: ↑Sat Apr 30, 2022 8:19 pm Try this - quick extractor with repack build to support Czech localization. I hope it will work fine
http://raptor-cestiny.cz/download/files ... tor100.zip
Thanks for the tool!
This tool does not support importing the file "data.cdb". The game will not start after import. The "texts.xml" will work, but it only contains the user interface texts. Can you update the program or help me?
Also, is there any way to not have to split the 2.8GB file after translation?
Thank you.
- XRaptor
- mega-veteran
- Posts: 226
- Joined: Sat Jul 12, 2008 4:42 pm
- Location: Prague
- Has thanked: 6 times
- Been thanked: 47 times
- Contact:
Re: Dune: Spice Wars (.pak)
Tool has nothing to do with game crash after editing files. It is just repacker. Maybe you just somehow damaged this file in editor.Multicor wrote: ↑Mon May 09, 2022 7:48 pm This tool does not support importing the file "data.cdb". The game will not start after import. The "texts.xml" will work, but it only contains the user interface texts. Can you update the program or help me?
Also, is there any way to not have to split the 2.8GB file after translation?
Split file after translation? What do you mean? Repacker just creates a new file, because it is streaming original unedited files from original pak to new one.
Re: Dune: Spice Wars (.pak)
Spiritovod, thanks for making this BMS file, I've just used it to unpack Dune's res.compressed.pak file
Re: Dune: Spice Wars (.pak)
Hello,Spiritovod wrote: ↑Wed Apr 27, 2022 12:10 pm @ghostx2015: The game is using Heaps engine, like for their previous games, Northgard and Wartales. Apparently native IDE for it (hide) works fine with renamed/converted sources, including animations. You need to convert textures though and some complex assets are not supported.
just jumping in here, I am stuck at the stage when opening the files.
I renamed all fbx-files into hmd-files, at least it looks like that is what you did.
But then you are talking abouting "converted sources, including animations".
Could you or anybody give me any pointers where I can look up conversion to open the Dune files?
Thanks.
-
- mega-veteran
- Posts: 181
- Joined: Sun Oct 10, 2010 9:44 pm
- Has thanked: 35 times
- Been thanked: 162 times
Re: Dune: Spice Wars (.pak)
@Pheen!x: You only need to convert extracted dds textures to actual png, then Hide can use them. It can be done with any tool supporting DXT/BC formats, like PVRTexTool (except for BC7). Though Hide can only preview models/animations, not export them or save in other formats.
Re: Dune: Spice Wars (.pak)
Great thank you. Bummer that they cannot be exported, I was hoping to be able to 3D print some of the models.
-
- ultra-n00b
- Posts: 1
- Joined: Sun Oct 23, 2022 5:49 pm
Re: Dune: Spice Wars (.pak)
i have a problem. I use quickbms_4gb_files.exe, because size res.compressed.pak file a 3.2Gb. But repacking not run:Spiritovod wrote: ↑Thu Apr 28, 2022 9:01 pm Here is script for repacking. You need to place modified file, script and archive in the same folder and run script on modified file - it will be appended to selected archive (can be specified in the script), if original file was there. Make sure to backup original archive and extracted files, as modified archive can't be extracted anymore (you can still add other modified files to it though).
It may be updated in the future, since current script is built with workarounds due to quickbms limitations.
Alternatively you can use native build tool from the engine as explained here.
Update: Script is updated to handle all files, though currently modified data.cdb should smaller or equal to original file.
dune_spice_wars_repack_v2.zip
https://drive.google.com/file/d/1Vz--8Y ... sp=sharing
When i use quickbms.exe, in cmd writes that:
https://drive.google.com/file/d/1K96go5 ... sp=sharing
how do i repackage the file?
-
- ultra-n00b
- Posts: 1
- Joined: Tue Sep 10, 2019 6:46 pm
- Has thanked: 1 time
Re: Dune: Spice Wars (.pak)
Hello I'm new to extracting and that I've extracted the files but when I try to open/import the fbx I've had no luck was wondering if anyone could help me with this issue?
-
- mega-veteran
- Posts: 181
- Joined: Sun Oct 10, 2010 9:44 pm
- Has thanked: 35 times
- Been thanked: 162 times
Re: Dune: Spice Wars (.pak)
@Throneddarcy: Despite the extensions, those extracted files are actually hmd (proprietary models format for the engine) and common dds textures, not fbx and png. It was mentioned above. You can try to find some tools for converting this models format, though I couldn't back then.
-
- ultra-n00b
- Posts: 7
- Joined: Wed Jul 29, 2020 1:27 pm
- Has thanked: 9 times
Re: Dune: Spice Wars (.pak)
Any chance you will update the extract script to work with the retail version? There seems to be a problem with the content of some of the extracted files. For example no text in the *.css files and json files starting in the middle of a tag.