Skip to content

Scaling Online lobby icons with resolution #3255

Description

@Piddox

Prerequisites

  • I have searched for similar issues and confirmed this is not a duplicate

Game Version

  • Command & Conquer Generals
  • Command & Conquer Generals: Zero Hour
  • Other (please specify below)

Bug Description

This issue is related to #1573

In Online mode, some icons don't scale at all with the resolution, resulting in very small icons at high resolutions.
For example, I run the game in 4K and the following icons from EnglishZH.big's SCSmShellUserInterface512_001.tga are too small:

  • Icon "Password" (the lock icon for password-protected lobbies)
  • Icon "GoodStatsIcon" (the tick icon indicating record stats is on)
  • Icons Ping01, Ping02, Ping03 (red yellow and green connection status icons)
  • All 40 "OfficersClubs" icons (the general rank icons displayed in front of each player in the main lobby)

Reproduction Steps

This looks as follows in 4K with the default ControlBarPro v1.2 installed:

Image

Additional Context

I've upscaled the icons of the first 3 bullets myself and overruled them in the Data, resulting in properly looking icons:

Image

I have not done so for the OfficersClubs (yet?) as the way they are displayed is different from the other icons, and involves more work.

Regardless, the proper fix would be to scale the existing icons in Code, rather than generating upscaled icons in Data.

Tagging @Mauller as requested.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething is not working right, typically is user facing⚠️ TriageIssues requiring initial review and prioritization

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions