@gmvjs/unreal3 0.0.0-stage → 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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Alexander Shibisty
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,62 @@
1
- # Temporary Holding Version
1
+ # @gmvjs/unreal3 — Unreal Engine 3, via PSK export
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ [![Patreon](https://c5.patreon.com/external/logo/become_a_patron_button.png)](https://www.patreon.com/cw/shibisty)
4
+
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
+
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
10
+
11
+ ```sh
12
+ npm i @gmvjs/core @gmvjs/unreal3 @gmvjs/unreal2
13
+ ```
14
+
15
+ ## Usage
16
+
17
+ The whole engine (all games):
18
+
19
+ ```ts
20
+ import { createRegistry, ViewerSession } from '@gmvjs/core';
21
+ import { unreal3Engine } from '@gmvjs/unreal3';
22
+
23
+ const session = new ViewerSession(createRegistry([unreal3Engine]));
24
+ ```
25
+
26
+ One game: a package subpath (the game preset and an engine limited to that game):
27
+
28
+ ```ts
29
+ import { createRegistry, ViewerSession } from '@gmvjs/core';
30
+ import ue3 from '@gmvjs/unreal3/ue3';
31
+
32
+ const session = new ViewerSession(createRegistry([ue3.engine]), ue3.preset.id);
33
+ ```
34
+
35
+ ## Games (subpaths)
36
+
37
+ | Import | Preset | Game | Status | Notes |
38
+ |---|---|---|---|---|
39
+ | `@gmvjs/unreal3/ue3` | `ue3` | Unreal Engine 3 (Gears of War, Mass Effect, BioShock Infinite…) — PSK/PSA export | 🔌 bridge (via export) | — |
40
+
41
+ ## Formats
42
+
43
+ | id | What | Files | Status |
44
+ |---|---|---|---|
45
+ | `unreal3-psk` | ActorX PSK/PSKX | `.psk`, `.pskx` + `.psa` animations | 🔌 bridge (via export) |
46
+
47
+ ## Dependencies
48
+
49
+ - `@gmvjs/core` — plugin API, types, ZIP/folder archives, zlib, DDS/BC, geometry
50
+ - `@gmvjs/unreal2` — PSK/PSA parsing
51
+
52
+ ## Not done yet
53
+
54
+ - Native `.upk`, `.u`
55
+
56
+ ## License
57
+
58
+ MIT
59
+
60
+ [![Patreon](https://c5.patreon.com/external/logo/become_a_patron_button.png)](https://www.patreon.com/cw/shibisty)
61
+
62
+ If this project helps you, consider supporting its development on Patreon ❤️
@@ -0,0 +1,7 @@
1
+ export declare const engine: import("@gmvjs/core/plugin").EnginePlugin;
2
+ export declare const preset: import("@gmvjs/core/plugin").GamePreset;
3
+ declare const _default: {
4
+ engine: import("@gmvjs/core/plugin").EnginePlugin;
5
+ preset: import("@gmvjs/core/plugin").GamePreset;
6
+ };
7
+ export default _default;
@@ -0,0 +1,11 @@
1
+ import { pickGames } from "@gmvjs/core/plugin";
2
+ import { unreal3Engine } from "../index.js";
3
+ const engine = pickGames(unreal3Engine, "ue3");
4
+ const preset = engine.games[0];
5
+ const ue3 = { engine, preset };
6
+ export {
7
+ ue3 as default,
8
+ engine,
9
+ preset
10
+ };
11
+ //# sourceMappingURL=ue3.js.map
@@ -0,0 +1 @@
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.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ import type { EngineTexts } from '@gmvjs/core/plugin';
2
+ export declare const EN: EngineTexts;
package/dist/i18n.js ADDED
@@ -0,0 +1,13 @@
1
+ const EN = {
2
+ "title": "Unreal Engine 3, via PSK export",
3
+ "presets": {
4
+ "ue3": {
5
+ "title": "Unreal Engine 3 (Gears of War, Mass Effect, BioShock Infinite…) — PSK/PSA export",
6
+ "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.'
7
+ }
8
+ }
9
+ };
10
+ export {
11
+ EN
12
+ };
13
+ //# sourceMappingURL=i18n.js.map
@@ -0,0 +1 @@
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;"}
@@ -0,0 +1 @@
1
+ export declare const unreal3Engine: import("@gmvjs/core/plugin").EnginePlugin;
package/dist/index.js ADDED
@@ -0,0 +1,25 @@
1
+ import { defineEngine } from "@gmvjs/core/plugin";
2
+ import { pskUi, pskFormat } from "@gmvjs/unreal2";
3
+ import { EN } from "./i18n.js";
4
+ const unreal3Engine = defineEngine({
5
+ id: "unreal3",
6
+ title: "Unreal Engine 3, через экспорт PSK",
7
+ i18n: { en: EN },
8
+ formats: [pskFormat("unreal3")],
9
+ games: [
10
+ {
11
+ id: "ue3",
12
+ group: "Игры",
13
+ title: "Unreal Engine 3 (Gears of War, Mass Effect, BioShock Infinite…) — экспорт PSK/PSA",
14
+ engine: "unreal3",
15
+ formats: ["unreal3-psk"],
16
+ ui: pskUi,
17
+ status: "bridge",
18
+ hint: "Экспортируйте модель утилитой UModel (UEViewer) в PSK/PSKX (+ PSA для анимаций, текстуры в TGA/PNG) и выберите «Папку игры» с экспортом. Нативные .upk/.u пока не читаются."
19
+ }
20
+ ]
21
+ });
22
+ export {
23
+ unreal3Engine
24
+ };
25
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
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,6 +1,57 @@
1
1
  {
2
2
  "name": "@gmvjs/unreal3",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.1",
4
+ "description": "gmv: Unreal Engine 3, via PSK export",
5
+ "keywords": [
6
+ "gmv",
7
+ "unreal-engine-3",
8
+ "ue3",
9
+ "psk",
10
+ "actorx"
11
+ ],
12
+ "license": "MIT",
13
+ "author": "Alexander Shibisty",
14
+ "homepage": "https://github.com/shibisty/gmv/tree/main/packages/unreal3#readme",
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "git+https://github.com/shibisty/gmv.git",
18
+ "directory": "packages/unreal3"
19
+ },
20
+ "bugs": {
21
+ "url": "https://github.com/shibisty/gmv/issues"
22
+ },
23
+ "type": "module",
24
+ "sideEffects": false,
25
+ "exports": {
26
+ ".": {
27
+ "gmv-source": "./src/index.ts",
28
+ "types": "./dist/index.d.ts",
29
+ "import": "./dist/index.js"
30
+ },
31
+ "./ue3": {
32
+ "gmv-source": "./src/games/ue3.ts",
33
+ "types": "./dist/games/ue3.d.ts",
34
+ "import": "./dist/games/ue3.js"
35
+ }
36
+ },
37
+ "main": "./dist/index.js",
38
+ "types": "./dist/index.d.ts",
39
+ "files": [
40
+ "dist",
41
+ "README.md",
42
+ "LICENSE"
43
+ ],
44
+ "scripts": {
45
+ "build": "node ../../scripts/build-package.mjs"
46
+ },
47
+ "dependencies": {
48
+ "@gmvjs/core": "^0.1.1",
49
+ "@gmvjs/unreal2": "^0.1.1"
50
+ },
51
+ "devDependencies": {
52
+ "@gmvjs/test-utils": "^0.1.0"
53
+ },
54
+ "publishConfig": {
55
+ "access": "public"
56
+ }
57
+ }