@gmvjs/unreal3 0.0.0-stage → 0.1.0

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,56 @@
1
- # Temporary Holding Version
1
+ # @gmvjs/unreal3 — Unreal Engine 3, через экспорт PSK
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
+ Unreal Engine 3 (Gears of War, Mass Effect, BioShock Infinite…): пока мост — модели и анимации, выгруженные UModel / FModel в ActorX PSK/PSKX/PSA. Разбор PSK — из [`@gmvjs/unreal2`](../unreal2/README.md).
4
+
5
+ Плагин движка для [`@gmvjs/core`](../core/README.md): форматы, архивы и пресеты игр. Тяжёлые разборщики загружаются по требованию (`import()` внутри `load`), так что подключение пакета почти ничего не стоит, пока файл этого движка не открыт.
6
+
7
+ ## Установка
8
+
9
+ ```sh
10
+ npm i @gmvjs/core @gmvjs/unreal3 @gmvjs/unreal2
11
+ ```
12
+
13
+ ## Подключение
14
+
15
+ Весь движок (все игры):
16
+
17
+ ```ts
18
+ import { createRegistry, ViewerSession } from '@gmvjs/core';
19
+ import { unreal3Engine } from '@gmvjs/unreal3';
20
+
21
+ const session = new ViewerSession(createRegistry([unreal3Engine]));
22
+ ```
23
+
24
+ Одна игра — подпуть пакета (пресет игры и движок, ограниченный этой игрой):
25
+
26
+ ```ts
27
+ import { createRegistry, ViewerSession } from '@gmvjs/core';
28
+ import ue3 from '@gmvjs/unreal3/ue3';
29
+
30
+ const session = new ViewerSession(createRegistry([ue3.engine]), ue3.preset.id);
31
+ ```
32
+
33
+ ## Игры (подпути)
34
+
35
+ | Импорт | Пресет | Игра | Статус | Особенности |
36
+ |---|---|---|---|---|
37
+ | `@gmvjs/unreal3/ue3` | `ue3` | Unreal Engine 3 (Gears of War, Mass Effect, BioShock Infinite…) — экспорт PSK/PSA | 🔌 мост (через экспорт) | — |
38
+
39
+ ## Форматы
40
+
41
+ | id | Что | Файлы | Статус |
42
+ |---|---|---|---|
43
+ | `unreal3-psk` | ActorX PSK/PSKX | `.psk`, `.pskx` + анимации `.psa` | 🔌 мост (через экспорт) |
44
+
45
+ ## Зависимости
46
+
47
+ - `@gmvjs/core` — API плагинов, типы, архивы ZIP/папка, zlib, DDS/BC, геометрия
48
+ - `@gmvjs/unreal2` — разбор PSK/PSA
49
+
50
+ ## Не сделано
51
+
52
+ - Нативные `.upk`, `.u`
53
+
54
+ ## Лицензия
55
+
56
+ MIT
@@ -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 — подпуть `@gmvjs/unreal3/ue3`: пресет игры и движок только с ней.\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":["// Английские тексты движка unreal3 (русские — в самих плагинах).\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: пока только мост — модели и анимации, выгруженные в ActorX PSK/PSKX/PSA. Разбор PSK — из @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.0",
4
+ "description": "gmv: Unreal Engine 3, через экспорт PSK",
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.0",
49
+ "@gmvjs/unreal2": "^0.1.0"
50
+ },
51
+ "devDependencies": {
52
+ "@gmvjs/test-utils": "^0.1.0"
53
+ },
54
+ "publishConfig": {
55
+ "access": "public"
56
+ }
57
+ }