Launcher-v2.sqlite ✔
Stores version installations (like "release 1.20.4", "snapshot 24w10a", or modded versions from third-party launchers like Fabric/Forge).
CREATE TABLE installations ( installation_id TEXT PRIMARY KEY, version_name TEXT, -- e.g., "1.20.4" version_type TEXT, -- "release", "snapshot", "old_beta", "modded" java_version_requirement TEXT, -- e.g., "17", "8", "any" last_played INTEGER, play_count INTEGER, metadata_json TEXT -- JSON: libraries, mainClass, arguments, etc. ); Key-value store for launcher UI preferences. launcher-v2.sqlite
| Feature | Benefit | |---------|---------| | | Multiple launcher processes can read/write safely. | | Transactional writes | Corruptions less likely (atomic commits). | | Queryable JSON | JSON functions allow complex searches without parsing whole files. | | Binary large objects | Can store icons, thumbnails, or serialized UI state. | | Versioning | Schema evolves via PRAGMA user_version ; launcher migrates automatically. | 3. Database Schema (as of Launcher v2.10+) The schema is not officially documented but can be explored using any SQLite browser (DB Browser for SQLite, SQLiteStudio, or sqlite3 CLI). Below are the main tables found in current versions. 3.1 Table: accounts Stores Microsoft (or Mojang) accounts. Stores version installations (like "release 1