{"id":25040802,"url":"https://github.com/mitjafelicijan/blpconvert","last_synced_at":"2025-09-04T17:38:40.471Z","repository":{"id":275848111,"uuid":"927321970","full_name":"mitjafelicijan/blpconvert","owner":"mitjafelicijan","description":"Converts BLP textures to images","archived":false,"fork":false,"pushed_at":"2025-02-04T22:27:51.000Z","size":101,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-04T22:28:37.591Z","etag":null,"topics":["blp","convert","decompress","dxt1","dxt3","dxt5","dxtc","png"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mitjafelicijan.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}},"created_at":"2025-02-04T19:08:01.000Z","updated_at":"2025-02-04T22:27:54.000Z","dependencies_parsed_at":"2025-02-04T22:38:45.780Z","dependency_job_id":null,"html_url":"https://github.com/mitjafelicijan/blpconvert","commit_stats":null,"previous_names":["mitjafelicijan/blpconvert"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitjafelicijan%2Fblpconvert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitjafelicijan%2Fblpconvert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitjafelicijan%2Fblpconvert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitjafelicijan%2Fblpconvert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mitjafelicijan","download_url":"https://codeload.github.com/mitjafelicijan/blpconvert/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246385414,"owners_count":20768672,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["blp","convert","decompress","dxt1","dxt3","dxt5","dxtc","png"],"created_at":"2025-02-06T03:54:13.919Z","updated_at":"2025-03-30T22:18:37.316Z","avatar_url":"https://github.com/mitjafelicijan.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Converts BLP textures to images\n\nThis tool converts images in BLP texture file format used in many games such as\nWorld of Warcraft into PNG files.\n\nIt works with DXT1, DXT3 and DXT5 compressions so it should convert anything\nfrom WoW.\n\n\u003e [!NOTE]\n\u003e It should work on all operating systems. There is no funky code in this\n\u003e repository or or any dependencies you need to have installed on your machine.\n\u003e C compiler and Libc is all you need.\n\n## Compile \u0026 Use\n\n```sh\nmake -B\n```\n\nThis will create `blpconvert` binary. Check available options with\n`./blpconvert -h`.\n\nBasic example of usage is `./blpconvert samples/Ability_Ambush.blp`.\n\nYou can provide multiple input files or you can also use Bash expansion when\nproviding files to the tool.\n\n```sh\n./blpconvert samples/*.blp\n```\n\nProgram supports exporting to the following formats:\n\n- PNG\n- BMP\n- JPG\n- TGA\n\n```sh\n./blpconvert -f bmp samples/Ability_Ambush.blp\n```\n\n\u003e [!IMPORTANT]\n\u003e By default it will use PNG but you can see use `-f` flag.\n\n## Verbose output\n\nIf you provide `-v` flag the program will output a bunch of diagnostical data.\n\n```sh\n$ ./blpconvert samples/Ability_Ambush.blp -v\nProcessing File:\n  Fullname: samples/Ability_Ambush.blp\n  Folder: samples\n  Filename: Ability_Ambush\n  Extension: .blp\n  Format: png\nBLP File Details:\n  Type: 1, BLP/DXTC/Uncompressed\n  Compression: 2, DXTC\n  Alpha Depth: 8\n  Alpha Type: 1\n  Has Mipmaps: 17\n  Width: 64, Height: 64\nReading image data at offset 1172, size 4096 bytes\nBLP is compressed with DXTC.\nImage has 4096 bytes.\nSaving decoded image as PNG...\nSuccessfully saved samples/Ability_Ambush.png\n\nFirst few pixels of decoded image (RGBA format):\n(  0,  0,  0,  0) (  0,  0,  0,  0) (  0,  0,  0,  0) (  0,  0,  0,  0)\n(  0,  0,  0,  0) (  0,  0,  0,  0) (  0,  0,  0,  0) (  0,  0,  0,  0)\n(  0,  0,  0,  0) (  0,  0,  0,  0) (  0,  0,  0, 51) (184,200,200,221)\n(  0,  0,  0,  0) (  0,  0,  0,  0) (184,200,200,221) (184,200,200,255)\n```\n\n## Reading material\n\n- https://wowwiki-archive.fandom.com/wiki/BLP_file\n- https://en.wikipedia.org/wiki/S3_Texture_Compression\n- https://wowdev.wiki/BLP\n\n## Special thanks\n\n- https://github.com/nothings/stb\n\n## License\n\n[blpconvert](https://github.com/mitjafelicijan/blpconvert) was written by [Mitja\nFelicijan](https://mitjafelicijan.com) and is released under the BSD\ntwo-clause license, see the LICENSE file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitjafelicijan%2Fblpconvert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmitjafelicijan%2Fblpconvert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitjafelicijan%2Fblpconvert/lists"}