structure.txt 1.6 KB

1234567891011121314151617181920212223242526272829303132333435
  1. OFFSET LENGTH TYPE DESCRIPTION
  2. ------ ------ ---- ------------------------------------------
  3. 0 16 u8 Save name (initial filled with spaces, not zero
  4. terminated and when there are less then 16 characters,
  5. those left tailing will be spaces (0x20)).
  6. 16 1 u8 Magic (should be 0x1A)
  7. 17 2 u16 Key1 (minutes:hours from DOS get sys time 0x21 AH=2C)
  8. 19 2 u16 Key2 (1/100second:seconds from DOS get sys time)
  9. 21 ? u8 Garbage byte, the amount of garbage bytes will depend
  10. on Key1 and Key1 (calculated after the first full cipher
  11. iteration). Garbage bytes are generated by the cipher
  12. function.
  13. ... GARBAGE BYTES ...
  14. ? 2 u16 New Key1 (derived after every cycle of garbage byte
  15. generation).
  16. 2 + ? 2 u16 New Key2 (also derived after garbage byte generation).
  17. 4 + ? 2 u16 Ciphered level number.
  18. 6 + ? 2 u16 Ciphered planet id.
  19. 8 + ? 2 u16 Ciphered difficulty.
  20. 10 + ? 2 u16 Ciphered unknown value 1.
  21. 12 + ? 2 u16 Ciphered unknown value 2.
  22. 14 + ? 2 u16 Ciphered unknown value 3.
  23. 16 + ? 2 u16 Ciphered unknown value 4.
  24. 18 + ? 2 u16 Ciphered unknown value 5.
  25. 20 + ? 2 u16 Ciphered unknown value 6.
  26. ... MORE GARBAGE BYTES ...
  27. ... tail, the message from Arjan:
  28. "try figure diz out! greetz, arjan\0"
  29. EOF