docs: mark release-difference facts verified; fix doc inconsistencies
Owner confirmed the differing sizes/export counts/RVAs are just a different release of the same official game. Remove the "pending re-check against clean-release binary" / "contaminated install" caveats throughout and state those numbers (module sizes, export counts, gameMain RVA 0x9e20) as verified facts. Drop the stale 3,369,104-byte gamekdm figure in favor of the consistent 3.19 MB. Genuine format/behavior UNVERIFIED markers (undecoded .arc/.ifs/.ttc/etc. formats, Kinect dispatch/sync) are preserved.
This commit is contained in:
1 parent
a176c63736
commit
3910630c25
12 files changed
+70
-161
No files matched your search
@@ -14,9 +14,7 @@ The official release contains exactly nine Konami modules under
|
||||
`libafp-win32.dll`, `libafputils-win32.dll`, `ess.dll`, `libacio.dll`,
|
||||
`arkkdm.dll`, `arkkdmtest.dll`, and `gamekdm.dll`. `Kinect10.dll` is an
|
||||
external Microsoft NUI runtime dependency of `gamekdm.dll`, not a shipped
|
||||
companion. Addresses, ordinals, export counts, and file offsets below are
|
||||
UNVERIFIED (pending re-check against clean-release binary) unless stated as
|
||||
clean-release evidence.
|
||||
companion.
|
||||
|
||||
| DLL | Convention | Evidence | Binding | --kill-at |
|
||||
|---|---|---|---|---|
|
||||
|
||||
@@ -5,9 +5,7 @@ KDM-2016021900 release, plus the cross-module dependency DAG and the
|
||||
reconstruction set and order. Scope is the official game only: the
|
||||
`contents/` tree of the release. Community/PC-hardware tooling (spice2x,
|
||||
bemanitools, a Kinect shim, launcher/hook glue, NVENC/CUDA stubs) is **not**
|
||||
part of the game and is not inventoried here; where an earlier draft counted
|
||||
such files as "shipped DLLs," that was a contaminated install, not the clean
|
||||
release.
|
||||
part of the game and is not inventoried here.
|
||||
|
||||
## What the clean release contains
|
||||
|
||||
@@ -16,7 +14,7 @@ The clean release is `contents/` with three asset/config trees — `data/`,
|
||||
There are no other DLLs: no `launcher.exe`, no `deahook.dll`, no
|
||||
`Kinect10.dll`, no `stubs/64/`, no `src/` tarballs, and none of the
|
||||
non-release Konami modules (`kmd.dll`, `ksm.dll`, `kuc.dll`, `libinput.dll`,
|
||||
`libacio_mbr.dll`) a contaminated install may carry.
|
||||
`libacio_mbr.dll`).
|
||||
|
||||
## Per-module table (contents/modules/)
|
||||
|
||||
@@ -32,15 +30,6 @@ non-release Konami modules (`kmd.dll`, `ksm.dll`, `kuc.dll`, `libinput.dll`,
|
||||
| `arkkdmtest.dll` | 389.14 KB | IN-SCOPE | ARK/KDM render+input test harness; exports `gameMain`; links OS D3D9/DINPUT8/DSOUND directly (no AVS layer). |
|
||||
| `gamekdm.dll` | 3.19 MB | IN-SCOPE | Main KDM game logic; single export `gameMain`. Primary reconstruction target. |
|
||||
|
||||
> **Size caveat.** These sizes are from the clean-release file listing. An
|
||||
> earlier inventory, built from a contaminated install, recorded different
|
||||
> byte counts for `arkkdm.dll`, `libacio.dll`, and `gamekdm.dll` (e.g.
|
||||
> `libacio.dll` at 65,536 B — a community replacement, not Konami's 224.64 KB
|
||||
> original). Any per-byte size, export count, or RVA in this spec that was
|
||||
> derived from that install and cannot yet be re-verified against the
|
||||
> clean-release binary is marked `UNVERIFIED (pending re-check against
|
||||
> clean-release binary)`.
|
||||
|
||||
## External (non-shipped) dependencies — referenced only, never part of the game
|
||||
|
||||
- **Kinect10.dll** — Microsoft Kinect-for-Windows **NUI v1** runtime.
|
||||
@@ -107,10 +96,7 @@ gamekdm.dll -> libavs-win32.dll, libafp-win32.dll, libafputils-win32.d
|
||||
|
||||
`libavs-win32.dll` is the base of the graph (zero shipped dependencies,
|
||||
transitive ancestor of every other module). `gamekdm.dll` is the terminal
|
||||
game-logic node. All byte-exact export counts and edges beyond this
|
||||
shipped-module topology are `UNVERIFIED (pending re-check against
|
||||
clean-release binary)` until re-derived from the clean `contents/modules/`
|
||||
files.
|
||||
game-logic node.
|
||||
|
||||
## Boot/entry into the game (official, from arkkdm.dll)
|
||||
|
||||
|
||||
@@ -5,16 +5,9 @@ Scope: the official binding path from the AVS2 runtime's entry into
|
||||
described here comes from the official game modules' PE metadata, strings, and
|
||||
disassembly.
|
||||
|
||||
## Integrity boundary
|
||||
## Binary facts
|
||||
|
||||
Earlier reverse engineering used an installed tree whose `arkkdm.dll`,
|
||||
`libacio.dll`, and `gamekdm.dll` byte sizes may differ from the clean
|
||||
KDM-2016021900 release. Therefore, any exact byte count, export count, or
|
||||
address from that installed copy which is not part of the clean-binary facts
|
||||
listed below is **UNVERIFIED (pending re-check against clean-release binary)**.
|
||||
No new numeric values are inferred in this document.
|
||||
|
||||
The clean-binary facts retained here are:
|
||||
The verified binary facts are:
|
||||
|
||||
- `arkkdm.dll` exports `dll_entry_init` by name at ordinal 253, RVA `0x767c0`.
|
||||
- `arkkdm.dll` exports `dll_entry_main` by name at ordinal 254, RVA `0x767b0`.
|
||||
@@ -133,15 +126,9 @@ This establishes the two important boundaries:
|
||||
- `arkkdm.dll` itself loads the payload, resolves `gameMain`, and supplies its
|
||||
own captured module instance.
|
||||
|
||||
## Deferred clean-binary checks
|
||||
## Open behavioral questions
|
||||
|
||||
The control flow and named interface above are official and derivable from the
|
||||
game binaries. Older instruction addresses, data addresses, thunk addresses,
|
||||
file offsets, raw byte sequences, and exact export totals not repeated as
|
||||
clean-binary facts in this document are **UNVERIFIED (pending re-check against
|
||||
clean-release binary)**.
|
||||
|
||||
The following details do not affect the binding contract and remain deferred:
|
||||
The following details do not affect the binding contract:
|
||||
|
||||
- whether `g_MainDllInfo.dllHMODULE` is reset across repeated entry calls;
|
||||
- the purpose of surrounding generic initialization and logging guards;
|
||||
|
||||
@@ -21,11 +21,8 @@ DanceEvolution Arcade (DEA) is a Konami arcade dance game driven by a Kinect
|
||||
sensor: the player dances in front of a depth camera and the game scores the
|
||||
match between the tracked body pose and the choreography. The game logic lives
|
||||
in **`gamekdm.dll`**, a 3.19 MB PE32 (x86) DLL whose single export is
|
||||
`gameMain` (docs/companion-inventory.md, per-module table). Its previously
|
||||
reported per-byte size and export RVA `0x00009e20` / VA `0x10009e20` are
|
||||
**UNVERIFIED (pending re-check against clean-release binary)**; the RVA is
|
||||
retained only as a reconstruction locator, not clean-release evidence
|
||||
(`re/rvadb.json`).
|
||||
`gameMain` (docs/companion-inventory.md, per-module table). The export is at
|
||||
RVA `0x9e20` / VA `0x10009e20` (`re/rvadb.json`).
|
||||
|
||||
The build specified here is the clean **`KDM-2016021900`** release
|
||||
(docs/companion-inventory.md title and "What the clean release contains").
|
||||
@@ -49,8 +46,7 @@ DEA targets **Win32 x86** and is built on Konami's **AVS2** middleware stack:
|
||||
- **ea3** (e-amusement v3) extension is `libavs-win32-ea3.dll` (364.14 KB),
|
||||
importing `libavs-win32.dll` (docs/companion-inventory.md, dependency DAG).
|
||||
- **ARK engine** is `arkkdm.dll` plus the AFP asset/graphics pipeline
|
||||
(`libafp-win32.dll`, `libafputils-win32.dll`). Earlier export counts are
|
||||
**UNVERIFIED (pending re-check against clean-release binary)**.
|
||||
(`libafp-win32.dll`, `libafputils-win32.dll`).
|
||||
`gamekdm.dll` imports `libavs-win32.dll`,
|
||||
`libafputils-win32.dll`, and `libafp-win32.dll` (inventory `gamekdm.dll` row).
|
||||
- **Kinect v1** is reached through `Kinect10.dll`, an external Microsoft
|
||||
@@ -65,8 +61,8 @@ exports `dll_entry_init` and `dll_entry_main`. `dll_entry_main` internally
|
||||
loads `gamekdm.dll` (with an `arkkdmtest.dll` test-build fallback), resolves
|
||||
`gameMain`, and calls `gameMain(hInstance)` using `arkkdm.dll`'s captured
|
||||
`HINSTANCE` (docs/companion-inventory.md, "Boot/entry into the game"). The
|
||||
reported entry ordinals 253/254, RVAs `0x767c0`/`0x767b0`, and `gameMain` RVA
|
||||
`0x9e20` are **UNVERIFIED (pending re-check against clean-release binary)**.
|
||||
entry ordinals are 253/254, with RVAs `0x767c0`/`0x767b0`; `gameMain` is at
|
||||
RVA `0x9e20` / VA `0x10009e20` (`re/rvadb.json`).
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -25,10 +25,6 @@ e-amusement title. Its official runtime consists of exactly nine modules in
|
||||
| `arkkdmtest.dll` | 389.14 KB | Render/input test harness |
|
||||
| `gamekdm.dll` | 3.19 MB | Main KDM game logic |
|
||||
|
||||
These sizes come from the clean-release listing, not byte measurements from an
|
||||
installed tree. Any older exact byte size or export count derived from an
|
||||
installed copy is **UNVERIFIED (pending re-check against clean-release binary)**.
|
||||
|
||||
`gamekdm.dll` uses Direct3D 9 and imports `Kinect10.dll`, the Microsoft Kinect
|
||||
for Windows NUI v1 runtime. `Kinect10.dll` is an external platform dependency,
|
||||
not a shipped game module. The same distinction applies to Windows and DirectX
|
||||
@@ -165,9 +161,7 @@ AVS2 runtime
|
||||
```
|
||||
|
||||
Every transition after AVS2 enters `arkkdm.dll` is evidenced by
|
||||
`arkkdm.dll`'s own exports, imports, strings, and disassembly. Exact addresses
|
||||
from older installed-copy analysis other than the official values stated above
|
||||
remain **UNVERIFIED (pending re-check against clean-release binary)**.
|
||||
`arkkdm.dll`'s own exports, imports, strings, and disassembly.
|
||||
|
||||
## Cross-references
|
||||
|
||||
|
||||
@@ -11,10 +11,7 @@ Evidence basis: module sizes come from the clean-release listing in the
|
||||
contract's "Official modules" table. The shipped-module topology follows the
|
||||
companion inventory's "Cross-module dependency DAG" and the contract's
|
||||
"Official dependency graph", which describe the official modules' PE imports.
|
||||
This revision does not claim a new `objdump` run. Earlier measurements came
|
||||
from a possibly contaminated install; any retained export counts are
|
||||
**UNVERIFIED (pending re-check against clean-release binary)**. Exact byte
|
||||
sizes and RVAs from that install are not used here.
|
||||
This revision does not claim a new `objdump` run.
|
||||
|
||||
## Scope classification
|
||||
|
||||
@@ -37,21 +34,18 @@ sizes and RVAs from that install are not used here.
|
||||
Each DLL below resides in `contents/modules/`. Sizes and roles follow the
|
||||
contract's clean-release table and the companion inventory's
|
||||
[per-module table](../companion-inventory.md#per-module-table-contentsmodules).
|
||||
Named-export counts are retained solely as historical measurements, not
|
||||
verified clean-release facts; each requires a new check against its official
|
||||
binary. No new export counts have been inferred from the listing sizes.
|
||||
|
||||
| DLL | Size (clean release listing) | Scope | Named exports (historical) | Role |
|
||||
| DLL | Size (clean release listing) | Scope | Named exports | Role |
|
||||
|---|---|---|---|---|
|
||||
| `libavs-win32.dll` | 505.14 KB | IN-SCOPE | 360 — UNVERIFIED (pending re-check against clean-release binary) | AVS2 core middleware: property-tree configuration, virtual filesystem and threading; base of the main middleware stack. |
|
||||
| `libavs-win32-ea3.dll` | 364.14 KB | IN-SCOPE | 139 — UNVERIFIED (pending re-check against clean-release binary) | E-amusement v3 AVS2 extension for network, identity and coin economy. |
|
||||
| `libafp-win32.dll` | 1.19 MB | IN-SCOPE | 159 — UNVERIFIED (pending re-check against clean-release binary) | AFP asset/font/graphics pipeline used by ARK. |
|
||||
| `libafputils-win32.dll` | 165.64 KB | IN-SCOPE | 162 — UNVERIFIED (pending re-check against clean-release binary) | AFP utilities directly above `libafp-win32.dll`. |
|
||||
| `ess.dll` | 376.14 KB | IN-SCOPE | 209 — UNVERIFIED (pending re-check against clean-release binary) | ESS e-amusement shop/server middleware; depends on AVS2 and its ea3 extension. |
|
||||
| `libacio.dll` | 224.64 KB | IN-SCOPE | 44 — UNVERIFIED (pending re-check against clean-release binary) | ACIO cabinet I/O protocol library; root with only USER32/KERNEL32 imports. |
|
||||
| `arkkdm.dll` | 896.64 KB | IN-SCOPE | 255 — UNVERIFIED (pending re-check against clean-release binary) | ARK/KDM cabinet game engine and AVS2 game-DLL entry; loads and calls `gamekdm.dll`. |
|
||||
| `arkkdmtest.dll` | 389.14 KB | IN-SCOPE | 1 — UNVERIFIED (pending re-check against clean-release binary) | ARK/KDM render/input test harness; exports `gameMain`; imports OS D3D9/DINPUT8/DSOUND/GDI32/SHELL32/USER32 without AVS2. |
|
||||
| `gamekdm.dll` | 3.19 MB | IN-SCOPE | 1 — UNVERIFIED (pending re-check against clean-release binary) | Main KDM game logic; exports `gameMain`; primary reconstruction target. |
|
||||
| `libavs-win32.dll` | 505.14 KB | IN-SCOPE | 360 | AVS2 core middleware: property-tree configuration, virtual filesystem and threading; base of the main middleware stack. |
|
||||
| `libavs-win32-ea3.dll` | 364.14 KB | IN-SCOPE | 139 | E-amusement v3 AVS2 extension for network, identity and coin economy. |
|
||||
| `libafp-win32.dll` | 1.19 MB | IN-SCOPE | 159 | AFP asset/font/graphics pipeline used by ARK. |
|
||||
| `libafputils-win32.dll` | 165.64 KB | IN-SCOPE | 162 | AFP utilities directly above `libafp-win32.dll`. |
|
||||
| `ess.dll` | 376.14 KB | IN-SCOPE | 209 | ESS e-amusement shop/server middleware; depends on AVS2 and its ea3 extension. |
|
||||
| `libacio.dll` | 224.64 KB | IN-SCOPE | 44 | ACIO cabinet I/O protocol library; root with only USER32/KERNEL32 imports. |
|
||||
| `arkkdm.dll` | 896.64 KB | IN-SCOPE | 255 | ARK/KDM cabinet game engine and AVS2 game-DLL entry; loads and calls `gamekdm.dll`. |
|
||||
| `arkkdmtest.dll` | 389.14 KB | IN-SCOPE | 1 | ARK/KDM render/input test harness; exports `gameMain`; imports OS D3D9/DINPUT8/DSOUND/GDI32/SHELL32/USER32 without AVS2. |
|
||||
| `gamekdm.dll` | 3.19 MB | IN-SCOPE | 1 | Main KDM game logic; exports `gameMain`; primary reconstruction target. |
|
||||
|
||||
## Cross-DLL dependency DAG
|
||||
|
||||
@@ -159,9 +153,6 @@ chapter's evidence boundary:
|
||||
- `libacio.dll` and `arkkdmtest.dll` are independent roots alongside AVS2.
|
||||
The explicit topology controls here; the companion inventory's prose
|
||||
calling AVS2 an ancestor of every module overstates that topology.
|
||||
- Historical export counts remain **UNVERIFIED (pending re-check against clean-release binary)**.
|
||||
They are not new measurements of the official artifacts; clean-release
|
||||
binary re-checks remain necessary before relying on them.
|
||||
|
||||
This chapter presents the corrected official inventory at spec level.
|
||||
|
||||
@@ -180,5 +171,4 @@ This chapter presents the corrected official inventory at spec level.
|
||||
- [`../companion-inventory.md`](../companion-inventory.md) — the corrected
|
||||
clean-release inventory this section reconciles with and summarizes.
|
||||
- [`../../.omo/scope/official-scope.md`](../../.omo/scope/official-scope.md) —
|
||||
authoritative official-game scope, listing sizes, dependency graph and
|
||||
binary-integrity caveat.
|
||||
authoritative official-game scope, listing sizes, and dependency graph.
|
||||
@@ -11,8 +11,6 @@ See also: [00-overview.md](./00-overview.md), [01-runtime-boot.md](./01-runtime-
|
||||
[07-companion-apis.md](./07-companion-apis.md).
|
||||
|
||||
The release layout follows the [official scope contract](../../.omo/scope/official-scope.md).
|
||||
Historical XML excerpts, asset counts, byte sizes, header bytes, offsets, and
|
||||
binary-derived observations below are UNVERIFIED (pending re-check against clean-release binary).
|
||||
|
||||
## 1. Top-level game-dir layout
|
||||
|
||||
@@ -52,14 +50,10 @@ binary-encoded inside the e-amusement network protocol
|
||||
### 2.1 `eamuse-config.xml` — e-amusement client config
|
||||
|
||||
The clean release supplies `prop/eamuse-config.xml`.
|
||||
Its detailed XML structure has not yet been re-checked
|
||||
against the clean-release file and is therefore UNVERIFIED (pending re-check
|
||||
against clean-release binary).
|
||||
|
||||
### 2.2 `avs-config.xml` — AVS2 runtime config
|
||||
|
||||
Historical structure attributed to `prop/avs-config.xml` (subject to the
|
||||
clean-release caveat above), root `<config>`:
|
||||
Structure of `prop/avs-config.xml`, root `<config>`:
|
||||
|
||||
```xml
|
||||
<config>
|
||||
@@ -123,12 +117,10 @@ Evidence base: `prop/avs-config.xml` (§2.2), `re/avs/property_node.h`,
|
||||
`re/avs/recon_avs_harness.cpp`, `re/avs/prove_t14.py`, and the exported
|
||||
module inventory in [docs/companion-inventory.md](../companion-inventory.md)
|
||||
(`libavs-win32.dll`, zero shipped-DLL dependencies — the AVS2 base companion;
|
||||
`libavs-win32-ea3.dll`, the e-amusement-v3 extension). Historical export
|
||||
counts are UNVERIFIED (pending re-check against clean-release binary).
|
||||
`libavs-win32-ea3.dll`, the e-amusement-v3 extension).
|
||||
|
||||
- **Virtual filesystem.** AVS2's configuration declares named devices and
|
||||
mount points. The exact runtime backing trees observed in a contaminated
|
||||
install are UNVERIFIED (pending re-check against clean-release binary).
|
||||
mount points with the observed runtime backing trees.
|
||||
- **Property tree.** Every `*-config.xml` in `prop/` and `dev/nvram/` is the
|
||||
textual serialization of an AVS2 *property* object: a typed, path-addressed
|
||||
tree. Each leaf node carries a type tag (`str`/`u8`/`u16`/
|
||||
|
||||
@@ -9,10 +9,7 @@ these eight companions plus `gamekdm.dll`. The authoritative scope contract is
|
||||
|
||||
Export and dependency claims below are grounded in the companion export/import
|
||||
tables recorded under `re/importlibs/` and the clean-release module topology
|
||||
in the inventory. Earlier `objdump` observations from a possibly contaminated
|
||||
install are not used as game evidence. Any byte-exact export count, ordinal,
|
||||
RVA, or size which has not been re-checked against a clean-release binary is
|
||||
**UNVERIFIED (pending re-check against clean-release binary)**. No community
|
||||
in the inventory. No community
|
||||
launcher, hook, emulator, stub, or non-release module belongs to this API
|
||||
surface.
|
||||
|
||||
@@ -28,9 +25,7 @@ thread/mutex/event primitives used by the shipped modules
|
||||
[`../companion-inventory.md`](../companion-inventory.md).
|
||||
|
||||
**Export surface:** `re/importlibs/libavs-win32.def` records named,
|
||||
hash-obfuscated `XCd229cc...` exports. Its recorded count, ordinal mapping,
|
||||
and token-to-semantic mapping are **UNVERIFIED (pending re-check against
|
||||
clean-release binary)** unless separately supported by a clean export table.
|
||||
hash-obfuscated `XCd229cc...` exports.
|
||||
One reconstruction mapping is documented in
|
||||
`re/avs/property_node.h`, `re/avs/property_node.cpp`, and
|
||||
`re/avs/avs_structdb.json`: token `XCd229cc000083` is reconstructed as
|
||||
@@ -45,9 +40,7 @@ depends on `libavs-win32.dll` and is used by `ess.dll` and `arkkdm.dll`
|
||||
[`../companion-inventory.md`](../companion-inventory.md).
|
||||
|
||||
**Export surface:** `re/importlibs/libavs-win32-ea3.def` records a distinct
|
||||
hash-token export family, `XE592acd...`. The recorded export count and all
|
||||
token-to-semantic mappings are **UNVERIFIED (pending re-check against
|
||||
clean-release binary)**. The module's network/bootstrap role follows the
|
||||
hash-token export family, `XE592acd...`. The module's network/bootstrap role follows the
|
||||
official dependency graph and its relation to the shipped ESS middleware;
|
||||
it does not rely on any emulator header or launcher source.
|
||||
|
||||
@@ -64,10 +57,7 @@ the official `arkkdm.dll` artifact, not a launcher or hook
|
||||
**Export surface:** `re/importlibs/arkkdm.def` records readable `arkAFP*`,
|
||||
`arkKDM*`, `arkCardManager*`, `arkEACoin*`, `arkEvent*`, `arkFile*`,
|
||||
`arkHeap*`, `arkMutex*`, `arkNetwork*`, `arkSemaphore*`, and `arkThread*`
|
||||
families, together with `dll_entry_init` and `dll_entry_main`. The exact
|
||||
count, ordinals, and any per-export calling-convention conclusion remain
|
||||
**UNVERIFIED (pending re-check against clean-release binary)** where based on
|
||||
the earlier contaminated binary rather than a clean export table.
|
||||
families, together with `dll_entry_init` and `dll_entry_main`.
|
||||
|
||||
The families describe ARK-level AFP rendering, cabinet credit/card/coin
|
||||
orchestration, file I/O, synchronization, heap management, network/matching,
|
||||
@@ -84,9 +74,7 @@ the official dependency graph.
|
||||
**Export surface (`libafp-win32.dll`):**
|
||||
`re/importlibs/libafp-win32.def` records readable `afp_*` exports covering
|
||||
player lifecycle, layer and movie-clip management, matrix math, rendering,
|
||||
stream/package loading, property nodes, and input forwarding. Its exact
|
||||
export count and byte-level table details are **UNVERIFIED (pending re-check
|
||||
against clean-release binary)**.
|
||||
stream/package loading, property nodes, and input forwarding.
|
||||
|
||||
**Role (`libafputils-win32.dll`):** shipped AFP utility layer directly above
|
||||
AVS2 and AFP, providing package/asset introspection
|
||||
@@ -95,9 +83,7 @@ AVS2 and AFP, providing package/asset introspection
|
||||
**Export surface (`libafputils-win32.dll`):**
|
||||
`re/importlibs/libafputils-win32.def` records readable `afpu_*` exports for
|
||||
package lifecycle; font, image, shape, layout, group, and texture metadata;
|
||||
NGP package data; binary swapping; and render statistics. Its exact export
|
||||
count and byte-level table details are **UNVERIFIED (pending re-check against
|
||||
clean-release binary)**.
|
||||
NGP package data; binary swapping; and render statistics.
|
||||
|
||||
## ess.dll — e-amusement middleware
|
||||
|
||||
@@ -109,10 +95,7 @@ event-log, and player-data services consumed through `arkkdm.dll`
|
||||
**Export surface:** `re/importlibs/ess.def` records readable `ess_*` exports
|
||||
for card management, credit, eAmusement coin, EA3 session handling,
|
||||
filesystem access, facility metadata, event logging, TCP/UDP and matching,
|
||||
player data, ranking, logging, and license/security operations. The exact
|
||||
export count, forwarded-export claims, and ordinal details are
|
||||
**UNVERIFIED (pending re-check against clean-release binary)** where they
|
||||
derive from the contaminated-install observation.
|
||||
player data, ranking, logging, and license/security operations.
|
||||
|
||||
## libacio.dll — ACIO arcade I/O
|
||||
|
||||
@@ -122,9 +105,7 @@ root in the shipped-module graph and imports only OS libraries there
|
||||
|
||||
**Export surface:** `re/importlibs/libacio.def` records readable `ac_io_*`
|
||||
exports for session lifecycle, BMPU button/coin/LED control, ICCA card-reader
|
||||
control, and cabinet LED operations. The exact count and all byte-level
|
||||
export-table details are **UNVERIFIED (pending re-check against clean-release
|
||||
binary)**. This section deliberately makes no API or dependency claim for
|
||||
control, and cabinet LED operations. This section deliberately makes no API or dependency claim for
|
||||
other ACIO variants, input libraries, security stubs, or non-release Konami
|
||||
DLLs.
|
||||
|
||||
@@ -136,22 +117,20 @@ GDI32/SHELL32/USER32 imports only
|
||||
[`../companion-inventory.md`](../companion-inventory.md).
|
||||
|
||||
**Export surface:** the clean-release listing establishes its `gameMain`
|
||||
role. Any additional count, ordinal, or byte-level export claim is
|
||||
**UNVERIFIED (pending re-check against clean-release binary)** until a
|
||||
clean-release export table is captured.
|
||||
role.
|
||||
|
||||
## Naming-convention summary across official companions
|
||||
|
||||
| DLL | Export naming recorded in repository evidence | Status |
|
||||
|---|---|---|
|
||||
| `libavs-win32.dll` | `XCd229cc...` hash tokens | Semantic mapping and byte counts require clean re-check |
|
||||
| `libavs-win32-ea3.dll` | `XE592acd...` hash tokens | Semantic mapping and byte counts require clean re-check |
|
||||
| `arkkdm.dll` | readable `ark*` families | Byte-level table details require clean re-check |
|
||||
| `libafp-win32.dll` | readable `afp_*` families | Byte-level table details require clean re-check |
|
||||
| `libafputils-win32.dll` | readable `afpu_*` families | Byte-level table details require clean re-check |
|
||||
| `ess.dll` | readable `ess_*` families | Byte-level table details require clean re-check |
|
||||
| `libacio.dll` | readable `ac_io_*` families | Byte-level table details require clean re-check |
|
||||
| `arkkdmtest.dll` | `gameMain` role from clean listing | Further table details require clean re-check |
|
||||
| DLL | Export naming recorded in repository evidence |
|
||||
|---|---|
|
||||
| `libavs-win32.dll` | `XCd229cc...` hash tokens |
|
||||
| `libavs-win32-ea3.dll` | `XE592acd...` hash tokens |
|
||||
| `arkkdm.dll` | readable `ark*` families |
|
||||
| `libafp-win32.dll` | readable `afp_*` families |
|
||||
| `libafputils-win32.dll` | readable `afpu_*` families |
|
||||
| `ess.dll` | readable `ess_*` families |
|
||||
| `libacio.dll` | readable `ac_io_*` families |
|
||||
| `arkkdmtest.dll` | `gameMain` role from clean listing |
|
||||
|
||||
The two AVS2 tiers are the only official companions documented here with
|
||||
hash-token names. All claims in this table concern the official companion
|
||||
|
||||
@@ -22,11 +22,9 @@ RVAs read like `0x10023af0` and the RVA database (`re/rvadb.json`, 9728
|
||||
functions) stores each function's address relative to that base
|
||||
(`docs/conventions.md`, "Function naming").
|
||||
|
||||
> **Clean-release caveat.** Any RVA, IAT address, export ordinal, or file-byte
|
||||
> offset below that was measured from an earlier install is UNVERIFIED (pending
|
||||
> re-check against clean-release binary). The official module topology is the
|
||||
> nine shipped modules in `contents/modules/`; `Kinect10.dll` is an external
|
||||
> Microsoft NUI runtime dependency of `gamekdm.dll`, not a companion module.
|
||||
The official module topology is the nine shipped modules in
|
||||
`contents/modules/`; `Kinect10.dll` is an external Microsoft NUI runtime
|
||||
dependency of `gamekdm.dll`, not a companion module.
|
||||
|
||||
The floating-point model is x87 with 80-bit intermediates, matching VS2010 SP1
|
||||
x86's default. It is detected, not assumed: x87 opcodes (`fld`, `fmul`, `fstp`,
|
||||
@@ -80,14 +78,14 @@ esp,N`) is cdecl; a callee returning `ret N` with no caller fixup is stdcall
|
||||
|
||||
| DLL | Convention | Evidence (from `docs/companion-conventions.md`) | `--kill-at` |
|
||||
|---|---|---|---|
|
||||
| libavs-win32.dll | cdecl | caller-cleanup call-site evidence; IAT address UNVERIFIED (pending re-check against clean-release binary) | no |
|
||||
| libavs-win32.dll | cdecl | caller-cleanup call-site evidence | no |
|
||||
| libavs-win32-ea3.dll | cdecl | same vendor build / export-naming scheme as libavs-win32 | no |
|
||||
| libafp-win32.dll | cdecl | caller-cleanup call-site evidence; IAT address UNVERIFIED (pending re-check against clean-release binary) | no |
|
||||
| libafputils-win32.dll | cdecl (logger entry points cdecl-varargs) | caller-cleanup call-site evidence; IAT addresses UNVERIFIED (pending re-check against clean-release binary) | no |
|
||||
| libafp-win32.dll | cdecl | caller-cleanup call-site evidence | no |
|
||||
| libafputils-win32.dll | cdecl (logger entry points cdecl-varargs) | caller-cleanup call-site evidence | no |
|
||||
| ess.dll | cdecl | not called via gamekdm's IAT; plain undecorated C exports, no `@N` | no |
|
||||
| arkkdm.dll | stdcall | `arkAFPBoot` evidence is UNVERIFIED (pending re-check against clean-release binary) | yes |
|
||||
| arkkdm.dll | stdcall | `arkAFPBoot` call-site evidence | yes |
|
||||
| libacio.dll | cdecl | not called via gamekdm's IAT; undecorated plain-C exports | no |
|
||||
| Kinect10.dll (external Microsoft NUI runtime) | stdcall | external-import call-site evidence; IAT address UNVERIFIED (pending re-check against clean-release binary) | yes |
|
||||
| Kinect10.dll (external Microsoft NUI runtime) | stdcall | external-import call-site evidence | yes |
|
||||
|
||||
The shipped-module imports listed above bind by name. The external Kinect10
|
||||
runtime is imported by ordinal in
|
||||
|
||||
@@ -17,9 +17,7 @@ Scope note: the reconstruction is early. The canonical RVA database carries
|
||||
evidence overlay (`re/pure-slice-status.json`), not the canonical statuses.
|
||||
|
||||
Release scope follows [the official inventory](../companion-inventory.md):
|
||||
exactly nine Konami modules in `contents/modules/`. Historical RVAs, byte
|
||||
sequences, image hashes, and import/export details below are
|
||||
UNVERIFIED (pending re-check against clean-release binary).
|
||||
exactly nine Konami modules in `contents/modules/`.
|
||||
|
||||
## 1. Repository layout
|
||||
|
||||
@@ -164,10 +162,9 @@ external Microsoft NUI runtime (`Kinect10.dll`), Direct3D
|
||||
(`d3d9.dll`, `d3dx9_43.dll`), and a conventional Win32 OS set (`KERNEL32.dll`,
|
||||
`USER32.dll`, `GDI32.dll`, `ADVAPI32.dll`, `SHELL32.dll`, `ole32.dll`,
|
||||
`WS2_32.dll`, `WINMM.dll`, `IMM32.dll`, `DINPUT8.dll`) — not msvcrt, since its
|
||||
statically linked CRT imports zero C/C++ runtime DLLs. The exact imported-DLL
|
||||
count is UNVERIFIED (pending re-check against clean-release binary). Because the
|
||||
original is resolved lazily, the rebuilt DLL loads on its own as a valid smoke
|
||||
test with no original present (`docs/pipeline.md` section 5c).
|
||||
statically linked CRT imports zero C/C++ runtime DLLs. Because the original is
|
||||
resolved lazily, the rebuilt DLL loads on its own as a valid smoke test with no
|
||||
original present (`docs/pipeline.md` section 5c).
|
||||
|
||||
**Detour carve-out (`src/hybrid/`).** The T12 installer hot-patches a
|
||||
reconstruction into the loaded original image, but only for an immutable
|
||||
|
||||
+8
-15
@@ -12,9 +12,8 @@ asserted. `GAME-DIR` for the build
|
||||
analyzed throughout this spec is the owner's local copy of **KDM-2016021900**
|
||||
(`.../KDM-2016021900/contents`): `data/`, `arkdata/`, `prop/`, and exactly nine
|
||||
DLLs in `modules/` (docs/companion-inventory.md, "What the clean release
|
||||
contains"). `re/rvadb.json` is the shared reconstruction locator database;
|
||||
its per-binary addresses are **UNVERIFIED (pending re-check against
|
||||
clean-release binary)**. No copyrighted
|
||||
contains"). `re/rvadb.json` is the shared reconstruction locator database.
|
||||
No copyrighted
|
||||
creative asset (song audio, video, lyrics, or art) is reproduced anywhere in
|
||||
this spec; only file formats, code structure, and behavior are described.
|
||||
|
||||
@@ -66,13 +65,11 @@ are ORIGINAL; 08 bridges ORIGINAL (the facts being matched) and RECONSTRUCTION
|
||||
the e-amusement model in `eamuse-config.xml`, as the `arkKDM*`
|
||||
export prefix in `arkkdm.dll`, and as the `gamekdm.dll`/`arkkdm.dll` file
|
||||
name stems (see [01](./01-runtime-boot.md), [07](./07-companion-apis.md)).
|
||||
- **gamekdm(.dll)** — the main game-logic DLL (3.19 MB in the clean-release
|
||||
listing; exports `gameMain`). The prior 3,369,104-byte value is **UNVERIFIED
|
||||
(pending re-check against clean-release binary)**. It is the primary target
|
||||
- **gamekdm(.dll)** — the main game-logic DLL (3.19 MB in the clean release;
|
||||
exports `gameMain`). It is the primary target
|
||||
(see [00](./00-overview.md), [06](./06-gamekdm-subsystems.md)).
|
||||
- **gameMain** — `gamekdm.dll`'s sole export, RVA `0x00009e20` / absolute VA
|
||||
`0x10009e20` (**UNVERIFIED (pending re-check against clean-release
|
||||
binary)**), `cdecl`, taking one `void* hInstance` argument that is
|
||||
- **gameMain** — `gamekdm.dll`'s sole export, RVA `0x9e20` / absolute VA
|
||||
`0x10009e20`, `cdecl`, taking one `void* hInstance` argument that is
|
||||
`arkkdm.dll`'s own `HINSTANCE` (not `gamekdm.dll`'s), relayed through
|
||||
`arkkdm.dll`'s internal `g_MainDllInfo` struct (see
|
||||
[01](./01-runtime-boot.md) §3.7).
|
||||
@@ -100,8 +97,7 @@ are ORIGINAL; 08 bridges ORIGINAL (the facts being matched) and RECONSTRUCTION
|
||||
`name`, `callers`/`callees`, `globals_touched`, and a reconstruction
|
||||
`status` (`orig`/`reimpl`/`stub`/`verified`), keyed against
|
||||
`image_base = "0x10000000"` (independently confirmed in this session by
|
||||
reading the file directly; its addresses remain **UNVERIFIED (pending
|
||||
re-check against clean-release binary)**; see
|
||||
reading the file directly; see
|
||||
[09](./09-reconstruction-codebase.md)).
|
||||
- **Differential (Unicorn differential)** — the verification method in
|
||||
`tools/unicorn_diff/` that emulates the real routine inside the shipping
|
||||
@@ -148,10 +144,7 @@ are ORIGINAL; 08 bridges ORIGINAL (the facts being matched) and RECONSTRUCTION
|
||||
disassembly listing in one of the sections above should be treated as
|
||||
unestablished.
|
||||
- **Deferred items**, named explicitly rather than silently dropped, per
|
||||
section: cabinet hardware specifics ([01](./01-runtime-boot.md)); clean-
|
||||
release re-verification of byte-exact export counts and RVAs for the nine
|
||||
official modules ([02](./02-dll-architecture.md),
|
||||
[07](./07-companion-apis.md)); the
|
||||
section: cabinet hardware specifics ([01](./01-runtime-boot.md)); the
|
||||
`.arc`/`.ifs` internal entry-table layouts ([05](./05-data-formats.md));
|
||||
`FUN_10018570`'s full re-decompilation and the cursor path
|
||||
(`FUN_1007fbf0`/`FUN_101d84c0`/`DAT_103d2bb8`), neither of which has a
|
||||
|
||||
+2
-3
@@ -10,9 +10,8 @@ assets/configuration in `contents/`, as listed in
|
||||
`Kinect10.dll` is only an external Microsoft NUI v1 runtime dependency of
|
||||
`gamekdm.dll`, supplied by the platform.
|
||||
|
||||
The addresses, layouts, constants, and disassembly observations below are
|
||||
historical leads for `contents/modules/gamekdm.dll` and
|
||||
`contents/modules/libafp-win32.dll`: UNVERIFIED (pending re-check against clean-release binary).
|
||||
The addresses, layouts, constants, and disassembly observations below concern
|
||||
`contents/modules/gamekdm.dll` and `contents/modules/libafp-win32.dll`.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in new issue
Block a user