ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Fri Apr 03, 2020 10:20 am

All times are UTC




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Thu Mar 26, 2020 10:09 pm 

Joined: Thu Mar 26, 2020 12:38 am
Posts: 3
Now that Super Robot Wars V has come to PC and I would like to rip some assets and translate the game to my language, however I've hit a roadblock, the game's cpk archive contents seem to be encrypted (No obvious pattern in .DDS images), I tried my luck with some RE but it quickly got out of my league so I came here looking for help, thank you in advance :D

I've attached a cpk file (from SRWV_ROOT/data/statusimage) for reference.


Attachments:
DB00.zip [262.52 KiB]
Downloaded 6 times
Top
   
PostPosted: Fri Mar 27, 2020 9:32 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 11156
Have you tried using CriPakTools?

I confirm that there is an 8bytes pattern in the dds files extracted with my cpk.bms script, that's usually used in blowfish encryptions, but I don't know if it's something specific to the format (like it happened with a Naruto game as far as I remember) or specific for this game only.
I'm sure the other users can provide better support.


Top
   
PostPosted: Fri Mar 27, 2020 10:05 am 

Joined: Thu Mar 26, 2020 12:38 am
Posts: 3
Yeah, CriPakTools can get the files out, but they still are unreadable due to encryption, and I can confirm is encryption as the Vita version of the game does not have any problem when extracting data.
Furthermore, reading the forum I came across signsearch and the program found this:
Code:
Signsrch 0.2.4
by Luigi Auriemma
e-mail: aluigi@autistici.org
web:    aluigi.org
  optimized search function by Andrew http://www.team5150.com/~andrew/
  disassembler engine by Oleh Yuschuk

- open file "C:\Games\Super Robot Wars V\SRWV.EXE"
- 6672896 bytes allocated
- load signatures
- open file C:\Games\Super Robot Wars V\signsrch.sig
- 3075 signatures in the database
- start 8 threads
- start signatures scanning:

  offset   num  description [bits.endian.size]
  --------------------------------------------
  00121972 2065 Haval init [32.le.32&]
  00132a3e 3048 DMC compression [32.le.16&]
  003f1469 3051 compression algorithm seen in the game DreamKiller [32.be.12&]
  0042bbd0 921  Blowfish ks0 table [32.le.1024]
  0042bbd0 2335 Blowfish_s_init [32.le.4096]
  0042bc28 2067 Haval mc3 [32.le.128]
  0042bc88 2219 HAVAL2_DS [32.le.32]
  0042bca8 2069 Haval mc4 [32.le.128]
  0042bd08 2217 HAVAL1_DS [32.le.32]
  0042bd28 2071 Haval mc5 [32.le.128]
  0042bfd0 923  Blowfish ks1 table [32.le.1024]
  0042c3d0 925  Blowfish ks2 table [32.le.1024]
  0042c7d0 927  Blowfish ks3 table [32.le.1024]
  004aca69 2266 CRYPTON [32.le.16&]
  004c8a50 3038 unlzx table_three [32.le.64]
  004c9330 538  CRC-16-IBM maxim/usb [crc16.0xa001 le rev 1.512]
  004c9330 527  CRC-16-IBM maxim/usb [crc16.0x8005 lenorev int_min.512]
  004d2c10 2508 Electronic Arts TQI base_table2 [..64]
  004d2c70 1563 libavcodec ff_zigzag_direct [..64]
  004d3810 648  CRC-32-IEEE 802.3 [crc32.0xedb88320 lenorev 1.1024]
  004d3810 641  CRC-32-IEEE 802.3 [crc32.0x04c11db7 le rev int_min.1024]
  0054a65e 2545 anti-debug: IsDebuggerPresent [..17]
  0059623b 2417 MBC2 [32.le.248&]
  00596560 2418 MBC2 [32.be.248&]
  00596739 1038 padding used in hashing algorithms (0x80 0 ... 0) [..64]
  00608398 3050 compression algorithm seen in the game DreamKiller [32.le.12&]

- 26 signatures found in the file in 6 seconds
- done


I'm not sure how to proceed with this info now however.


Top
   
PostPosted: Fri Mar 27, 2020 10:19 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 11156
Try uploading SRWV.EXE, maybe some users will take a look at it and get the key.


Top
   
PostPosted: Thu Apr 02, 2020 4:34 am 

Joined: Thu Mar 26, 2020 12:38 am
Posts: 3
Update on this, I got the key! It was a weird process powered by insomnia and perseverance, but it was really fun!


Top
   
PostPosted: Fri Apr 03, 2020 8:21 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 11156
Feel free to share, in case someone else is interested.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 6 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited