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

Increase arrays for items_inventory.xtbl and mp_character.xtbl #51

Open
Moneyl opened this issue Oct 8, 2023 · 1 comment
Open

Increase arrays for items_inventory.xtbl and mp_character.xtbl #51

Moneyl opened this issue Oct 8, 2023 · 1 comment

Comments

@Moneyl
Copy link
Contributor

Moneyl commented Oct 8, 2023

These xtbls are another set that use hardcoded fixed size arrays for storage. This is a problem since large mods exceed their vanilla sizes. Unfortunately, since they're fixed size arrays we can't just patch the spot where it gets allocated. Instead, every piece of code that uses them needs to be patched to use a larger size or completely replaced.

For these two it may be easier to fully replace the functions that use them, Especially for mp_character.xtbl since the array is stored in a struct, making patching the assembly more complicated.

@Moneyl
Copy link
Contributor Author

Moneyl commented Oct 9, 2023

Also try to look into increasing the limit for squad_loadout.xtbl

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

No branches or pull requests

1 participant