Tue, Nov 26, 4:15 PM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Nov 26 1:43 pm)



Subject: Poser.ini location in P7 Mac


svdl ( ) posted Thu, 17 January 2008 at 10:17 AM · edited Sat, 23 November 2024 at 9:12 PM

To make my Python scripts cross-platform, I need to find out where Poser 7 stores its poser.ini file on Mac OS. I don't have a Mac, so I can't find out for myself.

Could anybody help me out here? Thanks in advance

The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter

My gallery   My freestuff


coocooFORcocoapuffs ( ) posted Thu, 17 January 2008 at 11:32 AM

file_397855.gif

hi svdl, don't know about poser pc ini file or = on a mac, but here are ur options: files that are outside the normal root dir of the install, which i think is pretty much the same on both platforms. perhaps the xml file, which has runtime location in it?



svdl ( ) posted Thu, 17 January 2008 at 11:41 AM

file_397856.txt

I'm looking for the file called poser.ini, with contents like in the attached text file.

Poser 6 stores this file in :/runtime/prefs/poser.ini

Poser 7 stores this file in "documents and settings/%username%/applcation data/poser 7/poser.ini" - on a PC.

Where does Poser 7 store this file on a Mac?

The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter

My gallery   My freestuff


coocooFORcocoapuffs ( ) posted Thu, 17 January 2008 at 11:55 AM

svdl, pretty sure macs don't use the filetype of ini. we have preferences and plists and all the other stuff in that screencap, most of which i don't understand nor want to. i think you are going to have to look inside those files to see what it is you need...or there is surely someone here that knows more about mac then i do...i'm pathetic when it comes to that kinda stuff...



coocooFORcocoapuffs ( ) posted Thu, 17 January 2008 at 12:34 PM · edited Thu, 17 January 2008 at 12:41 PM

oh, i just saw ur attachment. the file you are looking for is the one called "Poser Prefs" located in the ~/Library/Preferences/Poser 7 directory. Learn something new everyday!



coocooFORcocoapuffs ( ) posted Thu, 17 January 2008 at 12:58 PM

here's the file so u can doublecheck...



coocooFORcocoapuffs ( ) posted Thu, 17 January 2008 at 1:03 PM

here's the file so u can doublecheck...



svdl ( ) posted Thu, 17 January 2008 at 1:14 PM

Thanks, that's what I needed to know.

The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter

My gallery   My freestuff


coocooFORcocoapuffs ( ) posted Thu, 17 January 2008 at 1:14 PM

here's the file so u can doublecheck...



nruddock ( ) posted Thu, 17 January 2008 at 3:57 PM

Unlikely as it may seem, this mentioned in "Poser 7 Readme.txt" ;)


svdl ( ) posted Thu, 17 January 2008 at 4:03 PM

Now I only need to find out the /Users// folder name from Python. In Windows, I can do this using os.environ["APPDATA"].
Anyone who knows how to do this for the Mac?

The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter

My gallery   My freestuff


nruddock ( ) posted Thu, 17 January 2008 at 6:03 PM

It's likely that the following is what you want :-

os.path.expanduser("~")


svdl ( ) posted Fri, 18 January 2008 at 12:48 AM

Thanks. Now that you mention it, I remember reading about expanduser in the Python docs.

The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter

My gallery   My freestuff


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.