Skip to content

Move TeamSize config to ConVar #8

Description

@spumer

Huge updates require to fix extension.
But all we do is replace one code block with another one.

I want to make possible update only gamedata. To do that we need implement few things:

  • Get search pattern from gamedata (done!)
  • Get patch bytes from gamedata (partial done)
  • Get original code bytes size from gamedata (cause original block can be shorter or bigger than our patch)
  • Introduce placeholder for TEAM_SIZE into patch, i guess it should be \x2B

After that we just need to use global var to store TEAM_SIZE and re-patch code each time when ConVar changed

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions