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 D0xx string limit please #325

Closed
Quantom2 opened this issue Apr 20, 2024 · 3 comments
Closed

Increase D0xx string limit please #325

Quantom2 opened this issue Apr 20, 2024 · 3 comments

Comments

@Quantom2
Copy link

Allow D0xx strings limit increase up to 10 times (or even higer)

Hi! We currently working on xUSSR set v0.8.1, and (starting from 0.8) get a problem. Our set is reached a limit in 1024 D0xx strings, and currently, at the moment, we simply devided set onto different .grf, including differemt stuff, just for resolve problem of D0xx strings limit. But, this is not best option to us, we have multiple problems with that solutions, so I came here for ask a feachure of increased D0xx string limit. Are this even possible, or no?

Help, please, 'cause problems caused of reaching this limit is only increasing and increasing...
Thanks!

@glx22
Copy link
Contributor

glx22 commented Apr 20, 2024

It's not possible to increase the D0xx range, but I think it's possible to work around the limitation.
Some callbacks support use of text stack and you can then have a generic D0xx string using {STRING} to include some DCxx strings.

@glx22
Copy link
Contributor

glx22 commented Apr 20, 2024

After a discussion with @George-VB, it looks like the workaround doesn't work with NML.
Any string referenced in switches is assigned to D0xx range and it won't be easy to determine when a string can be assigned to DCxx range.

@glx22
Copy link
Contributor

glx22 commented Apr 21, 2024

With #326, the workaround should now work.

@glx22 glx22 closed this as completed Apr 21, 2024
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

2 participants