{"_id":"@dada78641/bwmapgfx","name":"@dada78641/bwmapgfx","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@dada78641/bwmapgfx","description":"Collection of map graphics from StarCraft: Brood War for programming use","version":"0.0.1","type":"module","main":"dist/index.cjs","module":"dist/index.js","types":"dist/index.d.ts","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/msikma/bwmapgfx.git"},"scripts":{"build":"tsup"},"keywords":[],"author":"","license":"SEE LICENSE IN copyright.md","devDependencies":{"@types/node":"^22.8.1","tsup":"^8.3.5","typescript":"^5.6.3"},"_id":"@dada78641/bwmapgfx@0.0.1","gitHead":"997130ec718841ef74e0aafe29a193aa66bec975","bugs":{"url":"https://github.com/msikma/bwmapgfx/issues"},"homepage":"https://github.com/msikma/bwmapgfx#readme","_nodeVersion":"22.9.0","_npmVersion":"10.8.3","dist":{"integrity":"sha512-cpgjuwQDAhEcHpyqvvHi1ObfUUtUiliuv9sdDqdkrDm0Ht8DvqlornnYK9nbUsW/wiMPjKx+s6AxlWL2daJEsg==","shasum":"c0b094e439767e9a7901427ba22b62c719ebb699","tarball":"https://registry.npmjs.org/@dada78641/bwmapgfx/-/bwmapgfx-0.0.1.tgz","fileCount":521,"unpackedSize":41057767,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUZjD2WKruO6Bk35rFjpkl1nJwvstK2vOewdIhRDs1ngIgCxhK2XouvbUl9pit/k3PYGMkP/Bdx/w7Eb2lGg1yYj8="}]},"_npmUser":{"name":"dada78641","email":"dada78641.exe@gmail.com"},"directories":{},"maintainers":[{"name":"dada78641","email":"dada78641.exe@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bwmapgfx_0.0.1_1730049013226_0.10478903247348637"},"_hasShrinkwrap":false}},"time":{"created":"2024-10-27T17:10:13.119Z","0.0.1":"2024-10-27T17:10:13.683Z","modified":"2024-10-27T17:10:13.947Z"},"maintainers":[{"name":"dada78641","email":"dada78641.exe@gmail.com"}],"description":"Collection of map graphics from StarCraft: Brood War for programming use","homepage":"https://github.com/msikma/bwmapgfx#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/msikma/bwmapgfx.git"},"bugs":{"url":"https://github.com/msikma/bwmapgfx/issues"},"license":"SEE LICENSE IN copyright.md","readme":"# @dada78641/bwmapgfx\n\nContains the **StarCraft: Brood War** map graphics used for generating screenshots of **maps** (.scm, .scx) and **replays** (.rep).\n\nOnly the old style pixel art graphics are included, but any valid map or replay is properly supported including Remastered era maps.\n\n> [!CAUTION]\n> These files are the property of Blizzard Entertainment and are provided for convenience reasons only.\n>\n> Only files part of the free-to-play version are included.\n\n## Usage\n\nWhat you'll want to do is load these graphics using [bw-chk](https://github.com/ShieldBattery/bw-chk) by passing in the base directory.\n\n```ts\nimport {getBwGraphicsPath} from '@dada78641/bwmapgfx'\nimport Chk from 'bw-chk'\n\nconst graphicsPath = getBwGraphicsPath() // e.g. \"/home/me/MyProject/node_modules/bwmapgfx/resources\"\n\nconst graphicsObj = Chk.fsFileAccess(graphicsPath)\n```\n\n## Included files\n\nThe following files are included:\n\n* all files listed in [units.js](https://github.com/ShieldBattery/bw-chk/blob/master/units.js) and [sprites.js](https://github.com/ShieldBattery/bw-chk/blob/master/sprites.js) files from [bw-chk](https://github.com/ShieldBattery/bw-chk);\n* for all tilesets `['badlands', 'platform', 'install', 'ashworld', 'jungle', 'desert', 'ice', 'twilight']`, all files of extension `['.cv5', '.vx4', '.vr4', '.wpe', '.vx4ex']`.\n\nFor compatibility reasons, all filenames have been changed to lowercase (as required by [bw-chk](https://github.com/ShieldBattery/bw-chk)).\n\n## Links\n\n* Download the [StarCraft map graphics](https://archive.org/details/StarCraftMapGraphics) as a .zip file (as alternative to using this module)\n* [StarCraft: Remastered website](https://starcraft.blizzard.com/)\n\n## Copyright\n\n© 1998-2017 Blizzard Entertainment, Inc.\n","readmeFilename":"readme.md"}