@gmvjs/unreal3 0.1.0 → 0.1.1
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 +25 -19
- package/dist/games/ue3.js.map +1 -1
- package/dist/i18n.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
# @gmvjs/unreal3 — Unreal Engine 3,
|
|
1
|
+
# @gmvjs/unreal3 — Unreal Engine 3, via PSK export
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.patreon.com/cw/shibisty)
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Unreal Engine 3 (Gears of War, Mass Effect, BioShock Infinite…): a bridge for now; models and animations exported by UModel / FModel to ActorX PSK/PSKX/PSA. PSK parsing comes from [`@gmvjs/unreal2`](../unreal2/README.md).
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
An engine plugin for [`@gmvjs/core`](../core/README.md): formats, archives and game presets. Heavy parsers are loaded on demand (`import()` inside `load`), so adding the package costs almost nothing until a file of this engine is opened.
|
|
8
|
+
|
|
9
|
+
## Installation
|
|
8
10
|
|
|
9
11
|
```sh
|
|
10
12
|
npm i @gmvjs/core @gmvjs/unreal3 @gmvjs/unreal2
|
|
11
13
|
```
|
|
12
14
|
|
|
13
|
-
##
|
|
15
|
+
## Usage
|
|
14
16
|
|
|
15
|
-
|
|
17
|
+
The whole engine (all games):
|
|
16
18
|
|
|
17
19
|
```ts
|
|
18
20
|
import { createRegistry, ViewerSession } from '@gmvjs/core';
|
|
@@ -21,7 +23,7 @@ import { unreal3Engine } from '@gmvjs/unreal3';
|
|
|
21
23
|
const session = new ViewerSession(createRegistry([unreal3Engine]));
|
|
22
24
|
```
|
|
23
25
|
|
|
24
|
-
|
|
26
|
+
One game: a package subpath (the game preset and an engine limited to that game):
|
|
25
27
|
|
|
26
28
|
```ts
|
|
27
29
|
import { createRegistry, ViewerSession } from '@gmvjs/core';
|
|
@@ -30,27 +32,31 @@ import ue3 from '@gmvjs/unreal3/ue3';
|
|
|
30
32
|
const session = new ViewerSession(createRegistry([ue3.engine]), ue3.preset.id);
|
|
31
33
|
```
|
|
32
34
|
|
|
33
|
-
##
|
|
35
|
+
## Games (subpaths)
|
|
34
36
|
|
|
35
|
-
|
|
|
37
|
+
| Import | Preset | Game | Status | Notes |
|
|
36
38
|
|---|---|---|---|---|
|
|
37
|
-
| `@gmvjs/unreal3/ue3` | `ue3` | Unreal Engine 3 (Gears of War, Mass Effect, BioShock Infinite…) —
|
|
39
|
+
| `@gmvjs/unreal3/ue3` | `ue3` | Unreal Engine 3 (Gears of War, Mass Effect, BioShock Infinite…) — PSK/PSA export | 🔌 bridge (via export) | — |
|
|
38
40
|
|
|
39
|
-
##
|
|
41
|
+
## Formats
|
|
40
42
|
|
|
41
|
-
| id |
|
|
43
|
+
| id | What | Files | Status |
|
|
42
44
|
|---|---|---|---|
|
|
43
|
-
| `unreal3-psk` | ActorX PSK/PSKX | `.psk`, `.pskx` +
|
|
45
|
+
| `unreal3-psk` | ActorX PSK/PSKX | `.psk`, `.pskx` + `.psa` animations | 🔌 bridge (via export) |
|
|
44
46
|
|
|
45
|
-
##
|
|
47
|
+
## Dependencies
|
|
46
48
|
|
|
47
|
-
- `@gmvjs/core` — API
|
|
48
|
-
- `@gmvjs/unreal2` —
|
|
49
|
+
- `@gmvjs/core` — plugin API, types, ZIP/folder archives, zlib, DDS/BC, geometry
|
|
50
|
+
- `@gmvjs/unreal2` — PSK/PSA parsing
|
|
49
51
|
|
|
50
|
-
##
|
|
52
|
+
## Not done yet
|
|
51
53
|
|
|
52
|
-
-
|
|
54
|
+
- Native `.upk`, `.u`
|
|
53
55
|
|
|
54
|
-
##
|
|
56
|
+
## License
|
|
55
57
|
|
|
56
58
|
MIT
|
|
59
|
+
|
|
60
|
+
[](https://www.patreon.com/cw/shibisty)
|
|
61
|
+
|
|
62
|
+
If this project helps you, consider supporting its development on Patreon ❤️
|
package/dist/games/ue3.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ue3.js","sources":["../../src/games/ue3.ts"],"sourcesContent":["// Unreal Engine 3 (Gears of War, Mass Effect, BioShock Infinite…) —
|
|
1
|
+
{"version":3,"file":"ue3.js","sources":["../../src/games/ue3.ts"],"sourcesContent":["// Unreal Engine 3 (Gears of War, Mass Effect, BioShock Infinite…) — PSK/PSA export — subpath `@gmvjs/unreal3/ue3`: the game preset and an engine limited to it.\nimport { pickGames } from '@gmvjs/core/plugin';\nimport { unreal3Engine } from '../index';\n\nexport const engine = pickGames(unreal3Engine, 'ue3');\nexport const preset = engine.games![0]!;\nexport default { engine, preset };\n"],"names":[],"mappings":";;AAIO,MAAM,SAAS,UAAU,eAAe,KAAK;AAC7C,MAAM,SAAS,OAAO,MAAO,CAAC;AACrC,MAAA,MAAe,EAAE,QAAQ,OAAA;"}
|
package/dist/i18n.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.js","sources":["../src/i18n.ts"],"sourcesContent":["//
|
|
1
|
+
{"version":3,"file":"i18n.js","sources":["../src/i18n.ts"],"sourcesContent":["// English texts of the unreal3 engine (Russian ones live in the plugins themselves).\nimport type { EngineTexts } from '@gmvjs/core/plugin';\n\nexport const EN: EngineTexts = {\n \"title\": \"Unreal Engine 3, via PSK export\",\n \"presets\": {\n \"ue3\": {\n \"title\": \"Unreal Engine 3 (Gears of War, Mass Effect, BioShock Infinite…) — PSK/PSA export\",\n \"hint\": \"Export the model with UModel (UEViewer) to PSK/PSKX (+ PSA for animations, textures as TGA/PNG) and open the export folder with \\\"Game folder\\\". Native .upk/.u are not read yet.\"\n }\n }\n};\n"],"names":[],"mappings":"AAGO,MAAM,KAAkB;AAAA,EAC7B,SAAS;AAAA,EACT,WAAW;AAAA,IACT,OAAO;AAAA,MACL,SAAS;AAAA,MACT,QAAQ;AAAA,IAAA;AAAA,EACV;AAEJ;"}
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":["// Unreal Engine 3:
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":["// Unreal Engine 3: a bridge only for now; models and animations exported to ActorX PSK/PSKX/PSA. PSK parsing comes from @gmvjs/unreal2.\nimport { defineEngine } from '@gmvjs/core/plugin';\nimport { pskFormat, pskUi } from '@gmvjs/unreal2';\nimport { EN } from './i18n';\n\nexport const unreal3Engine = defineEngine({\n id: 'unreal3',\n title: 'Unreal Engine 3, через экспорт PSK',\n i18n: { en: EN },\n formats: [pskFormat('unreal3')],\n games: [\n { id: 'ue3', group: 'Игры', title: 'Unreal Engine 3 (Gears of War, Mass Effect, BioShock Infinite…) — экспорт PSK/PSA', engine: 'unreal3', formats: ['unreal3-psk'], ui: pskUi, status: 'bridge',\n hint: 'Экспортируйте модель утилитой UModel (UEViewer) в PSK/PSKX (+ PSA для анимаций, текстуры в TGA/PNG) и выберите «Папку игры» с экспортом. Нативные .upk/.u пока не читаются.' },\n ],\n});\n"],"names":[],"mappings":";;;AAKO,MAAM,gBAAgB,aAAa;AAAA,EACxC,IAAI;AAAA,EACJ,OAAO;AAAA,EACP,MAAM,EAAE,IAAI,GAAA;AAAA,EACZ,SAAS,CAAC,UAAU,SAAS,CAAC;AAAA,EAC9B,OAAO;AAAA,IACL;AAAA,MAAE,IAAI;AAAA,MAAO,OAAO;AAAA,MAAQ,OAAO;AAAA,MAAqF,QAAQ;AAAA,MAAW,SAAS,CAAC,aAAa;AAAA,MAAG,IAAI;AAAA,MAAO,QAAQ;AAAA,MACtL,MAAM;AAAA,IAAA;AAAA,EAA8K;AAE1L,CAAC;"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gmvjs/unreal3",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "gmv: Unreal Engine 3,
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "gmv: Unreal Engine 3, via PSK export",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"gmv",
|
|
7
7
|
"unreal-engine-3",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"build": "node ../../scripts/build-package.mjs"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@gmvjs/core": "^0.1.
|
|
49
|
-
"@gmvjs/unreal2": "^0.1.
|
|
48
|
+
"@gmvjs/core": "^0.1.1",
|
|
49
|
+
"@gmvjs/unreal2": "^0.1.1"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@gmvjs/test-utils": "^0.1.0"
|