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

Not enough random bits for the town name generation (40 needed, 32 available) #229

Closed
ZvikaZ opened this issue Aug 4, 2021 · 3 comments
Closed

Comments

@ZvikaZ
Copy link

@ZvikaZ ZvikaZ commented Aug 4, 2021

Hi.

I've tried creating a simple town name generator, with a real list of Israeli names.
But it fails with

 nmlc ERROR: "israel.nml", line 10: Not enough random bits for the town name generation (40 needed, 32 available)

If I comment out most of the names, and leave only few hundreds, it succeeds.

My code is at https://github.com/ZvikaZ/OpenTTD-Israeli-Town-Names , and compiles simply with nmlc.exe israel.nml. I tried both nml-standalone-0.5.3-win64 at Windows, and latest pip at Linux.

I've tried searching for other town name generators, to see how others handled similar situation, and found https://github.com/GameMaker2k/NorthEast-Towns , which has much more names that my generator. However, it also fails with the same error. Maybe it's a regression on the compiler side?

@FLHerne
Copy link
Contributor

@FLHerne FLHerne commented Aug 4, 2021

Thank you for the report. This is probably a duplicate of #184. It's been fixed in master by #185.

Loading

@ZvikaZ
Copy link
Author

@ZvikaZ ZvikaZ commented Aug 4, 2021

Thanks for the quick reply! And great to hear that it's already fixed.

Are there any plans to make a new release? After all, it's been fixed since January :-)

Loading

@glx22
Copy link
Contributor

@glx22 glx22 commented Aug 15, 2021

Closing the issue as 0.6.0 is now released.

Loading

@glx22 glx22 closed this Aug 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants