Forum Coordinators: RedPhantom
Poser - OFFICIAL F.A.Q (Last Updated: 2024 Nov 18 10:25 pm)
thanks svdl will keep u posted
I aim to update it about once a month. Oh, and it's free!
One thing I'm concerned about is case sensitivity. I can't test that on Windows, but I do know that file names in Unix (and thus probably in Mac OSX) are case sensitive.
I've tested the script on a Poser Pro test .pz3 that contains items from multiple runtimes, and on my system the script can resolve each and every reference.
I hope it'll work on the Mac. But I cannot be sure.
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
I didn't think case sensitivity would be a problem because it isn't a problem for the finder on my mac when I do searches. There is some sort of problem though. The script opens and asks me to chose the pz3 and when I locate the pz3 Iwant, it creates a new pz3 but there is just a spinning beachball in poser(unless maybe my runtimes are so massive I just haven't waited long enough or something??) and then I have to forcequit and the new pz3 your script has made doesn't seem to have any changes to the paths with external runtimes, but just to the paths for the cameras which were in the poserpro folder.
Love esther
I aim to update it about once a month. Oh, and it's free!
I aim to update it about once a month. Oh, and it's free!
The script does take some time to run (about one minute on a 100 Mb pz3 with objects from 6 separate runtimes), that's why it prints progress to the screen (one line for each 1000 lines of .pz3 it processes, plus every object/texture reference it encounters). It works perfectly on Windows, and the script does not ue any OS specific routines.
I have never used a Mac, so I don't know whether printing to the debug windows works.
You have quite a lot of external runtimes, and each time the script encounters a relative reference for the first time, it'll scan those runtimes until it has found the reference. As soon as the script finds the reference, it'll stop searching the remaining runtime, and it'll store the reference in an in-memory dictionary.
The second time that it encounters the same reference it'll find it in the in-memory dictionary first, and so it doesn't scan the runtimes. Which is a definite speedup for the script.
Depending on the size of your scene and the speed of your Mac I'd expect the script to take from 3 to 30 minutes to complete. I expect the script to be slower on your Mac mainly due to the amount of runtimes you have (I've got 10 external runtimes, you've got over 30), and the fact that my disk systems are faster than Mac disks.(unless you have a $5000+ MacPro system, that is).
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
svdl, maybe you can take a hint from what I explained my code doing above and let the user order and select the Runtimes to use for resolving references rather than using all of them in the order given? It really can expedite the process even though it does require some user configuration.
C makes it easy to shoot yourself in the
foot. C++ makes it harder, but when you do, you blow your whole leg
off.
-- Bjarne
Stroustrup
Contact Me | Kuroyume's DevelopmentZone
I think maybe the script isn't working at all. Because nothing comes up in the script window and the ball spins for ages.
Is it because I don't have the external runtimes in the poser folder. Is it looking for them in there or just somewhere on my harddrive or somewhere on all my 4 internal hard drives?
Love esther
PS That is a good idea Robert
I aim to update it about once a month. Oh, and it's free!
If he's getting the Runtimes from the LibraryPrefs.xml file like the feature that you requested, then it should be capable of working with all of them no matter where they reside (as long as anything on an external drive is available). Don't remember if Poser Python enumerates available Runtimes.
C makes it easy to shoot yourself in the
foot. C++ makes it harder, but when you do, you blow your whole leg
off.
-- Bjarne
Stroustrup
Contact Me | Kuroyume's DevelopmentZone
Quote - If he's getting the Runtimes from the LibraryPrefs.xml file like the feature that you requested, then it should be capable of working with all of them no matter where they reside (as long as anything on an external drive is available). Don't remember if Poser Python enumerates available Runtimes.
It does, in Poser 7 and up. And the script uses that feature.
It may be broken on the Mac - I don't know. I do know that I've avoided Tkinter, since it's flaky on PC and broken on Mac (at least, it has been for several versions).
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
Esther, could you try the following script?
# Test print statements and Libraries() function
import poser
libraryList=poser.Libraries()
for library in libraryList:
print library
# end script
If it works, it prints a list of your external runtimes to the screen, in a simple text popup window. If not, then that part of Python is broken on Mac, and I'll have to do something else.
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
do i just paste the whole thing into a text doc, then change extension to.py ?
I aim to update it about once a month. Oh, and it's free!
Yes. And put it in the proper place like the other script.
svdl: Ok. I was looking at the Poser 6 Python doc and couldn't find it there. So, this will be limited to Poser 7+ then.
C makes it easy to shoot yourself in the
foot. C++ makes it harder, but when you do, you blow your whole leg
off.
-- Bjarne
Stroustrup
Contact Me | Kuroyume's DevelopmentZone
File "/Applications/Poser Pro/Runtime/Python/poserScripts/ScriptsMenu/svdl/test2.py", line 1
{rtf1ansiansicpg1252cocoartf949cocoasubrtf270
^
SyntaxError: invalid token
I aim to update it about once a month. Oh, and it's free!
File "/Applications/Poser Pro/Runtime/Python/poserScripts/ScriptsMenu/svdl/test.py", line 1
{rtf1ansiansicpg1252cocoartf949cocoasubrtf270
^
SyntaxError: invalid token
I aim to update it about once a month. Oh, and it's free!
rtf = run time file/function (?)
cocoart = Cocoa run time file/function (?)
Which version of MacOS are you running? Though I haven't had any problems with Poser 7 or Poser Python on MacOSX 10.4.11 or 10.5.2. Let me double check the latter.
C makes it easy to shoot yourself in the
foot. C++ makes it harder, but when you do, you blow your whole leg
off.
-- Bjarne
Stroustrup
Contact Me | Kuroyume's DevelopmentZone
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
kuroyume: this script is targeted at Poser Pro, it solves a problem that only occurs with Poser Pro. So I didn't make it backwards compatible with P6 or earlier.
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
Gotcha and true. :) It could be useful as a way to rereference PZ3s to changes in Runtimes (path or whatnot). I've added this to my plugin as well - so that people sharing C4D scenes with Runtime-related texture references, the required content, but different paths to their Runtimes can have them re-resolved. Or, if they've reinstalled to different drives on a new system perhaps (etc. and so on). ;)
I had no problem with scripts on 10.5.2 in Poser 7 - my script was written on Windows and it works on MacOS. Hopefully there isn't some problem with Python scripts on Mac with Poser Pro!
C makes it easy to shoot yourself in the
foot. C++ makes it harder, but when you do, you blow your whole leg
off.
-- Bjarne
Stroustrup
Contact Me | Kuroyume's DevelopmentZone
I've just done some tests with interesting results.
I set up a scene in Poser 7 with a V4 character ,clothes jewellry and a few assorted props. None of these are in my P7 or PP runtimes and the character has its obj and textures in other runtimes than where the CR2 file is located. I ran 3 cloth room and one dynamic hair simulations then saved the scene as a PZ3.
I then loaded it into PP and saved the scene from there, then did some tests on how they loaded. In each case I loaded the scene into a freshly started program so that no info was left in temp files.
Poser 7 loaded the P7 version of the file in 12 min 40 secs. No problems
Poser 7 loaded the PP version in 11 min 30 sec, It found all items and textures without any queries.
Poser Pro loaded the P7 version in 5 min 40 sec. No problems,good speed gain.
Poser Pro loaded the PP version in 10 min 0 sec.
Carrara 6 loaded the P7 version in 50 sec. No problems
Carrara 6 loaded the PP version in 60 sec. I was pleasantly surprised that it found everything with no problems.
svdl
this part is working really well!!
here's the cut and paste of the result;-
/Applications/Poser Pro
/Applications/Poser Pro/Downloads
/Applications/PoserAll/Poser_pankoVC_combat
/Applications/PoserAll/Poser 5/Poser 4
/Applications/PoserAll/Poser 5
/Applications/PoserAll/Poser 6
/Applications/PoserAll/Poser_Hair
/Applications/PoserAll/Poser_military
/Applications/PoserAll/Poser_GI_CombatGear_V3
/Applications/PoserAll/Poser_GI_CombatGear_M3
/Applications/PoserAll/Poser_schlabber
/Applications/PoserAll/Poser_shadowdancer
/Applications/PoserAll/Poser 5/newRuntime
/Applications/PoserAll/posermildollarbaby
/Applications/PoserAll/Poser_BDUV3-1 Folder
/Applications/PoserAll/Poser_V3streetfighter
/Applications/PoserAll/Poser_Victoria4
/Applications/PoserAll/Poser_ppletexnmorphs
/Applications/PoserAll/Poser_combatmedicposes
/Applications/PoserAll/Poser_trucks
/Applications/PoserAll/Poser_BDUV3-1 Folder
/Applications/PoserAll/Poser_M3everydaywear
/Applications/PoserAll/Poser_M3BDU
/Applications/PoserAll/Poser_daz desert soldier
/Applications/PoserAll/Poser 5/newRuntime
/Applications/PoserAll/posermildollarbaby
/Applications/PoserAll/shadownet_test_buttondress
/Applications/PoserAll/Poser_ppletexnmorphs
/Applications/PoserAll/Poser_Hair
/Applications/PoserAll/shadownet_furtest
/Applications/PoserAll/Poser_streets
/Applications/PoserAll/Poser_streets
/Applications/PoserAll/Poser_stonemason
/Applications/PoserAll/Poser_Miki2_Complete
/Applications/PoserAll/Poser_World
/Applications/PoserAll/Poser_school
/Applications/PoserAll
/Applications/PoserAll/Poser_casualwkendV3
/Applications/PoserAll/Poser_SciFi
/Applications/PoserAll/ziggieICUsept06
/Applications/PoserAll/Poser_Miki2_Complete
/Applications/PoserAll/Poser_BCMiki2
/Applications/PoserAll/Poser_junglevines
/Applications/PoserAll/Poser_Tribal
/Applications/PoserAll/Poser_Animals
/Applications/PoserAll/Poser_BCVickie4
/Applications/PoserAll/Poser_shadownet
/Applications/PoserAll/Poser_Peasant_tex
/Applications/PoserAll/Poser_Teenmike3
/Applications/PoserAll/Poser_M3denemjeansnjckt
/Applications/PoserAll/Poser_realstreetclothes
/Applications/PoserAll
/Applications/PoserAll/Poser_jungleV4
/Applications/PoserAll/Poser_shadownet
/Applications/PoserAll/Poser_Boxing
/Applications/PoserAll/Poser_universalmagicmags
/Applications/PoserAll/Poser_Jeanz_V4
/Applications/PoserAll/Poser_skeletons
/Applications/PoserAll/Poser_knight
/Applications/PoserAll/Poser_aikoBC
/Applications/PoserAll/Poser_V4Cowgirl
/Applications/PoserAll/Poser_Hair
/Applications/PoserAll/Poser_G2
/Applications/PoserAll/Poser_Apollo
/Applications/PoserAll/Poser_hairtotalupdo
/Applications/PoserAll/Poser_G2morphsuit
/Applications/PoserAll/Poser_HighStakes-DoubleDown
/Applications/PoserAll/Poser_bar
/Applications/PoserAll/Poser_bar
/Applications/PoserAll/Poser_Freak
/Applications/PoserAll/Poser_M3suit_Beowulf
/Applications/PoserAll/Poser_Velvet Rope
/Applications/PoserAll/Poser_bullking
/Applications/PoserAll/Poser_architecturalinteriors
/Applications/PoserAll/Poser_Animals
/Applications/PoserAll/Poser_Margharita
/Applications/PoserAll/Poser_mouse
/Applications/PoserAll/poser_jmmpack Folder
/Applications/PoserAll/Poser_shadowdancerV4
/Applications/PoserAll/Poser_hairtotalupdo2
/Applications/PoserAll/Poser_Panko_AssaultWeapons_4
/Applications/PoserAll/Poser_IngenueV3
/Applications/PoserAll/Poser_Animals
/Applications/PoserAll/Poser_Minotaur
/Applications/PoserAll/Poser_Panko_AssaultWeapons_1
/Applications/PoserAll/Poser_bookcasenclock
/Applications/PoserAll/Poser_architecturalinteriors
/Applications/PoserAll/Poser_BVHshacklensswat
/Applications/PoserAll/Poser_M3loungewear
/Applications/PoserAll/Poser_casualM3
/Applications/PoserAll/Poser_hairtotalupdo2
/Applications/PoserAll/Poser_shadownet
/Applications/PoserAll/Poser_Panko_AssaultWeapons_1
/Applications/PoserAll/Poser_totaleyes
/Applications/PoserAll/Poser_Secretary
/Applications/PoserAll/Poser_Aeroplanes
/Applications/PoserAll/Poser_Apollo
/Applications/PoserAll/Poser_Panko_AssaultWeapons_2
/Applications/PoserAll/Poser_MilDragon
/Applications/PoserAll/Poser_Mitsu_hair
/Applications/PoserAll/Poser_USPS Mailbox
/Applications/PoserAll/Poser_Big_Casino
/Applications/PoserAll/Poser_City Block-1
/Applications/PoserAll/Poser_firearmDAZpack
/Applications/PoserAll/Poser_Clothes_Accessories_misc
/Applications/PoserAll/Poser_Gym
/Applications/PoserAll/Poser_Food
/Applications/PoserAll/wwconverted
/Applications/PoserAll/Poser_Hair_Cecile2
/Applications/PoserAll/Poser_G2
/Applications/PoserAll/Poser_MuscleCar
/Applications/PoserAll
/Applications/PoserAll/Poser_RealisticParlor
/Applications/PoserAll/Poser_Music
/Applications/PoserAll/Poser_FantasyHistory
/Applications/PoserAll/Poser_AmusementPark
/Applications/PoserAll/Poser_lauralukeclothes
/Applications/PoserAll/Poser_Eyes
/Applications/PoserAll/YA_VivLaura
/Applications/PoserAll/Poser_totaleyes
/Applications/PoserAll/Poser_Panko_IHMS
/Applications/PoserAll/Poser_AirBase
/Applications/PoserAll/Poser_RealJeans
/Applications/PoserAll/Poser_MercenaryBase
/Applications/PoserAll/panko_test
I aim to update it about once a month. Oh, and it's free!
I am running leopard. ie OS 10.5
Love esther
I aim to update it about once a month. Oh, and it's free!
Quote - This problem is not just with PZ3 files but also with character,prop,hair,material collections - in fact any type of file saved from PP.
True as well.
C makes it easy to shoot yourself in the
foot. C++ makes it harder, but when you do, you blow your whole leg
off.
-- Bjarne
Stroustrup
Contact Me | Kuroyume's DevelopmentZone
Esther: you've got over a hundred runtimes in your system. That's quite a lot. The way the script is written, I expect the total running time to be almost linearly dependent on the number of runtimes.
On my system, I use 12 separate runtimes, so that would mean the script would run 10 times as slow on your system.
Another factor is the speed of the system itself. I tested and ran the script on an Intel Q6600/8 GB RAM / multiple SATA-II disk system, the runtime folders being located on another physical drive than Poser itself or the operating system. Operating system XP 64 bit. On that basis I expect the script to run 20%-50% faster than on a midrange to high end Mac.
Then again, it's strange that the script doesn't report to the screen. It SHOULD do so, for every texture/object reference it encounters, plus once for every 1000 lines read (a Poser scene file can contain over 10 million lines).
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
guess what - i left it running all night, and when I went to bed there was a spinning beachball, but this morning it had reported to the screen and the last line says:-
Handling line 6628000
Done
Off to try the pz3 in vuenow.
will keep you posted.
Love esther
I aim to update it about once a month. Oh, and it's free!
Okay, then I know what's going on. On the Mac, the screen doesn't update as it should. But the script (most probably) works.
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
Hi svdl,
well the new pz3 file that your proggie created now imports into vue but there is a problem finding textures - it comes in without any. I checked the new pz3 and found this sort of pathway for the textures
textureMap ":Runtime:textures:Panko:Modern_1:L85A1_v1.jpg"
this texture is actually in an external runtime.
Love esther
I aim to update it about once a month. Oh, and it's free!
That is weird.
Here's how the script works:
On Windows, it works for every path in the .pz3, be it an object reference, a texture reference, a readScript reference or a .PMD reference.
Why it doesn't work on Mac is beyond me.
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
maybe because the textures need to be separated by : instead of / ???
I aim to update it about once a month. Oh, and it's free!
this is the last part of the screen
Testing for file '/Applications/PoserAll/Poser_Panko_AssaultWeapons_1/Runtime/textures/PW texture files/SP3-Business suit/SP3 business suit blouse-TEX3-PW.jpg"'
Not present in /Applications/PoserAll/Poser_Panko_AssaultWeapons_1
Testing for file '/Applications/PoserAll/Poser_totaleyes/Runtime/textures/PW texture files/SP3-Business suit/SP3 business suit blouse-TEX3-PW.jpg"'
Not present in /Applications/PoserAll/Poser_totaleyes
Testing for file '/Applications/PoserAll/Poser_Secretary/Runtime/textures/PW texture files/SP3-Business suit/SP3 business suit blouse-TEX3-PW.jpg"'
Not present in /Applications/PoserAll/Poser_Secretary
Testing for file '/Applications/PoserAll/Poser_Aeroplanes/Runtime/textures/PW texture files/SP3-Business suit/SP3 business suit blouse-TEX3-PW.jpg"'
Not present in /Applications/PoserAll/Poser_Aeroplanes
Testing for file '/Applications/PoserAll/Poser_Apollo/Runtime/textures/PW texture files/SP3-Business suit/SP3 business suit blouse-TEX3-PW.jpg"'
Not present in /Applications/PoserAll/Poser_Apollo
Testing for file '/Applications/PoserAll/Poser_Panko_AssaultWeapons_2/Runtime/textures/PW texture files/SP3-Business suit/SP3 business suit blouse-TEX3-PW.jpg"'
Not present in /Applications/PoserAll/Poser_Panko_AssaultWeapons_2
Testing for file '/Applications/PoserAll/Poser_MilDragon/Runtime/textures/PW texture files/SP3-Business suit/SP3 business suit blouse-TEX3-PW.jpg"'
Not present in /Applications/PoserAll/Poser_MilDragon
Testing for file '/Applications/PoserAll/Poser_Mitsu_hair/Runtime/textures/PW texture files/SP3-Business suit/SP3 business suit blouse-TEX3-PW.jpg"'
Not present in /Applications/PoserAll/Poser_Mitsu_hair
Testing for file '/Applications/PoserAll/Poser_USPS Mailbox/Runtime/textures/PW texture files/SP3-Business suit/SP3 business suit blouse-TEX3-PW.jpg"'
Not present in /Applications/PoserAll/Poser_USPS Mailbox
Testing for file '/Applications/PoserAll/Poser_Big_Casino/Runtime/textures/PW texture files/SP3-Business suit/SP3 business suit blouse-TEX3-PW.jpg"'
Not present in /Applications/PoserAll/Poser_Big_Casino
Testing for file '/Applications/PoserAll/Poser_City Block-1/Runtime/textures/PW texture files/SP3-Business suit/SP3 business suit blouse-TEX3-PW.jpg"'
Not present in /Applications/PoserAll/Poser_City Block-1
Testing for file '/Applications/PoserAll/Poser_firearmDAZpack/Runtime/textures/PW texture files/SP3-Business suit/SP3 business suit blouse-TEX3-PW.jpg"'
Not present in /Applications/PoserAll/Poser_firearmDAZpack
Testing for file '/Applications/PoserAll/Poser_Clothes_Accessories_misc/Runtime/textures/PW texture files/SP3-Business suit/SP3 business suit blouse-TEX3-PW.jpg"'
Not present in /Applications/PoserAll/Poser_Clothes_Accessories_misc
Testing for file '/Applications/PoserAll/Poser_Gym/Runtime/textures/PW texture files/SP3-Business suit/SP3 business suit blouse-TEX3-PW.jpg"'
Not present in /Applications/PoserAll/Poser_Gym
Testing for file '/Applications/PoserAll/Poser_Food/Runtime/textures/PW texture files/SP3-Business suit/SP3 business suit blouse-TEX3-PW.jpg"'
Not present in /Applications/PoserAll/Poser_Food
Testing for file '/Applications/PoserAll/wwconverted/Runtime/textures/PW texture files/SP3-Business suit/SP3 business suit blouse-TEX3-PW.jpg"'
Not present in /Applications/PoserAll/wwconverted
Testing for file '/Applications/PoserAll/Poser_Hair_Cecile2/Runtime/textures/PW texture files/SP3-Business suit/SP3 business suit blouse-TEX3-PW.jpg"'
Not present in /Applications/PoserAll/Poser_Hair_Cecile2
Testing for file '/Applications/PoserAll/Poser_G2/Runtime/textures/PW texture files/SP3-Business suit/SP3 business suit blouse-TEX3-PW.jpg"'
Not present in /Applications/PoserAll/Poser_G2
Testing for file '/Applications/PoserAll/Poser_MuscleCar/Runtime/textures/PW texture files/SP3-Business suit/SP3 business suit blouse-TEX3-PW.jpg"'
Not present in /Applications/PoserAll/Poser_MuscleCar
Testing for file '/Applications/PoserAll/Runtime/textures/PW texture files/SP3-Business suit/SP3 business suit blouse-TEX3-PW.jpg"'
Not present in /Applications/PoserAll
Testing for file '/Applications/PoserAll/Poser_RealisticParlor/Runtime/textures/PW texture files/SP3-Business suit/SP3 business suit blouse-TEX3-PW.jpg"'
Not present in /Applications/PoserAll/Poser_RealisticParlor
Testing for file '/Applications/PoserAll/Poser_Music/Runtime/textures/PW texture files/SP3-Business suit/SP3 business suit blouse-TEX3-PW.jpg"'
Not present in /Applications/PoserAll/Poser_Music
Testing for file '/Applications/PoserAll/Poser_FantasyHistory/Runtime/textures/PW texture files/SP3-Business suit/SP3 business suit blouse-TEX3-PW.jpg"'
Not present in /Applications/PoserAll/Poser_FantasyHistory
Testing for file '/Applications/PoserAll/Poser_AmusementPark/Runtime/textures/PW texture files/SP3-Business suit/SP3 business suit blouse-TEX3-PW.jpg"'
Not present in /Applications/PoserAll/Poser_AmusementPark
Testing for file '/Applications/PoserAll/Poser_lauralukeclothes/Runtime/textures/PW texture files/SP3-Business suit/SP3 business suit blouse-TEX3-PW.jpg"'
Not present in /Applications/PoserAll/Poser_lauralukeclothes
Testing for file '/Applications/PoserAll/Poser_Eyes/Runtime/textures/PW texture files/SP3-Business suit/SP3 business suit blouse-TEX3-PW.jpg"'
Not present in /Applications/PoserAll/Poser_Eyes
Testing for file '/Applications/PoserAll/YA_VivLaura/Runtime/textures/PW texture files/SP3-Business suit/SP3 business suit blouse-TEX3-PW.jpg"'
Not present in /Applications/PoserAll/YA_VivLaura
Testing for file '/Applications/PoserAll/Poser_totaleyes/Runtime/textures/PW texture files/SP3-Business suit/SP3 business suit blouse-TEX3-PW.jpg"'
Not present in /Applications/PoserAll/Poser_totaleyes
Testing for file '/Applications/PoserAll/Poser_Panko_IHMS/Runtime/textures/PW texture files/SP3-Business suit/SP3 business suit blouse-TEX3-PW.jpg"'
Not present in /Applications/PoserAll/Poser_Panko_IHMS
Testing for file '/Applications/PoserAll/Poser_AirBase/Runtime/textures/PW texture files/SP3-Business suit/SP3 business suit blouse-TEX3-PW.jpg"'
Not present in /Applications/PoserAll/Poser_AirBase
Testing for file '/Applications/PoserAll/Poser_RealJeans/Runtime/textures/PW texture files/SP3-Business suit/SP3 business suit blouse-TEX3-PW.jpg"'
Not present in /Applications/PoserAll/Poser_RealJeans
Testing for file '/Applications/PoserAll/Poser_MercenaryBase/Runtime/textures/PW texture files/SP3-Business suit/SP3 business suit blouse-TEX3-PW.jpg"'
Not present in /Applications/PoserAll/Poser_MercenaryBase
Testing for file '/Applications/PoserAll/panko_test/Runtime/textures/PW texture files/SP3-Business suit/SP3 business suit blouse-TEX3-PW.jpg"'
Not present in /Applications/PoserAll/panko_test
Handling line 6628000
Done
I aim to update it about once a month. Oh, and it's free!
In the mac (os 10) all the texture paths have : seperators for some reason even though the .obj files don't.
Love esther
":Runtime:textures:Quarker:RadiantJaguarHair:RJH_Brown.jpg"
I aim to update it about once a month. Oh, and it's free!
The only thing that I can think of is symbolic links messing up the script. The fact that it leaves the texture references unmodified means that it could not resolve the relative path to an absolute path, and I've read something about Unix symbolic links messing up the "exists" function in Python.
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
but the .obj paths work fine on your script.
Is it the : separaters causing the problem?
Love esther
I aim to update it about once a month. Oh, and it's free!
/Applications/PoserAll/Poser_V3streetfighter/Runtime/Geometries/Panko/L85A1.obj
example of object path - the separaters are different on the mac to the texture paths.
I aim to update it about once a month. Oh, and it's free!
I found something in the file listing, and I think I know what's wrong. The texture file name has been enclosed in double quotes, and one of those quotes got included in the search expression.
Now that I know what is going wrong, I can fix it.
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
P.S.: I'm glad I made the script as verbose as it is, it allowed me to find the error.
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
Quote - > Quote - This problem is not just with PZ3 files but also with character,prop,hair,material collections - in fact any type of file saved from PP.
True as well.
Beg to differ: items stored in libraries SHOULD have relative references! Saving them with absolute references is an error, and items with absolute references are (rightfully) rejected by the marketplace testers here and at DAZ.
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
Esther: considering the amount of runtimes you have, I think I'd better make the script somewhat smarter. Here's what I'm going to do: the script will first search in a list of "preferred" runtimes, and if it cannot resolve the reference using that list, it'll use the full list. As soon as it finds the reference, it'll add that runtime to the "preferred" list.
I think that checking for file existence is one of the more time consuming parts of the script, and this way I can reduce the amount of existence checks.
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
Quote - > Quote - > Quote - This problem is not just with PZ3 files but also with character,prop,hair,material collections - in fact any type of file saved from PP.
True as well.
Beg to differ: items stored in libraries SHOULD have relative references! Saving them with absolute references is an error, and items with absolute references are (rightfully) rejected by the marketplace testers here and at DAZ.
I beg to differ further - if someone uses references from different Runtimes and saves, say, the figure to the Figure library then what - eh? ;)
As originally noted, whether you save a PZ3 or anything to the library, the same exact rules apply.
Though I'll agree with you on commercial products requiring relative references.
C makes it easy to shoot yourself in the
foot. C++ makes it harder, but when you do, you blow your whole leg
off.
-- Bjarne
Stroustrup
Contact Me | Kuroyume's DevelopmentZone
trying the new script. will go to work soon and let you know when I come home tonight.
Love esther
I aim to update it about once a month. Oh, and it's free!
Heres the script I wrote that checks each runtime for the file and replaces the full path
Just rename from txt back to the py
Its a non-elegant brute force approach
hi it actually finished before I went to work - guess what!! IT WORKS!!! Everything imports perfectly into vue. yipppeeeee!
love esther
PS thank you muchly svdl - you are a champion
I aim to update it about once a month. Oh, and it's free!
mark- i will have to try this tonight when i get home from work
love esther
I aim to update it about once a month. Oh, and it's free!
Mark - I just tried your script - it works very well indeed. And very fast too. I didn't try it on the same file that I tried with svdl script but I have a feeling yours may be faster.
I will have to try it on a more complex scene to see if that is correct.
Thankyou very much to everyone - this is great.
Much vue happiness because of this.
Love esther
PS it definitely is a very fast script! Just checked.
PPS any chance of a standalone one that doesn't need poser open to fix the file or maybe could batch fix them? Not essential by any means. what we have already is wonderfully great!!!!!!
I aim to update it about once a month. Oh, and it's free!
thanks , note the bit about non-elegant brute force solution :)
there may be some references that the program wont handle .
it creats a filename_new.pz3 with the changes . I hate changing the original files in case something bad happens .
written in python to run from poser but the pz3 does NOT have to be loaded , I just use poser to get python running .
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.
One thing missing - that I'm dealing with at the moment: an associated PMD file. The user can simply copy it and rename it or replace the old pz3 with the new one. Just making this possibility known.
C makes it easy to shoot yourself in the foot. C++ makes it harder, but when you do, you blow your whole leg off.
-- Bjarne Stroustrup
Contact Me | Kuroyume's DevelopmentZone