Samples: https://mega.nz/#!dsMDiSzC!lrpG95ivr6ui ... UsX_-ZlhDI
Coding Language is Python afaik. Would be great if anyone could help unpacking them.
Peria Chronicles .tarc files
-
- Posts: 2
- Joined: Sun Aug 28, 2016 6:44 pm
Re: Peria Chronicles .tarc files
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.
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.
-
- Posts: 2
- Joined: Sun Aug 28, 2016 6:44 pm
Re: Peria Chronicles .tarc files
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
}
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
}
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Peria Chronicles .tarc files
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.
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.