Quantcast

Jump to content

» «
Photo

Audio

8 replies to this topic
spaceeinstein
  • spaceeinstein

    Chocolate

  • GTA Mods Staff
  • Joined: 17 Jul 2003
  • Hong-Kong
  • Major Contribution Award [Mods]
    Helpfulness Awards [Mods]

#1

Posted 04 March 2015 - 02:49 PM Edited by spaceeinstein, 15 April 2017 - 06:30 PM.

Grand Theft Auto: Liberty City -- Audio


This topic will document all audio-related materials. All audio is planned to be packaged with the final release, including radio station and SFX files. It will be going to be big but it will be much more convenient for the end user. Script audio and radio stations are mostly completed. Engine, horn, and door sounds for some vehicles are currently incorrect but there exists a hardcoded structure of sound to vehicle association and the conversion from III to VC is mostly completed. The next and final big step is completing the SFX file. Many people have contributed to this file but there is a lack of documentation on how to recreate this to ensure accuracy and completeness. I am in the process of associating all III's SFX file to VC's and documenting as I go, including updating the article on SFX at GTAModding.com.
 
III     VC      Description
---------------------------
0       0       horn
1       1       horn
2       2       horn
3       3       horn
4       4       horn
5       5       horn
6       6       horn
7       7       horn
8       15      door open
9       16      door close
10      17      door open
11      18      door close
12      19      door open
13      20      door close
15      21      car reverse gear accelerate
16      22      car reverse gear rolling
17      23      engine start
18      24      car on wet road noise
19      25      car skid default
20      26      car scrape soft
20      26      car skid dirt
21      27      emergency vehicle siren
22      28      emergency vehicle horn siren
23      29      ambulance siren
24      30      backup beeper
27      32      door close
27      32      door open
29      33      tire collision
32-36   42-46   footsteps default
37-41   496-500 footsteps grass
42-46   501-505 footsteps dirt
47-51   506-510 footsteps wood
52-56   511-515 footsteps metal
57-60   516-519 footsteps water
61-64   520-523 footsteps sand
65      48      explosion grenade
66      49      explosion molotov
67-68   50-51   fire pistol
69-70   74-75   fire m4
71-72   90-91   fire mp5
73      54      uzi, drive-by
73-74   54-55   fire uzi
75      56      halt fire uzi/mp5
75      76      halt fire m4/ruger
77-78   57-58   fire sniper
79      59      explosion mine
79-80   59-60   fire rocket
84      64      begin fire flamethrower
86-87   66-67   fire shotgun
88      77      reload pistol
90      78      reload m4
90      78      reload mp4
90      78      reload shotgun
90      78      reload uzi
91      79      reload rocket
92      80      reload sniper
93      92      collision 0, 1, 5, 26, 31
98      97      collision 2, 7, 23, 24
99      98      collision 3
100     99      collision 4
101     100     collision 9
102     101     collision 10
102-107 101-106 car door left ajar
108     107     collision 11
109     108     collision 8, 12
110     109     collision 13
111     110     collision 14, 15
112     111     collision 16
116     115     collision 17
121     117     collision 18
122     118     collision 20
126     122     collision 21
130     126     collision 22
131     127     collision 25
131-135 127-131 footsteps hedge
136     132     collision 27
137     133     collision 28
140     136     collision 6
145     141     collision 30
148     144     car scrape hard
150     146     glass crack
152     148     glass shatter? cannot test
157     153     engine fire
158     154     car scrape grass
158     154     car skid grass
161-162 359-360 pickup pickup
165-166 361-362 buy pickup
167     156     gun shell drop hard
168     157     gun shell drop soft
169     158     bullet hit character
179-180 165-166 bat fight
181     167     hit but not kill ped with car
181-184 167-170 fist fight
186     177     car bomb tick
187     178     bomb armed
189     180     "we got a"
190     181     "this is"
191     182     "respond to a"
192     183     "crime"
193-205 198-209 numbers
206     184     "in"
207     185     "north"
208     186     "east"
209     187     "south"
210     188     "west"
211     189     "central"
212     190     radio
284     278     engine steady
285     277     engine steady
286     269     engine steady
287     270     engine steady
288     271     engine steady
289     272     engine steady
290     273     engine steady
291     274     engine steady
294     288     engine idle?
295     287     engine idle?
296     289     engine idle
297     290     engine idle
298     291     engine idle
299     292     engine idle
300     293     engine idle
301     294     engine idle
305     37      engine smoke
309     313     skid? cannot test
313     316     car scrape water
323     324     car splash in ocean
323     324     character fall in water
323     324     collision 19
324-325 325-326 body squish with car
329     329     rocket click
330     330     sniper click
331     331     rhino canon turn
333     332     jump land
334     333     fall land
335     334     bomb blip? need to test
336     364     race countdown
336     365     race countdown
336     366     race countdown
337     367     race start
337     368     race start
337     369     race start
340     336     hydraulics all at once
341     337     hydraulics individual side
342     338     hooker bounce
372     374     menu select option with clicking and enter
376     374     menu change sliders, except audio
376     374     menu select option with clicking and enter
378     376     menu go back
383     380     menu sfx change slider
386     378     menu save file not present
456     47      explosion car
The following is for opcode 018D (ADD_CONTINUOUS_SOUND). The assignment is fairly arbitrary.
III     VC      Description
---------------------------
403     472     Meeouch Sex Kitten Club
404     473     Sex Club Seven
406     480     Salvatore's place
410     475     Mr. Wong's Laundrette 1
411     476     Mr. Wong's Laundrette 2
412     477     Roast Peking Duck
413     478     Cipriani's Ristorante
432     468     cinema 1
433     466     moan 1
434     467     moan 2
435     469     cinema 2
438     471     cinema 3
441     481     Old school hall
443     482     Warehouse rave
Previous topic at Wayback Machine
  • Craig Kostelecky, Ash_735, Frank.s and 5 others like this

