Gather all the file from a .ocs?
Forum rules
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB
- Rikk The Gaijin
- Posts: 1528
- Joined: Tue Sep 20, 2011 2:28 pm
- Location: Japan
I know when you export your scene in .orbx it copies all the files inside, but is there a way to just copy the actual files from an .ocs to another folder?
- Phantom107
- Posts: 686
- Joined: Tue Jul 24, 2012 11:31 am
- Location: The Netherlands
Is there a way? Definately, if you open up an *.OCS in notepad, you'll see it's basically all XML. Piece of code could just loop through it, retrieving the file locations and copying those files to another location. And then in the new *.OCS file correct those file references to the newly copied ones. Is that piece of software around, probably not.
But if more people want this kind of feature, I could build it into Phantom Architecture.
But if more people want this kind of feature, I could build it into Phantom Architecture.
Developer of tools for Octane:
Phantom Scatter - Phantom Node Link - Phantom Photo Match - Phantom Architecture
Phantom Scatter - Phantom Node Link - Phantom Photo Match - Phantom Architecture
- Rikk The Gaijin
- Posts: 1528
- Joined: Tue Sep 20, 2011 2:28 pm
- Location: Japan
Sounds like Octane Standalone can't do it right now.Phantom107 wrote:Is there a way? Definately, if you open up an *.OCS in notepad, you'll see it's basically all XML. Piece of code could just loop through it, retrieving the file locations and copying those files to another location.

Can someone write a Lua script to do it?

So you're asking for a script to do in 1 step what usually needs 4 steps :Rikk The Gaijin wrote:I know when you export your scene in .orbx it copies all the files inside, but is there a way to just copy the actual files from an .ocs to another folder?
- save as package in the target directory
- load the ORBX just created
- unpack package
- delete the ORBX
but why not just use the ORBX from save as package to make this process 1 step also ?
(and unpack only when needed)
Pascal ANDRE
- Rikk The Gaijin
- Posts: 1528
- Joined: Tue Sep 20, 2011 2:28 pm
- Location: Japan
No I think you are missing the point. I don't want to unpack the orbx in Octane, I want to gather in a folder all the files I used in a ocs. The actual files.calus wrote:So you're asking for a script to do in 1 step what usually needs 4 steps :Rikk The Gaijin wrote:I know when you export your scene in .orbx it copies all the files inside, but is there a way to just copy the actual files from an .ocs to another folder?
- save as package in the target directory
- load the ORBX just created
- unpack package
- delete the ORBX
but why not just use the ORBX from save as package to make this process 1 step also ?
(and unpack only when needed)
Not missing the point at allRikk The Gaijin wrote: No I think you are missing the point. I don't want to unpack the orbx in Octane, I want to gather in a folder all the files I used in a ocs. The actual files.

save as package:
this function gather the current .ocs scene + all the geometry and image files, and compress them as a ORBX file in your destination folder.
You can see ORBX as a ZIP format containg the scene and assets, and which Octane can read directly.
then eventually you can open the ORBX file in Octane and use the function:
unpack package:
this function unzip the current ORBX placing the OCS file in the same folder and textures/geometry files in an "assets" subfolder
Maybe you mix-up with how Octane was working in old versions ?
Pascal ANDRE
- Rikk The Gaijin
- Posts: 1528
- Joined: Tue Sep 20, 2011 2:28 pm
- Location: Japan
Oh WOW I totally missed the Unpack Package feature!
I thought you were talking about Ungroup
Thank you, this is great!

I thought you were talking about Ungroup

Thank you, this is great!

- Phantom107
- Posts: 686
- Joined: Tue Jul 24, 2012 11:31 am
- Location: The Netherlands
Thanks a lot for pointing that out!
Developer of tools for Octane:
Phantom Scatter - Phantom Node Link - Phantom Photo Match - Phantom Architecture
Phantom Scatter - Phantom Node Link - Phantom Photo Match - Phantom Architecture