StratDragon - 03 June 2012 07:44 PM
.... Now how do I package it up so I can post it and give it away?
pros must have better ways but here’s how i package my free props
lets suppose your poser content folder is C:\Program Files\DAZ\Studio\content\Runtime
load the .obj produced by Blender in Daz Studio
scale it down if needed, ( create a primitive-cube, 10cm tall and see if your glass’s size makes sense and delete the cube )
apply textures and colors
if there’s image/textures they should be moved to
C:\Program Files\DAZ\Studio\content\Runtime\textures\StratDragon
your surfaces/materials should only make use of the images in that folder,
not the ones found elsewhere on your computer
select your object, ( or the parent-node if you grouped many objects under a null node ))
use the free script “PP2 Exporter” by duke533 —-> precious link follows !!
http://puzzlekiraly.hu/lom
change the destination folders like this:
save the prop in c:\program files\daz\studio\content\runtime\libraries\props\StratDragon
under the name cglass.pp2
save the geometry in C:\Program Files\DAZ\Studio\content\Runtime\geometries\StratDragon
under the name cglass.obj
——
navigate to c:\program files\daz\studio\content\runtime\libraries\props\StratDragon
and create a batch file that reads something like
md cglass
md cglass\Runtime
md cglass\Runtime\libraries
md cglass\Runtime\libraries\Props
md cglass\Runtime\libraries\Props\StratDragon
copy "C:\Program Files\DAZ\Studio\content\Runtime\libraries\Props\StratDragon\cglass.*" cglass\Runtime\libraries\Props\StratDragon
md cglass\Runtime\geometries
md cglass\Runtime\geometries\StratDragon
copy "C:\Program Files\DAZ\Studio\content\Runtime\geometries\StratDragon\cglass.*" cglass\Runtime\geometries\StratDragon
md cglass\Runtime\textures
md cglass\Runtime\textures\StratDragon
copy "C:\Program Files\DAZ\Studio\content\Runtime\textures\StratDragon\cglass.*" cglass\Runtime\textures\StratDragon
you save this batch file under the name make_package_cglass_.bat
run/execute the batch file
if you’re not familiar with batch files, the important point is that “md” means “make directory”,
and * means “any”
so you could create the same folder structure manually and copy the files manually
in the example, i supposed that all the textures in C:\Program Files\DAZ\Studio\content\Runtime\textures\StratDragon\
have filenames starting with the prefix cglass
lets say there’s one named oliveskin.jpg
then you could add this line at the end of the batch file
copy “C:\Program Files\DAZ\Studio\content\Runtime\textures\StratDragon\oliveskin.jpg” cglass\Runtime\textures\StratDragon
—————-
navigate to
c:\program files\daz\studio\content\runtime\libraries\props\StratDragon\cglass
you should see a folder named runtime
zip this under the name StratDragon_cglass.zip
and give these instructions to people:
unzip the zip file found at the bottom of this web page in your Daz Studio content folder,
typically that's c:\program files\daz\studio\content
once installed, the props appear in the content/props/StratDragon folder
note about pp2 exporter
when pp2 exporter converts your objects into a real poser prop
it needs to make all other objects in the scene invisible
if there’s a Victoria 4 in your scene and her head node is locked
then you’ll be packaging and distributing Victoria’s head along with your prop
... so, make sure the other objects in the scene are not locked,
or simply , use an empty scene 
example of packaging a prop for my site