Jump to content

XML:SNDD: Difference between revisions

853 bytes removed ,  12 July 2011
m
wasn't aware that onisplit GUI don't create SNDD from aif source, offering now a batch alternative
mNo edit summary
m (wasn't aware that onisplit GUI don't create SNDD from aif source, offering now a batch alternative)
Line 67: Line 67:
|}
|}


<!--
----
Another conversion program is [http://www.riverpast.com/en/prod/audioconverter/download/ River Past Audio Converter 7.8]. (Also mirrored [http://dl.dropbox.com/u/139715/modding_tools/audioconverter_wmf_setup.exe here].) '''(4 minute size limit of source file.''' Nonetheless this program can be considered as alternative, it's also a bit easier to install and use.)
Note that the aif formate needs the IMA 4:1 compressor.
[http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/mp3_to_compressed_aif.png http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/mp3_to_compressed_aif_tn.png] [http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/mp3_to_compressed_wav.png http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/mp3_to_compressed_wav_tn.png]
----
-->


==Oni file creation==
==Oni file creation==
===via GUI===
===via batch files===
When you're done you can use [http://mods.oni2.net/node/72 Onisplit GUI] to convert yourfile.aif/.wav, OSBDyourfile.grp.xml and OSBDyourfile.amb.xml to the .oni-file formate.
Get them [http://dl.dropbox.com/u/139715/OniGalore/sound_creation_via_batch_files.zip HERE], includes a short readme.


===via command lines===
===via command lines===
For those who want to do it on their own.
onisplit
onisplit
: -create output_directory_'''MAC''' input_directory/'''*.aif'''
: -create output_directory_'''MAC''' input_directory/'''*.aif'''
: -create output_directory_'''PC''' input_directory/'''*.wav'''
: -create output_directory_'''PC''' input_directory/'''*.wav'''
: -create output_directory input_directory/*.xml
: -create output_directory input_directory/*.xml
Make it that way they all have the same name:
For fast xml text changes and naming give them all ''yourfile'' as name if you have only one sound:
: <font color=#AAAAAA>SNDD</font>yourfile<font color=#AAAAAA>.oni</font>
: <font color=#AAAAAA>SNDD</font>yourfile<font color=#AAAAAA>.oni</font>
: <font color=#AAAAAA>OSBD</font>yourfile<font color=#AAAAAA>'''.grp'''.oni</font>
: <font color=#AAAAAA>OSBD</font>yourfile<font color=#AAAAAA>'''.grp'''.oni</font>
8,201

edits