spaceeinstein
  • spaceeinstein

    Chocolate

  • GTA Mods Staff
  • Joined: 17 Jul 2003
  • Hong-Kong
  • Major Contribution Award [Mods]
    Helpfulness Awards [Mods]

#2

Posted 22 March 2015 - 06:57 AM Edited by spaceeinstein, 22 March 2015 - 09:46 PM.

This is a separate post for menu sounds. So far a simple SFX replacement doesn't seem satisfactory. I have documented every sound generated by the menu of Vice City and most of GTA III (it's messy compared to Vice City). If differences arise, memory hacking would be needed to properly match GTA III.
Vice City
address value sfx action
------- ----- --- ------
496889  C3    372 menu mouse over any options
496D53  C7    380 menu sfx change slider
496D5C  C4    374 menu change sliders, except audio
49710C  C4    374 menu toggle option, except clicking/enter to toggle
498307  C4    374 menu radio select right
498340  C4    374 menu radio select left
4983DF  C2    355 menu radio tuning both left and right
49939E  C3    372 menu stats press down
499412  C3    372 menu stats press up
499CF4  C6    378 menu save file not present
499CFD  C4    374 menu select option with clicking and enter
499D26  C5    376 menu go back
GTA III (mostly complete, only mouse over any options is missing)
address value sfx action
------- ----- --- ------
47FC91  98    376 menu skin default skin selected
47FCCA  97    374 menu skin other skin selected
4809CA  97    374 menu skin mouse over back button
480AC7  97    374 menu skin mouse over use skin button
481A97  97    374 menu redefine controls mouse over controls
481B19  97    374 menu redefine controls mouse over from in car to on foot column
481B7C  97    374 menu redefine controls mouse over from on foot to in car column
485571  98    376 menu redefine controls clear with backspace
4855F8  9D    386 menu redefine controls select not used controls
485B01  97    374 menu redefine controls up key pressed
485C16  97    374 menu redefine controls down key pressed
486EA9  9C    383 menu sfx change slider
486EB3  98    376 menu change sliders, except audio
487063  9D    386 menu load save file not present
4870FF  99    378 menu back option clicked or entered, see below for esc key
487153  9D    386 menu delete save file not present
487173  96    372 menu select option with clicking and enter, but not all options, include below for all
4871A4  98    376 menu select option with clicking and enter, but not all options, include above for all
487C70  99    378 menu esc key pressed
  • Address - Hexadecimal memory address of the value. They are from VC v1.0.
  • Value - Hexadecimal value used for the cDMAudio::PlayFrontEndSound (0x5F9960) function. The value corresponds to the array index starting at 0x6B28B8. This allows for a combination of sounds to play for every action.
  • SFX - Decimal value representing the sound effect played. Many of the sounds include an additional two or three SFX from this number to create the combination.
  • Action - The action needed to generate the sound
