Scan your whole stack
From OX Research Newsroom
Are you using wc3files?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.8.0
wc3files was last scanned on 27 Nov 2026 at version 0.8.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.8.0 LATEST | 27 Nov 2026 | No rules fired |
| 0.7.0 | 26 Nov 2026 | No rules fired |
| 0.6.4 | 25 Nov 2026 | No rules fired |
| 0.6.3 | 25 Nov 2026 | Not shown |
| 0.6.2 | 25 Nov 2026 | Not shown |
Findings for v0.8.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.8.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Warcraft III maps files reader and writer for Python
A Python library for reading and writing various Warcraft III file formats. This library allows you to work with map files, object data, regions, replays, and more.
pip install wc3files
A conda-forge package is in review and not published yet.
Python 3.10 or newer. Pure Python - no compiler, and no StormLib or game install needed. The only dependency is loguru.
Full documentation lives in docs/:
wc3files command and every subcommand--game-datawc3files-mcp, which lets an AI assistant such as Claude read your maps, models and replaysWhat changed in each release is in CHANGELOG.md.
war3map.j of a whole mapwc3files vjass war3map.j -o compiled.j, or VJassCompiler().compile_file(...) from Pythonwc3files ui-build ui.json --map MyMap.w3x --out MyMap.ui.w3xpip install "wc3files[mcp]", then wc3files-mcp --root D:/Maps: read-only tools for an AI assistant such as Claude (map info, members, object data, trigger text, script checks, models, replays)--allow-write, edits maps too, writing each result as a new map: object data, placed units and doodads, regions, cameras, strings, the script and imported files//! external calls and Lua //! externalblock blocks of a vJass map (ObjectMerger, FileImporter, FileExporter, ConstantMerger), as the World Editor does when saving.j line they come fromwc3files lua script.luawar3map.lua against the game API (undefined globals, missing FourCC, wrong argument counts and types): wc3files jass war3map.lua --checkwc3files run-map MyMap.w3x; translate JASS to Lua with wc3files jass war3map.j --to-luaThese examples are run by the test suite (tests/test_readme.py), on the
checked-in sample files, so they stay correct.
from wc3files import W3xFile, W3iFile
# Read a map: every member it lists, by name, as bytes.
archive = W3xFile()
archive.read("MyMap.w3x")
print(sorted(archive.files))
# Parse a member, change it, and put it back, all in memory.
info = W3iFile()
info.read(archive.files["war3map.w3i"])
info.get_data()["map_name"] = "My edited map"
archive.files["war3map.w3i"] = info.to_bytes()
# Raw bytes can be changed too. Then build the map again.
script = archive.files["war3map.j"]
archive.files["war3map.j"] = script + b"// edited with wc3files\r\n"
archive.build_from_files(archive.files, "MyMap.edited.w3x")
from wc3files.mpq import MpqFile
mpq = MpqFile()
mpq.read("MyMap.w3x") # .mpq, .w3x, .w3m and .w3n
mpq.read_files()
for name, data in mpq.files.items():
print(name, len(data or b""))
from wc3files.w3o import ObjectFile
units = ObjectFile()
units.read("war3map.w3u")
tables = units.export_data()["w3u"]
for table in ("original", "custom"):
for object_id, fields in tables[table].items():
print(table, object_id, sorted(code for code in fields if code != "ID"))
from wc3files.w3r import RegionFile
regions = RegionFile()
regions.read("war3map.w3r")
for region in regions.get_regions().values():
print(region.name, (region.left, region.bottom), (region.right, region.top))
from wc3files.w3g import ReplayFile
replay = ReplayFile()
replay.read("replay.w3g")
data = replay.get_data()
game = data["compressed_data"]
print(game["MapName"], game["GameName"], data["header"]["sub"]["version_number"])
wc3files stands on the work of the Warcraft III modding community. The projects below are either bundled with it, ported into it, or were followed or checked against while writing it. Where a module took something from one of them, its docstring says what.
common.j, blizzard.j, common.ai, and the SLK and TXT game tables under w3o/gamedata/ are copies of the game's own files, used so that maps can be read without an installed game. Warcraft III and its data belong to Blizzard Entertainment.TriggerData.txt, itself derived from Blizzard's UI/TriggerData.txt.img/gamedata/borders/.w3g_actions.txt v1.01 (2006, w3g.deepnode.de).mpq/compression.py are ports of its huff.cpp and adpcm.cpp. Its source comments were also the reference for the hash table probing and for what protected maps do to an archive.These were reimplemented from their documentation and behaviour. wc3files contains none of their code.
//! external tools (ObjectMerger, FileImporter, FileExporter, ConstantMerger).The parsers were cross-checked against these, field by field, and every disagreement was settled against real map files:
If your work should be on this list and is not, please open an issue.
This project is licensed under the MIT License - see the LICENSE file for details. The bundled data above keeps its own terms.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.