[PS4] Dirt 5 .dat files

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
x1SlowSBCx
Posts: 14
Joined: Wed Aug 11, 2021 9:34 pm

Re: [PS4] Dirt 5 .dat files

Post by x1SlowSBCx »

Okay i got the script to work, i put all the files on my desktop instead of in the game directory and it extracts them, but i dont see the 3d models in here..... now im sad
x1SlowSBCx
Posts: 14
Joined: Wed Aug 11, 2021 9:34 pm

Re: [PS4] Dirt 5 .dat files

Post by x1SlowSBCx »

Managed to extract the files, but i couldn't find the 3d models, i double checked BMS and it has this error:
https://imgur.com/a/YwQz6AK
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [PS4] Dirt 5 .dat files

Post by aluigi »

It's quite weird, both the problem solved by moving the files in a new directory and the last one.

In that screenshot the index file says that there are files in the 20_DISC_HI.dat archive but that archive doesn't exist.
It's not a problem of the script.
If you want to skip the files located in unexistent archives you can patch dirt5.bms in this way:

Old:

Code: Select all

...
                    open FDSE TMP 1
                endif

                log NAME OFFSET SIZE 1
...

New:

Code: Select all

...
                    open FDSE TMP 1 EXISTS
                endif

                if EXISTS != 0
                log NAME OFFSET SIZE 1
                endif
...
x1SlowSBCx
Posts: 14
Joined: Wed Aug 11, 2021 9:34 pm

Re: [PS4] Dirt 5 .dat files

Post by x1SlowSBCx »

If I’m not mistaken, (im not entirely sure because im at work XD) that is the biggest file in the archive. I’ll have to check when I get home. I appreciate your help.
Edit: nope its not there
x1SlowSBCx
Posts: 14
Joined: Wed Aug 11, 2021 9:34 pm

Re: [PS4] Dirt 5 .dat files

Post by x1SlowSBCx »

Perfect, your fix got my whole game unpacked. Now I gotta figure out how in the hell im going to get into these .gtx and .gso files because im looking for the 3d models and i think they are that file type.
x1SlowSBCx
Posts: 14
Joined: Wed Aug 11, 2021 9:34 pm

Re: [PS4] Dirt 5 .dat files

Post by x1SlowSBCx »

ok so it seems as if im not extracting all the files, the input is 38 gb and the output is only 2.22 gb. this is what it says https://imgur.com/a/c7oQEjf
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [PS4] Dirt 5 .dat files

Post by aluigi »

No idea honestly.
That's the format, probably those missing files are in those unexistent archives that maybe have different names... really no idea, from my side the script is correct and the extraction does exactly what the index file says, it references archives that aren't on disk.
God Arm
Posts: 3
Joined: Thu Jun 25, 2020 11:08 am

Re: [PS4] Dirt 5 .dat files

Post by God Arm »

After i extracted the files i decided to check the sound files to see what they are, but it seems they were only partially extracted (100-ish mb instead of over 1000). do you know why that could be?
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

Re: [PS4] Dirt 5 .dat files

Post by spiritovod »

@God Arm: Try fixed script for PC version, it may work for PS4 as well: viewtopic.php?f=9&t=16752
mavickmai
Posts: 2
Joined: Wed Sep 07, 2022 2:42 pm

Re: [PS4] Dirt 5 .dat files

Post by mavickmai »

x1SlowSBCx wrote:Perfect, your fix got my whole game unpacked. Now I gotta figure out how in the hell im going to get into these .gtx and .gso files because im looking for the 3d models and i think they are that file type.

Have you ever figured out a method to deal with texture files?