10tons XML

From XentaxWiki
Revision as of 10:27, 23 July 2021 by imported>Ikskoks (→‎Compatible Programs)
Jump to navigation Jump to search

Back to index | Edit this page

XML


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:

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