jmquigs / ModelMod

A system for modifying art in games.
GNU Lesser General Public License v2.1
80 stars 11 forks source link

Injector: support games that are installed in a non user writable directory #6

Closed jmquigs closed 3 years ago

jmquigs commented 8 years ago

If a game is installed in a read-only directory (e.g "Program Files"), ModelMod will fail to init because it runs as a non-admin user and therefore can't copy ModelModCLRAppDomain.dll into the game directory.

One fix is to have an option to run MMLoader as an administrator. This option could be exposed in the Game Profile section of the MMlauncher UI.

Another fix is to remove the annoying requirement that ModelModCLRAppDomain.dll be copied in to the game directory. That probably requires porting to the CoreCLR, which could be a tricky undertaking, but may also add support for additional games that are not supported right now.

Reported in #4