@rhyster/wow-casc-dbc 2.12.0 → 2.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -53,6 +53,18 @@ const parser = await DBDParser.parse(reader);
|
|
|
53
53
|
// ...
|
|
54
54
|
```
|
|
55
55
|
|
|
56
|
+
If you download DB2 files from wago.tools, you need to set `detectIsZeroedByData` to let `WDCReader` detect the undecrypted blocks and ignore them.
|
|
57
|
+
|
|
58
|
+
```javascript
|
|
59
|
+
// ...
|
|
60
|
+
|
|
61
|
+
const file = await fs.readFile('/path/to/db2/file.db2');
|
|
62
|
+
const reader = new WDCReader(file, { detectIsZeroedByData: true });
|
|
63
|
+
const parser = await DBDParser.parse(reader);
|
|
64
|
+
|
|
65
|
+
// ...
|
|
66
|
+
```
|
|
67
|
+
|
|
56
68
|
### Hotfix
|
|
57
69
|
|
|
58
70
|
Applying hotfix requires `DBCache.bin` file from the client, and it seems the only way to get this is from the client. So, you need to search for `DBCache.bin` yourself, like `<WoWPath>/_retail_/Cache/ADB/enUS/DBCache.bin` or download it somewhere.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rhyster/wow-casc-dbc",
|
|
3
|
-
"version": "2.12.
|
|
3
|
+
"version": "2.12.2",
|
|
4
4
|
"description": "Fetch World of Warcraft data files from CASC and parse DBC/DB2 files.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"author": "Rhythm",
|
|
39
39
|
"license": "MIT",
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@rhyster/eslint-config": "^1.8.
|
|
41
|
+
"@rhyster/eslint-config": "^1.8.36",
|
|
42
42
|
"@types/async": "^3.2.25",
|
|
43
43
|
"@types/cli-progress": "^3.11.6",
|
|
44
|
-
"@types/node": "^24.
|
|
45
|
-
"eslint": "^9.39.
|
|
44
|
+
"@types/node": "^24.11.0",
|
|
45
|
+
"eslint": "^9.39.3",
|
|
46
46
|
"tsx": "^4.21.0",
|
|
47
47
|
"typescript": "^5.9.3",
|
|
48
48
|
"unbuild": "^3.6.1"
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"async": "^3.2.6",
|
|
52
52
|
"cli-progress": "^3.12.0"
|
|
53
53
|
},
|
|
54
|
-
"packageManager": "pnpm@10.
|
|
54
|
+
"packageManager": "pnpm@10.30.3"
|
|
55
55
|
}
|