GB19xx / ACT.TPMonitor

TPMonitor for FFXIV on ACT
BSD 3-Clause "New" or "Revised" License
22 stars 8 forks source link

Patch to allow TPMonitor to run in ACT under a different user than FFXIV does #26

Closed adamrushad closed 9 years ago

adamrushad commented 9 years ago

After the FFXIV parser plugin started to require administrator privileges in order to function fully, the TPMonitor plugin ceased working for me, since I do not execute FFXIV as an administrator. This pull request resolves this issue with execution under this use case. After these changes, the plugin will prompt the user to locate their character directory and FFXIV.cfg files if it can not find them automatically.

The change set looks large, but most of it is adding a field to the configuration form and shifting other items down. The biggest real change is in the Util class. Previously, there was no method of changing where the FFXIV.cfg file was located. Since Util is static, I needed to move that code and pass in the location instead.

Without this change set, getting the TPMonitor plugin to work when FFXIV is run as a different user requires you to copy your FFXIV directory into the administrator's 'My Games' directory. Then, if you change display settings, you must remember to re-copy the files, which is prone to being forgotten.

Please take a look, and let me know if you need me to make any changes to my commit.

Thank you,

Adam