Skip to content

Add Studio_MaxFrame and model keyvalue text - #259

Merged
marchc1 merged 1 commit into
SourceDotNET:mainfrom
Earu:studio/maxframe-and-model-keyvalues
Nov 13, 2026
Merged

marchc1 merged 1 commit into
SourceDotNET:mainfrom
Earu:studio/maxframe-and-model-keyvalues

Conversation

@Earu

@Earu Earu commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Third split from #256.

  • BoneSetup.Studio_MaxFrame: frame count of a sequence blended by pose parameters.
  • StudioHeader.KeyValueText(): the model's $keyvalues block, null when absent.
  • ModelInfo.GetModelKeyValueText: implemented instead of throwing.

KeyValueText() was checked against the raw bytes of every MDL in the GMod, HL2, episodic and TF2 VPKs (24,278 models, 3,350 with keyvalues).

Port Studio_MaxFrame, add StudioHeader.KeyValueText and implement
IModelInfo.GetModelKeyValueText, matching GMod's client.dll and engine.dll.
@marchc1
marchc1 merged commit bd55063 into SourceDotNET:main Nov 13, 2026
14 of 16 checks passed
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.

2 participants