Nibiru GRP
From XentaxWiki
Back to index | Edit this page
Contents
GRP
- Format type: Archive
- Endianness: Little-endian
Format Specifications
char {16} - ID ("AGDS group file" 1a) (encrypted)
uint32 {4} - Header length (44)
uint32 {4} - Signature (0x1a03c9e6)
uint32 {4} - Version (2)
uint32 {4} - Number of used entries
uint32 {4} - Number of entries
uint32 {4} - Archive time 1 (time_t, seconds since 1970-01-01 00:00:00.000)
uint32 {4} - Archive time 2 (time_t, seconds since 1970-01-01 00:00:00.000)
// for each used file entry
- char {33} - File name (zero-terminated, encrypted)
- uint32 {4} - Offset
- uint32 {4} - Size
- uint32 {4} - File time (time_t, seconds since 1970-01-01 00:00:00.000)
- uint32 {4} - Unknown
byte {x} - Padding until first file offset (empty file entries)
Notes and Comments
The encryption scheme is based on a XOR-system and the 52-character key phrase "Vyvojovy tym AGDS varuje: Hackerovani skodi obchodu!". (Probable rough translation: "AGDS development team warns: Hacking does harm to business!".)
for i := 0 to Length(Buffer) - 1 do
- if Encrypted[i] = 0 then
- Break
- Break
- else
- Decrypted[i] := Encrypted[i] xor KeyPhrase[i mod 52] xor 0xff;
- Decrypted[i] := Encrypted[i] xor KeyPhrase[i mod 52] xor 0xff;
MultiEx BMS Script
None written yet.
Supported by Programs
Links
None
Games