0xFFFFFFFF meansĭwLoopLength - length of the repeat loop (in samples). May be used for song lengthĭwLoopStart - beginning of the repeat loop (in samples). Or, just the same: unsigned8Bit=signed8Bit^0x80 (this's a bit faster).īType - type of file: always 0x00 for ASF/AS4 (multi-block) files.ĭwNumSamples - number of samples in the file. Signed 16-bit data may be sent to the wave output without any additionalĬonversions, while signed 8-bit data should be converted to unsigned format.įor example you can do that so: unsigned8Bit=signed8Bit+0x80 Note that non-compressed 8-bit files use SIGNED format! If this byte is 0x02, the audio data is compressed This block begins with the structure describing the audio stream:ĭwSampleRate - sample rate for the file.īBits - if multiplied by 8 gives the resolution of (decompressed) soundĭata, that is 1 means 8-bit and 2 means 16-bit.īChannels - channels number: 1 for mono, 2 for stereo.īCompression - if 0x00, the data in the file is not compressed: signed 8-bit When I say "block begins with." that means "the contents of thatīlock (which begin just after ASFBlockHeader) begin with.". Namely, these filesĪre divided into blocks (without any global file header like RIFFs have).ĭwSize - size of the block (in bytes) INCLUDING this header.įurther I'll describe the contents of blocks of all block types in ASF/AS4įiles. These files have the block structure analoguous to RIFF. The music in many Electronic Arts games is in. The video segments appear to be designated by MAD identifier tags.Īudio is listenable to using the GAP Player made by a russian audio decoder. The audio involved is the EA sound format EACS. MAD files are the files which contain the Intro videos for simcity 4. They are a completely binary format with the exception of the few strings describing region names. They seem to contain data relative to the ingame regions though I cant be sure about that. Anyone who knows how these work might know more about this format than I doĬonfiguration files, or rather file, are found solely in the Simcity 4.cfg file in the my documents simcity directory. I dont have a spec for them currently but they seem to use some type of format similar to True Type Fonts. They're stored in the fonts directory and accessed by an INI file in simcity_1.dat MXF fonts are the main SC4 ingame fonts that you see onscreen. Unfortunately they're always blank for me since I dont use custom MP3's so I cant say anything for a specification ID files are found in the mp3 directory in the installed SC4 dir just before you go into the region or mayor dirs. The significance of this I really can't figure though. The ID chunks appear to all be 8 byte Text IDs with an x on the first and last one. Starting Chunk with an "x" at the beginning Here's as much of a spec as I can write for themġ6 Bytes - "Don't localize. You can find them in simcitylocale, and in plugins. They appear to all be the same file as far as I can tell and I really cant figure out what their purpose is. These formats currently include : Delocalizers, MAD video files, ID radio station lists, MXF fonts, KEYCFG's and Configuration files.ĭelocalizers are needless to say really wierd. This thread deals with specifications relating to the miscellaneous file formats found in the game.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |