Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move TeamSize config to ConVar #8

Open
spumer opened this issue Aug 15, 2021 · 0 comments
Open

Move TeamSize config to ConVar #8

spumer opened this issue Aug 15, 2021 · 0 comments

Comments

@spumer
Copy link
Owner

spumer commented Aug 15, 2021

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

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

No branches or pull requests

1 participant