Restricted Area PAK: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks No edit summary |
imported>Ikskoks |
||
| (12 intermediate revisions by the same user not shown) | |||
| Line 7: | Line 7: | ||
* ''' Format Type ''': Archive <br> | * ''' Format Type ''': Archive <br> | ||
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> | * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> | ||
* ''' Signature ''': JC <br> | |||
| Line 17: | Line 18: | ||
<br> | <br> | ||
: <font color="blue"> ''' // Compressed File Data ''' </font> <br> | : <font color="blue"> ''' // Compressed File Data ''' </font> <br> | ||
:: char {2} - Compression Header <font color="purple">(JC)</font> <br> | :: char {2} - Compression Header <font color="purple">(JC)</font> (for JCalg?)<br> | ||
:: uint32 {4} - Decompressed File Length <br> | :: uint32 {4} - Decompressed File Length <br> | ||
:: byte {X} - Compressed File Data <br> | :: byte {X} - Compressed File Data <br> | ||
| Line 51: | Line 52: | ||
=== Notes and Comments === | === Notes and Comments === | ||
* Unknown compression is used in this archive | * Unknown compression is used in this archive. | ||
** UPDATE: It may be compressed with '''JCalg'''. (see more at [https://bitsum.com/portfolio/jcalg1/ jcalg1 page]) | |||
<br> | <br> | ||
=== Supported Programs === | === Supported Programs === | ||
| Line 59: | Line 62: | ||
[[Category:JCALG1 compression]] | |||
[[Category:Extension_pak | Extension: pak]] | |||
[[Category:File Format]] | [[Category:File Format]] | ||
Latest revision as of 23:24, 15 June 2022
Choose archive extension:
PAK
- Format Type : Archive
- Endian Order : Little Endian
- Signature : JC
Format Specifications
// for each file
- uint32 {4} - Decompressed File Length
- uint32 {4} - File Length (not including this 8-byte header)
- // Compressed File Data
- char {2} - Compression Header (JC) (for JCalg?)
- uint32 {4} - Decompressed File Length
- byte {X} - Compressed File Data
- char {2} - Compression Header (JC) (for JCalg?)
MultiEx BMS
Set JC String .JC ; SavePos ST 0 ; GoTo EOF 0 ; SavePos END 0 ; GoTo ST 0 ; Set Num Long 0 ; Do ; Get UCS Long 0 ; SavePos CSO 0 ; Get CS Long 0 ; SavePos FO 0 ; SavePos J 0 ; GetDString ID 2 0 ; SavePos UCSO 0 ; Set FN String FILE ; String FN += Num ; String FN += JC ; Log FN FO CS 0 CSO ; Math Num += 1 ; Math J += CS ; GoTo J 0 ; While J < END ;
Notes and Comments
- Unknown compression is used in this archive.
- UPDATE: It may be compressed with JCalg. (see more at jcalg1 page)