kyleadolson Posted October 24, 2025 Share Posted October 24, 2025 ONI saves important game and save information under My Documents. This can be a complete disaster with One Drive with poor performance and collisions. Most users will have OneDrive, but may not have more than one system. This is a bug, but I'm sure it would be seen as a suggestion. I would not allow it through code review. Developers often choose the wrong folder, not understanding what they've done. It's very easy to fix at the start and it should still be easy to fix or mitigate. Documents (C# Environment.MyDocuments/Environment.Personal) is for Documents that the user can understand. Files the user has control over. Random App data, even local saves, should be in the user's Local App Data folder (Environment.LocalApplicationData). ONI has an AppData folder but somehow this is empty. I would recommend setting LocalAppData as the default for new installs, with older installs having the ability to change locations (somehow). A paradox grand strategy game like Hearts of Iron IV has MyDocuments as the default, but at least allows the user to change this setting with a file. If you can't add it to the UI, at least add the ability for the user to redirect with a settings file. 3 Link to comment https://forums.kleientertainment.com/forums/topic/168492-oni-uses-my-documents-folder/ Share on other sites More sharing options...
1265578519 Posted November 5, 2025 Share Posted November 5, 2025 (edited) 如果更改位置这很有可能破坏现存的大多数mod组件,dll里面写死的调用方式为,请确保更改位置后不会发生兼容性问题 %userprofile%\Documents Edited November 5, 2025 by 1265578519 Link to comment https://forums.kleientertainment.com/forums/topic/168492-oni-uses-my-documents-folder/#findComment-1842071 Share on other sites More sharing options...
axxel Posted November 15, 2025 Share Posted November 15, 2025 I had to delete the My Documents folder in my onedrive to create a new path for Klei games. Link to comment https://forums.kleientertainment.com/forums/topic/168492-oni-uses-my-documents-folder/#findComment-1843008 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now