which
OpenJK
Needs review. The inventory/provenance evidence is recorded, but some behavior, options, or attribution still lacks a direct user-facing source.
Determines which search path a file was loaded from
At a glance
| Field | Value |
|---|---|
| Syntax | which <file> |
| Cheat protected | No |
| Network scope | client-or-server: Engine code in both the client and the dedicated server; each uses its own value. |
| Category | Engine & diagnostics |
| Module | engine-shared |
| Renderer | All / not renderer-specific |
| Derivation | documented |
| Confidence | medium |
| Added | 2013-12-23 in 924f4bc4f needs review (how to compare this against your build) |
| In-game xdocs | No |
| In-game menu | Yes: ingame_setup.menu:4192 |
Arguments and gating
No verified argument schema is available beyond the syntax shown above.
Provenance
Origin: OpenJK
- Ultimate-origin introduction:
924f4bc4fbf3in OpenJK (content authored2013-12-24, integrated2013-12-24) - Upstream registration evidence: code/qcommon/files.cpp:2953
- Attribution method:
shared-earliest-commit-lineage-order - Attribution confidence:
medium - Notes: The earliest authored/submitted introduction is shared by openjk, eternaljk, rend2, taystjk, japro, newjk, vulkan; fork-lineage order selects openjk.
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 |
|---|---|---|---|---|---|
| OpenJK | 2013-12-24 |
— | 2013-12-24 |
924f4bc4fbf3 |
Ultimate origin |
| EternalJK | 2013-12-24 |
— | 2013-12-24 |
924f4bc4fbf3 |
Shared integration commit |
| rend2 | 2013-12-24 |
— | 2013-12-24 |
924f4bc4fbf3 |
Shared integration commit |
| TaystJK | 2013-12-24 |
— | 2013-12-24 |
924f4bc4fbf3 |
Shared integration commit |
| jaPRO | 2013-12-24 |
— | 2013-12-24 |
924f4bc4fbf3 |
Shared integration commit |
| NewJK / NewMod | 2013-12-24 |
— | 2013-12-24 |
924f4bc4fbf3 |
Shared integration commit |
| Vulkan | 2013-12-24 |
— | 2013-12-24 |
924f4bc4fbf3 |
Shared integration commit |
| JK2MV | 2017-03-21 |
— | 2017-05-21 |
7cfae89649be |
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 |
|---|---|---|---|---|
2014-01-30 |
OpenJK | d3a6d2b9b9d2[MP] Style: remove superfluous whitespace |
Changed the registered command handler. codemp/qcommon/files.cpp |
medium |
2015-11-24 |
EternalJK | c8f6ea17a324Remove SP code |
Changed registration, default, flags, module, renderer scope, handler, or gating. code/qcommon/files.cpp |
medium |
2016-03-24 |
EternalJK | c9c6ab99fdd2Merge branch ‘master’ of https://github.com/JACoders/OpenJK into japro |
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/qcommon/files.cpp |
medium |
2018-02-04 |
EternalJK | 8a3b2a103496Merge remote-tracking branch ‘eternalcodes/master’ |
Changed the registered command handler. codemp/qcommon/files.cpp |
medium |
2018-04-25 |
EternalJK | ae94795c1054Ignore searchpaths outside of base/EternalJK, fs_globalcfg 0 can be set |
Changed the registered command handler. codemp/qcommon/files.cpp |
high |
2023-11-28 |
TaystJK | 596ae40cc9aa · PR #52Merge pull request #52 from taysta/daggo-fs |
Changed the registered command handler. codemp/qcommon/files.cpp |
medium |
2024-02-03 |
TaystJK | cf5f50918b74 · PR #125Small fixes (#125) |
Changed the registered command handler. codemp/qcommon/files.cpp |
medium |
Evidence
- registration: codemp/qcommon/files.cpp:4008 (Cmd_AddCommand)
- handler: codemp/qcommon/files.cpp:3267
Generated from source commit c722804317d7 on 2026-09-28. Anything merged after that is not reflected here.