cl_ratioFix
jaPRO
Needs review. The inventory/provenance evidence is recorded, but some behavior, options, or attribution still lacks a direct user-facing source.
Widescreen aspect ratio correction
At a glance
| Field | Value |
|---|---|
| Category | Engine & diagnostics |
| Module | engine-client |
| Also registered in | cgame, engine-client, renderer, ui |
| Renderer | rd-rend2, rd-vanilla, rd-vulkan |
| Network scope | client-only — Local to the client/UI/renderer. |
| Derivation | documented |
| Confidence | medium |
| In-game xdocs | No |
| In-game menu | No |
| Default | 1 |
| Value type | enum |
| Restart | No latch flag is registered. |
| Cheat protected | No |
Values
| Value | Meaning | Evidence |
|---|---|---|
1 |
Selects the code path tested for value 1. | codemp/rd-common/tr_font.cpp:1458 |
2 |
Selects the code path tested for value 2. | codemp/rd-common/tr_font.cpp:1461 |
Flags
CVAR_ARCHIVE— saved to the user configuration
Registration-specific defaults
| Default | Module | Renderer | Compile condition |
|---|---|---|---|
1 |
cgame |
— |
always |
1 |
engine-client |
— |
always |
1 |
renderer |
rd-rend2 |
always |
1 |
renderer |
rd-vanilla |
always |
1 |
renderer |
rd-vulkan |
always |
1 |
ui |
— |
always |
Provenance
Origin: jaPRO
- Ultimate-origin introduction:
b713e21a0ea8in jaPRO (content authored2017-12-04, integrated2017-12-04) - Upstream registration evidence: codemp/cgame/cg_xcvar.h:140
- Attribution method:
squash-feature-group-explicit-credit - Attribution confidence:
medium - Notes: The earliest authored/submitted introduction is shared by eternaljk, taystjk, japro, vulkan; fork-lineage order selects eternaljk. The identifier’s single-prefix squash feature group explicitly credits japro.
Dated project introductions
Authored dates come from the exact registration’s first content commit, PR dates identify when work was proposed to each project, and integration dates come from each first-parent mainline. A project merging first does not override earlier upstream authorship or submission.
| Project | Authored | PR opened | Integrated | Commit | Relationship |
|---|---|---|---|---|---|
| EternalJK | 2017-12-04 |
— | 2017-12-04 |
b713e21a0ea8 |
Shared integration commit |
| TaystJK | 2017-12-04 |
— | 2017-12-04 |
b713e21a0ea8 |
Shared integration commit |
| jaPRO | 2017-12-04 |
— | 2017-12-04 |
b713e21a0ea8 |
Ultimate origin |
| Vulkan | 2017-12-04 |
— | 2017-12-04 |
b713e21a0ea8 |
Shared integration commit |
| NewJK / NewMod | 2019-06-02 |
— | 2019-06-02 |
e2b6a454fbf6 |
Other project appearance |
Later changes
These commits occur after the ultimate-origin introduction on TaystJK’s inherited first-parent lineage. Registration evidence is exact; behavior evidence requires a changed bound cvar reference or a changed registered command-handler hunk.
| Date | Change source | Commit / subject | Evidence | Confidence |
|---|---|---|---|---|
2017-12-05 |
EternalJK | 9207f1148bddMerge pull request #3 from Bucky21659/master |
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/cgame/cg_xcvar.h |
medium |
2017-12-28 |
EternalJK | 7f89e408e24dCGame Fix CG_Set2DRatio |
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/cgame/cg_xcvar.h |
medium |
2018-03-12 |
EternalJK | b541a7cae32aRatio fix character width with cl_ratioFix 1 |
Changed registration, default, flags, module, renderer scope, handler, or gating; and an exact bound cvar-variable reference. codemp/rd-common/tr_font.cpp, codemp/rd-vanilla/tr_init.cpp, codemp/rd-vanilla/tr_local.h |
medium |
2018-03-12 |
EternalJK | 36618a2e4800Ratiofix spaces. |
Changed an exact bound cvar-variable reference. codemp/rd-common/tr_font.cpp |
medium |
2018-03-12 |
EternalJK | ea109c7da9c2Fixed dropshadows. |
Changed an exact bound cvar-variable reference. codemp/rd-common/tr_font.cpp |
medium |
2018-03-20 |
EternalJK | 25a0b7fef8a3Cleaned up ratio correction code in engine and renderer |
Changed registration, default, flags, module, renderer scope, handler, or gating; and an exact bound cvar-variable reference. codemp/client/cl_main.cpp, codemp/rd-common/tr_font.cpp, codemp/rd-vanilla/tr_init.cpp |
medium |
2018-09-03 |
jaPRO | bdcd618c6771Import japro cgame |
Changed registration, default, flags, module, renderer scope, handler, or gating; and an exact bound cvar-variable reference. codemp/cgame/cg_xcvar.h, codemp/client/cl_main.cpp, codemp/rd-common/tr_font.cpp and 1 more |
high |
2019-01-14 |
JK2MV | 18a8e8c9a528FPS independent camera damping (cg_cameraFPS from fau’s SaberMod) |
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/cgame/cg_xcvar.h |
medium |
2019-03-19 |
EternalJK | 1bcb29af6443Implement Blackwolf’s Discord Integration |
Changed an exact bound cvar-variable reference. codemp/client/cl_main.cpp |
medium |
2019-04-21 |
EternalJK | 2c42f32bebfcMoved Set2DRatio code for CG and UI into ui_shared, removed CG_Set2DRatio, update renderer widthRatioCoef when changing cl_ratioFix cvar. |
Changed registration, default, flags, module, renderer scope, handler, or gating; and an exact bound cvar-variable reference. codemp/cgame/cg_xcvar.h, codemp/rd-vanilla/tr_cmds.cpp, codemp/ui/ui_shared.c |
medium |
2019-06-13 |
EternalJK | 49e91d910266Filter custom skins/species/hilts out of player menus on sv_pure servers |
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/ui/ui_xcvar.h |
medium |
2021-05-25 |
TaystJK | d7d7ce3234e6Added vanilla clone for code compare |
Changed registration, default, flags, module, renderer scope, handler, or gating; and an exact bound cvar-variable reference. codemp/rd-vulkan/tr_cmds.cpp, codemp/rd-vulkan/tr_init.cpp, codemp/rd-vulkan/tr_local.h |
medium |
2021-05-25 |
Vulkan | c4a9c87ef0e3Added vulkan renderer |
Changed an exact bound cvar-variable reference. codemp/rd-vulkan/tr_init.cpp, codemp/rd-vulkan/vk_init.cpp |
high |
2022-02-15 |
Vulkan | 723c24a13050Vulkan: Fixed entity wall clipping & refactor fastsky color for performance |
Changed an exact bound cvar-variable reference. codemp/rd-vulkan/tr_cmds.cpp |
high |
2022-04-15 |
Vulkan | a781c5543017Vulkan: Fix missing oneShotAnimMap & missing lightmap/vertexlight on certain surfaces |
Changed an exact bound cvar-variable reference. codemp/rd-vulkan/vk_init.cpp |
high |
2023-10-03 |
TaystJK | 86c0756385ef · PR #12Rend2 (#12) |
Changed registration, default, flags, module, renderer scope, handler, or gating; and an exact bound cvar-variable reference. codemp/rd-rend2/tr_init.cpp |
medium |
2024-02-03 |
TaystJK | 0c789787f79c · PR #110Rend2 updates (#110) |
Changed an exact bound cvar-variable reference. shared/rd-rend2/tr_cmds.cpp, shared/rd-rend2/tr_local.h |
medium |
2024-05-03 |
TaystJK | 52eb7b38693d · PR #195Fixup discord rich presence application ID/Name, 64-bit discord integration (#195) |
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/ui/ui_xcvar.h |
medium |
2025-11-28 |
TaystJK | 792015e7f511 · PR #276Merge pull request #276 from slash-fr/levelshots_16_9 |
Changed an exact bound cvar-variable reference. codemp/rd-rend2/tr_init.cpp, codemp/rd-vanilla/tr_init.cpp, codemp/rd-vulkan/vk_init.cpp |
high |
Evidence
- registration: codemp/cgame/cg_xcvar.h:143 (XCVAR_DEF)
- registration: codemp/client/cl_main.cpp:3442 (Cvar_Get)
- registration: codemp/rd-rend2/tr_init.cpp:1696 (Cvar_Get)
- registration: codemp/rd-vanilla/tr_init.cpp:1743 (Cvar_Get)
- registration: codemp/rd-vulkan/tr_init.cpp:905 (Cvar_Get)
- registration: codemp/ui/ui_xcvar.h:37 (XCVAR_DEF)
- behavior: codemp/client/cl_main.cpp:2422
- behavior: codemp/rd-common/tr_font.cpp:1458
- behavior: codemp/rd-common/tr_font.cpp:1461
- behavior: codemp/rd-common/tr_font.cpp:1760
- behavior: codemp/rd-common/tr_font.cpp:1764