What sound file codecs/formats does Rimworld support?

Started by tangerinemusiclabs, July 29, 2016, 01:34:55 AM

Previous topic - Next topic

tangerinemusiclabs

Hi all, I've recently made a mod called Ambient Jams that adds extra music to the game's soundtrack.  Unfortunately I've been having issues with the songs not playing all the time which I think is related to the codec I'm using.

Is there a documentation somewhere that lists the recommended/supported sound formats on there?  There's .OGG, .MP3, and .WAV I know, but more specifically, I need the bit-rate, if it's CBR/VBR, and sample rate, etc.  I'm trying to keep the file size of the mod itself as low as possible, as well.

RawCode

Rimworld supports nothing.

It's all about unity version 5, you can find unity 5 documentation on it's web site.

tangerinemusiclabs

Yes, this thing, right?  Unfortunately it's still not enough info -- it doesn't say anything about bit-rate and constant vs. variable encoding, etc.

https://docs.unity3d.com/Manual/AudioFiles.html

Looking at how the engine works, though, it seems that it keeps these audio files into memory so the problem might be that it's conflicting with other processes as part of the game.  (The files are relatively large.)  I suppose I'll have to experiment with using lower quality audio.

1000101

Actually, RimWorld uses NAudio and NVorbis for audio.  So it's what that set of libraries supports.
(2*b)||!(2*b) - That is the question.
There are 10 kinds of people in this world - those that understand binary and those that don't.

Powered By

tangerinemusiclabs

Quote from: 1000101 on July 29, 2016, 07:37:21 PM
Actually, RimWorld uses NAudio and NVorbis for audio.  So it's what that set of libraries supports.

Awesome!  That's the info I was looking for.  This'll make conversion much easier. :)  Thanks for the help!