BGforgeNet/Fallout2_Unofficial_Patch

Pip-Boy string length test

Closed this issue · 7 comments

Need to check all strings, max length seems to be ~55 characters.

Since the Fallout text font is not monospace, maybe check it with all lowercase 'i' and all uppercase 'A' (the widest character)?

I'm not sure what good would that do, there aren't any such strings?

I'd use that for getting a range of how many chars can fit in a line.

Sorry, I don't get it. Suppose we got a 35-100 range, what next? Probably all lines are already under 100.

I just tested and it's a stupid idea, sorry.
(about 120 'i' or 39 'A' before clipping the black edge on the right)
I guess it'll require checking all holodisk text in the game.

Maybe just set a reasonable threshold and add a script to point out suspicious lines.
It's not so much of a problem for the original (one time check), but I'm thinking about hooking the translation system directly into this repo, instead of keeping it separate.

Closing until any good solution is proposed.