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 AgiLibMax Value #142

Open
KcRobin9 opened this issue Jan 13, 2024 · 1 comment
Open

Increase AgiLibMax Value #142

KcRobin9 opened this issue Jan 13, 2024 · 1 comment

Comments

@KcRobin9
Copy link
Collaborator

We are facing some issues with the AgiLibMax, as it limits adding new vehicle colors to the game, and it may limit the ability to use upscaled textures in the future.

constexpr i32 agiLibMax = 2048;

I recall (although I'm not 100% sure) that in older Open1560 versions I was able to increase AgiLibMax's value without running into check_size errors. However, in the current codebase many things seem to be related to this variable. In the structs I also see dd 2048 dup(?), so it's debatable if I was actually able to increase the variable's value previously.

There also seems to be a peculiar difference in when the game crashes depending on the gamemode and network status. With the same setup (i.e. new vehicle colors with the .ar !!!!!ColorTest0.1.ar), Blitz races and Cruise crash, while Circuit races do not.

After inspecting the code, I don't know how to tackle this issue or if it's even feasible.

I attached the logs and mod below.

https://www.mediafire.com/file/qsvuehunl7pzqk1/Logs_%2526_Mod.rar/file

@KcRobin9
Copy link
Collaborator Author

I was able to temporarily avoid the crash by removing some DLP files, but this is a hacky solution (as e.g. one of the cars didn't have wheels anymore)

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