Nibiru GRP: Difference between revisions
Jump to navigation
Jump to search
imported>DenizOezmen No edit summary |
imported>Ikskoks No edit summary |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
== GRP == | == GRP == | ||
{{GRAFPageMisc | {{GRAFPageMisc}} | ||
=== Format Specifications === | === Format Specifications === | ||
| Line 48: | Line 48: | ||
=== Games === | === Games === | ||
* [[Nibiru]] [[Black Mirror]] [[GRP|*.grp]] | * [[Nibiru]] [[Black Mirror]] [[GRP|*.grp]] | ||
<br><br> | |||
[[Category:Platform PC|Nibiru GRP]] [[Category:Complete Almost Done|Nibiru GRP]] [[Category:CE | [[Category:Platform PC|Nibiru GRP]] | ||
[[Category:Complete Almost Done|Nibiru GRP]] | |||
[[Category:CE Encrypted|Nibiru GRP]] | |||
[[Category:XOR encryption]] | |||
[[Category:File Format]] | |||
Latest revision as of 08:54, 23 April 2021
Back to index | Edit this page
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