data: extract 33 scene modules and the Wojna Trojańska engine (68 builds)

The DLL collection gains every WORLD/KOLOROWANKA variant, MATRIX, QMAN
(TEST), INERTIA and BOARD, plus the later PIKLIB72 build from Wojna
Trojańska, taken from the game discs. All 68 builds re-extracted; engine
snapshots are unchanged except the Piklib 6.1 switch dispatch. Roadmap,
batch results and docs follow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Patryk Gensch
2026-10-28 21:38:11 +01:00
co-authored by Claude Opus 5.5
parent be5a701db8
commit e03037647e
219 changed files with 80517 additions and 2645 deletions
+21 -1
View File
@@ -1,4 +1,24 @@
# Batch silników — wynik analizy 2026-10-24 (schemat 5)
# Batch silników i modułów — wynik analizy 2026-10-28
Przebieg 68 / 68 DLL: 35 silników i 33 moduły sceny (`SCENE:DLLS=`), wszystkie w schemacie 7. Nowe DLL pochodzą z płyt gier (7-Zip): wcześniejszy kolektor pominął moduły i Wojnę Trojańską. Snapshoty 34 dotychczasowych silników są identyczne jak 2026-10-24 poza Pinokiem i Piotrusiem Panem (6.1): niezoptymalizowany `run(int, CXVector*)` Pinokia czyta się teraz jako switch, więc dispatch po ID zastępuje dopasowanie nazw (178 wierszy, 110 z sygnaturą), a Piotruś Pan ma 116 sygnatur zamiast 111.
- **Wojna Trojańska, PIKLIB72** (`7b12069d…`): późniejsze wydanie 7.2. Obiekty są o 4 bajty większe, doszły `@CREATE`, `KEYBOARD^ISENABLED`, `MOUSE^MOUSERELEASE` i `SCENE^ISPAUSED`.
- **Moduły**: ekstraktor rozpoznaje `CMC_ExternObject::resolve` modułu i runner, który instaluje obiekt typu (Matrix i Board tworzą go leniwie w wirtualnej metodzie). Na binarkach z ręcznych analiz REA wynik jest ten sam: WORLD 67 par nazwa/ID, KOLOROWANKA 23.
| Moduł | Warianty | Typ (ID) | Gospodarz | Metody / DLL |
|---|---:|---|---|---:|
| KOLOROWANKA | 17 | KOLOROWANKA (10000) | 7.2, 8, BM | 20–23 |
| WORLD | 9 | WORLD (10003) | 7.2, 8, BM | 44–73 |
| MATRIX | 3 | MATRIX (10002) | 7.1, 8 | 19 (7.1), 35 (8) |
| QMAN | 2 | TEST (10001) | 7.2 | 22 |
| INERTIA | 1 | INERTIA (10013) | BM | 36 |
| BOARD | 1 | BOARD (10005) | 8 | 14 |
Matrix.dll z Reksia i UFO (PIKLIB8) rejestruje `GETCELLLEFTLINK` dwa razy, a `SETCELL{RIGHT,UP,DOWN}LINK` dostają ID metod GET (25–27); `SETCELLLEFTLINK` nie ma. Tak jest w binarce, ekstraktor tego nie poprawia. Sygnatury BOARD są puste (`() → —`): jego `run` nie czyta argumentów przez `getParameter*` runnera.
Tracker (68 snapshotów, emulator `42f4ffb3`): 62 zakresy, 1047 par typ/metoda (439 rejestracji, 37 podejrzeń stubu, 571 bez rejestracji), 286 par typ/event, 201 par typ/pole. Typy modułów mają mapowanie `module`; ich obecność w roadmapie liczy się w rodzinie silnika-gospodarza. TEST (QMan) i BOARD nie mają w emulatorze żadnej metody, INERTIA ma 16 stubów, z których gra korzysta (np. `SETVELOCITY` w 105 miejscach). Roadmapa z użyciem w skryptach: [roadmap.md](roadmap.md).
## Wynik analizy 2026-10-24 (schemat 5)
Ponowny przebieg 34 / 34 DLL z osią `runner_map` i faktami z ciał metod. Poprzedni wynik (2026-10-10, schemat 4) zostaje niżej jako historia.
+3 -3
View File
@@ -1,4 +1,4 @@
# Resumable engine extraction
# Resumable engine and module extraction
Generate an inventory with `python -m ams.inventory ROOT --out inventory.json`, then run:
@@ -7,7 +7,7 @@ python -m ams.acquire.batch --manifest inventory.json --out-dir snapshots/batch
--ghidra-home /path/to/ghidra --timeout 1800 --limit 2
```
Only `engine` entries run. Plugins and native dependencies require their own extraction paths. Remove `--limit` for the full engine inventory. This queue measures successful extraction, not completeness or functional correctness.
`engine` and `plugin` entries run: the extractor recognises a scene module (`SCENE:DLLS=`) by its `CMC_ExternObject::resolve` when the DLL has no engine factory. Native dependencies (Sekai) and earlier engines are skipped. Remove `--limit` for the full inventory. This queue measures successful extraction, not completeness or functional correctness.
Snapshots are named `<sha256>.snapshot.json`. Each attempt runs in a fresh Python process and process group; the timeout kills that group, including native children. A supplied Ghidra home selects PyGhidra. Otherwise the current wrapper environment chooses the backend.
@@ -30,7 +30,7 @@ The API environment and Ghidra worker use separate Python environments. The test
No interactive Ghidra window or Hopper license is needed. `--ghidra-home` configures both `GHIDRA_HOME` and `GHIDRA_INSTALL_DIR` for the worker; setting `GHIDRA_HOME` was not a mistake. Each worker gets a temporary project and runtime home, and the original DLL is only read. Internal Ghidra program names are sanitized to ASCII because repository filenames can contain Polish characters; snapshots retain the original filename and SHA.
The bundled inventory records 64 file paths / 51 distinct SHA-256 values: 34 engine builds in scope, 2 script plugins, 8 native Sekai dependencies and 7 earlier engines excluded from this batch. WORLD and KOLOROWANKA have separately documented registration snapshots. Scope classification is based on filenames, so review newly added or renamed files.
The bundled inventory (`python -m ams.inventory /Users/genszu/_dll_repository --snapshots snapshots --out data/binary-inventory.json`) records 99 file paths / 84 distinct SHA-256 values: 35 engine builds, 33 scene modules (KOLOROWANKA 17, WORLD 9, MATRIX 3, QMAN 2, INERTIA 1, BOARD 1), 9 native Sekai dependencies and 7 earlier engines. The modules and the Wojna Trojańska engine were added on 2026-10-28 from the game discs (7-Zip; `bsdtar` and the original collector missed files on some images). Scope classification is based on filenames, so review newly added or renamed files.
Snapshot metadata retains all source paths and game aliases, extraction fingerprint and provider version. The original files must remain available to verify resumed successes. The queue is sequential; independent manifests can be processed in separate output directories. Do not edit extractor code while a queue is running.
+4
View File
@@ -34,3 +34,7 @@ The candidate runner dispatch pointer at vtable +0x44 is `0x1000c950`, but Ghidr
Automation strategy: detect module factories through TYPE comparison and construction, follow object -> runner constructor -> vtable, then extract CInteger/hash registrations with direct assembly cross-checks. A generalized plugin extractor should use Ghidra references/P-code, not regex over uppercase string inventory. This pilot snapshot was assembled from the retained evidence and validated with AMS Snapshot.load.
REA session was closed after exporting evidence.
## Automatic extraction (2026-10-28)
The batch (`ams.acquire.batch`, the scene-module path of `extract_engine_surface.py`) now extracts every variant of this module. On this binary it yields the same 23 name/ID pairs as the REA analysis above, plus dispatch with signatures and per-type events and fields. In the tracker the batch result takes precedence over this snapshot.
+53 -29
View File
@@ -2,7 +2,7 @@
Wygenerowane przez `python -m ams.roadmap` z eksportu Atlasu (rewizja emulatora `42f4ffb35305e7582173d24c5f0ba4c4acc9d062`, niezacommitowane zmiany). Nie edytuj ręcznie.
Binarki: 6.1 × 5, 7.1 × 2, 7.2 × 2, 8 × 18, BM × 7, KOLOROWANKA × 1, WORLD × 1.
Binarki: 6.1 × 5, 7.1 × 2, 7.2 × 3, 8 × 18, BM × 7, KOLOROWANKA × 17, WORLD × 9, BOARD × 1, MATRIX × 3, INERTIA × 1, QMAN × 2.
Rejestracja nie oznacza poprawności; „brak literału” znaczy tylko, że nazwy nie ma w kodzie emulatora.
W nawiasie: rodziny silnika, w których DLL pozycja występuje.
Użycie w skryptach (`python -m ams.usage`): 34 wydań, 30 gier z rodzin 6.1+. „Gry” to tytuły (z kilku wydań jednej gry liczy się to z największą liczbą), „miejsca” to wystąpienia w skryptach, nie wykonania; wywołanie przez nazwę z łańcucha liczy się dla typów obiektów, które skrypty do tej nazwy przypisują.
@@ -10,6 +10,7 @@ Użycie w skryptach (`python -m ams.usage`): 34 wydań, 30 gier z rodzin 6.1+.
| Zakres | Metody (zarejestrowane / w oryginale) | Bez rejestracji | Stuby | Eventy bez literału | Pola bez literału |
|---|---:|---:|---:|---:|---:|
| EXPRESSION | 0 / 32 | 32 | 0 | 4 / 6 | 2 / 7 |
| INERTIA | 0 / 36 | 20 | 16 | 1 / 3 | 0 / 0 |
| ARRAY | 25 / 56 | 31 | 0 | 2 / 4 | 2 / 3 |
| CANVAS | 0 / 29 | 29 | 0 | 1 / 7 | 5 / 5 |
| IMAGE | 22 / 49 | 27 | 0 | 1 / 9 | 5 / 11 |
@@ -21,10 +22,12 @@ Użycie w skryptach (`python -m ams.usage`): 34 wydań, 30 gier z rodzin 6.1+.
| VIRTUALGRAPHICSOBJECT | 0 / 20 | 11 | 9 | 1 / 3 | 8 / 8 |
| SCENE | 15 / 28 | 13 | 0 | 7 / 9 | 8 / 11 |
| EDITBOX | 0 / 15 | 15 | 0 | 4 / 8 | 6 / 7 |
| TEST | 0 / 22 | 22 | 0 | 2 / 4 | 1 / 1 |
| APPLICATION | 5 / 19 | 14 | 0 | 7 / 9 | 3 / 5 |
| BOARD | 0 / 14 | 14 | 0 | 4 / 7 | 3 / 3 |
| PATTERN | 0 / 11 | 10 | 1 | 1 / 7 | 8 / 8 |
| MATRIX | 19 / 36 | 17 | 0 | 1 / 5 | 0 / 4 |
| NETSERVER | 0 / 13 | 13 | 0 | 4 / 4 | 0 / 0 |
| INERTIA | 0 / 0 | 0 | 16 | 0 / 0 | 0 / 0 |
| SCROLL | 0 / 10 | 10 | 0 | 5 / 7 | 1 / 1 |
| DOUBLE | 24 / 34 | 10 | 0 | 2 / 6 | 2 / 6 |
| INTEGER | 22 / 32 | 10 | 0 | 2 / 6 | 2 / 6 |
@@ -33,7 +36,7 @@ Użycie w skryptach (`python -m ams.usage`): 34 wydań, 30 gier z rodzin 6.1+.
| NETPEER | 0 / 9 | 9 | 0 | 4 / 6 | 0 / 0 |
| BUTTON | 9 / 16 | 7 | 0 | 2 / 12 | 3 / 14 |
| NETCLIENT | 0 / 9 | 9 | 0 | 3 / 3 | 0 / 0 |
| WORLD | 56 / 66 | 0 | 10 | 0 / 0 | 0 / 0 |
| WORLD | 62 / 72 | 0 | 10 | 1 / 3 | 0 / 1 |
| FILTER | 0 / 6 | 6 | 0 | 2 / 6 | 1 / 1 |
| GRBUFFER | 0 / 6 | 6 | 0 | 1 / 3 | 2 / 2 |
| JOYSTICK | 0 / 4 | 4 | 0 | 4 / 6 | 1 / 1 |
@@ -59,8 +62,8 @@ Użycie w skryptach (`python -m ams.usage`): 34 wydań, 30 gier z rodzin 6.1+.
| STRUCT | 2 / 3 | 1 | 0 | 1 / 3 | 1 / 3 |
| COMPLEXCONDITION | 3 / 3 | 0 | 0 | 1 / 5 | 1 / 5 |
| CONDITION | 3 / 3 | 0 | 0 | 1 / 5 | 1 / 5 |
| KOLOROWANKA | 22 / 23 | 1 | 0 | 1 / 9 | 0 / 5 |
| SEQUENCE | 12 / 12 | 0 | 0 | 1 / 5 | 1 / 3 |
| KOLOROWANKA | 22 / 23 | 1 | 0 | 0 / 0 | 0 / 0 |
| STATICFILTER | 3 / 3 | 0 | 0 | 1 / 3 | 0 / 1 |
## Priorytety: luki używane przez gry
@@ -144,18 +147,18 @@ Metody:
| GROUP | `SETOPACITY` | metoda | 4 | 29 | 8, BM |
| GROUP | `SETASBUTTON` | metoda | 3 | 10 | 7.1, 8, BM |
| ARRAY | `RAMOVEALL` | metoda | 3 | 4 | 8 |
| MATRIX | `SETROW` | metoda | 2 | 993 | 7.1, 8 |
| GROUP | `RESETPOSITION` | metoda | 2 | 93 | 8 |
| MATRIX | `GETCELLPOSX` | metoda | 2 | 91 | 8 |
| MATRIX | `GETCELLPOSY` | metoda | 2 | 91 | 8 |
| MATRIX | `GETCELLOFFSET` | metoda | 2 | 79 | 8 |
| MATRIX | `GET` | metoda | 2 | 41 | 7.1, 8 |
| TEST | `GETTASKNO` | metoda | 2 | 37 | 7.2 |
| ANIMO | `RUN` | metoda | 2 | 36 | 6.1, BM |
| TEST | `SHOW` | metoda | 2 | 30 | 7.2 |
| TEST | `LOAD` | metoda | 2 | 29 | 7.2 |
| GROUP | `PLAYREVERSE` | metoda | 2 | 28 | 8 |
| GROUP | `SETTEXT` | metoda | 2 | 27 | 8 |
| STRING | `SHOW` | metoda | 2 | 20 | 8 |
| SOUND | `RUN` | metoda | 2 | 17 | 8, BM |
| GROUP | `SETCOLOR` | metoda | 2 | 16 | 8 |
| IMAGE | `PLAY` | metoda | 2 | 14 | 8 |
| GROUP | `INVALIDATE` | metoda | 2 | 13 | 8 |
| PATTERN | `REMOVEALL` | metoda | 2 | 5 | 8 |
| ANIMO | `EXIT` | metoda | 2 | 4 | 6.1, 7.1, 7.2, 8 |
| ANIMO | `DISABLE` | metoda | 2 | 2 | 8, BM |
Pola i eventy:
@@ -177,20 +180,20 @@ Pola i eventy:
| EPISODE | `VERSION` | pole | 30 | 33 | 6.1, 7.1, 7.2, 8, BM |
| FONT | `DEF_ARIAL_STANDARD_14` | pole | 29 | 167 | 6.1, 7.1, 7.2, 8, BM |
| EPISODE | `PATH` | pole | 29 | 32 | 6.1, 7.1, 7.2, 8, BM |
| KOLOROWANKA | `PRIORITY` | pole | 17 | 26 | 6.1, 7.2, 8, BM |
| KOLOROWANKA | `TOCANVAS` | pole | 17 | 26 | 6.1, 7.2, 8, BM |
| KOLOROWANKA | `VISIBLE` | pole | 17 | 26 | 6.1, 7.2, 8, BM |
| KOLOROWANKA | `ONINIT` | event | 12 | 17 | 6.1, 7.2, 8 |
| MOUSE | `RAW` | pole | 8 | 229 | 8, BM |
| WORLD | `FILENAME` | pole | 8 | 30 | 7.2, 8, BM |
| INTEGER | `DESCRIPTION` | pole | 6 | 344 | 6.1, 7.1, 8 |
| ARRAY | `DESCRIPTION` | pole | 5 | 138 | 6.1, 7.1, 8 |
| STRING | `DESCRIPTION` | pole | 5 | 77 | 6.1, 7.1, 8 |
| SOUND | `RELEASE` | pole | 4 | 1189 | 6.1, 7.1, 8 |
| KOLOROWANKA | `ONCOLOURED` | event | 4 | 6 | 8 |
| BEHAVIOUR | `DESCRIPTION` | pole | 3 | 127 | 6.1, 7.1, 8 |
| BOOLEAN | `DESCRIPTION` | pole | 3 | 27 | 6.1, 7.1, 8 |
| CONDITION | `DESCRIPTION` | pole | 3 | 12 | 6.1, 7.1, 8 |
| TIMER | `DESCRIPTION` | pole | 3 | 7 | 6.1 |
| ANIMO | `ONRELEASED` | event | 3 | 3 | 8 |
| IMAGE | `FPS` | pole | 2 | 29 | 6.1, 8 |
| BUTTON | `DESCRIPTION` | pole | 2 | 8 | 7.1, 8 |
| COMPLEXCONDITION | `DESCRIPTION` | pole | 2 | 4 | 6.1, 7.1, 8 |
| FONT | `DEF_ARIAL_BOLD_14` | pole | 2 | 2 | 7.2 |
## EXPRESSION
Obiekty w skryptach: 289 (gry: 7).
@@ -198,6 +201,12 @@ Obiekty w skryptach: 289 (gry: 7).
- **Eventy bez literału:** `ONBRUTALCHANGED` (6.1, 7.1, 7.2, 8, BM) — nieużywane; `ONCHANGED` (6.1, 7.1, 7.2, 8, BM) — nieużywane; `ONDONE` (6.1, 7.1, 7.2, 8, BM) — nieużywane; `ONNETCHANGE` (7.1, 7.2, 8, BM) — nieużywane
- **Pola bez literału:** `NETNOTIFY` bool (7.1, 7.2, 8, BM) — nieużywane; `CONDITION` string (6.1) — nieużywane
## INERTIA
Obiekty w skryptach: 1 (gry: 1).
- **Metody bez rejestracji:** `ADDTORQUE` (int, double, double) → — (BM) — nieużywane; `CREATEBOX` (double, double, double, double) → int (BM) — nieużywane; `CREATECCYLINDER` (double, double, double) → int (BM) — nieużywane; `CREATECONE` (double, double, double) → int (BM) — nieużywane; `CREATECYLINDER` (double, double, double) → int (BM) — nieużywane; `CREATEHULL` (double, string) → int (BM) — nieużywane; `CREATEJOINTBALL` (int, int, double, double, double, double, double, double, double) → — (BM) — nieużywane; `CREATETREE` (string) → int (BM) — nieużywane; `ENABLECUSTOMUPDATE` (bool) → — (BM) — nieużywane; `GETCONTACTDATA` (string, int) → double/int (BM) — nieużywane; `GETPOSITIONZ` (int) → int (BM) — nieużywane; `GETROTATION` (int) → double (BM) — nieużywane; `GETVELOCITYX` (int) → double (BM) — nieużywane; `GETVELOCITYY` (int) → double (BM) — nieużywane; `SETANGULARDAMPING` (int, double, double, double) → — (BM) — nieużywane; `SETFORCE` (int, double, double) → — (BM) — nieużywane; `SETGRAVITYFACTOR` (int, double) → — (BM) — nieużywane; `SETOMEGA` (int, double, double, double) → — (BM) — nieużywane; `SETROTATION` (int, double) → — (BM) — nieużywane; `SETTORQUE` (int, double, double) → — (BM) — nieużywane
- **Stuby w emulatorze:** `SETVELOCITY` (BM) — gry: 1, miejsca: 105; `LINK` (BM) — gry: 1, miejsca: 64; `SETPOSITION` (BM) — gry: 1, miejsca: 63; `CREATESPHERE` (BM) — gry: 1, miejsca: 61; `SETMATERIAL` (BM) — gry: 1, miejsca: 61; `ADDFORCE` (BM) — gry: 1, miejsca: 33; `GETPOSITIONX` (BM) — gry: 1, miejsca: 24; `GETPOSITIONY` (BM) — gry: 1, miejsca: 21; `UNLINK` (BM) — gry: 1, miejsca: 16; `DELETEBODY` (BM) — gry: 1, miejsca: 5; `GETSPEED` (BM) — gry: 1, miejsca: 4; `RESETTIMER` (BM) — gry: 1, miejsca: 4; `LOAD` (BM) — gry: 1, miejsca: 1; `SETGRAVITY` (BM) — gry: 1, miejsca: 1; `SETLINEARDAMPING` (BM) — gry: 1, miejsca: 1; `TICK` (BM) — gry: 1, miejsca: 1
- **Eventy bez literału:** `ONDONE` (BM) — nieużywane
## ARRAY
Obiekty w skryptach: 5574 (gry: 30).
- **Metody bez rejestracji:** `REMOVE` (any) → — (6.1, 7.1, 7.2, 8, BM) — gry: 16, miejsca: 337; `SETMARKERPOS` (int) → — (7.1, 7.2, 8, BM) — gry: 6, miejsca: 15; `GETMARKERPOS` () → int (7.1, 7.2, 8, BM) — gry: 5, miejsca: 32; `SENDONCHANGE` (bool) → — (7.2, 8, BM) — gry: 4, miejsca: 41; `SORT` (bool) → — (7.1, 7.2, 8, BM) — gry: 4, miejsca: 15; `NEXT` (int) → — (7.1, 7.2, 8, BM) — gry: 4, miejsca: 12; `PREV` (int) → — (7.2, 8, BM) — gry: 3, miejsca: 4; `FINDALL` () → — / (string, …) → int (8, BM) — gry: 2, miejsca: 23; `MIND` () → double (8, BM) — gry: 2, miejsca: 8; `MAXD` () → double (8, BM) — gry: 2, miejsca: 7; `RANDOMFILL` (int, int, int, bool) → — (8, BM) — gry: 2, miejsca: 6; `DIR` (string, string) → string (7.1, 7.2, 8, BM) — gry: 2, miejsca: 2; `FILL` (int, any) → — (8, BM) — gry: 1, miejsca: 27; `DIVAT` (int, any/double) → — (7.1, 7.2, 8, BM) — gry: 1, miejsca: 2; `MUL` (any) → — (7.1, 7.2, 8, BM) — gry: 1, miejsca: 1; `DIV` (any) → — (7.1, 7.2, 8, BM) — nieużywane; `DIVA` (string, int, int) → — (7.1, 7.2, 8, BM) — nieużywane; `MULA` (string, int, int) → — (7.1, 7.2, 8, BM) — nieużywane; `RESETMARKER` () → — (7.1, 7.2, 8, BM) — nieużywane; `SUBA` (string, int, int) → — (7.1, 7.2, 8, BM) — nieużywane; `SUMA` (string, int, int) → — (7.1, 7.2, 8, BM) — nieużywane; `ADDCLONES` (string, int, int) → — (7.2, 8, BM) — nieużywane; `COMPARE` (string) → bool (7.2, 8, BM) — nieużywane; `ROTATELEFT` () → — (7.2, 8, BM) — nieużywane; `ROTATERIGHT` () → — (7.2, 8, BM) — nieużywane; `SHIFTLEFT` () → — (7.2, 8, BM) — nieużywane; `SHIFTRIGHT` () → — (7.2, 8, BM) — nieużywane; `SWAP` (int, int) → — (7.2, 8, BM) — nieużywane; `SORTMANY` () → — (8, BM) — nieużywane; `ADDCOLNES` (string, int, int) → — (7.1) — nieużywane; `PREF` (int) → — (7.1) — nieużywane
@@ -262,12 +271,24 @@ Obiekty w skryptach: 24 (gry: 2).
- **Eventy bez literału:** `ONENTER` (6.1, 7.1, 7.2, 8, BM) — gry: 2, miejsca: 24; `ONESC` (6.1, 7.1, 7.2, 8, BM) — gry: 2, miejsca: 24; `ONCHANGED` (6.1, 7.1, 7.2, 8, BM) — nieużywane; `ONDONE` (6.1, 7.1, 7.2, 8, BM) — nieużywane
- **Pola bez literału:** `CURSOR` string (6.1, 7.1, 7.2, 8, BM) — gry: 2, miejsca: 24; `FONT` string (6.1, 7.1, 7.2, 8, BM) — gry: 2, miejsca: 24; `RECT` rect/string (6.1, 7.1, 7.2, 8, BM) — gry: 2, miejsca: 24; `TEXT` string (6.1, 7.1, 7.2, 8, BM) — nieużywane; `PRIORITY` int (8, BM) — nieużywane; `CONDITION` string (6.1) — nieużywane
## TEST
Obiekty w skryptach: 20 (gry: 2).
- **Metody bez rejestracji:** `GETTASKNO` () → — (7.2) — gry: 2, miejsca: 37; `SHOW` (bool, bool) → — (7.2) — gry: 2, miejsca: 30; `LOAD` (string) → — (7.2) — gry: 2, miejsca: 29; `GETPROPERTY` (string) → string (7.2) — gry: 2, miejsca: 16; `SELECT` (int) → — (7.2) — gry: 2, miejsca: 9; `GETTASKSNO` () → — (7.2) — gry: 2, miejsca: 7; `SETPROPERTY` (string, string) → — (7.2) — gry: 1, miejsca: 108; `GETANSWER` () → string (7.2) — gry: 1, miejsca: 59; `SETHISTLEN` (int) → — (7.2) — gry: 1, miejsca: 12; `RANDOMIZE` () → — (7.2) — gry: 1, miejsca: 11; `SETCAT` (…) → — (7.2) — gry: 1, miejsca: 10; `ACCEPT` () → — (7.2) — gry: 1, miejsca: 7; `FLUSH` () → — (7.2) — gry: 1, miejsca: 7; `GETSCORE` (int) → int (7.2) — gry: 1, miejsca: 7; `GETPOINTS` (int) → int (7.2) — gry: 1, miejsca: 5; `GETMAXPOINTS` () → — (7.2) — gry: 1, miejsca: 3; `NEXT` () → — (7.2) — gry: 1, miejsca: 3; `SOLVE` (int) → — (7.2) — gry: 1, miejsca: 2; `PREV` () → — (7.2) — gry: 1, miejsca: 1; `GETTITLE` () → — (7.2) — nieużywane; `RELEASE` () → — (7.2) — nieużywane; `SHOWCORRECT` () → — (7.2) — nieużywane
- **Eventy bez literału:** `ONTASK` (7.2) — gry: 1, miejsca: 45; `ONDONE` (7.2) — nieużywane
- **Pola bez literału:** `FONT` string (7.2) — gry: 2, miejsca: 20
## APPLICATION
Obiekty w skryptach: 33 (gry: 30).
- **Metody bez rejestracji:** `PRINT` (int, int, int, …) → — / (int/string, int, int, int) → — (6.1, 7.1, 7.2, 8, BM) — gry: 12, miejsca: 23; `EXISTSENV` (string, string) → bool (8, BM) — gry: 4, miejsca: 99; `ENABLEMUSIC` () → — (6.1, 7.1, 7.2, 8, BM) — gry: 3, miejsca: 5; `DISABLEMUSIC` () → — (6.1, 7.1, 7.2, 8, BM) — gry: 3, miejsca: 3; `GOTO` (string) → — (6.1, 7.1, 7.2, 8, BM) — nieużywane; `RESTART` () → — (6.1, 7.1, 7.2, 8, BM) — nieużywane; `STOREBINARY` () → — (7.2, 8, BM) — nieużywane; `GETPLAYER` () → string (BM) — nieużywane; `NEEDSUPGRADE` (BM) — nieużywane; `RELOAD` (string) → — (BM) — nieużywane; `RUNC` (6.1) — nieużywane; `STARTDRAGGINGWINDOW` (int, int) → — (BM) — nieużywane; `STOPDRAGGINGWINDOW` () → — (BM) — nieużywane; `UPGRADE` (BM) — nieużywane
- **Eventy bez literału:** `ONACTIVATE` (BM) — nieużywane; `ONDEACTIVATE` (BM) — nieużywane; `ONDOMODAL` (BM) — nieużywane; `ONDONE` (BM) — nieużywane; `ONMUSICLOOPED` (BM) — nieużywane; `ONRESTART` (BM) — nieużywane; `ONUPGRADE` (BM) — nieużywane
- **Pola bez literału:** `VERSION` string (BM) — gry: 30, miejsca: 33; `BLOOMOO_VERSION` string (BM) — gry: 8, miejsca: 8; `SCENES` string (BM) — nieużywane
## BOARD
Obiekty w skryptach: 1 (gry: 1).
- **Metody bez rejestracji:** `DISABLE` () → — (8) — gry: 1, miejsca: 8; `ENABLE` () → — (8) — gry: 1, miejsca: 2; `GETLASTCLICK` () → — (8) — gry: 1, miejsca: 2; `ADDTEMPL` () → — (8) — gry: 1, miejsca: 1; `GETTOTALPOINTS` () → — (8) — gry: 1, miejsca: 1; `ISNEIGHBOUR` () → — (8) — gry: 1, miejsca: 1; `RANDOMIZE` () → — (8) — gry: 1, miejsca: 1; `REMOVEREPEATS` () → — (8) — gry: 1, miejsca: 1; `SWITCH` () → — (8) — gry: 1, miejsca: 1; `UNTAG` () → — (8) — gry: 1, miejsca: 1; `CLEAR` () → — (8) — nieużywane; `FALLALL` () → — (8) — nieużywane; `GETLATESTPOINTS` () → — (8) — nieużywane; `PACK` () → — (8) — nieużywane
- **Eventy bez literału:** `ON4BIRDS` (8) — gry: 1, miejsca: 1; `ONCONTINUE` (8) — gry: 1, miejsca: 1; `ONLEVELFINISHED` (8) — gry: 1, miejsca: 1; `ONDONE` (8) — nieużywane
- **Pola bez literału:** `BASEPOS` point (8) — gry: 1, miejsca: 1; `SIZE` point (8) — gry: 1, miejsca: 1; `GRID` point (8) — nieużywane
## PATTERN
Obiekty w skryptach: 141 (gry: 5).
- **Metody bez rejestracji:** `MOVE` (int, int) → — (8, BM) — gry: 5, miejsca: 324; `GETGRAPHICSAT` (int, int, bool, bool) → string / (int, int, bool, bool, int) → string / (int, int, bool, bool, int, int) → string (8, BM) — gry: 3, miejsca: 134; `GETCELLCORD` (int, int, string, int) → bool (8, BM) — gry: 3, miejsca: 28; `REMOVE` (int, int, …) → — / (int, …) → — / (string, int, int, …) → — (8, BM) — gry: 2, miejsca: 163; `SETPOSITION` (int, int) → — (8, BM) — gry: 2, miejsca: 77; `GETINFOAT` (int, int, bool, bool, int/string) → — (8, BM) — gry: 2, miejsca: 47; `GETALIASATCELL` (int, int, int) → string (8, BM) — gry: 2, miejsca: 15; `GETALIASAT` (int, int, bool, bool) → string (8, BM) — gry: 1, miejsca: 2; `SETGRID` (int, int) → — (7.2, 8, BM) — nieużywane; `GETALIASINFO` (string, string) → — (8, BM) — nieużywane
@@ -275,14 +296,15 @@ Obiekty w skryptach: 141 (gry: 5).
- **Eventy bez literału:** `ONDONE` (7.2, 8, BM) — nieużywane
- **Pola bez literału:** `GRIDX` int (7.2, 8, BM) — gry: 5, miejsca: 141; `GRIDY` int (7.2, 8, BM) — gry: 5, miejsca: 141; `HEIGHT` int (7.2, 8, BM) — gry: 5, miejsca: 141; `PRIORITY` int (7.2, 8, BM) — gry: 5, miejsca: 141; `TOCANVAS` bool (7.2, 8, BM) — gry: 5, miejsca: 141; `VISIBLE` bool (7.2, 8, BM) — gry: 5, miejsca: 141; `WIDTH` int (7.2, 8, BM) — gry: 5, miejsca: 141; `LAYERS` int (8, BM) — gry: 5, miejsca: 82
## MATRIX
Obiekty w skryptach: 5 (gry: 2).
- **Metody bez rejestracji:** `SETCELLLINK` (int, int, int, int) → — (8) — gry: 1, miejsca: 340; `SETCELLGFX` (int, int/string, string) → — (8) — gry: 1, miejsca: 84; `CLEAR` () → — (8) — gry: 1, miejsca: 80; `GETCELLLINK` (int, int, int) → int (8) — gry: 1, miejsca: 32; `GETCELLWITHGFX` (string) → int (8) — gry: 1, miejsca: 16; `GETCELLGFX` (int, int) → string (8) — gry: 1, miejsca: 12; `GETCELLOFFSETATPOS` (int, int) → int (8) — gry: 1, miejsca: 4; `GETHEIGHT` () → — (7.1, 8) — nieużywane; `GETWIDTH` () → — (7.1, 8) — nieużywane; `LOAD` (string) → — (7.1, 8) — nieużywane; `GETCELLDOWNLINK` (int, int, int) → int (8) — nieużywane; `GETCELLLEFTLINK` (int, int, int) → int (8) — nieużywane; `GETCELLRIGHTLINK` (int, int, int) → int (8) — nieużywane; `GETCELLUPLINK` (int, int, int) → int (8) — nieużywane; `SETCELLDOWNLINK` (int, int, int) → int (8) — nieużywane; `SETCELLRIGHTLINK` (int, int, int) → int (8) — nieużywane; `SETCELLUPLINK` (int, int, int) → int (8) — nieużywane
- **Eventy bez literału:** `ONDONE` (7.1, 8) — nieużywane
## NETSERVER
- **Metody bez rejestracji:** `ISSTARTED` () → bool (7.1, 7.2, 8, BM) — nieużywane; `SENDCMD` (string, string) → — / (string, …) → — (7.1, 7.2, 8, BM) — nieużywane; `START` () → — (7.1, 7.2, 8, BM) — nieużywane; `STOP` () → — (7.1, 7.2, 8, BM) — nieużywane; `GETDESTROYEDNAME` () → string (7.1, 7.2, 8) — nieużywane; `GETLATESTPLAYERNAME` () → string (7.1, 7.2, 8) — nieużywane; `GETLATESTTEXT` () → string (BM) — nieużywane; `GETLOGGEDPLAYERNAME` () → string (BM) — nieużywane; `GETPLAYERNAME` (int) → string (BM) — nieużywane; `GETPLAYERSNO` () → int (BM) — nieużywane; `SENDBEHAVIOUR` (string, string) → — / (string, …) → — (BM) — nieużywane; `SENDTEXT` (string, string) → — / (string, …) → — (BM) — nieużywane; `SENDVARIABLE` (string, string) → — / (string, …) → — (BM) — nieużywane
- **Eventy bez literału:** `ONCOMMAND` (7.1, 7.2, 8, BM) — nieużywane; `ONDESTROYPLAYER` (7.1, 7.2, 8, BM) — nieużywane; `ONNEWPLAYER` (7.1, 7.2, 8, BM) — nieużywane; `ONTEXT` (BM) — nieużywane
## INERTIA
Obiekty w skryptach: 1 (gry: 1).
- **Stuby w emulatorze:** `ADDFORCE` (—) — nieużywane; `CREATESPHERE` (—) — nieużywane; `DELETEBODY` (—) — nieużywane; `GETPOSITIONX` (—) — nieużywane; `GETPOSITIONY` (—) — nieużywane; `GETSPEED` (—) — nieużywane; `LINK` (—) — nieużywane; `LOAD` (—) — nieużywane; `RESETTIMER` (—) — nieużywane; `SETGRAVITY` (—) — nieużywane; `SETLINEARDAMPING` (—) — nieużywane; `SETMATERIAL` (—) — nieużywane; `SETPOSITION` (—) — nieużywane; `SETVELOCITY` (—) — nieużywane; `TICK` (—) — nieużywane; `UNLINK` (—) — nieużywane
## SCROLL
Obiekty w skryptach: 4 (gry: 4).
- **Metody bez rejestracji:** `ADD` (string) → — (7.2, 8, BM) — gry: 1, miejsca: 5; `SCROLLLEFT` (int) → — (7.2, 8, BM) — gry: 1, miejsca: 5; `SCROLLRIGHT` (int) → — (7.2, 8, BM) — gry: 1, miejsca: 5; `REMOVE` (string) → — (7.2, 8, BM) — gry: 1, miejsca: 3; `MOVEVIEWPORT` (int, int) → — (7.2, 8, BM) — nieużywane; `SCROLLDOWN` (int) → — (7.2, 8, BM) — nieużywane; `SCROLLUP` (int) → — (7.2, 8, BM) — nieużywane; `SETVIEWPORT` (int, int, int, int) → — (7.2, 8, BM) — nieużywane; `INVALIDATE` () → — (BM) — nieużywane; `MOVE` (int, int) → — (BM) — nieużywane
@@ -309,7 +331,7 @@ Obiekty w skryptach: 1 (gry: 1).
## MOUSE
Obiekty w skryptach: 1084 (gry: 30).
- **Metody bez rejestracji:** `SETCLIPRECT` (int, int, int, int) → — (8, BM) — gry: 5, miejsca: 14; `MOUSERELEASE` (int, int, string) → — (8, BM) — gry: 4, miejsca: 39; `GETLASTCLICKPOSX` () → int (6.1, 7.1, 7.2, 8, BM) — gry: 3, miejsca: 5; `GETLASTCLICKPOSY` () → int (6.1, 7.1, 7.2, 8, BM) — gry: 3, miejsca: 4; `CLICK` (int, int, string) → — (7.2, 8, BM) — gry: 3, miejsca: 4; `MOVE` (int, int) → — (6.1, 7.1, 7.2, 8, BM) — gry: 2, miejsca: 3; `ISLBUTTONDOWN` () → bool (BM) — gry: 1, miejsca: 1; `LOCKACTIVECURSOR` (bool) → — (8, BM) — nieużywane; `ISRBUTTONDOWN` () → bool (BM) — nieużywane; `SETACTIVERECT` (int, int, int, int) → — (BM) — nieużywane
- **Metody bez rejestracji:** `SETCLIPRECT` (int, int, int, int) → — (8, BM) — gry: 5, miejsca: 14; `MOUSERELEASE` (int, int, string) → — (7.2, 8, BM) — gry: 4, miejsca: 39; `GETLASTCLICKPOSX` () → int (6.1, 7.1, 7.2, 8, BM) — gry: 3, miejsca: 5; `GETLASTCLICKPOSY` () → int (6.1, 7.1, 7.2, 8, BM) — gry: 3, miejsca: 4; `CLICK` (int, int, string) → — (7.2, 8, BM) — gry: 3, miejsca: 4; `MOVE` (int, int) → — (6.1, 7.1, 7.2, 8, BM) — gry: 2, miejsca: 3; `ISLBUTTONDOWN` () → bool (BM) — gry: 1, miejsca: 1; `LOCKACTIVECURSOR` (bool) → — (8, BM) — nieużywane; `ISRBUTTONDOWN` () → bool (BM) — nieużywane; `SETACTIVERECT` (int, int, int, int) → — (BM) — nieużywane
- **Eventy bez literału:** `ONDBLCLICK` (6.1, 7.1, 7.2, 8, BM) — gry: 4, miejsca: 7; `ONDONE` (6.1, 7.1, 7.2, 8, BM) — nieużywane
- **Pola bez literału:** `CONDITION` string (6.1) — nieużywane
@@ -329,7 +351,8 @@ Obiekty w skryptach: 5192 (gry: 30).
## WORLD
Obiekty w skryptach: 30 (gry: 8).
- **Stuby w emulatorze:** `FOLLOW` (WORLD) — gry: 2, miejsca: 4; `GOTOPATH` (WORLD) — gry: 1, miejsca: 3; `ADDTOPATH` (WORLD) — nieużywane; `ADDWAYPOINT` (WORLD) — nieużywane; `FOLLOWROUTE` (WORLD) — nieużywane; `MOVETO` (WORLD) — nieużywane; `MOVETOPATH` (WORLD) — nieużywane; `REMOVEROUTE` (WORLD) — nieużywane; `REMOVEWAYPOINT` (WORLD) — nieużywane; `SETOBJECTPROPERTIES` (WORLD) — nieużywane
- **Stuby w emulatorze:** `FOLLOW` (7.2, 8, BM) — gry: 2, miejsca: 4; `GOTOPATH` (7.2, 8, BM) — gry: 1, miejsca: 3; `SETOBJECTPROPERTIES` (7.2, 8, BM) — nieużywane; `ADDTOPATH` (8, BM) — nieużywane; `ADDWAYPOINT` (8, BM) — nieużywane; `FOLLOWROUTE` (8, BM) — nieużywane; `MOVETO` (8, BM) — nieużywane; `MOVETOPATH` (8, BM) — nieużywane; `REMOVEROUTE` (8, BM) — nieużywane; `REMOVEWAYPOINT` (8, BM) — nieużywane
- **Eventy bez literału:** `ONDONE` (7.2, 8, BM) — nieużywane
## FILTER
Obiekty w skryptach: 1 (gry: 1).
@@ -352,7 +375,7 @@ Obiekty w skryptach: 3 (gry: 2).
- **Metody bez rejestracji:** `GETNAME` () → string (7.1, 7.2, 8, BM) — gry: 17, miejsca: 2102; `MSGBOX` () → — (7.1, 7.2, 8, BM) — gry: 14, miejsca: 94; `REMOVEALLBEHAVIOURS` () → — (8, BM) — gry: 2, miejsca: 12; `GETCLONESNO` () → int (8, BM) — gry: 2, miejsca: 4; `ADDTOARRAY` (string) → — (6.1, 7.1, 7.2, 8, BM) — nieużywane; `ADDTOGROUP` (string) → — (6.1, 7.1, 7.2, 8, BM) — nieużywane; `OVERIDESIGNALS` (bool) → — (BM) — nieużywane; `REMOVEBEHAVIOURFORCE` (string) → — (BM) — nieużywane
## @
- **Metody bez rejestracji:** `MSGBOX` () → — (7.2, 8, BM) — gry: 14, miejsca: 329; `RUNONTIMER` () → — (7.2, 8, BM) — nieużywane; `VALUE` () → — / (string) → — (7.2, 8, BM) — nieużywane; `CONTINUE` () → — (8, BM) — nieużywane; `CREATE` () → — (8, BM) — nieużywane; `GETAPPLICATIONNAME` () → string / () → — (8, BM) — nieużywane; `GETCURRENTSCENE` () → string / () → — (8, BM) — nieużywane
- **Metody bez rejestracji:** `MSGBOX` () → — (7.2, 8, BM) — gry: 14, miejsca: 329; `CREATE` () → — (7.2, 8, BM) — nieużywane; `RUNONTIMER` () → — (7.2, 8, BM) — nieużywane; `VALUE` () → — / (string) → — (7.2, 8, BM) — nieużywane; `CONTINUE` () → — (8, BM) — nieużywane; `GETAPPLICATIONNAME` () → string / () → — (8, BM) — nieużywane; `GETCURRENTSCENE` () → string / () → — (8, BM) — nieużywane
- **Stuby w emulatorze:** `FOR` (BM) — nieużywane
## CANVAS_OBSERVER
@@ -458,15 +481,16 @@ Obiekty w skryptach: 4333 (gry: 17).
- **Eventy bez literału:** `ONDONE` (6.1, 7.1, 7.2, 8, BM) — nieużywane
- **Pola bez literału:** `CONDITION` string (6.1) — nieużywane
## KOLOROWANKA
Obiekty w skryptach: 26 (gry: 17).
- **Metody bez rejestracji:** `GETENDCOLOR` (…) → int (8, BM) — gry: 1, miejsca: 1
- **Eventy bez literału:** `ONDONE` (7.2, 8, BM) — nieużywane
## SEQUENCE
Obiekty w skryptach: 1394 (gry: 28).
- **Eventy bez literału:** `ONDONE` (6.1, 7.1, 7.2, 8, BM) — nieużywane
- **Pola bez literału:** `CONDITION` string (6.1) — nieużywane
## KOLOROWANKA
Obiekty w skryptach: 26 (gry: 17).
- **Metody bez rejestracji:** `GETENDCOLOR` (KOLOROWANKA) — gry: 1, miejsca: 1
## STATICFILTER
Obiekty w skryptach: 316 (gry: 18).
- **Eventy bez literału:** `ONDONE` (7.1, 7.2, 8, BM) — nieużywane
+4 -5
View File
@@ -78,13 +78,12 @@ Adresy `impl_addr`, `case_addr`, `registration_addr` w snapshotach są VA, nie R
## Kolejka dalszej analizy
```sh
.venv/bin/python -m ams.inventory /ścieżka/do/_dll_repository \
/ścieżka/do/World.dll /ścieżka/do/Kolorowanka.dll \
--snapshots snapshots --out /tmp/binary-inventory.json
.venv/bin/python -m ams.inventory /Users/genszu/_dll_repository \
--snapshots snapshots --out data/binary-inventory.json
```
Manifest zachowuje wszystkie ścieżki identycznych DLL i proponuje pliki wynikowe po pełnym SHA. Nie uruchamia analiz. Klasyfikacja nazw wymaga przeglądu przy przemianowanych DLL. Starsze Pikliby są wyłączone z zakresu, Sekai oznaczone jako zależność natywna.
Manifest zachowuje wszystkie ścieżki identycznych DLL i proponuje pliki wynikowe po pełnym SHA. Nie uruchamia analiz. Klasyfikacja nazw wymaga przeglądu przy przemianowanych DLL. Starsze Pikliby są wyłączone z zakresu, Sekai oznaczone jako zależność natywna. Moduły sceny (WORLD, KOLOROWANKA, MATRIX, QMAN, INERTIA, BOARD) są w repozytorium DLL od 2026-10-28 i wyciąga je ten sam batch co silniki; ich typy mają w trackerze pochodzenie `module` (runner instalowany przez obiekt modułu).
Kolejka wszystkich unikalnych silników: [batch.md](batch.md). Statyczne dowody pluginów: [WORLD](world-analysis.md) i [KOLOROWANKA](kolorowanka-pilot.md).
Pozostałe etapy: uogólnienie ekstrakcji pluginów na kolejne warianty; uzupełnienie niepełnych mapowań klas, dziedziczenia, pól i zdarzeń; rozstrzygnięcie podwójnej rejestracji WORLD.SETPOSITION; analiza natywnego Sekai; porównanie zachowania i rejestracja przeglądów. Historyczny snapshot 7.1 bez SHA pozostaje oznaczony jako nieustalony; nowe ekstrakcje mają pełną tożsamość DLL. Istniejący ogólny pipeline `acquire(directory)` nadal wybiera jeden silnik — do masowej analizy służy `ams.acquire.batch`.
Pozostałe etapy: uzupełnienie niepełnych mapowań klas, dziedziczenia, pól i zdarzeń; rozstrzygnięcie podwójnej rejestracji WORLD.SETPOSITION; analiza natywnego Sekai; porównanie zachowania i rejestracja przeglądów. Historyczny snapshot 7.1 bez SHA pozostaje oznaczony jako nieustalony; nowe ekstrakcje mają pełną tożsamość DLL. Istniejący ogólny pipeline `acquire(directory)` nadal wybiera jeden silnik — do masowej analizy służy `ams.acquire.batch`.
+4
View File
@@ -33,3 +33,7 @@ Registration coverage says nothing about functional correctness, argument valida
- Review functional equivalence per method against dispatcher and Sekai implementations.
Default Ghidra string inventory initially omitted WORLD and script LOAD, although the bytes and code references were present. This demonstrates why empty `search_strings` results cannot prove absence. Factory exports and raw PE-backed strings resolved the gap. Session resources were closed successfully after evidence export.
## Automatic extraction (2026-10-28)
The batch (`ams.acquire.batch`, the scene-module path of `extract_engine_surface.py`) now extracts every variant of this module. On this binary it yields the same 67 name/ID pairs as the REA analysis above, plus dispatch with signatures and per-type events and fields. In the tracker the batch result takes precedence over this snapshot.