10tons XML: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
(No difference)
| |
Revision as of 13:38, 23 July 2021
Back to index | Edit this page
XML
- Format Type : Text
- Endian Order : Little Endian
Format Specifications
// 10tons XML file format // little endian // header 14 bytes (char) - signature + null // "10TONS_SECRET" 4 bytes (uint32) - encrypted data size 4 bytes (uint32) - check value // data x bytes - encrypted data
MultiEx BMS Script
Not written yet.
Notes and Comments
- This file format occurs in games made by 10tons.
- Data is protected by custom encryption method.
- Encrypted XML files are located in "C:\Users\<username>\AppData\Roaming\10tons" directory.
Encryption
Below is Python impelemntation of decryption method:
SIGN_CONST = "10TONS_SECRET\x00"
dec_data = ""
for i in range(f_data_size):
dec_char = ( i + enc_data[i] + ord(SIGN_CONST[i % 13]) ) & 0xFF
dec_data += chr(dec_char)
Games
List of games using this file format:
- Neon Chrome
- Tesla vs Lovecraft (PC) (*.XML)
Compatible Programs