XML:M3GM: Difference between revisions

m
a little more clarity on using the -tex option with -create:m3gm
m (correcting prev/next types in nav header)
m (a little more clarity on using the -tex option with -create:m3gm)
 
Line 165: Line 165:
  onisplit -extract:dae ''output_folder input_folder''/M3GM''file_name''.oni
  onisplit -extract:dae ''output_folder input_folder''/M3GM''file_name''.oni


Or you can simply use [[Vago_(tool)|Vago]].
Or you can simply use [[Vago (tool)|Vago]].


===.dat to .oni===
===.dat to .oni===
Line 176: Line 176:
  onisplit -create:m3gm ''output_folder'' -tex:''TXMPfile_name'' ''input_folder''/''file_name''.obj
  onisplit -create:m3gm ''output_folder'' -tex:''TXMPfile_name'' ''input_folder''/''file_name''.obj


The "-tex" argument is optional, but should be always used if there's no MTL file alongside the OBJ. If there is an MTL file, OniSplit will register its texture name in M3GM as a TXMP link.
The "-tex" argument is optional and it takes a TXMP .oni file as input. It is needed if there's no MTL file alongside the OBJ. If there is an MTL file, OniSplit will register its texture name in the M3GM as a TXMP link.


Or you can simply use [[Vago_(tool)|Vago]].
Or you can simply use [[Vago (tool)|Vago]].


Note: This command was broken in OniSplit v0.9.86.0 and v0.9.94.0.
Note: This command was broken in OniSplit v0.9.86.0 and v0.9.94.0.


{{XML}}
{{XML}}