wc3maptranslator 4.0.0 → 4.0.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.
Files changed (118) hide show
  1. package/LICENSE.md +23 -23
  2. package/dist/AngleConverter.d.ts +3 -0
  3. package/dist/AngleConverter.d.ts.map +1 -0
  4. package/dist/AngleConverter.js +12 -0
  5. package/dist/AngleConverter.js.map +1 -0
  6. package/dist/CommonInterfaces.d.ts +17 -0
  7. package/dist/CommonInterfaces.d.ts.map +1 -0
  8. package/dist/CommonInterfaces.js +3 -0
  9. package/dist/CommonInterfaces.js.map +1 -0
  10. package/dist/HexBuffer.d.ts +15 -0
  11. package/dist/HexBuffer.d.ts.map +1 -0
  12. package/{lib/HexBuffer.ts → dist/HexBuffer.js} +71 -81
  13. package/dist/HexBuffer.js.map +1 -0
  14. package/dist/W3Buffer.d.ts +14 -0
  15. package/dist/W3Buffer.d.ts.map +1 -0
  16. package/{lib/W3Buffer.ts → dist/W3Buffer.js} +63 -69
  17. package/dist/W3Buffer.js.map +1 -0
  18. package/dist/index.d.ts +3 -0
  19. package/dist/index.d.ts.map +1 -0
  20. package/{index.js → dist/index.js} +1 -1
  21. package/dist/index.js.map +1 -0
  22. package/dist/translators/CamerasTranslator.d.ts +23 -0
  23. package/dist/translators/CamerasTranslator.d.ts.map +1 -0
  24. package/{lib/translators/CamerasTranslator.ts → dist/translators/CamerasTranslator.js} +76 -101
  25. package/dist/translators/CamerasTranslator.js.map +1 -0
  26. package/dist/translators/DoodadsTranslator.d.ts +23 -0
  27. package/dist/translators/DoodadsTranslator.d.ts.map +1 -0
  28. package/{lib/translators/DoodadsTranslator.ts → dist/translators/DoodadsTranslator.js} +146 -178
  29. package/dist/translators/DoodadsTranslator.js.map +1 -0
  30. package/dist/translators/ImportsTranslator.d.ts +16 -0
  31. package/dist/translators/ImportsTranslator.d.ts.map +1 -0
  32. package/{lib/translators/ImportsTranslator.ts → dist/translators/ImportsTranslator.js} +62 -78
  33. package/dist/translators/ImportsTranslator.js.map +1 -0
  34. package/dist/translators/InfoTranslator.d.ts +124 -0
  35. package/dist/translators/InfoTranslator.d.ts.map +1 -0
  36. package/{lib/translators/InfoTranslator.ts → dist/translators/InfoTranslator.js} +422 -584
  37. package/dist/translators/InfoTranslator.js.map +1 -0
  38. package/dist/translators/ObjectsTranslator.d.ts +23 -0
  39. package/dist/translators/ObjectsTranslator.d.ts.map +1 -0
  40. package/{lib/translators/ObjectsTranslator.ts → dist/translators/ObjectsTranslator.js} +91 -125
  41. package/dist/translators/ObjectsTranslator.js.map +1 -0
  42. package/dist/translators/RegionsTranslator.d.ts +22 -0
  43. package/dist/translators/RegionsTranslator.d.ts.map +1 -0
  44. package/{lib/translators/RegionsTranslator.ts → dist/translators/RegionsTranslator.js} +96 -123
  45. package/dist/translators/RegionsTranslator.js.map +1 -0
  46. package/dist/translators/SoundsTranslator.d.ts +35 -0
  47. package/dist/translators/SoundsTranslator.d.ts.map +1 -0
  48. package/{lib/translators/SoundsTranslator.ts → dist/translators/SoundsTranslator.js} +183 -237
  49. package/dist/translators/SoundsTranslator.js.map +1 -0
  50. package/dist/translators/StringsTranslator.d.ts +7 -0
  51. package/dist/translators/StringsTranslator.d.ts.map +1 -0
  52. package/{lib/translators/StringsTranslator.ts → dist/translators/StringsTranslator.js} +44 -49
  53. package/dist/translators/StringsTranslator.js.map +1 -0
  54. package/dist/translators/TerrainTranslator.d.ts +33 -0
  55. package/dist/translators/TerrainTranslator.d.ts.map +1 -0
  56. package/{lib/translators/TerrainTranslator.ts → dist/translators/TerrainTranslator.js} +221 -276
  57. package/dist/translators/TerrainTranslator.js.map +1 -0
  58. package/dist/translators/UnitsTranslator.d.ts +40 -0
  59. package/dist/translators/UnitsTranslator.d.ts.map +1 -0
  60. package/{lib/translators/UnitsTranslator.ts → dist/translators/UnitsTranslator.js} +199 -261
  61. package/dist/translators/UnitsTranslator.js.map +1 -0
  62. package/{lib/translators/index.ts → dist/translators/index.d.ts} +11 -10
  63. package/dist/translators/index.d.ts.map +1 -0
  64. package/dist/translators/index.js +23 -0
  65. package/dist/translators/index.js.map +1 -0
  66. package/package.json +4 -2
  67. package/.codeclimate.yml +0 -12
  68. package/.editorconfig +0 -8
  69. package/.eslintignore +0 -5
  70. package/.eslintrc +0 -55
  71. package/.github/workflows/codeql-analysis.yml +0 -54
  72. package/.nycrc +0 -18
  73. package/.travis.yml +0 -23
  74. package/CHANGELOG.md +0 -73
  75. package/index.ts +0 -14
  76. package/lib/AngleConverter.ts +0 -7
  77. package/lib/CommonInterfaces.ts +0 -22
  78. package/test/.mocharc.json +0 -4
  79. package/test/AngleConverterTest.ts +0 -18
  80. package/test/HexBufferTest.ts +0 -170
  81. package/test/TranslatorReversion.ts +0 -218
  82. package/test/W3BufferTest.ts +0 -50
  83. package/test/data/cameras.json +0 -16
  84. package/test/data/doodads.json +0 -2730
  85. package/test/data/imports.json +0 -386
  86. package/test/data/info.json +0 -250
  87. package/test/data/obj-abilities.json +0 -4892
  88. package/test/data/obj-buffs.json +0 -38
  89. package/test/data/obj-destructables.json +0 -31
  90. package/test/data/obj-doodads.json +0 -38
  91. package/test/data/obj-items.json +0 -31
  92. package/test/data/obj-units.json +0 -40
  93. package/test/data/obj-upgrades.json +0 -38
  94. package/test/data/regions.json +0 -206
  95. package/test/data/sounds.json +0 -50
  96. package/test/data/strings.json +0 -115
  97. package/test/data/terrain.json +0 -1
  98. package/test/data/units.json +0 -452
  99. package/test/data/war3map.doo +0 -0
  100. package/test/data/war3map.imp +0 -0
  101. package/test/data/war3map.j +0 -3442
  102. package/test/data/war3map.shd +0 -0
  103. package/test/data/war3map.w3a +0 -0
  104. package/test/data/war3map.w3b +0 -0
  105. package/test/data/war3map.w3c +0 -0
  106. package/test/data/war3map.w3d +0 -0
  107. package/test/data/war3map.w3e +0 -0
  108. package/test/data/war3map.w3h +0 -0
  109. package/test/data/war3map.w3i +0 -0
  110. package/test/data/war3map.w3q +0 -0
  111. package/test/data/war3map.w3r +0 -0
  112. package/test/data/war3map.w3s +0 -0
  113. package/test/data/war3map.w3t +0 -0
  114. package/test/data/war3map.w3u +0 -0
  115. package/test/data/war3map.wts +0 -631
  116. package/test/data/war3mapUnits.doo +0 -0
  117. package/tsconfig.json +0 -25
  118. package/tslint.json +0 -47
