{"id":37032658,"url":"https://github.com/wowdev/dbcd","last_synced_at":"2026-01-14T04:00:24.526Z","repository":{"id":46120307,"uuid":"181038814","full_name":"wowdev/DBCD","owner":"wowdev","description":"C# library for reading DBC/DB2 database files from World of Warcraft ","archived":false,"fork":false,"pushed_at":"2025-11-15T13:38:50.000Z","size":378,"stargazers_count":52,"open_issues_count":0,"forks_count":35,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-11-15T15:25:58.176Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wowdev.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":"2019-04-12T15:50:03.000Z","updated_at":"2025-11-15T13:33:49.000Z","dependencies_parsed_at":"2024-01-22T00:33:29.736Z","dependency_job_id":"518d7039-467a-4590-bdb4-69c61b1d800d","html_url":"https://github.com/wowdev/DBCD","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/wowdev/DBCD","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wowdev%2FDBCD","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wowdev%2FDBCD/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wowdev%2FDBCD/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wowdev%2FDBCD/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wowdev","download_url":"https://codeload.github.com/wowdev/DBCD/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wowdev%2FDBCD/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408952,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"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":[],"created_at":"2026-01-14T04:00:17.807Z","updated_at":"2026-01-14T04:00:24.518Z","avatar_url":"https://github.com/wowdev.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DBCD\nC# library for reading and writing [DBC](https://wowdev.wiki/DBC)/[DB2](https://wowdev.wiki/DB2) database files from World of Warcraft with built-in support for [WoWDBDefs](https://github.com/wowdev/WoWDBDefs) definitions.\n\n## Features\n- Reading of `WDBC` ([.dbc](https://wowdev.wiki/DBC)) and `WDB2`-`WDB6`, `WDC1`-`WDC5` ([.db2](https://wowdev.wiki/DB2)).\n- Experimental writing (`WDC3` works, the others likely will too but are largely untested with actual WoW clients).\n- Applying of hotfixes (DBCache.bin).\n\n## Projects\n### DBCD\nContains the glue between DBCD.IO, DBDefsLib and the providers.\n\n### DBCD.IO\nContains the actual reading and writing of DBC/DB2 files.\n\n## Limitations\n- _(Reading/Writing)_ Relies on [WoWDBDefs](https://github.com/wowdev/WoWDBDefs) (DBDs) for table structures, can not load tables without DBDs (yet).\n- _(Writing)_ Does not support writing out DB2s with multiple sections.\n\n## Example Usage\n```csharp\n// A FilesystemDBCProvider to load DBCs/DB2s from a directory on disk. \nvar localDBCProvider = new FilesystemDBCProvider(\"D:/DBC\");\n\n// A FilesystemDBDProvider to load DBDs from a folder, you can also use GithubDBDProvider to download them directly from GitHub.\nvar localDBDProvider = new FilesystemDBDProvider(\"D:/WoWDBDefs/definitions\");\n\n// A new DBCD instance with the specified DBC/DBD provider.\nvar dbcd = new DBCD(localDBCProvider, localDBDProvider);\n\n// Loads Map.db2 (note the table name without extension) for build 11.0.2.56044 (build might be needed to load correct definition).\nvar storage = dbcd.Load(\"Map\", \"11.0.2.56044\");\n\n// Get the row with ID 2552.\nvar row = storage[2552];\n\n// Outputs \"Khaz Algar (Surface)\".\nConsole.WriteLine((string)row[\"MapName_lang\"]);\n```\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwowdev%2Fdbcd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwowdev%2Fdbcd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwowdev%2Fdbcd/lists"}