FileFront Forums

FileFront Forums (http://forums.filefront.com/)
-   S.T.A.L.K.E.R. SoC Modding, Mapping and Editing (http://forums.filefront.com/s-t-l-k-e-r-soc-modding-mapping-editing-954/)
-   -   Bar music (http://forums.filefront.com/s-t-l-k-e-r-soc-modding-mapping-editing/376526-bar-music.html)

varuna September 2nd, 2008 05:25 AM

Bar music
 
I tried changing the bar music but it just doesn't work at all now :confused: the only difference is the file size.

heres the log:

FATAL ERROR

[error]Expression : ovi->channels==1
[error]Function : CSoundRender_Source::LoadWave
[error]File : E:\stalker\patch_1_0004\xrSound\SoundRender_Source _loader.cpp
[error]Line : 71
[error]Description : Invalid source num channels:
[error]Arguments : c:\program files\thq\s.t.a.l.k.e.r. - shadow of chernobyl\gamedata\sounds\characters_voice\scenari o\bar\radio_music\radio_music_1.ogg


stack trace:

Scheduler tried to update object bar_radio

Amraam September 2nd, 2008 08:02 AM

Re: Bar music
 
bit rate etc all the same?

varuna September 2nd, 2008 09:20 AM

Re: Bar music
 
erm not sure, when i exported it as an .ogg i couldnt edit bitrate, etc.

Abandonator September 2nd, 2008 02:14 PM

Re: Bar music
 
use audacity, that program converts the files immedately to the right ogg type

varuna September 2nd, 2008 03:42 PM

Re: Bar music
 
Quote:

Originally Posted by abandonator (Post 4553671)
use audacity, that program converts the files immedately to the right ogg type

Did, still no luck :p

Lord Pariah September 2nd, 2008 08:23 PM

Re: Bar music
 
you will have to reconvert them from the origional source files or you will simply maintain the invaid channels number

varuna September 3rd, 2008 06:11 AM

Re: Bar music
 
Ah good idea, ill try it

MattyDienhoff September 3rd, 2008 08:15 AM

Re: Bar music
 
You have to convert the file to 16 bit mono, otherwise it won't work, have you done that?

varuna September 3rd, 2008 08:55 AM

Re: Bar music
 
Quote:

Originally Posted by MattyDienhoff (Post 4554858)
You have to convert the file to 16 bit mono, otherwise it won't work, have you done that?

Thanks but no it wouldnt let me edit the sound properties it when exporting, but im sure i can do it another way.

Abandonator September 3rd, 2008 08:58 AM

Re: Bar music
 
and are you sure you didn't gave the file a wrong name?

varuna September 3rd, 2008 09:10 AM

Re: Bar music
 
Quote:

Originally Posted by abandonator (Post 4554937)
and are you sure you didn't gave the file a wrong name?

Positive >< radio_music_1 in sounds\human(or something)\scenario\bar\radio i listened to it to check if it was the right one.

Abandonator September 3rd, 2008 11:05 AM

Re: Bar music
 
well that's weird when I did it with audacity, for some guitar music, it worked fine..

varuna September 3rd, 2008 01:00 PM

Re: Bar music
 
Ok so i changed everything to how the original radio_music_1 was 44100Hz rate, mono and 16-bit but still no luck anymore ideas?

Lord Pariah September 3rd, 2008 08:20 PM

Re: Bar music
 
Must be the dreaded shitty invalid ogg comment

varuna September 4th, 2008 04:15 AM

Re: Bar music
 
dreaded invalid ogg comment?

MattyDienhoff September 4th, 2008 11:01 AM

Re: Bar music
 
Quote:

Originally Posted by varuna (Post 4556624)
dreaded invalid ogg comment?

Okay, to get music to work (properly, mind), you need to convert it to 16-bit mono. Yes, you can do this in Audacity, do it before you convert it to a different format. Look around, it shouldn't be too hard to find the options.

OGG comments are (afaik) bits of data that specify certain details about the the sound, such as it's maximum radius, it's volume, etc etc. These 'comments' are written in the file by the level editor that comes with the SDK. In my experience sounds will work even if they're not commented, but not properly, so the sounds not being commented probably isn't the source of your crashes, they're more likely caused by their not being 16-bit mono.

For more detailed info and a link to download the SDK (look out, it's huge), see the mod wiki topic on it.


All times are GMT -7.

Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.