Skip to content

Add support for extended CMD_BACKUP/MASK#108

Merged
ensiform merged 1 commit into
etfdevs:masterfrom
Aciz:ext-cmd-backup
Jun 19, 2026
Merged

Add support for extended CMD_BACKUP/MASK#108
ensiform merged 1 commit into
etfdevs:masterfrom
Aciz:ext-cmd-backup

Conversation

@Aciz

@Aciz Aciz commented May 20, 2026

Copy link
Copy Markdown
Collaborator

Support doubling CMD_BACKUP/MASK buffers with CG_CMDBACKUP_EXT engine extension. This allows mods to request a higher buffers for user commands, increasing the maximum FPS that clients can use before high FPS combined with high ping will start dropping user commands.

The cgame import value matches what ET: Legacy uses, for interoperability with ETe + legacy mod, and to make it such that mods don't need to add support for both explicitly.

@ensiform

Copy link
Copy Markdown
Member

The point of the legacy or ETe suffix is so that each engine has its own namespace tbh.

@Aciz

Aciz commented May 20, 2026

Copy link
Copy Markdown
Collaborator Author

The point of the legacy or ETe suffix is so that each engine has its own namespace tbh.

Sure, but I see little to no point in reimplementing the exact same thing under a different namespace & extension number, unless you want to modify the implementation somehow.

In general, coordination between downstream forks for common features and extensions would be healthy, but there doesn't seem to be any sort of effort done from either side regarding that, so we just can't have nice things ¯\_(ツ)_/¯

@ensiform

Copy link
Copy Markdown
Member

The numbers don't have to match as long as the mod requests the proper string

Support doubling 'CMD_BACKUP/MASK' buffers with 'CG_CMDBACKUP_EXT'
engine extension. This allows mods to request a higher buffers for user
commands, increasing the maximum FPS that clients can use before high
FPS combined with high ping will start dropping user commands.

The cgame import value matches what ET: Legacy uses, for
interoperability with ETe + legacy mod, and to make it such that mods
don't need to add support for both explicitly.
@Aciz Aciz force-pushed the ext-cmd-backup branch from 04f36d7 to 8c25336 Compare May 20, 2026 21:37
@Aciz

Aciz commented May 20, 2026

Copy link
Copy Markdown
Collaborator Author

The number is now 185, sequentially after CG_GETCLIPBOARDDATA.

@ensiform ensiform merged commit 88a9773 into etfdevs:master Jun 19, 2026
5 checks passed
@Aciz Aciz deleted the ext-cmd-backup branch June 19, 2026 12:04
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