-
Notifications
You must be signed in to change notification settings - Fork 5
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
Fix VR patch list reference #17
Conversation
According to Nexus user gordhead, this is the correct file. There is a FNIS VR XXL version that uses this file so it seems likely to be correct.
src/FNISPatches.py
Outdated
@@ -88,7 +88,7 @@ def description(self): | |||
return self.__tr("Configures the patches which FNIS applies to the game.") | |||
|
|||
def version(self): | |||
return mobase.VersionInfo(1, 0, 0, mobase.ReleaseType.prealpha) | |||
return mobase.VersionInfo(1, 0, 1, 0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The last argument's still supposed to be an enum, isn't it? 0
is still pre-alpha, so it's not making the text in the GUI any better if it's zero.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a 4-int overload, not sure if it works properly though since enums are classes that extends int
for Boost.Python.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works. I can't tell you why it works but it does. The version in the plugins settings goes from "1.0.0.0 pre-alpha" to "1.0.1.0". /shrug
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does Final make it show up as 1.0.1 Final
or just 1.0.1
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1.0.1.0
. So I guess putting final in there would work or we could just reclaim the 4th build number as otherwise it always shows 0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Final is the default release type, so mobase.VersionInfo(1, 0, 1, 0)
is 1.0.1.0 Final and mobase.VersionInfo(1, 0, 1)
is 1.0.1 Final, but Final is not shown.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed to final for this since all the other plugins do that. It kind of sounds like the most appropriate thing would be to update the plugins settings page to only display the first 3 versions and then a text flag if needed. Maybe. Not like it really matters.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not that it really matters but you should use the uppercase version FINAL
or omit the argument.
According to Nexus user gordhead, this is the correct file. There is a FNIS VR XXL version that uses this file so it seems likely to be correct.