@jamiephan/casclib 0.0.0-dev.2 → 0.0.0-dev.4
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
CHANGED
|
@@ -4,13 +4,13 @@ Node.js native bindings for [CascLib](https://github.com/ladislav-zezula/CascLib
|
|
|
4
4
|
|
|
5
5
|
## Features
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
7
|
+
- Read CASC storage archives (local and online)
|
|
8
|
+
- Extract files from modern Blizzard games
|
|
9
|
+
- TypeScript support with full type definitions
|
|
10
|
+
- Cross-platform (Windows, Linux)
|
|
11
|
+
- Both CommonJS and ES Module support
|
|
12
|
+
- High-level wrapper API for ease of use
|
|
13
|
+
- Low-level bindings for advanced usage
|
|
14
14
|
|
|
15
15
|
## Supported Games
|
|
16
16
|
|
|
@@ -113,7 +113,7 @@ const storage = new Storage();
|
|
|
113
113
|
// Windows - Basic usage with cache folder and product code
|
|
114
114
|
storage.openOnline('C:/Temp/CASC/Cache*hero');
|
|
115
115
|
|
|
116
|
-
// Linux
|
|
116
|
+
// Linux - Basic usage
|
|
117
117
|
storage.openOnline('/tmp/casc/cache*hero');
|
|
118
118
|
|
|
119
119
|
// With CDN server specified
|
|
@@ -238,7 +238,7 @@ Opens an online CASC storage.
|
|
|
238
238
|
- `path`: Connection string in the format: `local_cache_folder[*cdn_server_url]*code_name[*region]`
|
|
239
239
|
- `local_cache_folder`: Local cache directory for downloaded game data (reusable across runs)
|
|
240
240
|
- Windows: `C:/Temp/CASC/Cache`
|
|
241
|
-
- Linux
|
|
241
|
+
- Linux: `/tmp/casc/cache`
|
|
242
242
|
- `cdn_server_url`: Optional CDN server URL (e.g., `http://us.patch.battle.net:1119`). If omitted, uses default CDN
|
|
243
243
|
- `code_name`: TACT product code - see [TACT documentation](https://wowdev.wiki/TACT) for available codes
|
|
244
244
|
- Examples: `hero` (Heroes of the Storm), `wow` (World of Warcraft), `s2` (StarCraft II), `d3` (Diablo III)
|
|
@@ -250,7 +250,7 @@ Opens an online CASC storage.
|
|
|
250
250
|
// Windows - Minimal format: cache folder and product code
|
|
251
251
|
storage.openOnline('C:/Temp/CASC/Cache*hero');
|
|
252
252
|
|
|
253
|
-
// Linux
|
|
253
|
+
// Linux - Minimal format
|
|
254
254
|
storage.openOnline('/tmp/casc/cache*hero');
|
|
255
255
|
|
|
256
256
|
// With CDN server specified
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|