[PS2] Dead To Rights 1 extract and import .rar files

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
hnnewgames
Posts: 148
Joined: Sat Dec 16, 2017 8:58 pm

[PS2] Dead To Rights 1 extract and import .rar files

Post by hnnewgames »

I need a script to extract and import this file.rar who can help me I thank you from the heart...
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [PS2] Dead To Rights 1 extract and import .rar files

Post by aluigi »

This topic has absolutely no sense.
It's a normal rar archive with tons of different file types in it.
Explain what you want to do in a clear way.
hnnewgames
Posts: 148
Joined: Sat Dec 16, 2017 8:58 pm

Re: [PS2] Dead To Rights 1 extract and import .rar files

Post by hnnewgames »

Although it is a simple .rar file every time I make changes in it it ends up resulting in a black screen in the game. I wanted something like a script that only changes the files without altering the estruta.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [PS2] Dead To Rights 1 extract and import .rar files

Post by aluigi »

That behavious looks like a hash/crc check.
It's possible that there is a file in the game that contains a list of hashes/checksums/crc for each available file and it's compared with the calculated one of the file on disk, if it doesn't match the game will not load the file.

A second reason may be related to the version of Rar that the game is using.
The files in that archive are dated 2001 so it's possible that using a recent version of Rar/winrar creates an archive which is not supported by the game.
Try using a rar 3.x that is able to create a RAR4 archive like the one you provided and let us know if it works.

Edit: old versions are available on the official homepage like https://www.rarlab.com/rar/wrar300.exe
Edit2: probably you can create a rar4 version with the -ma4 option of the current rar.exe
hnnewgames
Posts: 148
Joined: Sat Dec 16, 2017 8:58 pm

Re: [PS2] Dead To Rights 1 extract and import .rar files

Post by hnnewgames »

Exactly that, I tested Rar 2.0 and it worked perfectly in the game. Aluigi thanks again :)