get poser templocation / prefslocation outside of poser (you need to add these to POSER_FAKE by adp001, separate files would be the best option probably. e.g. in the poser fake folder, add Templocation.py and PrefsLocation.py)
import POSER_FAKE as poser
def TempLocation():
return os.path.join(os.environ["TEMP"],"Poser")
def PrefsLocation():
if Version() >= 11.2 or Version() < 11.2 and not IsPro():
return os.path.join(os.environ["APPDATA"], "Poser", str(int(Version())))
elif Version() < 11.2 and IsPro():
return os.path.join(os.environ["APPDATA"], "Poser Pro", str(int(Version())))
else:
return None
def Version():
return 12
def IsPro():
return True
print(poser.TempLocation())
print(poser.PrefsLocation())
you should likely add checks to see if the actual location exists.
Locked Out