San Andreas introduces a different method of dealing with SFX compared to it's antecessor, now not only sound indices are available but packages and banks.
Packages are a way to organize the SFX data in different files and banks are a way to organize SFX data in one package. Each bank contains up to 200 sounds. Normally the entire bank is loaded at once, but depending on some circumstances the game might load only a single sound from the bank.
- 1File Formats
File Formats
The SFX config formats are pure dumps of game structures, and so contains a lot of irrelevant data. They are stored in the
audio/CONFIG
directory and have a .dat
extension.PakFiles.dat
This file is used to enumerateSFX Packages, it's structure is just a list of file names.
The first named package has the index 0, the second named package the index 1 and so on.
BankLkup.dat
This file is used to enumerate global bank numbers with it's respective SFX Package.
The game uses global indices to lookup for banks internally, so changing the order of the enumeration will cause problems.
SFX Packages
Those are the files responsible for storing all the raw sound data. They are at the
audio/SFX
directory with no extension.The file structure is basically many bank headers (at any offset) followed by it's sound buffers. The offset where each bank header is located is specified by the file BankLkup.dat.
Following this header are the buffer for the sounds in this bank. Each buffer should be in raw Mono PCM 16-bits format.
Gta Sa Sound Mod Gtaall
Even though there is space in the header for 400 sounds, only 200 are allowed.
BankSlot.dat
A bank slot is capable of storing some SFX data, this data can be either one entire bank or one single sound from a bank. There is a total of 45 bank slots.
Each bank slot is used by a specific audio class of the game, for example 10 slots are used for vehicle banks, one slot for the bank of explosions, 4 slots for script speeches (which stores single sounds), and so on.
Each slot owns a buffer capable of storing some amount of sound data, if this size is lower than the size of the data stored in the slot, sound artifacts will occur in-game. Mathtype not showing up in word windows 10.
By default, those buffer sizes are arbitrary values, but it can safely be the size of the highest bank stored in the slot or the size of the highest sound stored in the slot, depending if the slot is used to store a sound or a bank.
Scripting
Sounds can be used in SCM with the following opcodes:
- 018C – Plays a sound on a specific location
- 018E – Stops the played sound
- 03CF – Loads a sound
- 03D0 – Checks if sound has been loaded
- 03D1 – Plays the loaded sound
- 03D2 – Checks if the loaded sound has finished
- 097A – Plays a audio event
- 097B – Plays a audio event in an object
- 09F1 – Plays a audio event in a character
- 09F7 – Plays a audio event in a vehicle
- 09D6 – Makes a character say a scripted speech
Tools
- San Andreas Audio Toolkit – Allows you to modify SFX Packages – It contains a bug related to bank slots causing sound artifacts
- GTAForums: Mod Loader – Allows you to easily change SFX data and fixes the sound artifacts on big sounds.
- GTAForums: Dynamic SFX – Fixes sound artifacts caused by sounds bigger than the original.
See also
- Audio Streams – Used for streaming audio tracks
External links
v · d · e Grand Theft Auto: San Andreas | |
---|---|
File Formats | .b • .col • .cfg • .cut • .dff • .dat • .fxp • .gxt • .ide • .ifp • .img • .ipl • nodes*.dat • .ped • .rep • .rrr • .scm • .set • .txd |
Documentation | Audio • Cryptography • Cutscenes • Game memory • Handling.cfg • Map Listing • Mission Packs • Opcodes • Paths • Replays • Saves • Scripts • Sound Effects • Statistics • Vehicles • Wanted levels |
Tools | CLEO • Collision File Editor II • ENBSeries • G-Tools • IMG Tool • Limit Adjuster • Map Editor • Mod Loader • San Andreas Audio Toolkit • Sanny Builder • TXD Workshop • Magic.TXD |
Tutorials | San Andreas v2.0 Modding • How to create a mission • How to create a script • How to use Map Editor • Vehicle Mod Installation |
Modifications | Design Your Own Mission • Gostown Paradise • GTA: United • Myriad Islands |
Multiplayer | gtaTournament • Multi Theft Auto • San Andreas Multiplayer • (more..) |
Useful links | Community Portal • Discussion Forums • Modding Forums • Mods on GTAGarage.com • Mobile Modding • Opcodes Database |
Retrieved from 'https://gtamods.com/mediawiki/index.php?title=SFX_(SA)&oldid=17243'
GTA-Modding.com » San Andreas Modding » San Andreas Tutorials » How to install sound mods
How to install sound mods
Tools:Alci's SAAT GUI FrontEndTutorial author: FunGt
This tutorial explains how to install new sounds on San Andreas.
Gta Sa Sound Mod Android
- Download and extract the program where you want.
- Run the program, click OK on the first popup window and select a Working folder. This folder will be used by the program to extract the sounds.
- Click OK on the second popup window and select San Andreas main folder.
- Once the program is running, click twice on GENRL on the left and wait a bit.
- After a while there should be a list containing the sounds. You can hear them with play button
- Once you chose the sound to replace, click on it and click Export to create a backup copy.
- Now click on Replace and select the sound of the mod you downloaded. (You can't import more sounds at once)
- When you finished click Save.
C:Program FilesRockstar GamesGTA San Andreas
|
San Andreas features 11 radio stations, each radio station sporting its own unique flavour and style. The radio stations are complimented by 20 different DJs appearing in the soundtrack. In comparison to Vice City, San Andreas features a remarkable three times as much music. In addition, there are three times as many radio commercials as there are in GTA Vice City. The radio stations are setup dynamically, putting an end to looping tracks. Players will also be able to hear accurate weather bulletins, seperate lead-ins and lead-outs depending on the DJ, but best of all, accurate news updates! So be sure to listen to the WCTR news after completing every 2 or 3 missions. Many controversial radio and TV personalities have also brought their talent to the table, such as Lazlow and Wil Wheaton. |
In order to bring as much flavour as possible to the table, Rockstar Games have partnered up with Interscope Records, a subsidiary of Universal Music Group. This joint collaboration will also be yielding a San Andreas soundtrack, expected to hit shelves November 23rd. The double CD versionwill feature 'a mix of select tracks from San Andreas' many in-game radio stations,' if that doesn't suit your fancy, a massive boxset of 8 CDs will also be available.
'Fans of the blockbuster series can expect the soundtrack to cover the full spectrum of music genres and reflect the sound, vibe and feel of the FM radio dial from the early 1990's period,' stated Terry Donovan, CEO of Rockstar Games. 'The in-game radio stations featured in Grand Theft Auto have been one of the most celebrated and revolutionary aspects of the game since its inception. Through our partnership with Interscope Records, we are confident that the Grand Theft Auto: San Andreas soundtrack will continue to reach new standards of excellence and creativity, and will exceed anything that the video game industry or Hollywood have ever produced in terms of size, scope and depth.' 'We are happy to be working with Rockstar Games on the soundtrack to Grand Theft Auto: San Andreas,' said Jimmy Iovine, Chairman of Interscope Geffen A&M Records. 'I believe that the enormous effort both companies have made in putting the soundtrack together has resulted in something truly special that will be reflected in both the game and the soundtrack albums.'- Take2 Interactive |
Radio Stations
WCTR Talk RadioProducer: Lazlow Talk radio with regular weather bulletins and news updates depending on what stage you are at in the storyline.
|
Gta Sa Sound Mod Weapon How
Master Sounds(soul, groove and funk) DJ: Johnny 'The Love Giant' Parkinson The world's smallest giant, Johnny Parkinson, takes you on a musical, spiritual and sexual journey with a sound track of nonstop classics. The giants of soul, rare groove and just a little classic funk, hosted by the giant himself. Remember, height is not a number.
|
Playback(hip hop) DJ: Forth Right MC The mouthiest man in hip-hop, Forth Right MC, brings real hip-hop to the left coast. East Coast sensibilities and Forth Right's unique brand of conspiracy theory lead you in a historic lesson.
|
Bounce FM(funk) DJ: The Funktipus The indescribable Funktipus plays the indefinable funk. The sound that has had Los Santos partying for twenty years is now on 'The Party', on Bounce FM. The Funktipus will open your eyes to what is really happening out there.
|
K-DST(rock and roll) DJ: Tommy 'The Nightmare' Smith Tommy Smith, formerly with 1970s progressive rock act, Crystal Ship, has now taken up residence on the home of driving rock radio. K-DST 'The Dust' plays non-stop classic rock and roll.
|
K-Jah Radio West(dancehall, reggae and dub) DJ: Marshall Peters & Johnny Lawton From JA to SA. The legendary Marshall Law sound system has moved from Kingston to San Andreas, bringing with them the best in dancehall, raga, reggae and dub. It's one love as Peters and Lawton argue about everything.
|
CSR(modern soul) DJ: Philip 'PM' Michaels Chart topping and club friendly hits, brought to you by Philip 'PM' Michaels, entertainer. New Jack Swing and modern soul from today's hottest acts. Where soul meets preppy. Philip is also available for weddings, funerals and Bar Mitzvahs.
|
Radio:X(modern rock) DJ: Sage Finally, there IS an alternative. The home of Modern Rock. This is a revolution. Guitars, nihilistic hedonism, and telling the elder generation to go screw themselves. Nobody has done this before. We are original thinkers. We are free. Sage leads the navel grazing; she is a remarkable talent.
|
K-Rose(country and western) DJ: Mary-Beth Maybell A broken heart never sounded so good. Country and western music broadcast from Bone County across the whole state of San Andreas. All of the biggest artists, all of the best music. With the Widow Queen of the Prarie, Mary-Beth Maybell.
|
Radio Los Santos(west coast hip hop) DJ: Julio G Julio G breaks the sound of the streets. This is the West Coast taking over.
|
SF-UR(house music) DJ: Hans Oberlander Quality house music, from deep in the underground, brought to you by an excitable German. This is music for people in the know.
|