Difference between revisions of "SFX"

From GTAMods Wiki
Jump to navigation Jump to search
m
(GTA III)
 
(5 intermediate revisions by the same user not shown)
Line 377: Line 377:
 
|0548 - 0565 ||fbi talk sfx
 
|0548 - 0565 ||fbi talk sfx
 
|-
 
|-
|0566 - 0595 ||Police helicopter Bullhorn
+
|0566 - 0594 ||Police helicopter Bullhorn
 +
|-
 +
|0595 ||Chunky Lee Chong wasted
 
|-
 
|-
 
|0596 - 0601 ||54 black docker male, car collision/stuck in traffic
 
|0596 - 0601 ||54 black docker male, car collision/stuck in traffic
Line 393: Line 395:
 
|0623 - 0652 ||army talk sfx
 
|0623 - 0652 ||army talk sfx
 
|-
 
|-
|0653 - 0679 ||player talk sfx (gasps and grunts)
+
|0653 - 0662 ||player talk sfx, gasping by fist, getting jacked and/or shooting
 +
|-
 +
|0663 - 0673 ||player talk sfx, wasted and/or runned over
 +
|-
 +
|0674 - 0679 ||player talk sfx, gasping by falling too high
 
|-
 
|-
 
|0680 - 0686 ||43 black project female old, car collision/stuck in traffic
 
|0680 - 0686 ||43 black project female old, car collision/stuck in traffic
Line 2,446: Line 2,452:
 
|2913        ||085 HNA/086 HNB, hail taxi v3
 
|2913        ||085 HNA/086 HNB, hail taxi v3
 
|-
 
|-
|2914 - 3012 ||generic female talk sfx (screams, gasps, and grunts)
+
|2914 - 2930 ||Generic female talk SFX, burning
 
|-
 
|-
|3013 - 3161 ||generic male talk sfx (screams, gasps, and grunts)
+
|2931 - 2952 ||Generic female talk SFX, wasted
 +
|-
 +
|2953 - 2985 ||Generic female talk SFX, gasping
 +
|-
 +
|2986 - 3012 ||Generic female talk SFX, screaming
 +
|-
 +
|3013 - 3044 ||Generic male talk SFX, burning
 +
|-
 +
|3045 - 3085 ||Generic male talk SFX, wasted
 +
|-
 +
|3086 - 3126 ||Generic male talk SFX, gasping
 +
|-
 +
|3127 - 3161 ||Generic male talk SFX, screaming
 
|-
 
|-
 
|3162 - 3227 ||medic talk sfx
 
|3162 - 3227 ||medic talk sfx
Line 4,158: Line 4,176:
 
|8559 - 8693 || White Cop 3
 
|8559 - 8693 || White Cop 3
 
|-
 
|-
|8694 - 9814 || Tommy's voices
+
|8694 - 8731 || Tommy Angry (4-6 wanted level stars), busted
 +
|-
 +
|8732 - 8740 || Tommy Angry (4-6 wanted level stars), chased
 +
|-
 +
|8741 - 8781 || Tommy Angry (4-6 wanted level stars), car collision
 +
|-
 +
|8782 - 8842 || Tommy Angry (4-6 wanted level stars), fist fight
 +
|-
 +
|8843 - 8875 || Tommy Angry (4-6 wanted level stars), getting jacked
 +
|-
 +
|8876 - 8918 || Tommy Angry (4-6 wanted level stars), jacking someone
 +
|-
 +
|8919 - 8930 || Tommy Angry (4-6 wanted level stars), pick-up cash
 +
|-
 +
|8931 - 8936 || Tommy Angry (4-6 wanted level stars), sexy girls I
 +
|-
 +
|8937 - 8988 || Tommy Angry (4-6 wanted level stars), pull-out gun
 +
|-
 +
|8989 - 9006 || Tommy Angry (4-6 wanted level stars), sexy girls II
 +
|-
 +
|9007 - 9045 || Tommy Angry (4-6 wanted level stars), shooting
 +
|-
 +
|9046 - 9067 || Tommy Normal, busted
 +
|-
 +
|9068 - 9087 || Tommy Normal, chased
 +
|-
 +
|9088 - 9130 || Tommy Normal, car collision
 +
|-
 +
|9131 - 9177 || Tommy Normal, fist fight
 +
|-
 +
|9178 - 9201 || Tommy Normal, getting jacked
 +
|-
 +
|9202 - 9241 || Tommy Normal, jacking someone
 +
|-
 +
|9242 - 9252 || Tommy Normal, pick-up cash
 +
|-
 +
|9253 - 9274 || Tommy Normal, sexy girls I
 +
|-
 +
|9275 - 9313 || Tommy Normal, pull-out gun
 +
|-
 +
|9314 - 9321 || Tommy Normal, sexy girls II
 +
