Merge pull request 'docs(link): body catalogue no longer needs libgdiplus (#39, 1 of 2)' (#417) from docs/asset-bridge-gdiplus-anim into main
Reviewed-on: #417
This commit is contained in:
16
link/v8.md
16
link/v8.md
@@ -257,7 +257,10 @@ Three costs come with it, all known and none of them blocking:
|
||||
scope says player models.
|
||||
2. **`System.Drawing` is a hard dependency, in the decode and not just the encode.** `Frame`
|
||||
writes ARGB1555 straight through a `LockBits` pointer, so a Linux shard needs **libgdiplus** to
|
||||
read a sprite at all. That is a stated prerequisite — §4.4.
|
||||
read a sprite at all. That is a stated prerequisite — §4.4. **Superseded by #39:** the legacy
|
||||
animation decode now goes through a managed ARGB1555 decoder (`BridgeMul` + `BridgeHue`, the
|
||||
mirror of §4.3's UOP reader) rather than `Frame`, so the body catalogue no longer needs
|
||||
libgdiplus — see the note at §4.4.
|
||||
3. **We inherit whatever `Ultima` a given ServUO vendors**, which can change under a shard upgrade.
|
||||
`EXTRACTOR_VERSION` (§7) is the mitigation: it already counts as drift, so a shard whose library
|
||||
changed re-derives on the next import.
|
||||
@@ -311,6 +314,17 @@ appears in two packages.
|
||||
|
||||
### 4.4 Requirement: a Linux shard host needs libgdiplus
|
||||
|
||||
> **Superseded by #39 — the GDI+-free migration.** As of #39 PR 1 the **body catalogue is wholly
|
||||
> GDI+-free**: the legacy `anim*.mul` path decodes through `BridgeMul` + `BridgeHue` into ARGB1555
|
||||
> (the same approach as the phase-4 UOP reader, §4.3), so importing creature thumbnails needs no
|
||||
> libgdiplus, and the `NO_IMAGING` refusal below no longer gates `assets.manifest`/`assets.fetch`
|
||||
> for bodies. Verified bit-exact against the vendored decode on Windows (40,341/40,341 records) and
|
||||
> run on Ubuntu 24.04 / Mono / libgdiplus 6.1 where the vendored path throws `NotImplemented` and
|
||||
> the managed path produces all 40,341. PR 2 does the same for item/land art (`BridgeArt`); **until
|
||||
> it lands, art/land decode still needs libgdiplus**, so the prerequisite and the installer
|
||||
> `doctor` check below stand for that half. Once both PRs ship the Asset Bridge needs no libgdiplus
|
||||
> at all. The section below is the original phase-2 requirement, kept for history.
|
||||
|
||||
**Stated prerequisite, not a soft recommendation.** ServUO targets `net48`, so on Linux it runs under
|
||||
Mono, and Mono's `System.Drawing` is a thin layer over **libgdiplus**. §4.2 put `System.Drawing` in
|
||||
the decode path, so without that library a Linux shard cannot extract art at all — the cliloc table
|
||||
|
||||
Reference in New Issue
Block a user