Launcher-v2.sqlite Link
| 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.
CREATE TABLE profiles ( profile_id TEXT PRIMARY KEY, -- GUID or UUID name TEXT NOT NULL, created_at INTEGER, last_used_at INTEGER, icon_key TEXT, -- Reference to stored icon settings_json TEXT -- JSON: resolution, JVM args, game directory, etc. ); Example settings_json : launcher-v2.sqlite
"resolution": "width": 1920, "height": 1080, "javaArgs": "-Xmx2G -XX:+UseG1GC", "gameDir": "C:/Minecraft/Profiles/Modded", "launcherVisibility": "CLOSE_ON_START" | Feature | Benefit | |---------|---------| | |