Texture packs (Enhanced, Detailed and Original)#
October 18, 2026. Status: OpenTPW extension ([EXT:texture-pack]), Original world textures by default.
Clarity removed (October 17, 2026). The curated Clarity pack (
clarity-enhanced) and everything that offered, downloaded, verified or preferred it were removed from OpenTPW on the project owner's decision. That covers its distribution manifest and checksum, the in-game download screen, the browser's lazy texture delivery, the packaging and publishing tools and the publish workflow. A savedclarity-enhancedchoice reads as Original (see "Setting and migration"). Clarity was the only downloadable pack, so OpenTPW has no pack download system any more: packs are built locally or installed by hand.
The world-texture options offer Original (the game's own textures), Enhanced (the enhanced pack, the default name of the local builder), Detailed, and other installed packs. An explicit saved choice is preserved. A fresh installation uses Original world textures. Enhanced is always listed; without a local enhanced pack it behaves like Original.
Redrawn interface art removed (October 18, 2026). OpenTPW no longer ships redrawn HUD and menu buttons. The 55 AI-redrawn button textures, the tools that made them, the HUD and icons option, the browser build's predecoded copy of the art and the builder's directory option for hand-made replacements were removed on the project owner's decision: the original icons now decode crisply (the WCT planar-row decoder was fixed), so the redraws were no longer needed. Old settings files that still carry the
EnhancedInterfacekey load unchanged and the key is ignored.
Packs#
For a named pack, OpenTPW checks these locations in order:
<config>/texture-packs/<name>— a player's local override.<program>/content/texture-packs/<name>— portable content included by release packaging.
Each pack needs a supported pack.json and a textures directory. An invalid local manifest is reported and a valid bundle of the same name is tried. The options list usable packs from both locations once, with Enhanced and Detailed first, then the others alphabetically. If a selected pack is unavailable, the game reports the missing pack and continues with original world textures.
Desktop publishing already copies content/**/*, so a pack staged in the second location travels with the executable and works offline. This runtime support does not fetch packs or include their binary content by itself. The browser build has no local packs.
An explicit OPENTPW_TEXTURE_PACK=<pack>/textures override pins that directory and takes precedence over the saved choice.
The original textures are small: 8,375 .wct textures in the installed WADs, mostly 32×32 (2,777) and 128×128 (2,352), the largest 256×128 (48.4 million pixels in total). On a high-resolution or Retina display at native render size they are magnified a lot. An enhanced texture pack replaces them with AI-upscaled copies (4×: 128×128 becomes 512×512).
Variants#
The local builder offers two world-texture variants. Each is a separate pack under <config>/texture-packs/, beside graphics.json; OPENTPW_CONFIG_DIR can override the config directory. You can build either or both and switch between them in the options.
The original .wct textures are lossy (wavelet) compressed, so they carry blocking and ringing artifacts that a 4x upscaler happily magnifies. Both variants therefore first run a 1x de-artifact model over every world texture and only then upscale. The lead's comparison on eight jungle textures at native resolution:
| Pack name | Options label | Pipeline | Look |
|---|---|---|---|
enhanced (builder default) | Enhanced (legacy) | 1x DeJPG, then Real-ESRGAN realesrgan-x4plus | Crisp edges, keeps the original cartoony CG style |
detailed | Detailed | 1x DeJPG, then ultrasharp-4x (4x-UltraSharp) | Most detail, some grain |
Interface art always uses realesrgan-x4plus-anime without the pre-pass. Guest sprite atlases use the variant's world model and no pre-pass by default (see "Pre-pass" below).
Models and licences#
You supply the models; OpenTPW ships and downloads none of them.
Real-ESRGAN ncnn Vulkan executable and
realesrgan-x4plus,realesrgan-x4plus-anime: BSD-3-Clause, https://github.com/xinntao/Real-ESRGAN/releases.4x-UltraSharp by Kim2091 (ncnn conversion
ultrasharp-4xfrom Upscayl, in itsresources/modelsfolder, https://github.com/upscayl/upscayl): CC-BY-NC-SA-4.0 (OpenModelDB). Non-commercial, share-alike, credit required. It is for building your own local pack; do not redistribute a pack built with it commercially. Putultrasharp-4x.paramand.bininto themodelsfolder next to the Real-ESRGAN executable.1xDeJPG (realplksr) by Helaman/Phhofm,
1xDeJPG_realplksr_otf_fp32_fullyoptimized.onnx: CC-BY-4.0, credit required, from the Phhofm/models releases (https://github.com/Phhofm/models). Fixed 1x3x256x256 float32 RGB input in 0..1.
Make your first local pack#
OpenTPW ships no world-texture pack, so a pack is something you build from your own installation (desktop only; the browser has no local packs).
Download
realesrgan-ncnn-vulkanfor your platform and unpack it with itsmodelsfolder next to the executable.For a quick trial that takes minutes instead of hours, build only one world: add
--texture-pack-subtree levels/jungleto the command below. Without it the whole game is upscaled.Run the builder from the OpenTPW folder (the
scripts/run.sh/scripts/run.ps1wrapper starts the same game with the options you pass):bash scripts/run.sh --game-path '/path/to/Theme Park World' --build-texture-pack \ --upscaler /path/to/realesrgan-ncnn-vulkan --texture-pack-subtree levels/jungleThe pack is written to
<config>/texture-packs/enhanced(--texture-pack-name <name>changes the name).Start OpenTPW, open Game Options > OpenTPW and choose the pack under Enhanced textures (Original, Enhanced, Detailed, then other packs). The textures swap in the background; no restart is needed.
To go back, choose Original again.
The sections below explain the options, the optional pre-pass and the two variants.
Building a pack#
The local builder makes a pack on the player's machine from their own installation. Its default name is enhanced. Building does not upload the resulting pack. OpenTPW distributes no pack images (since Clarity was removed); runtime pack support does not grant rights to the original assets or the models used to create them.
Get
realesrgan-ncnn-vulkanfor your platform (the macOS build is universal and runs on Apple silicon through MoltenVK). Unpack it with itsmodelsfolder next to the executable. For the Detailed pack add the Upscaylultrasharp-4xmodel files there. Get the DeJPG ONNX file.Build (the ONNX model runs through ONNX Runtime: CoreML on macOS when available, CPU otherwise):
# Enhanced (default pack name "enhanced") bash scripts/run.sh --game-path '/path/to/Theme Park World' --build-texture-pack \ --upscaler /path/to/realesrgan-ncnn-vulkan --prepass-model /path/to/dejpg.onnx # Detailed bash scripts/run.sh --game-path '/path/to/Theme Park World' --build-texture-pack \ --upscaler /path/to/realesrgan-ncnn-vulkan --prepass-model /path/to/dejpg.onnx \ --texture-pack-name detailed --upscale-model ultrasharp-4xOptions:
--texture-pack-name <name>(defaultenhanced; the pack goes to<config>/texture-packs/<name>),--upscale-model <name>(defaultrealesrgan-x4plus),--prepass-model <onnx>(without it there is no pre-pass and the build is exactly the old one),--prepass-sprites,--texture-pack-dir <dir>(overrides the location),--texture-pack-subtree <data-relative dir>(e.g.levels/jungle, for a quick trial; it selects WAD directories),--interface-model <name>(defaultrealesrgan-x4plus-anime),--texture-pack-no-interface,--texture-pack-interface-only,--texture-pack-sprites-only(with--texture-pack-interface-onlyboth) and--texture-pack-merge(keep that pack's existing textures and add or replace the ones built now; it warns when the models differ). All of these act per pack name. The game lists packs under the config directory and bundled content; a pack built elsewhere is used withOPENTPW_TEXTURE_PACK=<dir>/textures, which pins the pack and overrides the setting.Choose Game Options -> OpenTPW -> Enhanced textures (Original, Enhanced, then Detailed and any other installed pack) and press OK. The textures are swapped in the running game in the background; no restart is needed. Enhanced is always offered: without a local
enhancedpack it behaves like Original.
Setting and migration#
graphics.json stores the choice as "TexturePack": "<name>". "" is Original (the default when the key is missing or null), "enhanced" is Enhanced, "detailed" is Detailed, and other names select the corresponding local or bundled pack. Files from earlier versions with "EnhancedTextures": true are read as "TexturePack": "enhanced", false as Original; the old key is dropped the next time the settings are saved. Smoke tests always run on the originals. If both keys exist the new one wins. Names must be plain directory names (letters, digits, -, _, .).
Clarity migration. A saved "TexturePack": "clarity-enhanced" (any case) reads as "" (Original world textures). GraphicsSettings.Load logs "The 'clarity-enhanced' texture pack was removed; using the original world textures." once and writes the migrated file back, so later starts are silent. A player-local copy under <config>/texture-packs/clarity-enhanced is not removed and gets no special handling: if it holds a valid pack.json and textures directory it is listed like any other installed pack (labelled "clarity-enhanced") and can be selected again by hand.
Removed HUD choice. Earlier versions also stored "EnhancedInterface": true|false (the HUD and icons option). The key is ignored when read and is not written back. Smoke tests set the world choice to Original for original-pixel checks.
Reading settings, finding installed packs, and activating local files never touch the network.
Pre-pass#
--prepass-model runs the 1x model over each world texture before padding and upscaling. The model has a fixed 256x256 input: textures up to 192 px per side are centred in one tile and wrap-padded (world textures tile), larger ones are cut into overlapping tiles with a 32 px margin that advance by 192 px, reading across the border by wrapping, so tiling textures stay seamless. Only RGB is processed; alpha passes through untouched. pack.json records the model as PrepassModel.
Guest sprite atlases (decision): they use the variant's world model and, by default, no pre-pass. Trial on the spr_be atlas with --prepass-sprites (RGB only, edge-padded, alpha untouched) showed no fringes, but the gain is marginal (slightly cleaner shading), the 1024x256 atlas takes 12 model runs (about 18 s per atlas, 146 s for the eight kid atlases against 0 s) and tile borders can show faint steps on non-tiling art. Add --prepass-sprites to opt in.
Timing: one 256x256 run takes about 1.2 s on Apple silicon through CoreML (1.9 s on CPU) and the builder runs four textures at once (about 0.47 s per 128x128 texture, OPENTPW_PREPASS_PROVIDER=cpu forces the CPU provider). A 128x128 texture takes one run, a 256x256 one four. A full build with the pre-pass therefore takes roughly an hour or more on top of the upscale; try --texture-pack-subtree levels/jungle first.
Switching at runtime#
Changing the choice in the options takes effect at once, in the background: there is no loading screen and the player keeps playing while the textures change one by one; a small line at the top of the screen shows "Updating textures in the background... n / total" until the switch is done. (Building a pack is a separate, slow step: see "Building a pack".) Technically, the switch reloads every texture the game has made from a .wct (a registry of weak references keyed by game path): the new pixels are decoded on a worker thread through a small bounded queue (a 4x pack would otherwise hold gigabytes in memory), uploaded on the render thread in slices of about 8 ms per frame, and swapped into the existing Texture objects. Materials look the GPU texture up when each draw is recorded, and the old GPU texture is deleted after the frame. A full switch is fast: in the front end, 134 loaded textures swapped to and from the real 1.4 GB pack in 0.5-1.3 s over 60-140 frames, with the working set unchanged (about 4 ms per texture on the render thread, so the roughly 4,200 textures of a fully loaded park take under half a minute). Interface images (UI renderer cache) and guest sprite atlases reload when the switch ends. Textures from the bonus content roots do not come from game .wct files and are not part of the pack. OPENTPW_TEXTURE_PACK pins the pack, so the options row has no effect then.
What the builder does#
Reads every
.wctin the installation's WADs and keeps the game path the engine loads it by (lower case), e.g.levels/jungle/terrain/textures/jgr_bas1.wct.Keeps these original: the low-detail
stexture/ssharetevariants (alsoui/stexture; objects use them exactly with the Low detail preset, so a pack shows on Medium, High and Enhanced), fonts, textures whose smaller side is below 32 pixels (too little detail to upscale) and world textures containing exact magenta (255,0,255), which the renderer may treat as a chroma key.Upscales interface art (
ui/textures: buttons, panels, frames, icons) with a separate model,realesrgan-x4plus-animeby default: it is drawn art with flat colours and hard outlines, where the photographic model softens edges. Interface textures carry real alpha after decoding; the model keeps it. They are edge-padded (border pixels repeated) instead of wrap-padded, because a UI texture is an atlas of separate pieces (the two ends ofpurple_button, the parts of a panel), not a tile. The UI loader (UiImages) checks the pack likeTexturedoes; model UVs are relative, so the 4× image drops in.Upscales the guest sprites. Guests are pre-rendered 2D sprites (
esprites.wad/Generic/Kids/SPR_xx.TPCwith.ESPanimations), not.wcttextures; OpenTPW packs each set into a 1024×256 RGBA atlas at load time. The builder builds the same atlases and upscales them with the world model (realesrgan-x4plus: the sprites are rendered 3D figures, and the anime model drew outlines around hair and faces), edge-padded, under the pack keyesprites/generic/kids/<set>.tpc.atlas. The balloons (esprites/generic/balloons/spr_bl.atlas) and every theme's costumes and costume heads (esprites/<theme>/costumes/<set>.tpc.atlas, but Space'sspr_sk.atlas;esprites/<theme>/costumeheads/<set>.atlas) are built the same way. The guest renderers use the pack's atlas when its aspect ratio matches; frame UVs are relative. A set with ESP byte 0x10C (here the kids and every costume but Space's SPR_SK, which says 0) has the.tpc.atlaskey since October 18, 2026, when OpenTPW moved from its.FPCto the.TPCthe game draws (GUESTS.md); a pack built before then holds.atlasimages of the FPC frames, which no longer apply, so those guests show unupscaled until the pack is rebuilt.Before upscaling interface art and sprites, fully transparent texels take the colour of their opaque neighbours (up to four texels out, alpha stays 0). The decoded textures leave white or black in empty texels, which the upscaler would otherwise blend into a light or dark fringe.
Wrap-pads each texture by an eighth of its smaller side (2–8 pixels) before upscaling and crops the padding afterwards, so tiling textures (grass, paths) stay seamless.
Runs the optional pre-pass on world textures, then each upscaler once over its textures and writes
textures/<game path>.pngpluspack.json(format, scale, upscaler, model, interface model, pre-pass model, counts per skip reason).
At load time Texture checks the active pack before decoding a .wct; a missing file falls back to the original. OPENTPW_TEXTURE_PACK=<pack>/textures forces a pack for tests.
Results and limits (MacBook Pro, Apple silicon, Retina)#
A full build from an English installation took about 15 minutes: 3,784 textures upscaled; kept original 921 interface, 3,617 low-detail, 49 small and 4 unreadable textures (four low-detail
.wctfiles the current decoder cannot read; the builder now skips low-detail paths before decoding, so they no longer show up). The pack is 1.3 GB of PNG. A jungle-only trial upscaled 1,698 textures in 167 seconds.Adding the guest sprites (and rebuilding interface art with the fringe fix) to that pack with
--texture-pack-interface-only --texture-pack-sprites-only --texture-pack-mergetook about a minute: 8 sprite atlases and 453 interface textures.Adding interface art to the existing pack with
--texture-pack-interface-only --texture-pack-mergeupscaled 453 interface textures in about 13 seconds (6 below 32 pixels stayed original). Buttons, the lobby panel, arrows and round edges become sharp at 2560×1440, where the original 64–128-pixel art was stretched 3–5× with bilinear filtering.In the 3D lobby the difference is visible on the island (grass, rock edge, the dinosaur). At the default park camera it is small: a texture covers only about 100–200 screen pixels there and is sampled from a lower mip level. The gain shows when zoomed in and in first-person ride views, where a texture is stretched across much of the screen.
The model invents detail that the original never had (individual grass blades on the jungle grass) and shifts colours slightly darker. This is a presentation choice, not a restoration; compare with the original before keeping it on.
Real-ESRGAN keeps the original soft alpha (WCT alpha is wavelet-compressed with many intermediate values) and upscales it with the colour.
Memory: 4× means 16× the pixels. The textures are uploaded uncompressed with mipmaps, so GPU memory use grows accordingly.
Animated texture frames are upscaled independently; no flicker was checked.
Source: docs/TEXTURE-PACKS.md in the project repository.