Component review · middleware
Bink2Scarlett.dll — the video decoder
RAD Game Tools' Bink 2 decoder for Xbox Series X|S. It carries a build stamp naming the Xbox extensions kit and a 2023 link date, exposes 74 functions of which the game calls 23, and imports exactly one library that means it can never run on a desktop.
- 255,488 bytes
- 74 exports · 23 used
- 60 imports across 20 DLLs
- GXDK 10.0.22000.4429
- unsigned · no version block
A genuine console middleware binary, and a self-contained dependency clue
The .xbld stamp is the finding: this DLL was linked with GXDK — the
Gaming eXtensions Development Kit, the Xbox-specific half of the GDK — by MSVC in February 2023. It is
not a renamed desktop library, and its xmem.dll import means it is the one dependency in the
package that is provably console-bound by its own headers.
What it is
One of the eleven console libraries the executable imports, and the only one from a third-party vendor.
A video codec, not a media framework
Bink 2 is RAD's proprietary video format, used for cutscenes and in-engine video playback. The DLL is a decoder plus a small audio path: open a file, decode frames, copy or hand them to the GPU, play a synchronised audio track.
Strings inside confirm the feature level: “BinkGPU is only supported for Bink 2.2 and later files”, along with the usual “Not a Bink file” and “Error reading Bink header” messages.
Structure
- Machine
- x64 DLL, subsystem 6.0
- Sections
- .text .rdata .data .pdata .xbld .reloc
- Mitigations
- ASLR yes · DEP yes · CFG no
- Signing
- none — no certificate table
- Version block
- absent (no file version to read)
- Debug
- PDB path only (types 12/13)
The absence of a version resource is normal for RAD release builds; the .xbld section is
the only build metadata present.
Provenance: the .xbld stamp
The same 512-byte section the game executable carries, and it answers the question the filename only hints at.
| Field | Value |
|---|---|
| Edition | GXDK, June 2022 GXDK Update 4 |
| Product build | 10.0.22000.4429 |
| SDK type | 220604 — 4 June 2022 |
| Compiler | 192930146.0 — MSVC 19.29 (VS 2019 16.11) |
| Build id | 0x55F0114D |
| PE timestamp | 2023-02-08 06:36:22Z |
| PDB | C:\devel\projects\bink\build\Bink2Scarlett.pdb |
GXDK was compiled against the console target, not merely named for it.
Two toolchains, one package
The game's own stamp reads RSG-LLVM clang 19.1.7 with GRDK/GXDK editions from 2025 and 2026. This DLL was built with MSVC 19.29 against the June 2022 GXDK and linked in February 2023.
Which is exactly what you would expect: middleware is built once by its vendor and frozen, while the title is rebuilt continuously. A three-and-a-half-year gap between the two is normal, not suspicious.
The path tells you whose machine built it
C:\devel\projects\bink\build\Bink2Scarlett.pdb is RAD's own build layout — a plain
developer box, not a publisher's build farm.
Together with the GXDK stamp, that is two independent signals that this file is the vendor's genuine Scarlett build rather than something assembled to fit the import table.
74 exports, 23 used
The subset the game imports describes precisely how it drives the decoder.
Imported by game_scarlett_master.exe
BinkClose · BinkDoFrame · BinkDoFrameAsyncMulti · BinkDoFrameAsyncWait · BinkFreeGlobals · BinkGetFrameBuffersInfo · BinkGetKeyFrame · BinkGetPlatformInfo · BinkGoto · BinkNextFrame · BinkOpenWithOptions · BinkPause · BinkRegisterFrameBuffers · BinkRequestStopAsyncThreadsMulti · BinkSetMemory · BinkSetOSFileCallbacks · BinkSetSoundSystem · BinkSetVolume · BinkSetWillLoop · BinkShouldSkip · BinkStartAsyncThread · BinkWait · BinkWaitStopAsyncThreadsMulti
It uses the asynchronous, multi-threaded path
BinkDoFrameAsyncMulti, BinkDoFrameAsyncWait,
BinkStartAsyncThread and the two …StopAsyncThreadsMulti calls are all present:
the game decodes several frames ahead on worker threads rather than calling
BinkDoFrame synchronously.
BinkRegisterFrameBuffers plus BinkGetFrameBuffersInfo mean the decoder writes
into buffers the engine owns — the frames land in the game's memory pool, not Bink's.
It brings its own allocator, IO and audio
BinkSetMemory and BinkSetOSFileCallbacks hand Bink the engine's allocator and
streaming layer. BinkSetSoundSystem hands it an audio backend.
Notably the game does not import BinkOpenXAudio2 or
BinkFindXAudio2WinDevice, even though the DLL exports both — Bink's built-in XAudio2
integration is unused, and the title routes audio through its own stack instead.
BinkOpen,
BinkCopyToBuffer, BinkWait, BinkGetRects), the subtitle and track
functions, and the GPU-buffer registration path are all exported and all unused. This title does not use
Bink's GPU decode or its subtitle system.
What it depends on
Sixty imports across twenty libraries, all bound at load time — there are no delay imports, so every one must resolve before the DLL initialises.
| Library | Fn | Notable | Portability | Reading |
|---|---|---|---|---|
| xmem.dll | 2 | XMemAlloc, XMemFree | Xbox-only allocator | console-only The single import that makes this binary unloadable on Windows. |
| XAudio2_9.dll | 1 | ordinal #1 = XAudio2Create | portable, different provider | careful Present on Windows 10+, supplied by the Game OS on console. Imported by ordinal, so the name is not in the table. |
| api-ms-win-core-file-l1-2-0 | 1 | CreateFile2 | portable | portable The app-container file API — file access is scoped to the package. |
| api-ms-win-core-processtopology-obsolete-l1-1-0 | 1 | SetThreadAffinityMask | portable | portable The decoder pins its worker threads; the game's scheduler sits above it. |
| api-ms-win-core-processthreads-l1-1-1 | 2 | SetThreadIdealProcessorEx, IsProcessorFeaturePresent | portable | portable Thread placement and CPU feature detection. |
| VCRUNTIME140 + UCRT contracts | 13 | memcpy family, exception handlers, CRT init | portable | portable Same runtime family the game imports. |
| kernel32 API sets (file, synch, com, error, handle, debug) | 40 | condition variables, critical sections, vectored handlers | portable | portable Ordinary Win32 plumbing; nothing console-specific. |
xmem.dll import decides the question. XMemAlloc and
XMemFree are the Xbox memory extension — there is no such export on any Windows SKU. This DLL
therefore cannot be loaded on a desktop at all, regardless of whether RAD's PC build offers the same API.
What it changes in the earlier reports
- Sharpened — the “near drop-in” classification in the conversion study. The API is cross-platform and a PC Bink DLL with the same exports exists, which is why it was grouped that way. But this artefact is GXDK-linked and imports the console allocator, so a PC build would ship RAD's Windows binary — identical calls, different file.
- Reinforced — the console-only character of the package. A third-party middleware binary carrying a GXDK stamp is independent evidence, from outside the game's own build, that this is a console package rather than a desktop one in disguise.
- Unaffected — everything else. The import counts, chunk manifest, configuration identity and package reconciliation do not depend on this review.
XAudio2Create by ordinal even
though the game overrides the sound system. That means the loader still requires the console audio stack to
be present for the DLL to initialise — the override happens later, at runtime, not at load time.
Method and limits
- Static only: PE headers, sections, exports, imports, the
.xbldsection and printable strings. The DLL was not loaded, executed or debugged. - No disassembly was performed, so no claim here rests on code behaviour — only on what the file declares.
- The export and import lists are complete; the “unused export” split comes from comparing against
the game's import table (
deps.json). - The Bink version is not stated in the file. “Bink 2.2” appears only inside an error message about GPU decode, so it is a floor for the supported format, not a version of the library.