1
General Discussion / player.ini
« on: Oct 06, 17, 02:35:39 PM »
Thusfar, we have been storing and retrieving local player preferences in their Local Repository Cache via the client-side external functions SaveLocalRepositoryData() and LoadLocalRepositoryData() respectively. However, that means that if we put out a new version of the LRC for download, their settings are wiped out. We would prefer to store them in a text file but are unsure how.
I see there is a file in the install folder called player.ini which has lines in it as such:
[Graphics]
Fullscreen=1
It seems like that would be an ideal place to put user settings, but I don't know how or even if we can access it via HeroScript. I cannot find any reference to is in the HeroWiki.
Does anyone have any insight into this?
As a fallback, I can imagine we can write our own external functions to write to and read from a text file, but it would be nice if this was already available somehow.
I see there is a file in the install folder called player.ini which has lines in it as such:
[Graphics]
Fullscreen=1
It seems like that would be an ideal place to put user settings, but I don't know how or even if we can access it via HeroScript. I cannot find any reference to is in the HeroWiki.
Does anyone have any insight into this?
As a fallback, I can imagine we can write our own external functions to write to and read from a text file, but it would be nice if this was already available somehow.