10tons XML: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks (→Games) |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 39: | Line 39: | ||
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;"> | <div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;"> | ||
<pre> | <pre> | ||
SIGN_CONST = "10TONS_SECRET\x00" | |||
dec_data = "" | dec_data = "" | ||
for i in range(f_data_size): | for i in range(f_data_size): | ||
dec_char = ( i | dec_char = ( i + enc_data[i] + ord(SIGN_CONST[i % 13]) ) & 0xFF | ||
dec_data += chr(dec_char) | dec_data += chr(dec_char) | ||
</pre> | </pre> | ||
| Line 48: | Line 49: | ||
=== Games === | === Games === | ||
List of games using this file format: | List of games using this file format: | ||
* Neon Chrome | * Neon Chrome (PC) (*.XML) | ||
* Tesla vs Lovecraft (PC) (*.XML) | * Tesla vs Lovecraft (PC) (*.XML) | ||
| Line 57: | Line 58: | ||
[[Category:Complete | [[Category:Complete Complete|10tons XML]] | ||
[[Category:Platform PC|10tons XML]] | [[Category:Platform PC|10tons XML]] | ||
[[Category:CE Encrypted|10tons XML]] | [[Category:CE Encrypted|10tons XML]] | ||
Latest revision as of 21:11, 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 (PC) (*.XML)
- Tesla vs Lovecraft (PC) (*.XML)
Compatible Programs