Skip to content

Conversation

@Boozebeard
Copy link

@Boozebeard Boozebeard commented Dec 18, 2025

Fixes the folder paths in the import zscript for ZBrush version 2026.1.

Previous version used ZPUBLIC_ (returns the path of the user data folder), as a jumping point to get to the GoZ folders, but this user data folder has been moved by default to the roaming app data folder, and can be relocated to anywhere, even a different drive, by the user.

Hard coded a default path, "C:/Users/Public/Pixologic", which should work fine for the majority of installs but also as a backup will ask the user find the folder location if it cannot be found in this default location.

Needed to include the official zbrush utils library in order to make this possible.

Updated paths to accommodate ZBrush 2026.1 directory changes.
zpublic no longer useful as path reference as it points to new data folder than can be set by user to any location. Hard coded folder paths for now...
On GoB import, ZBrush will now ask the user to locate the Pixologic GoZ folder if it is not found in the default location.
Problem was actually with polypaint parser. When poly paint was being read by the importer is was desynchronizing the parser. Polypaint parser now dynamically searches for the end of the polypaint data. WARNING: Heavy use of AI code, parsing binary like this is out side of my skillset so I relied heavily on ai agents to make this fix.
fix mac path typo, clean up commented out code, add back original gob header and commented out code blocks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant