-
Notifications
You must be signed in to change notification settings - Fork 117
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
Move fontfiletable.txt to keyvalues #612
Conversation
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.
Works in testing
Just realized uh This is useless :3 Because launchers don't remove the previous version's files, the file will remain in the So the issue will forever persist. |
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.
Works fine in the dedi docker image.
Gecko really said "code review needed" bro what code 😭 |
Will test tomorrow again as i dont think i did test properly last time |
Would like to note this has the same problem as the Mod Settings |
Though even then, mod manager usage is around 50% of playerbase, the other half appears to still be manual install which generally are told to just overwrite files. Not sure what the best approach here is then.. |
Honestly I have been meaning to look into comparing file trees and deleting files that are no longer in the newer version or similar. Or simply removing the mod folder all together. Though, I have no clue what the best solution would be, since manual installs will also have this problem. Another problem would be config files being reset with both of these solutions, albeit, this is a problem that's to some extent present in the current way mods are installed/updated, only difference is, on the current way if the config file doesn't come with the mod but are created by the user, they won't be reset. Finally, another solution is just having I would of course be open to implementing a fix to this in Viper, if somebody finds a good solution. |
Yeah config files are a whole separate issue we really need to deal with especially as we are considering switching API URL in the near future. Currently tracking in R2Northstar/Northstar#430 |
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.
Changes look good, works in game with the file being in both mod
and keyvalues
directories and only in keyvalues
can I fucking close this |
If you want, with the popularity of mod managers this could honestly get merged, since a good mod manager will delete the mod before it installs the new version on update. pinging @GeckoEidechse for visibility (although i don't expect anything tonight) |
Nah, please just keep the PR open. |
HOLY SHIT! Oh, nevermind, he just updated the branch... :[ |
Ok come ooooon why cant this be merged :[ |
Easy answer, it can be, was just overlooked :,) |
This moves
Northstar.Client/mod/resource/fontfiletable.txt
toNorthstar.Client/keyvalues/resource/fontfiletable.txt
.This is done so mods using
keyvalues
folders to add custom fonts to the game (Roguelike, HUDRevamp v2) don't revert the changes done by Northstar (though, this should be fixed)