Gameloft CustomPak GLA: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
||
| Line 3: | Line 3: | ||
* ''' Format Type ''': Archive <br> | * ''' Format Type ''': Archive <br> | ||
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Big Endian <br> | * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian / Big Endian <br> | ||
| Line 12: | Line 12: | ||
// GLA file format | // GLA file format | ||
// big endian | // little endian or big endian | ||
// header | // header | ||
Revision as of 19:13, 7 June 2021
Back to index | Edit this page
GLA, GLA2
- Format Type : Archive
- Endian Order : Little Endian / Big Endian
Format Specifications (GLA)
// GLA file format
// little endian or big endian
// header
4 bytes (uint32) - unknown
4 bytes (uint32) - data start offset
4 bytes (uint32) - filename array offset
4 bytes (uint32) - number of files
// files info
number_of_files *
{
4 bytes (uint32) - file offset
4 bytes (uint32) - file size
4 bytes (uint32) - filename offset
4 bytes (uint32) - file attributes
}
// filenames
number_of_files *
{
x bytes (char) - filename // can be encrypted
}
// data
number_of_files
{
x bytes - file data
}
Format Specifications (GLA2)
// Sniper Fury
// GLA2 file format
// big endian
// Uses LZ4 Block Compression
// ARCHIVE HEADER
4 - Signature ((bytes)208 238 168 154) // 0xD0 0xEE 0xA8 0x9A
4 - Unknown
4 - Unknown
4 - Unknown
// FILE DATA
// for each file
X - File Data (compressed using LZ4)
// FILE DIRECTORY
// for each file
4 - Filename Hash
4 - File Offset
4 - Decompressed Length
4 - Compressed Length
4 - null
4 - Entry Type? (0/1/8)
MultiEx BMS Script
Not written yet.
QuickBMS Script
Notes and Comments
- GLA archives may use Deflate compression, LZ4 compression or XOR encryption.
- There are some differences between GLA and GLA2 file formats.
- GLA file format is used by games made on Glitch game engine.
Games
List of games using this file format:
- GT Racing 2 (Android)
- The Dark Knight Rises (Android)
- 9mm (Android) (*.GLA)
- N.O.V.A 3 (Android/iOS)
- Sniper Fury (*.GLA2)
Compatible Programs
- Gameloft CustomPak Extractor + mirror
- Gameloft Archive Tool
- Game Extractor (only GLA2 extraction)
- Gameloft ZIP Unscrambler