Watch this post for updates in the future.
  • theNGclan and Mr. Jago like this

spaceeinstein
  • spaceeinstein

    Chocolate

  • GTA Mods Staff
  • Joined: 17 Jul 2003
  • Hong-Kong
  • Major Contribution Award [Mods]
    Helpfulness Awards [Mods]

#3

Posted 02 June 2015 - 06:16 AM Edited by spaceeinstein, 26 August 2016 - 11:57 PM.

There is something odd with the Rocket Launcher and Sniper Rifle SFX. Their clicks when trying to fire them in third-person are both playing SFX 489, a soft insect sound. Their correct SFX should be 329 and 330 respectively. I can't fix this entirely on my end but I've replaced the insect sound with the Sniper Rifle click.

Another odd thing is that after using the spray shop, it is playing SFX 495. Can this be fixed?

I have uploaded my progress so far on the SFX files onto my site (last updated 2015-06-10):
  • sfx.SDT (198,820 bytes)
  • sfx.RAW (340,217,780 bytes)
Also check out the temporary update to the main.scm if you want to test all the car SFX. There are some odd behaviors when replacing a few of the sounds so not all sounds from GTA III will be able to make it into LC.
  • Mr. Jago likes this

spaceeinstein
  • spaceeinstein

    Chocolate

  • GTA Mods Staff
  • Joined: 17 Jul 2003
  • Hong-Kong
  • Major Contribution Award [Mods]
    Helpfulness Awards [Mods]

#4

Posted 24 June 2016 - 05:05 AM

I spent the past week working on my documentation on ped SFX for both GTA III and Vice City. Check it out at GTAModding. After so many years, their SFX documentation is nearly complete. I realize there are too many differences between both games that changing the SFX files alone may not be a good idea. I'm planning to learn more programming so that I can create custom code for dinput8.dll and have the game read that to get the ped SFX.
  • Gravarty likes this

Gravarty
  • Gravarty

    FeelsAmazingMan

  • Members
  • Joined: 18 Dec 2009
  • None

#5

Posted 25 June 2016 - 06:53 PM Edited by countergame, 25 June 2016 - 06:56 PM.

I realize there are too many differences between both games that changing the SFX files alone may not be a good idea.

 
It would be nice to have a mixed version of sfx which has all the standard VC sounds but with III cop, ped, pain sounds included.

The Eddo
  • The Eddo

    nobodylikesme

  • Members
  • Joined: 02 Apr 2016
  • Canada

#6

Posted 19 September 2016 - 06:00 PM Edited by EddoWilliams2016, 19 September 2016 - 06:20 PM.

I'm sorry for posting in the wrong place, but the question I have here is that which memory addresses control the Ruger's sound ID and it's sound frequency? I need 'em for my mod.


spaceeinstein
  • spaceeinstein

    Chocolate

  • GTA Mods Staff
  • Joined: 17 Jul 2003
  • Hong-Kong
  • Major Contribution Award [Mods]
    Helpfulness Awards [Mods]

#7

Posted 19 September 2016 - 07:11 PM

You should post your requests outside this forum, like in the request topic. This forum is specific to the Liberty City mod.

The Eddo
  • The Eddo

    nobodylikesme

  • Members
  • Joined: 02 Apr 2016
  • Canada

#8

Posted 20 September 2016 - 02:02 AM

You should post your requests outside this forum, like in the request topic. This forum is specific to the Liberty City mod.

Sorry.


SSRenz
  • SSRenz

    LCPD Detective

  • Members
  • Joined: 30 Jul 2016
  • None

#9

Posted 07 January 2017 - 05:44 AM

Over here, I Take the GTA III radio station but I Remove the Vice City Station then run the game, the Mod's Say:

Please insert GTA Vice City Disc 2 to drive

u2Fiu1p.png

EDIT:I Convert the GTA III's Radio station  using AudioDecoder 





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users