10tons XML: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks (Created page with "{{GRAFPageHeader}} == XML == * ''' Format Type ''': Text <br> * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> === Format Specifica...") |
imported>Ikskoks (→Games) |
||
| (28 intermediate revisions by the same user not shown) | |||
| Line 14: | Line 14: | ||
// little endian | // little endian | ||
// header | |||
14 bytes (char) - signature + null // "10TONS_SECRET" | 14 bytes (char) - signature + null // "10TONS_SECRET" | ||
4 bytes (uint32) - encrypted/ | 4 bytes (uint32) - encrypted data size | ||
x bytes - encrypted | 4 bytes (uint32) - check value | ||
// data | |||
x bytes - encrypted data | |||
</pre> | </pre> | ||
</div> | </div> | ||
| Line 27: | Line 31: | ||
* This file format occurs in games made by '''10tons'''. | * 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: | |||
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;"> | |||
<pre> | |||
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) | |||
</pre> | |||
</div> | |||
=== Games === | === Games === | ||
List of games using this file format: | List of games using this file format: | ||
* Tesla vs Lovecraft | * Neon Chrome (PC) (*.XML) | ||
* Tesla vs Lovecraft (PC) (*.XML) | |||
=== Compatible Programs === | === Compatible Programs === | ||
* [https://github.com/bartlomiejduda/Tools/blob/master/NEW%20Tools/10tons%20games/10tons_XML_Tool.py 10tons_XML_Tool.py] | |||
<br/><br> | <br/><br> | ||
[[Category:Complete | [[Category:Complete Complete|10tons XML]] | ||
[[Category:Platform PC|10tons XML]] | [[Category:Platform PC|10tons XML]] | ||
[[Category:CE | [[Category:CE Encrypted|10tons XML]] | ||
[[Category:Format_Text | Type: Text]] | [[Category:Format_Text | Type: Text]] | ||
[[Category:Extension_xml | Extension: xml]] | [[Category:Extension_xml | Extension: xml]] | ||
[[Category:BMS_None | BMS: None]] | [[Category:BMS_None | BMS: None]] | ||
[[Category:Custom encryption]] | |||
[[Category:File Format]] | [[Category:File Format]] | ||
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