ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Thu Aug 22, 2019 9:56 am

All times are UTC




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Sun May 12, 2019 5:41 pm 

Joined: Mon Jan 07, 2019 10:28 am
Posts: 8
Samples: https://mega.nz/#!dsMDiSzC!lrpG95ivr6ui ... UsX_-ZlhDI

Coding Language is Python afaik. Would be great if anyone could help unpacking them.


Top
   
PostPosted: Mon May 13, 2019 4:47 pm 

Joined: Sun Aug 28, 2016 6:44 pm
Posts: 2
https://gist.github.com/Tachiorz/2dec93 ... b905095103
I'm guessing archive is read recursively from the end of list to the beginning. For example archives in quest.tpk have different count of elements, but last one always is an array object with length of 45 elements that is populated with values, arrays and dicts before it.
I would really appreciate help with type 7 element that is object description I guess.


Top
   
PostPosted: Tue May 14, 2019 11:18 am 

Joined: Sun Aug 28, 2016 6:44 pm
Posts: 2
byte type; // 7
short index_of_classname;
int count_or_size; // depends on classname?
// rest is if Dict - count of pairs of uints that are indexes to key/values
// if Array - count of uints that are indexes to values
// if Canvas_Static - size bytes that is blob with image
// etc
if count_or_size == -1 { // this case I still don't get
byte unknown1
byte unknown2
int count_or_size
}


Top
   
PostPosted: Sat Jun 01, 2019 9:35 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 10566
http://aluigi.org/bms/thing_archive_tarc.bms

But I think that some files may be compressed, for example there are PNG files but they have some bytes on front and aren't correctly visualized.
Give me your feedback.


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