ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sun Jun 25, 2017 6:58 pm

All times are UTC




Post new topic  Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Fri Mar 31, 2017 5:49 pm 
User avatar

Joined: Sun Aug 17, 2014 7:27 pm
Posts: 601
Game: http://store.steampowered.com/app/569860
Image

filecutter: https://mega.nz/#!l8xX1Sjb!jsTqkIq0oFp2 ... k0RFL2i6tc


Top
   
PostPosted: Tue Apr 18, 2017 3:44 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6163
It smells of encryption because there is no clear data at the beginning or end of the archives.


Top
   
PostPosted: Thu Jun 01, 2017 2:52 pm 
User avatar

Joined: Thu Oct 02, 2014 4:58 pm
Posts: 147
I hope it helps and Aluigi can make a script for this game

GGDump is a tool for listing and extracting files from data archive files of the game Thimbleweed Park, which you should totally buy right now. (Steam, GOG)

https://github.com/mstr-/twp-ggdump/


Top
   
PostPosted: Thu Jun 01, 2017 2:53 pm 
User avatar

Joined: Thu Oct 02, 2014 4:58 pm
Posts: 147
aluigi wrote:
It smells of encryption because there is no clear data at the beginning or end of the archives.


Looking the source code of https://github.com/mstr-/twp-ggdump/blo ... /ggdump.py i see this

Quote:
def decode_unbreakable_xor(src):
magic_bytes = b'\x4F\xD0\xA0\xAC\x4A\x5B\xB9\xE5\x93\x79\x45\xA5\xC1\xCB\x31\x93'


Top
   
PostPosted: Thu Jun 01, 2017 5:02 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6163
Well done.
I had to use a work-around because the size is not specified in some files probably because it's the same of the previous file... hope it works:
http://aluigi.org/bms/thimbleweed_park.bms


Top
   
PostPosted: Thu Jun 01, 2017 6:29 pm 
User avatar

Joined: Thu Oct 02, 2014 4:58 pm
Posts: 147
Thanks for the script, only works with the quickbms windows version and under windows (not in wine), the game checks for the files ThimbleweedPark.ggpack1 and ThimbleweedPark.ggpack2 anyway, and the script can't reimport files

Quote:
Error: script invalid for reimporting, it uses MEMORY_FILEs

Last script line before the error or that produced the error:
115 log NAME 0 XSIZE MEMORY_FILE2


But the unpacker/decryptor works :D

It' s possible to modify the script to add the reimport feature?


Top
   
PostPosted: Thu Jun 01, 2017 7:43 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6163
Yeah, script 0.1.1 :)


Top
   
PostPosted: Sat Jun 03, 2017 1:53 pm 
User avatar

Joined: Thu Oct 02, 2014 4:58 pm
Posts: 147
Something weird happens with the reimportation, i don't get any errors but looks the reimporting is not working well (or i'm doing something wrong).

Example:
I modified a png, then i reimported without errors, but i don't see the changes, i extracted again the files and the png is the original not the modified version, but the MD5 of the .gppack1 is not the same as the original, then something changed, but what?


Top
   
PostPosted: Sat Jun 03, 2017 2:28 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6163
I see and I guess the problem is caused by the algorithm that is not one-way (so encryption != decryption), my mistake.
I restored the script removing that invalid reimporting feature.
Sorry.


Top
   
PostPosted: Mon Jun 12, 2017 6:29 pm 
User avatar

Joined: Thu Oct 02, 2014 4:58 pm
Posts: 147
I see, thanks anyway :D


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 10 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