Fixing texture paths for Octane for a new computer?

Poser (Integrated Plugin developed by Paul Kinnane)

Moderator: face_off

Forum rules
Please keep character renders sensibly modest, please do not post sexually explicit scenes of characters.
Post Reply
Scott762
Licensed Customer
Posts: 54
Joined: Thu Mar 05, 2015 3:52 pm

I just re-installed Poser, and just noticed that Octane apparently stores fixed paths rather than relative paths for all the textures. Here's the issue:

I had previously always used the Poser legacy runtime location (in Program Files). I just re-installed using the modern User directory location (C:\Users\USER_ABC\Documents\Poser Pro 2014 Content). Poser 2014 uses relative paths and picked up the change just fine. Example:

prop GROUND
{
storageOffset 0 0 0
objFileGeom 0 0 :Runtime:Geometries:props:ground.obz

Is there a way to fix this?

I found this script from Xipomus, but it dumps all the textures into another directory, instead of fixing the paths in the pz3 file.
viewtopic.php?f=45&t=37544&p=261921
Scott762
Licensed Customer
Posts: 54
Joined: Thu Mar 05, 2015 3:52 pm

I think I found it!!! I found the paths, they are in Python format.

So I replaced:
C:\\Program Files\\Smith Micro\\Poser Pro 2014\\Downloads\\Runtime\\

With:
C:\\Users\\USER_ABC\\Documents\\Poser Pro 2014 Content\\Downloads\\Runtime\\

This apparently worked, no prompts for textures and the shader settings appear intact. But I cannot test now as the render keeps crashing. :x
Xipomus
Licensed Customer
Posts: 21
Joined: Wed Feb 20, 2013 12:57 pm

You could change the script to not copy the files just change the path in the pz3.

Render keeps crashing? Do you get an error?
User avatar
face_off
Octane Plugin Developer
Posts: 15696
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

But I cannot test now as the render keeps crashing.
What does this mean pls? Are you getting an error msg? What does the Octane Log say?

Paul
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
Scott762
Licensed Customer
Posts: 54
Joined: Thu Mar 05, 2015 3:52 pm

face_off wrote:
But I cannot test now as the render keeps crashing.
What does this mean pls? Are you getting an error msg? What does the Octane Log say?

Paul
Won't render due to the CUDA errors the plugin is having on my system, you're already helping me in this thread.
viewtopic.php?f=45&t=52231
User avatar
face_off
Octane Plugin Developer
Posts: 15696
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Won't render due to the CUDA errors the plugin is having on my system, you're already helping me in this thread.
Is it possilble the pathing problem is causing the crash? Or does the crash happen with a blank scene and no texture?

Paul
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
Scott762
Licensed Customer
Posts: 54
Joined: Thu Mar 05, 2015 3:52 pm

face_off wrote:
Won't render due to the CUDA errors the plugin is having on my system, you're already helping me in this thread.
Is it possilble the pathing problem is causing the crash? Or does the crash happen with a blank scene and no texture?

Paul
No, the first Poser re-install (when I re-installed Windows 10 clean) I used the traditional legacy paths, so the paths were the same. Had the issue.

Since Poser has issues with permissions with those files in the Program Files directory in Win 8+ (was on Win 7 previously), I thought since I was re-installing I'd try the newer user documents location just in case that could be an issue. There was some fix I found for that a while back, couldn't find it again so it was a bit annoying (something like giving an application elevated privileges, not just right clicking and "Run as Administrator."
Post Reply

Return to “Poser”