---
title: "Smart Tool keymap import 'failed' on first attempt — Restore DB sequence"
canonical_url: https://emudesk.com/issues/keymap-import-failed-restore-db-sequence
content_locale: en
source_locale: en
entity_type: issue
index_status: index
published_at: 2026-08-31T18:22:23.000Z
updated_at: 2026-09-01T00:45:02.034Z
freshness_status: fresh
---

# Smart Tool keymap import 'failed' on first attempt — Restore DB sequence

When importing a keymap file (.txt) via the Smart Tool, the operation fails with a generic "failed" message. Reimporting the same file produces the same error. This blocks the user from playing because TAC's stock keymap doesn't match Smart Tool's customised layouts.


  "It did import failed for me / it keeps failing import" — caesarsalad.
  "Failed diyor" — hawkjrdossantos (TR).
  Reinstalling the emulator doesn't help.
  Re-downloading the keymap file from a fresh source doesn't help.


Root cause: TAC's keymap database has a corrupted state from a previous failed launch or a partial Apply that left lock files behind. The next Apply Keymap operation runs but TAC's DB rejects the new entries.