|-
 +
|9322 - 9356 || Tommy Normal, shooting
 +
|-
 +
|9357 - 9400 || Tommy Annoyed (2-3 wanted level stars), car collision
 +
|-
 +
|9401 - 9461 || Tommy Annoyed (2-3 wanted level stars), fist fight
 +
|-
 +
|9462 - 9482 || Tommy Annoyed (2-3 wanted level stars), getting jacked
 +
|-
 +
|9483 - 9518 || Tommy Annoyed (2-3 wanted level stars), jack someone
 +
|-
 +
|9519 - 9543 || Tommy Annoyed (2-3 wanted level stars), pick-up cash
 +
|-
 +
|9544 - 9560 || Tommy Annoyed (2-3 wanted level stars), sexy girls
 +
|-
 +
|9561 - 9585 || Tommy Annoyed (2-3 wanted level stars), pull-out gun
 +
|-
 +
|9586 - 9614 || Tommy Annoyed (2-3 wanted level stars), shooting
 +
|-
 +
|9615 - 9634 || Tommy Happy (when he passed a mission - limited time), busted
 +
|-
 +
|9635 - 9641 || Tommy Happy (when he passed a mission - limited time), chased
 +
|-
 +
|9642 - 9660 || Tommy Happy (when he passed a mission - limited time), car collision
 +
|-
 +
|9661 - 9687 || Tommy Happy (when he passed a mission - limited time), fist fight
 +
|-
 +
|9688 - 9705 || Tommy Happy (when he passed a mission - limited time), getting jacked
 +
|-
 +
|9706 - 9723 || Tommy Happy (when he passed a mission - limited time), jacking someone
 +
|-
 +
|9724 - 9746 || Tommy Happy (when he passed a mission - limited time), pick-up cash
 +
|-
 +
|9747 - 9757 || Tommy Happy (when he passed a mission - limited time), sexy girls I
 +
|-
 +
|9758 - 9776 || Tommy Happy (when he passed a mission - limited time), pull-out gun
 +
|-
 +
|9777 - 9786 || Tommy Happy (when he passed a mission - limited time), sexy girls II
 +
|-
 +
|9787 - 9796 || Tommy Happy (when he passed a mission - limited time), shooting
 +
|-
 +
|9797 - 9814 || Tommy when finishing a sex in car
 
|-
 
|-
 
|9815 - 9940 || Tommy's grunts
 
|9815 - 9940 || Tommy's grunts

Latest revision as of 20:47, 28 January 2025

This article describes format of SFX files prior to San Andreas. For explanation of an SFX file in San Andreas see SFX (SA)

SFX is a file archive of short audio effects used in GTA 2, GTA III, and Vice City. They consist of two file types, .RAW and .SDT, and are typically located in the ..\audio folder in the game directory. Similar to an IMG archive, the .SDT file is a binary file containing the directory and the .RAW contains the archive.

File format

SDT

GTA 2

Each entry in the SDT file is 24 bytes in size:

4b - int - offset of audio file in sfx.raw
4b - int - size of audio file in bytes
4b - int - samples per sec, the speed of audio
4b - int - unknown
4b - int - loop start, where looping would begin relative to audio file's position, 0 for beginning of audio file
4b - int - loop end, where looping would end relative to audio file's position, -1 for end of audio file

GTA III and Vice City (PS2)

Each entry in the SDT file is 12 bytes in size:

4b - int - offset of audio file in sfx.raw
4b - int - size of audio file in bytes
4b - int - samples per sec, the speed of audio

GTA III and Vice City (PC)

Each entry in the SDT file is 20 bytes in size:

4b - int - offset of audio file in sfx.raw
4b - int - size of audio file in bytes
4b - int - samples per sec, the speed of audio
4b - int - loop start, where looping would begin relative to audio file's position, 0 for beginning of audio file
4b - int - loop end, where looping would end relative to audio file's position, -1 for end of audio file

RAW

The RAW file contains raw WAV files. Headers must be added for use in standard audio players when extracted. The following is the standard header in terms of the SDT format.

Offset Type Identifier Description
0x00 char[4] ChunkID "RIFF"
0x04 dword ChunkSize size from SDT format + 36
0x08 char[4] Format "WAVE"
0x0C char[4] Subchunk1ID "fmt "
0x10 dword SubchunkSize 16
0x14 word AudioFormat 1 (PCM)
0x16 word NumChannels 1 (mono)
0x18 dword SampleRate sample rate from SDT format
0x1C dword ByteRate sample rate from SDT format * 2
0x20 word BlockAlign 2
0x22 word BitsPerSample 16
0x24 char[4] Subchunk2ID "data"
0x28 dword Sunchunk2Size size from SDT format
0x2C - Data raw SFX data

SFX files content

GTA III

Vice City

Tools

See also

External links