{"id":37141185,"url":"https://github.com/nielsad/gowarcraft3","last_synced_at":"2026-01-14T16:33:19.441Z","repository":{"id":57517016,"uuid":"127608722","full_name":"nielsAD/gowarcraft3","owner":"nielsAD","description":"GoWarcraft3 provides a set of go packages and utilities that ease working with Warcraft III protocols and file formats.","archived":false,"fork":false,"pushed_at":"2023-03-18T14:07:58.000Z","size":1305,"stargazers_count":63,"open_issues_count":0,"forks_count":19,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-19T21:05:30.040Z","etag":null,"topics":["bncs","go","w3g","w3gs","w3x","warcraft3"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nielsAD.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":"2018-04-01T07:49:19.000Z","updated_at":"2024-04-15T09:49:07.000Z","dependencies_parsed_at":"2024-06-18T20:04:28.775Z","dependency_job_id":"79ba7e83-75fb-4fa1-863c-c6e439eef6d0","html_url":"https://github.com/nielsAD/gowarcraft3","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/nielsAD/gowarcraft3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nielsAD%2Fgowarcraft3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nielsAD%2Fgowarcraft3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nielsAD%2Fgowarcraft3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nielsAD%2Fgowarcraft3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nielsAD","download_url":"https://codeload.github.com/nielsAD/gowarcraft3/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nielsAD%2Fgowarcraft3/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28426068,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T16:32:27.303Z","status":"ssl_error","status_checked_at":"2026-01-14T16:28:36.419Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bncs","go","w3g","w3gs","w3x","warcraft3"],"created_at":"2026-01-14T16:33:18.661Z","updated_at":"2026-01-14T16:33:19.434Z","avatar_url":"https://github.com/nielsAD.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"GoWarcraft3\n===========\n[![Build Status](https://github.com/nielsAD/gowarcraft3/actions/workflows/build.yml/badge.svg)](https://github.com/nielsAD/gowarcraft3/actions)\n[![GoDoc](https://godoc.org/github.com/nielsAD/gowarcraft3?status.svg)](https://godoc.org/github.com/nielsAD/gowarcraft3)\n[![License: MPL 2.0](https://img.shields.io/badge/License-MPL%202.0-brightgreen.svg)](https://opensource.org/licenses/MPL-2.0)\n\nThis library provides a set of go packages and command line utilities that implement Warcraft III protocols and file formats.\n\nTools\n-----\n\n|              Name            | Description |\n|------------------------------|-------------|\n|[capiclient](./cmd/capiclient)|A command-line interface for the official classic Battle.net chat API.|\n|[bncsclient](./cmd/bncsclient)|A mocked Warcraft III chat client that can be used to connect to BNCS servers.|\n|[w3gsclient](./cmd/w3gsclient)|A mocked Warcraft III game client that can be used to add dummy players to games.|\n|  [bncsdump](./cmd/bncsdump)  |A tool that decodes and dumps BNCS packets via pcap (on the wire or from a file).|\n|  [w3gsdump](./cmd/w3gsdump)  |A tool that decodes and dumps W3GS packets via pcap (on the wire or from a file).|\n|   [w3gdump](./cmd/w3gdump)   |A tool that decodes and dumps w3g/nwg files.|\n|   [w3mdump](./cmd/w3mdump)   |A tool that decodes and dumps w3m/w3x files.|\n\n### Download\n\nOfficial binaries for tools are [available](https://github.com/nielsAD/gowarcraft3/releases/latest). Simply download and run.\n\n_Note: additional dependencies may be required (see [build](#build))._\n\n### Build\n\n```bash\n# Linux dependencies\napt-get install --no-install-recommends -y build-essential cmake git golang-go libgmp-dev libbz2-dev zlib1g-dev libpcap-dev\n\n# OSX dependencies\nbrew install cmake git go gmp bzip2 zlib libpcap\n\n# Windows dependencies (use MSYS2 -- https://www.msys2.org/)\npacman --needed --noconfirm -S git mingw-w64-x86_64-toolchain mingw-w64-x86_64-go mingw-w64-x86_64-cmake\n\n# Download third party submodules\ngit submodule update --init --recursive\n\n# Run tests\nmake test\n\n# Build release files in ./bin/\nmake release\n```\n\nPackages\n--------\n\n|      Name      | Description |\n|----------------|-------------|\n|`file`          |Package `file` implements common utilities for handling Warcraft III file formats.|\n|`file/blp`      |Package `blp` is a BLIzzard Picture image format decoder.|\n|`file/fs`       |Package `fs` implements Warcraft III file system utilities.|\n|`file/mpq`      |Package `mpq` provides golang bindings to the StormLib library to read MPQ archives.|\n|`file/reg`      |Package `reg` implements cross-platform registry utilities for Warcraft III.|\n|`file/w3g`      |Package `w3g` implements a decoder and encoder for w3g files.|\n|`file/w3m`      |Package `w3m` implements basic information extraction functions for w3m/w3x files.|\n|`network`       |Package `network` implements common utilities for higher-level (emulated) Warcraft III network components.|\n|`network/chat`  |Package `chat` implements the official classic Battle.net chat API.|\n|`network/bnet*` |Package `bnet` implements a mocked BNCS client that can be used to interact with BNCS servers.|\n|`network/dummy` |Package `dummy` implements a mocked Warcraft III game client that can be used to add dummy players to lobbies.|\n|`network/lan`   |Package `lan` implements a mocked Warcraft III LAN client that can be used to discover local games.|\n|`network/lobby` |Package `lobby` implements a mocked Warcraft III game server that can be used to host lobbies.|\n|`network/peer`  |Package `peer` implements a mocked Warcraft III client that can be used to manage peer connections in lobbies.|\n|`protocol`      |Package `protocol` implements common utilities for Warcraft III network protocols.|\n|`protocol/capi` |Package `capi` implements the datastructures for the official classic Battle.net chat API.|\n|`protocol/bncs*`|Package `bncs` implements the old Battle.net chat protocol for Warcraft III.|\n|`protocol/w3gs` |Package `w3gs` implements the game protocol for Warcraft III.|\n\n**\\*note:** BNCS/BNet protocol works up until patch 1.32.\n\n### Download\n\n```bash\ngo get github.com/nielsAD/gowarcraft3/${PACKAGE_NAME}\n```\n\n### Import\n\n```go\nimport (\n    \"github.com/nielsAD/gowarcraft3/${PACKAGE_NAME}\"\n)\n```\n\n_Note: additional dependencies may be required (see [build](#build))._\n\n### Documentation\n\nDocumentation is available on [godoc.org](https://godoc.org/github.com/nielsAD/gowarcraft3)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnielsad%2Fgowarcraft3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnielsad%2Fgowarcraft3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnielsad%2Fgowarcraft3/lists"}