Skip to content

BennettStaley/ultrawide-jwe3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jurassic World: Evolution 3 - Ultrawide UI Clamp

(yes, it was vibecodeded. legitinmate issues added will be investigated.)

Clamps the Jurassic World Evolution 3 HUD and menus to a centered area on ultrawide monitors, at full height. The build tab and other edge-docked panels move inward so you don't have to turn your head on a 32:9 screen.

What the clamp does

By default the clamp adapts to the monitor: super ultrawide (32:9) gets a 21:9 UI, ultrawide (21:9) gets a 16:9 UI, and 16:9 screens are untouched. Fixed and custom ratios are available too. Cutscenes are deliberately left at full width - the game letterboxes those itself.

The built-in "UI safe zone" setting shrinks the UI on all four sides; this mod pads the sides only. The in-game setting still works and is applied inside the clamped area.

GUI (recommended)

Download JWE3UltrawideClamp.exe from Releases. It auto-detects the Steam install and your monitor, shows what Auto will do, and gives one-click Deploy / Revert. The first deploy backs up the stock file next to the game's OVL, so Revert works without any other files.

The deploy tool

It also works headless: JWE3UltrawideClamp.exe --deploy [--aspect 21:9] [--game DIR], --revert, --status (logs to jwe3clamp.log).

How it works

JWE3's UI is Coherent Gameface: a real HTML/CSS/JS app packed inside ovldata/GameMain/Content/UserInterfaceEssentials.ovl. The game's own safe zone feature (UIScale.js) applies a transparent CSS border to <body>. The mod patches getSafeframePaddingH() so the left/right border is at least (screenWidth - screenHeight * aspect) / 2, which clamps every safeframe-aware view (HUD, menus, cinematics) to the target aspect. World-anchored markers are unaffected because Frontier does not apply the safeframe to those views.

The mod's edits live in tools/pipeline.py (MOD_EDITS); patches/UIScale.js.patch is the same change as a reviewable diff. tools/ppuipkg.py handles the .ppuipkg container format that cobra-tools dumps (XML with signed-int8-encoded file contents).

Running from source

Requirements: Windows, Python 3.12+ with numpy<2, imageio, pillow, bitarray, and cobra-tools cloned into the repo root (git clone --depth 1 https://github.com/OpenNaja/cobra-tools).

python tools/gui.py                      # the same GUI as the exe
python tools/apply.py                    # CLI deploy (auto aspect)
python tools/apply.py --aspect 21:9      # fixed ratio
python tools/apply.py --no-install       # build only, leave game untouched
python tools/apply.py restore            # put the stock OVL back
python tools/build_exe.py                # build the standalone exe (pyinstaller)

Game updates overwrite the mod; just deploy again afterwards (the tool refuses to double-patch and refreshes its backup from the updated files). Steam's "verify integrity of game files" also restores stock.

License

GPL-3.0. The release exe bundles cobra-tools (also GPL-3.0). The small excerpts of the game's UIScale.js that appear in the patch are Frontier Developments' copyright, included only to locate and describe the modification.

About

Ultrawide UI fix for Jurassic World Evolution 3 - clamps the HUD and menus to a centered 16:9 or 21:9 area on 21:9/32:9 monitors, with a one-click GUI to deploy and revert

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages