Hi everyone,
Recently i've been trying to extract textures from the game Crossout.
I found out that when you open their .grp files in a hex viewer, you can find the names of files in that archive and the header "GRP2".
For every .grp file there is also a .index file which has a header "TGP2" and sometimes also contains file names.
For Models they appaear to be using .mdl and .mdf and for Textures .tfh.
Since War Thunder and Crossout use the same engine, the "dagor engine", I searched for War Thunder texture extractors since War Thunder has been around for a lot longer and found this thread -> viewtopic.php?t=11349.
However, War Thunder apparently used to/still uses .bin files for Textures and only uses .grp for Models, while Crossout has both Textures and Models in .grp Files. War Thunder has a Modding-Toolkit, however that doesn't seem to be able to open .grp files.
I found a bunch of QuickBMS scripts that are supposed to be ably to open these Files but it seems Crossout uses a modified Format since none worked for me. I also found a shell script on GitHub that looked useful but it only prints out junk.
https://github.com/darealshinji/scripts ... aster/grp2
And now i'm here, looking for help.
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Crossout's .grp files
-
- ultra-n00b
- Posts: 4
- Joined: Wed Mar 17, 2021 7:45 am
Re: Crossout's .grp files
With help, I was able to unpack the grp file. But I dunno about the tgp file tho.
The grp file further contains even more files.
It contains five more files - MDL, MDF, MDP, TFH and TFD.
Here's the unpacked grp file along with the script https://drive.google.com/file/d/1CmMSbx ... p=drivesdk
The grp file further contains even more files.
It contains five more files - MDL, MDF, MDP, TFH and TFD.
Here's the unpacked grp file along with the script https://drive.google.com/file/d/1CmMSbx ... p=drivesdk
-
- ultra-n00b
- Posts: 4
- Joined: Wed Mar 17, 2021 7:45 am
Re: Crossout's .grp files
Someone on discord did, I didn't.
He says that he looked at the bytes, did some analysis and created a script for it.
I don't think there is currently any way to decode any of those files.
But I viewed the files in hex viewer and the MDL appears to be for the model, the MDP appears to be for physics and the mdf appears to be for materials. And as you said earlier tfh and tfd are for the textures.
He says that he looked at the bytes, did some analysis and created a script for it.
I don't think there is currently any way to decode any of those files.
But I viewed the files in hex viewer and the MDL appears to be for the model, the MDP appears to be for physics and the mdf appears to be for materials. And as you said earlier tfh and tfd are for the textures.
-
- ultra-n00b
- Posts: 2
- Joined: Sat Dec 28, 2019 9:24 pm
Re: Crossout's .grp files
Here is my version of the .grp unpacker.
Usage: unpacker.py -i "folder with archives" -o "output folder"
However, I still couldn't fix some issues:
1. The script can unpack only first 131072 bytes of original file
2. .pk2 files cannot be extracted
I also researched the .mdl file and found that this is also an archive, but I could not figure out how files are stored in it.
Usage: unpacker.py -i "folder with archives" -o "output folder"
However, I still couldn't fix some issues:
1. The script can unpack only first 131072 bytes of original file
2. .pk2 files cannot be extracted
I also researched the .mdl file and found that this is also an archive, but I could not figure out how files are stored in it.
You do not have the required permissions to view the files attached to this post.
-
- ultra-n00b
- Posts: 1
- Joined: Tue Mar 28, 2023 11:41 pm
-
- ultra-veteran
- Posts: 467
- Joined: Thu Dec 07, 2006 11:25 pm
- Has thanked: 9 times
- Been thanked: 95 times
Re: Crossout's .grp files
I released the Targem Engine (Crossout) *.mdl/mdf loader module.TheInfinityUser wrote: ↑Tue May 04, 2021 5:41 pm Someone on discord did, I didn't.
He says that he looked at the bytes, did some analysis and created a script for it.
I don't think there is currently any way to decode any of those files.
But I viewed the files in hex viewer and the MDL appears to be for the model, the MDP appears to be for physics and the mdf appears to be for materials. And as you said earlier tfh and tfd are for the textures.
How to get the 3D Object Converter:
Download the 3D Object Converter from http://3doc.i3dconverter.com and install it or download and use the portable version (if you don’t have it yet).
After it just use the Help/Check for updates... function to get the latest program version.
- Durik256
- ultra-veteran
- Posts: 428
- Joined: Wed Nov 21, 2018 7:26 pm
- Has thanked: 45 times
- Been thanked: 429 times
Re: Crossout's .grp files
i made plugin for Noesis [*.mdl]
fmt_Crossout_mdl.py
send .grp fileButterized wrote: ↑Fri Mar 31, 2023 2:55 am does anyone know how to use the script? i cant seem to figure it out.
You do not have the required permissions to view the files attached to this post.
Re: Crossout's .grp files
for some reason things not work for me, models just not open or show corrupted geometry
-
- ultra-n00b
- Posts: 2
- Joined: Sat Dec 28, 2019 9:24 pm
Re: Crossout's .grp files
It seems that I understand - the .index file contains three blocks, two of which are compressed using ZSTD - these are file names and a table with the sizes and offsets of these files. The third block is the sizes of ZSTD frames, the game resource data itself is compressed in frames of 128 kb of the original data.