ValveSoftware / ValveSoftware/source-sdk-2013

OptionsSubMultiplayer.res requires keyfield "CrosshairImage"

Open Beginner friendly
#156 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
10k
Forks
3k
Avg merge
8d 11h
Merged PRs (30d)
2

Description

Just a silly little issue that was plaguing me for a while.

While porting Dystopia over to SDK 2013, our options menu has been crashing and we've been trying to nail down the cause since it crashes in GameUI.dll which doesn't give much room for debugging. Finally figured out the cause: apparently, there must exist a key "CrosshairImage" in OptionsSubMultiplayer.res with fieldname CrosshairImage.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open OptionsSubMultiplayer.res and inspect its existing keys and field names, then trace the options-menu resource loading if needed. Done means the resource contains a CrosshairImage key with fieldname CrosshairImage and the options menu no longer crashes.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
frontend
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.