Jump to content

User talk:Neo: Difference between revisions

OniSplit error when importing files with % in the name.
(what a difference with bgra32)
(OniSplit error when importing files with % in the name.)
Line 352: Line 352:


I swapped the red and alpha, blue and green channels to make it look right on the Mac. [[User:EdT|EdT]]
I swapped the red and alpha, blue and green channels to make it look right on the Mac. [[User:EdT|EdT]]
----
Rexxar from OCF reports that OniSplit cannot import files with % in the name.
For example: OniSplit -create:txmp out -format:bgr32 -genmipmaps TXMPIteration001%2Fk4_bcp.tga
Produces the error message:
System.IO.DirectoryNotFoundException: Destination directory not found: Oni/Edition/install/out/TXMPIteration001
  at System.IO.File.Create (System.String path, Int32 bufferSize, FileOptions options, System.Security.AccessControl.FileSecurity fileSecurity) [0x00000]
  at System.IO.File.Create (System.String path) [0x00000]
  at Oni.Importer.Write (System.String outputDirPath) [0x00000]
  at Oni.Imaging.TextureImporter.Import (System.String filePath, System.String outputDirPath) [0x00000]
  at Oni.Program.CreateGeneric (System.String[] args) [0x00000]
  at Oni.Program.Main (System.String[] args) [0x00000]
But remove the "%" from the name TXMPIteration0012Fk4_bcp.tga then it creates the .oni file. [[User:EdT|EdT]]
830

edits