How To Import/Export Cards Data

In order to support backup and restore card rules, MTools support exporting all card information to the internal storage or external storage. Also, it can be imported.

How to export a single card data

  1. There should be at least one card added.
  2. Drag the card item and swipe to the left.
  3. A file named card_name.mto will be stored at /MTools/backups.

How to export all cards data

  1. There should be at least one card added.
  2. Click the ADD button in List Fragment then choose EXPORT.
  3. A file named backup_date.mto will be stored at /MTools/backups.

What’s in *.mto File

  • Card Name
  • Card UID
  • Sector id
  • keyA and keyB
  • Block id
  • Rule List
    • Byte Index
    • Expression

Example *.mto File

[
    {
      "name": "Card 7",
      "uid": "11223344",
      "sectors": [
        {
          "blocks": [
            {
              "block_id": 0,
              "rlb": {
                "checkExpr": [
                  "not b0", "not b1", "b0", "b1"
                ],
                "checkIndex": [
                  4, 5, 7, 8
                ],
                "dec": false,
                "moneyIndex": [
                  0, 1
                ],
                "rate": 100,
                "rev": true
              }
            },
            {
              "block_id": 2,
              "rlb": {
                "checkExpr": [
                  "not b0", "not b1", "b0", "b1"
                ],
                "checkIndex": [
                  4, 5, 7, 8
                ],
                "dec": false,
                "moneyIndex": [
                  0, 1
                ],
                "rate": 100,
                "rev": true
              }
            }
          ],
          "keyA": "ffffffffffff",
          "keyB": "ffffffffffff",
          "sector_id": 3
        }
      ],
      "time": "2019-12-12 19:31:08"
    }
  ]

2 thoughts on “How To Import/Export Cards Data

Leave a Reply

Your email address will not be published. Required fields are marked *

0
    Your Cart
    Your cart is emptyReturn to Shop