Thu, Nov 14, 11:00 PM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Nov 14 4:48 pm)



Subject: -- Looking for a Utility --


Gorodin ( ) posted Thu, 18 September 2003 at 1:33 AM · edited Tue, 12 November 2024 at 9:05 PM

I need something that goes through all the runtime files and checks for orphan .obj files, then gives me the option of deleting them. Is there anything like this?


narcissus ( ) posted Thu, 18 September 2003 at 3:59 AM

I would be very interested in this too...


leather-guy ( ) posted Thu, 18 September 2003 at 5:07 AM

There was talk some time back that the next version of Correct Reference would would have such capability and, probably be a commercial product but I've heard nothing of it for some months. Such a utility would be high on my wish list as well.....


ockham ( ) posted Thu, 18 September 2003 at 9:49 AM

Attached Link: http://ockhamsbungalow.com/Python/extractors.zip

Try these. Separate scripts for PP2, CR2, PZ3. They don't work on the newer compressed forms, though.

My python page
My ShareCG freebies


Gorodin ( ) posted Thu, 18 September 2003 at 11:34 AM

Thanks Ockham. Do Python scripts work in P4?


ockham ( ) posted Thu, 18 September 2003 at 12:55 PM

No, not in plain (pre-Propack) P4.

My python page
My ShareCG freebies


RealitysPoison ( ) posted Thu, 18 September 2003 at 1:00 PM

Can these be used with the standalone Python? I know Daz's Morphos can, which allows us ol' P4 users to use the script. Worth a try.


ockham ( ) posted Thu, 18 September 2003 at 5:23 PM

No, these depend on the Poser runtime. I might be inclined to rewrite the extractor as a plain Win EXE, though. The Poser connection isn't really crucial to this action; it just saves time by looking first in the most likely place, which is the presently active Runtime.

My python page
My ShareCG freebies


RealitysPoison ( ) posted Thu, 18 September 2003 at 6:08 PM

Aw shoot. It was worth a try. (But if you could rewrite it to work with the standalone, I know myself and a TON of others would be forever in your debt. ;)


ockham ( ) posted Thu, 18 September 2003 at 7:12 PM

Attached Link: http://ockhamsbungalow.com/Python/FSExtractors.zip

I didn't realize anybody was operating that way.... seemed sort of "inelegant". Rewriting the scripts to run free-standing took me a total of 5 minutes, so maybe it's not so inelegant after all. Three scripts and a readme in the ZIP. I tried the CR2 extractor, but didn't try the others. Be forewarned...... In order to make the free-standing version work as much like the regular as possible, the script needs to be residing in the same directory with Poser.exe when you run it.

My python page
My ShareCG freebies


Gorodin ( ) posted Thu, 18 September 2003 at 7:27 PM

I may be wrong, but it looks like your scripts do the opposite of what I was looking for... It looks like they read all the files and log the missing bits. I was hoping for something that would read all the files in the geometries folder and flag the ones that are not linked to by a cr2/pp2/etc or an I wrong. Regardless, pretty useful scripts of yours.


raptordude ( ) posted Thu, 18 September 2003 at 10:43 PM

Great utilities......thanks

I used the cr2 and the pp2 ones and all is well....

I tried the pz3 one and it just sends poser off into never never land......hmmmmmm

Why does it change format from c:programs to / after pose 5 ?????

Maybe this is why I am having trouble with the pz3 one.....I (we) have the type in the whole path.....so I dont know what to use..... or ////////??????

Any Help?????


ockham ( ) posted Thu, 18 September 2003 at 11:15 PM

"I was hoping for something that would read all the files in the geometries folder and flag the ones that are not linked to by a cr2/pp2/etc" Aha! That is the opposite. In fact, I'd been wanting this action too, but didn't want it quite badly enough to write a script for it. I'll work on this idea, with the 'freestanding' in mind.

My python page
My ShareCG freebies


ockham ( ) posted Thu, 18 September 2003 at 11:18 PM

Agreed, the PZ3 form is rather inconvenient. Because PZ3's can be anywhere, I couldn't use the runtime as a base for the filename. It definitely wants forward / slashes.

My python page
My ShareCG freebies


raptordude ( ) posted Thu, 18 September 2003 at 11:23 PM

OK thanks for the info....should I use forward / for the whole path or just from the end of Poser 5???????
This is the part Im confused on......in the log file it shows back slash up to poser 5 then forward / after that.

Hope im not confusing you with this but it has me confused hehehehhe

Thanks again

raptordude


ockham ( ) posted Fri, 19 September 2003 at 12:09 AM

The log file does produce a confused form. For the input, just use forward slashes.

My python page
My ShareCG freebies


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.