Skip to content

Fix and improve rendering of logo.avi banners in WON-style menus.#144

Merged
a1batross merged 5 commits intoFWGS:masterfrom
Razcoina:master
Feb 7, 2026
Merged

Fix and improve rendering of logo.avi banners in WON-style menus.#144
a1batross merged 5 commits intoFWGS:masterfrom
Razcoina:master

Conversation

@Razcoina
Copy link
Contributor

@Razcoina Razcoina commented Feb 6, 2026

Fixes missing logo.avi banner in WON style menus.

Requires xash3d-fwgs PR #2451
Fixes xash3d-fwgs issue #2424

Changes include:

  • Proper precaching and rendering of logo.avi
  • Correct banner positioning across resolutions and aspect ratios
  • Allow loading logo.avi from a fallback source (typically valve/media/logo.avi)
  • Optional background stretching via a new cvar (defaults to existing behavior)

The banner is now scaled and positioned relative to the original 640x480 WON layout, ensuring consistent alignment regardless of screen resolution.

New CVAR
ui_background_stretch [0|1] - default: 0

Behavior:

  • When 0: Crop menu background image and preserve aspect ratio
  • When 1: Stretch menu background image to fit the current resolution

At 1920x1080:
ui_background_stretch 0:
Screenshot_20260206_212048

ui_background_stretch 1:
Screenshot_20260206_212109

Copy link
Member

@a1batross a1batross left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks incredibly good for your first PR here.

Thanks, good job!

@a1batross a1batross merged commit 2b9007f into FWGS:master Feb 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Main Menu is missing assets

2 participants