@@ -1,123 +1,96 @@
1
- import { HexBuffer } from '../HexBuffer';
2
- import { W3Buffer } from '../W3Buffer';
3
- import { WarResult, JsonResult } from '../CommonInterfaces'
4
-
5
- interface Region {
6
- position: Rect;
7
- name: string;
8
- id: number;
9
- weatherEffect: string;
10
- ambientSound: string;
11
- color: number[];
12
- }
13
-
14
- interface Rect {
15
- left: number;
16
- bottom: number;
17
- right: number;
18
- top: number;
19
- }
20
-
21
- export abstract class RegionsTranslator {
22
-
23
- public static jsonToWar(regionsJson: Region[]): WarResult {
24
- const outBufferToWar = new HexBuffer();
25
-
26
- /*
27
- * Header
28
- */
29
- outBufferToWar.addInt(5); // file version
30
- outBufferToWar.addInt(regionsJson.length); // number of regions
31
-
32
- /*
33
- * Body
34
- */
35
- regionsJson.forEach((region) => {
36
- // Position
37
- // Note that the .w3x guide has these coords wrong - the guide swaps bottom and right, but this is incorrect; bottom should be written before right
38
- outBufferToWar.addFloat(region.position.left);
39
- outBufferToWar.addFloat(region.position.bottom);
40
- outBufferToWar.addFloat(region.position.right);
41
- outBufferToWar.addFloat(region.position.top);
42
-
43
- outBufferToWar.addString(region.name);
44
- outBufferToWar.addInt(region.id);
45
-
46
- // Weather effect name - lookup necessary: char[4]
47
- if (region.weatherEffect) {
48
- outBufferToWar.addChars(region.weatherEffect); // Weather effect is optional - defaults to 0000 for "none"
49
- } else {
50
- // We can't put a string "0000", because ASCII 0's differ from 0x0 bytes
51
- outBufferToWar.addByte(0);
52
- outBufferToWar.addByte(0);
53
- outBufferToWar.addByte(0);
54
- outBufferToWar.addByte(0);
55
- }
56
-
57
- // Ambient sound - refer to names defined in .w3s file
58
- outBufferToWar.addString(region.ambientSound || ''); // May be empty string
59
-
60
- // Color of region used by editor
61
- // Careful! The order in .w3r is BB GG RR, whereas the JSON spec order is [RR, GG, BB]
62
- outBufferToWar.addByte(region.color[2]); // blue
63
- outBufferToWar.addByte(region.color[1]); // green
64
- outBufferToWar.addByte(region.color[0]); // red
65
-
66
- // End of structure - for some reason the .w3r needs this here;
67
- // Value is set to 0xff based on observing the .w3r file, but not sure if it could be something else
68
- outBufferToWar.addByte(0xff);
69
- });
70
-
71
- return {
72
- errors: [],
73
- buffer: outBufferToWar.getBuffer()
74
- };
75
- }
76
-
77
- public static warToJson(buffer: Buffer): JsonResult<Region[]> {
78
- const result = [];
79
- const outBufferToJSON = new W3Buffer(buffer);
80
-
81
- const fileVersion = outBufferToJSON.readInt(), // File version
82
- numRegions = outBufferToJSON.readInt(); // # of regions
83
-
84
- for (let i = 0; i < numRegions; i++) {
85
- const region: Region = {
86
- name: '',
87
- id: 0,
88
- weatherEffect: '',
89
- ambientSound: '',
90
- color: [0, 0, 0],
91
- position: {
92
- left: 0,
93
- bottom: 0,
94
- right: 0,
95
- top: 0
96
- }
97
- };
98
-
99
- region.position.left = outBufferToJSON.readFloat();
100
- region.position.bottom = outBufferToJSON.readFloat();
101
- region.position.right = outBufferToJSON.readFloat();
102
- region.position.top = outBufferToJSON.readFloat();
103
- region.name = outBufferToJSON.readString();
104
- region.id = outBufferToJSON.readInt();
105
- region.weatherEffect = outBufferToJSON.readChars(4);
106
- region.ambientSound = outBufferToJSON.readString();
107
- region.color = [
108
- outBufferToJSON.readByte(), // red
109
- outBufferToJSON.readByte(), // green
110
- outBufferToJSON.readByte() // blue
111
- ];
112
- region.color.reverse(); // json wants it in RGB, but .w3r file stores it as BB GG RR
113
- outBufferToJSON.readByte(); // end of region structure
114
-
115
- result.push(region);
116
- }
117
-
118
- return {
119
- errors: [],
120
- json: result
121
- };
122
- }
123
- }
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RegionsTranslator = void 0;
4
+ const HexBuffer_1 = require("../HexBuffer");
5
+ const W3Buffer_1 = require("../W3Buffer");
6
+ class RegionsTranslator {
7
+ static jsonToWar(regionsJson) {
8
+ const outBufferToWar = new HexBuffer_1.HexBuffer();
9
+ /*
10
+ * Header
11
+ */
12
+ outBufferToWar.addInt(5); // file version
13
+ outBufferToWar.addInt(regionsJson.length); // number of regions
14
+ /*
15
+ * Body
16
+ */
17
+ regionsJson.forEach((region) => {
18
+ // Position
19
+ // Note that the .w3x guide has these coords wrong - the guide swaps bottom and right, but this is incorrect; bottom should be written before right
20
+ outBufferToWar.addFloat(region.position.left);
21
+ outBufferToWar.addFloat(region.position.bottom);
22
+ outBufferToWar.addFloat(region.position.right);
23
+ outBufferToWar.addFloat(region.position.top);
24
+ outBufferToWar.addString(region.name);
25
+ outBufferToWar.addInt(region.id);
26
+ // Weather effect name - lookup necessary: char[4]
27
+ if (region.weatherEffect) {
28
+ outBufferToWar.addChars(region.weatherEffect); // Weather effect is optional - defaults to 0000 for "none"
29
+ }
30
+ else {
31
+ // We can't put a string "0000", because ASCII 0's differ from 0x0 bytes
32
+ outBufferToWar.addByte(0);
33
+ outBufferToWar.addByte(0);
34
+ outBufferToWar.addByte(0);
35
+ outBufferToWar.addByte(0);
36
+ }
37
+ // Ambient sound - refer to names defined in .w3s file
38
+ outBufferToWar.addString(region.ambientSound || ''); // May be empty string
39
+ // Color of region used by editor
40
+ // Careful! The order in .w3r is BB GG RR, whereas the JSON spec order is [RR, GG, BB]
41
+ outBufferToWar.addByte(region.color[2]); // blue
42
+ outBufferToWar.addByte(region.color[1]); // green
43
+ outBufferToWar.addByte(region.color[0]); // red
44
+ // End of structure - for some reason the .w3r needs this here;
45
+ // Value is set to 0xff based on observing the .w3r file, but not sure if it could be something else
46
+ outBufferToWar.addByte(0xff);
47
+ });
48
+ return {
49
+ errors: [],
50
+ buffer: outBufferToWar.getBuffer()
51
+ };
52
+ }
53
+ static warToJson(buffer) {
54
+ const result = [];
55
+ const outBufferToJSON = new W3Buffer_1.W3Buffer(buffer);
56
+ const fileVersion = outBufferToJSON.readInt(), // File version
57
+ numRegions = outBufferToJSON.readInt(); // # of regions
58
+ for (let i = 0; i < numRegions; i++) {
59
+ const region = {
60
+ name: '',
61
+ id: 0,
62
+ weatherEffect: '',
63
+ ambientSound: '',
64
+ color: [0, 0, 0],
65
+ position: {
66
+ left: 0,
67
+ bottom: 0,
68
+ right: 0,
69
+ top: 0
70
+ }
71
+ };
72
+ region.position.left = outBufferToJSON.readFloat();
73
+ region.position.bottom = outBufferToJSON.readFloat();
74
+ region.position.right = outBufferToJSON.readFloat();
75
+ region.position.top = outBufferToJSON.readFloat();
76
+ region.name = outBufferToJSON.readString();
77
+ region.id = outBufferToJSON.readInt();
78
+ region.weatherEffect = outBufferToJSON.readChars(4);
79
+ region.ambientSound = outBufferToJSON.readString();
80
+ region.color = [
81
+ outBufferToJSON.readByte(),
82
+ outBufferToJSON.readByte(),
83
+ outBufferToJSON.readByte() // blue
84
+ ];
85
+ region.color.reverse(); // json wants it in RGB, but .w3r file stores it as BB GG RR
86
+ outBufferToJSON.readByte(); // end of region structure
87
+ result.push(region);
88
+ }
89
+ return {
90
+ errors: [],
91
+ json: result
92
+ };
93
+ }
94
+ }
95
+ exports.RegionsTranslator = RegionsTranslator;
96
+ //# sourceMappingURL=RegionsTranslator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RegionsTranslator.js","sourceRoot":"","sources":["../../src/translators/RegionsTranslator.ts"],"names":[],"mappings":";;;AAAA,4CAAyC;AACzC,0CAAuC;AAmBvC,MAAsB,iBAAiB;IAE5B,MAAM,CAAC,SAAS,CAAC,WAAqB;QACzC,MAAM,cAAc,GAAG,IAAI,qBAAS,EAAE,CAAC;QAEvC;;WAEG;QACH,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,eAAe;QACzC,cAAc,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,oBAAoB;QAE/D;;WAEG;QACH,WAAW,CA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EAAE,CAAC;YAC3C,MAAM,CAAC,EAAE,GAAG,eAAe,CAAC,OAAO,EAAE,CAAC;YACtC,MAAM,CAAC,aAAa,GAAG,eAAe,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;YACpD,MAAM,CAAC,YAAY,GAAG,eAAe,CAAC,UAAU,EAAE,CAAC;YACnD,MAAM,CAAC,KAAK,GAAG;gBACX,eAAe,CAAC,QAAQ,EAAE;gBAC1B,eAAe,CAAC,QAAQ,EAAE;gBAC1B,eAAe,CAAC,QAAQ,EAAE,CAAC,OAAO;aACrC,CAAC;YACF,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC,4DAA4D;YACpF,eAAe,CAAC,QAAQ,EAAE,CAAC,CAAC,0BAA0B;YAEtD,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;SACvB;QAED,OAAO;YACH,MAAM,EAAE,EAAE;YACV,IAAI,EAAE,MAAM;SACf,CAAC;IACN,CAAC;CACJ;AAtGD,8CAsGC"}
@@ -0,0 +1,35 @@
1
+ /// <reference types="node" />
2
+ import { WarResult, JsonResult } from '../CommonInterfaces';
3
+ interface Sound {
4
+ name: string;
5
+ variableName: string;
6
+ path: string;
7
+ eax: string;
8
+ flags: SoundFlags;
9
+ fadeRate: FadeRate;
10
+ volume: number;
11
+ pitch: number;
12
+ channel: number;
13
+ distance: Distance;
14
+ }
15
+ interface FadeRate {
16
+ in: number;
17
+ out: number;
18
+ }
19
+ interface SoundFlags {
20
+ looping: boolean;
21
+ '3dSound': boolean;
22
+ stopOutOfRange: boolean;
23
+ music: boolean;
24
+ }
25
+ interface Distance {
26
+ min: number;
27
+ max: number;
28
+ cutoff: number;
29
+ }
30
+ export declare abstract class SoundsTranslator {
31
+ static jsonToWar(soundsJson: Sound[]): WarResult;
32
+ static warToJson(buffer: Buffer): JsonResult<Sound[]>;
33
+ }
34
+ export {};
35
+ //# sourceMappingURL=SoundsTranslator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SoundsTranslator.d.ts","sourceRoot":"","sources":["../../src/translators/SoundsTranslator.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAE3D,UAAU,KAAK;IACX,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,UAAU,CAAC;IAClB,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,QAAQ,CAAC;CACtB;AAED,UAAU,QAAQ;IACd,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;CACf;AAED,UAAU,UAAU;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,cAAc,EAAE,OAAO,CAAC;IACxB,KAAK,EAAE,OAAO,CAAC;CAClB;AAED,UAAU,QAAQ;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,8BAAsB,gBAAgB;WAEpB,SAAS,CAAC,UAAU,EAAE,KAAK,EAAE,GAAG,SAAS;WAyGzC,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC;CA8F/D"}