{"id":48844251,"url":"https://github.com/lu-rebuilt/fdb-tools","last_synced_at":"2026-04-15T04:02:44.550Z","repository":{"id":351240061,"uuid":"1210149609","full_name":"LU-Rebuilt/fdb-tools","owner":"LU-Rebuilt","description":"FDB database converter and viewer for LEGO Universe","archived":false,"fork":false,"pushed_at":"2026-04-14T07:59:10.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-14T08:22:57.032Z","etag":null,"topics":["database","lego-universe","sqlite"],"latest_commit_sha":null,"homepage":"https://github.com/LU-Rebuilt","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LU-Rebuilt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-14T06:13:33.000Z","updated_at":"2026-04-14T07:59:16.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/LU-Rebuilt/fdb-tools","commit_stats":null,"previous_names":["lu-rebuilt/fdb-tools"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/LU-Rebuilt/fdb-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LU-Rebuilt%2Ffdb-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LU-Rebuilt%2Ffdb-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LU-Rebuilt%2Ffdb-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LU-Rebuilt%2Ffdb-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LU-Rebuilt","download_url":"https://codeload.github.com/LU-Rebuilt/fdb-tools/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LU-Rebuilt%2Ffdb-tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31825514,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"online","status_checked_at":"2026-04-15T02:00:06.175Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","lego-universe","sqlite"],"created_at":"2026-04-15T04:02:35.202Z","updated_at":"2026-04-15T04:02:44.536Z","avatar_url":"https://github.com/LU-Rebuilt.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fdb-tools\n\nLEGO Universe FDB database tools. CLI converter and Qt6 GUI viewer.\n\n\u003e **Note:** This project was developed with significant AI assistance (Claude by Anthropic). All code has been reviewed and validated by the project maintainer, but AI-generated code may contain subtle issues. Contributions and reviews are welcome.\n\nPart of the [LU-Rebuilt](https://github.com/LU-Rebuilt) project.\n\n## Tools\n\n### fdb_converter\n\nConvert NetDevil FDB flat databases to SQLite.\n\n```\nfdb_converter \u003ccdclient.fdb\u003e \u003coutput.sqlite\u003e\n```\n\nProduces a SQLite database with all tables, columns, and rows from the FDB. The output is compatible with DarkflameServer's CDServer.sqlite format.\n\n### fdb_viewer\n\nQt6 GUI for browsing FDB and SQLite databases. Requires Qt6.\n\n```\nfdb_viewer [file.fdb or file.sqlite]\n```\n\n**Features:**\n- Opens `.fdb` files directly (auto-converts to temporary SQLite in memory)\n- Also opens `.sqlite` and `.db` files directly\n- Table list with filter on the left dock\n- Full table data view with sortable, resizable columns\n- Row filtering via SQL WHERE clause (type filter and press Enter)\n- Persistent last-open directory\n\n**Keyboard shortcuts:**\n- `Ctrl+O` — Open database\n\n## Building\n\n```bash\ncmake -B build\ncmake --build build -j$(nproc)\n```\n\nfdb_viewer is skipped automatically if Qt6 is not found.\n\nFor local development:\n\n```bash\ncmake -B build -DFETCHCONTENT_SOURCE_DIR_LU_ASSETS=/path/to/local/lu-assets \\\n               -DFETCHCONTENT_SOURCE_DIR_TOOL_COMMON=/path/to/local/tool-common\n```\n\n## Acknowledgments\n\nFormat parsers built from:\n- **[lcdr/utils](https://github.com/lcdr/utils)** — Python FDB-to-SQLite reference implementation\n- **[lcdr/lu_formats](https://github.com/lcdr/lu_formats)** — Kaitai Struct FDB format definition\n- **[DarkflameServer](https://github.com/DarkflameServer/DarkflameServer)** — CDClient database schema reference\n- **Ghidra reverse engineering** of the original LEGO Universe client binary\n\n## License\n\n[GNU Affero General Public License v3.0](https://www.gnu.org/licenses/agpl-3.0.html) (AGPLv3)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flu-rebuilt%2Ffdb-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flu-rebuilt%2Ffdb-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flu-rebuilt%2Ffdb-tools/lists"}