Skip to content

Conversation

@Rainyan
Copy link
Collaborator

@Rainyan Rainyan commented Oct 31, 2025

Description

Forbid the player from launching with DirectX level < 9.0, because we don't have shader support for such old DX levels, and it would be an all around bad experience (if it even works).

Testing both at client library init, and in viewrender, because the client could fudge their cvar value post-init.

Toolchain

  • Windows MSVC VS2022

Linked Issues

@Rainyan Rainyan marked this pull request as draft October 31, 2025 06:34
@Rainyan Rainyan marked this pull request as ready for review October 31, 2025 06:39
@Rainyan Rainyan requested a review from a team October 31, 2025 06:39
Copy link
Contributor

@DESTROYGIRL DESTROYGIRL left a comment

Choose a reason for hiding this comment

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

Couldn't set it below 90. I also tested the game on dxlevel 90 which supposedly only supports shader model 2.0(a/b) and didn't notice any issues with vision modes, cloak or any other visuals.

Also tried using the -dxlevel launch option but it didn't do anything for me for some reason

@Rainyan Rainyan requested a review from a team October 31, 2025 13:45
@Rainyan Rainyan merged commit 651f63f into NeotokyoRebuild:master Nov 3, 2025
7 checks passed
@Rainyan Rainyan deleted the dxlvl branch November 3, 2025 05:55
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.

Clients should not be able to launch with DirectX level < 9.0

3 participants