Chaos Corona Forum
Chaos Corona for 3ds Max => [Max] Feature Requests => [Max] Resolved Feature Requests => Topic started by: Naxos on 2017-11-25, 09:58:24
-
Hello,
I have definitively adopted the CXR file format, and i would like to get a way to convert bunch of files within a folder from cxr to whatever (jpg, png, etc)...
For now i've made a small bat script (see below for those that would need it), but i think some easy scripts could be included into the gui version... a new menu item with "batch convert"...
Regards.
the script :
-------------------------------
@echo off
setlocal enabledelayedexpansion
set /p dossier= folder ? :
For %%i in (%dossier%\*.cxr) do (
set nom=%%i
set nam=!nom:~-0,-4!.jpg
set num=!nom:~-0,-4!.png
"C:\Program Files\Corona\CoronaImageCmd.exe" !nom! !num!
"C:\Program Files\Corona\CoronaImageCmd.exe" !nom! !nam!
)
------------------------------
just copy that in a filename.bat file and start it.
-
You can find a sample batch CIE script at the very bottom of https://coronarenderer.freshdesk.com/support/solutions/articles/12000030886
-
I have experienced some problems with the batch script.
Posted on Mantis. https://corona-renderer.com/bugs/view.php?id=2919
-
Confirming, the asterisk as element name gets parsed wrongly no matter how quoted or escaped. Any other (valid) element name works.
Good Luck
-
Thank you. We are aware of that and it will be fixed.
-
You can find a sample batch CIE script at the very bottom of https://coronarenderer.freshdesk.com/support/solutions/articles/12000030886
Thank you, i did not know about this one...
Also, it would be nice to have such a batch into the GUI version.
-
I have experienced some problems with the batch script.
Posted on Mantis. https://corona-renderer.com/bugs/view.php?id=2919
Confirming, the asterisk as element name gets parsed wrongly no matter how quoted or escaped. Any other (valid) element name works.
Good Luck
Hi, it has been fixed and the fix will be in next daily. The CIE batch script does not change and should work again with that daily.