Criminal Girls 2 data.dat file

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
newdoria88
Posts: 5
Joined: Sun May 20, 2018 1:52 am

Criminal Girls 2 data.dat file

Post by newdoria88 »

Hello, I saw this post for unpacking Criminal Girls 1 viewtopic.php?t=2977 but it didn't work for the sequel.

Can someone help me with a script for unpacking it?

I ran this script http://aluigi.org/bms/filecutter.bms like in the previous thread
This is the result
https://drive.google.com/open?id=1NteG8 ... J6qJGkLqE5
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Criminal Girls 2 data.dat file

Post by aluigi »

It looks like they added encryption since the file doesn't have any readable content.
newdoria88
Posts: 5
Joined: Sun May 20, 2018 1:52 am

Re: Criminal Girls 2 data.dat file

Post by newdoria88 »

aluigi wrote:It looks like they added encryption since the file doesn't have any readable content.


Yes, you are right. Once I managed to decrypt the data file the script for criminal girls 1 also worked for criminal girls 2 (unpack and repack). Sorry for the inconvenience. :oops:
Last edited by newdoria88 on Sun May 20, 2018 8:19 am, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Criminal Girls 2 data.dat file

Post by aluigi »

How did you decrypt them?
newdoria88
Posts: 5
Joined: Sun May 20, 2018 1:52 am

Re: Criminal Girls 2 data.dat file

Post by newdoria88 »

aluigi wrote:How did you decrypt them?


On the psvita you can use a tool called maidump that "dumps & decrypts" the selected game.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Criminal Girls 2 data.dat file

Post by aluigi »

newdoria88 wrote:On the psvita you can use a tool called maidump that "dumps & decrypts" the selected game.

Good info :)
newdoria88
Posts: 5
Joined: Sun May 20, 2018 1:52 am

Re: Criminal Girls 2 data.dat file

Post by newdoria88 »

Sorry for bothering you again. Inside that dat file there was another dat file (which has more dat files inside)

This one is unecrypted and I can see the other files inside it using a tool made for a disgaea game but can't repack the files once extracted. Would that be possible with a bms script? (unpack and repack)

Here is the filecutter output
https://drive.google.com/open?id=1o9bNe ... X7_W38HbtZ

Here is the file
https://drive.google.com/open?id=1O11CR ... rZg6Zomt0z

The format is DSARC FL
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Criminal Girls 2 data.dat file

Post by aluigi »

If you give it the "arc" extension (instead of "dat") you can use this script made months ago for another game:
http://aluigi.org/bms/yomawari.bms

Ah right, LZS compression is not supported but your sample didn't use it.
newdoria88
Posts: 5
Joined: Sun May 20, 2018 1:52 am

Re: Criminal Girls 2 data.dat file

Post by newdoria88 »

aluigi wrote:If you give it the "arc" extension (instead of "dat") you can use this script made months ago for another game:
http://aluigi.org/bms/yomawari.bms

Ah right, LZS compression is not supported but your sample didn't use it.

Thanks it works perfect.