Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 08/01/09 05:08

tamaru
Member
Registered: 01/20/07

How to pack WAV file back to level0_final.dat

Hi. I wanted to replace the combat sounds in ONI, so I splited all the WAV files from level0_final.dat with onisplit. I´ve already replaced them with my desired sounds with the same names. Now, how am I supposed to return these new sounds back into the main file ??  hmm

Offline

#2 08/01/09 05:08

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: How to pack WAV file back to level0_final.dat

onisplit -import:nosep folder_name level0_final.dat


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#3 08/01/09 07:08

Iritscen
Moderator
From: NC, USA
Registered: 10/22/07

Re: How to pack WAV file back to level0_final.dat

Where folder_name is the folder that contains all the files you extracted from level0_Final including the new sounds.


Check out the Anniversary Edition Seven at ae.oni2.net!

Offline

#4 08/10/09 16:08

tamaru
Member
Registered: 01/20/07

Re: How to pack WAV file back to level0_final.dat

That´s good, but the onisplit doesn´t read my folder filled with *.wav files. I´ll need to convert them all (or maybe only the new ones) to .oni files. How am I supposed to do that ??  neutral

Offline

#5 08/10/09 17:08

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: How to pack WAV file back to level0_final.dat

Onisplit -create output_folder input_folder\*.wav

Assuming you didn't change the filenames.


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#6 08/11/09 07:08

tamaru
Member
Registered: 01/20/07

Re: How to pack WAV file back to level0_final.dat

I didn´t change the filenames, but it still doesn´t work. I splited the level0_final.dat, so I got wav files with a command "onisplit -extract:wav C:\r" . I have now the WAV files in a C:\R directory and I already changed the testing file "SNDDc01_04_01receptionist.aif.wav" . So the following procedure would be to pack it back into .oni file by typing " onisplit -create C:\ C:\r\SNDDc01_04_01receptionist.aif.wav " but it doesn´t work.. even if I try to pack all the files by typing " onisplit -create C:\ C:\r\*.wav " I´m getting cunfused.. nothing seems to work properly !  sad

Offline

#7 08/11/09 08:08

Iritscen
Moderator
From: NC, USA
Registered: 10/22/07

Re: How to pack WAV file back to level0_final.dat

Try -create:sndd instead of -create.


Check out the Anniversary Edition Seven at ae.oni2.net!

Offline

#8 08/11/09 08:08

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: How to pack WAV file back to level0_final.dat

What is the format of your wav file?  It needs to be:
     -WAV files (.wav, mono/stereo, 22.05KHz/44.1KHz, uncompressed(PCM)/compressed(MS-ADPCM)) produce SNDD files that are compatible with Oni PC retail.

The command is: OniSplit -create out_dir test.wav

From the wiki page: http://wiki.oni2.net/OniSplit#Change_Log

Offline

#9 08/11/09 08:08

tamaru
Member
Registered: 01/20/07

Re: How to pack WAV file back to level0_final.dat

this command " OniSplit -create out_dir test.wav " doesn´t work. No file is ever created I´ve tried to search whole PC for the new file yet nothing was found. I´ve tried it with the original file in case I have a bad format, but still nothing happened.

Offline

#10 08/11/09 09:08

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: How to pack WAV file back to level0_final.dat

Can you post a few of your new sounds for testing?

Offline

#11 08/11/09 09:08

tamaru
Member
Registered: 01/20/07

Re: How to pack WAV file back to level0_final.dat

this is no matter of my custom sounds. Not even the original sounds get transformed back into the main file. It seems that the only problem I have, is to somehow be able to perform reversal and pack all the WAV files back into the level0_final.dat .. all the WAV files that I got from the extract have the original format : <sndname>.aif.wav so maybe the program is confused and I should rename all the sound files to <sndname>.wav only. But don´t think the problem lies here.

Offline

#12 08/13/09 00:08

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: How to pack WAV file back to level0_final.dat

tamaru: Have you tried the GUI for Onisplit to convert the sounds to .oni files: http://oni.bungie.org/community/forum/v … php?id=692

Also, are you using the latest AE?  If so, then putting the sound files back into the level0_Sounds folder and re-installing will not change the sound files, since AE Installer is using a different system of rebuilding the levels.  You'll have to make a package for the new sounds and then install them through the installer.

Last edited by EdT (08/13/09 00:08)

Offline

#13 08/17/09 05:08

tamaru
Member
Registered: 01/20/07

Re: How to pack WAV file back to level0_final.dat

I´ve just downloaded the latest version of Onisplit GUI 8.5 and latest OniSplit 9.40. Then I tried to convert any of the original  sounds in WAV format back into the SNDD (.oni) file. But it just doesn´t work. Now it doesn´t surprise me anymore that I cannot convert my custom WAVs into .oni, when even the original sounds can´t be converted. I must be doing something wrong.

Offline

#14 08/17/09 05:08

dream996
Member
Registered: 03/15/09

Re: How to pack WAV file back to level0_final.dat

tamaru ...where have you got that outfit from


PunBB bbcode test

Offline

#15 08/17/09 08:08

Iritscen
Moderator
From: NC, USA
Registered: 10/22/07

Re: How to pack WAV file back to level0_final.dat

It seems to work for me, although I didn't test the file I created from the .aif that I extracted from the .oni, but I got the same size file out on the other end as I started with.  Have you successfully extracted other data from Oni?


Check out the Anniversary Edition Seven at ae.oni2.net!

Offline

#16 08/17/09 20:08

tamaru
Member
Registered: 01/20/07

Re: How to pack WAV file back to level0_final.dat

yes..I´ve extracted them all.. just by typing onisplit -extract:wav and the location..

Offline

#17 08/17/09 20:08

tamaru
Member
Registered: 01/20/07

Re: How to pack WAV file back to level0_final.dat

dream996 wrote:

tamaru ...where have you got that outfit from

I´ve made it.

Last edited by tamaru (08/17/09 20:08)

Offline

#18 08/17/09 21:08

dream996
Member
Registered: 03/15/09

Re: How to pack WAV file back to level0_final.dat

How ? can you show the whole thing ? it look so so so cool =]


PunBB bbcode test

Offline

#19 08/17/09 22:08

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: How to pack WAV file back to level0_final.dat

tamura: What steps did you take to import your sounds.  Which folder you put your sounds in, which version of AE,  etc.  Also, can you attach one of your custom sound so I can test it.

Last edited by EdT (08/18/09 08:08)

Offline

Board footer

Powered by FluxBB