8,201
edits
Paradox-01 (talk | contribs) m (always forgetting something) |
Paradox-01 (talk | contribs) m (making nicer tables) |
||
Line 7: | Line 7: | ||
: '''''How do I get sounds into Oni?''''' | : '''''How do I get sounds into Oni?''''' | ||
==Source file | '''In order to make your sounds available on both sides - pc and mac - you need to create them twice (one time from a wav source and another time from an aif/aifc/afc source).''' | ||
==Source file creation== | |||
These are the requirements of your source file(s). | |||
{| | {| | ||
Line 26: | Line 29: | ||
To create suitable files you could use audacity and its ffmpeg Export Library. | |||
{| | |||
{{table}} | |||
|width=33%|download | |||
|'''PC version''' | |||
|'''Mac version''' | |||
|- | |||
|width=33%|audacity | |||
|[http://audacity.sourceforge.net/download/beta_windows#recdown link] | |||
|[http://audacity.sourceforge.net/download/beta_mac#recdown link] | |||
|- | |||
|ffmpeg Export Library | |||
|[http://manual.audacityteam.org/index.php?title=FAQ:Installation_and_Plug-Ins#installffmpeg link] | |||
|[http://manual.audacityteam.org/index.php?title=FAQ:Installation_and_Plug-Ins#installffmpeg link] | |||
|- | |||
|mirrored links | |||
|[http://dl.dropbox.com/u/139715/OniGalore/audacity%2BFFmpeg_library_for_PC.zip audacity (1.3 beta) + library] | |||
|[http://dl.dropbox.com/u/139715/OniGalore/audacity%2BFFmpeg_library_for_MAC.zip audacity (1.3 beta) + library] | |||
|- | |||
|valign=top|installation | |||
|colspan=2|After you installed Audacity and the library goto '''Audacity > Preferences... > Libraries''' - click on Locate... button and find the installed library file. | |||
|- | |||
|valign=top|source file creation | |||
|'''wav''' for PC oni file | |||
Open your sound file then goto File > Export... > Save As: '''''yourfile.<font color="#CC0000">wav</font>'''''; Format: Custom FFmpeg Export; Options... > wav; '''pcm_s16le'''; Sample Rate: 22050; OK and save the file<br>(adpcm_ms doesn't work with Audacity 1.3 Beta) | |||
[http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/Audacity_wav.png http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/Audacity_wav_tn.png] | |||
|'''aif''' for Mac oni file | |||
Open your sound file then goto File > Export... > Save As: '''''yourfile.<font color="#CC0000">aif</font>'''''; Format: Custom FFmpeg Export; Options... > aiff; adpcm_ima_qt; Sample Rate: 22050; OK and save the file | |||
[http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/Audacity.png http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/Audacity_tn.png] | |||
|} | |||
<!-- | |||
---- | ---- | ||
Line 54: | Line 79: | ||
---- | ---- | ||
--> | |||
==Oni file creation== | |||
===via GUI=== | |||
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. | |||
===via command lines=== | |||
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''' | ||
Line 65: | Line 94: | ||
: <font color=#AAAAAA>OSBD</font>yourfile<font color=#AAAAAA>'''.grp'''.oni</font> | : <font color=#AAAAAA>OSBD</font>yourfile<font color=#AAAAAA>'''.grp'''.oni</font> | ||
: <font color=#AAAAAA>OSBD</font>yourfile<font color=#AAAAAA>'''.amb'''.oni</font> | : <font color=#AAAAAA>OSBD</font>yourfile<font color=#AAAAAA>'''.amb'''.oni</font> | ||
edits