Skip to content

Adjust file select version line shortening#2529

Open
fenhl wants to merge 1 commit intoOoTRandomizer:Devfrom
fenhl:file-select-version-format
Open

Adjust file select version line shortening#2529
fenhl wants to merge 1 commit intoOoTRandomizer:Devfrom
fenhl:file-select-version-format

Conversation

@fenhl
Copy link
Collaborator

@fenhl fenhl commented Feb 18, 2026

With the next major release adding an extra digit, the version info on the file select screen will exceed the 21-character limit. Before this PR, this would result in the version info being shortened to ver. 10.0.0 Release. With this PR, it's shortened to version 10.0 Release instead, omitting the patch number, which is also consistent with how we refer to releases on ootrandomizer.com and in announcements.

Additionally, for both releases and Dev versions, this adds version display variants that are shortened even further in case the shortened version still doesn't fit: version ver. v. v (the last one with no space). These are very unlikely to matter for main any time soon, but are useful for forks, which tend to have longer version info due to including the branch name and supplementary versions and such.

Testing

Tested with an unmodified __version__ string (9.0.2 f.LUM) as well as 10.0.0 Release and 255.255.255 Fenhl-255:

image image image

@fenhl fenhl added Status: Needs Review Someone should be looking at it Component: Patching Affects the patching of the ROM Type: Maintenance Code style, infrastructure, updating dependencies labels Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: Patching Affects the patching of the ROM Status: Needs Review Someone should be looking at it Type: Maintenance Code style, infrastructure, updating dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant