Page 1 of 1

Fixing texture paths for Octane for a new computer?

Posted: Sat Jan 16, 2016 2:41 pm
by Scott762
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

Re: Fixing texture paths for Octane for a new computer?

Posted: Sat Jan 16, 2016 3:06 pm
by Scott762
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

Re: Fixing texture paths for Octane for a new computer?

Posted: Sat Jan 16, 2016 3:55 pm
by Xipomus
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?

Re: Fixing texture paths for Octane for a new computer?

Posted: Sun Jan 17, 2016 8:35 am
by face_off
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

Re: Fixing texture paths for Octane for a new computer?

Posted: Mon Jan 18, 2016 3:34 am
by Scott762
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

Re: Fixing texture paths for Octane for a new computer?

Posted: Mon Jan 18, 2016 4:01 am
by face_off
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

Re: Fixing texture paths for Octane for a new computer?

Posted: Mon Jan 18, 2016 2:03 pm
by Scott762
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."