Jump to content

Audio


Recommended Posts

spaceeinstein

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       horn1       1       horn2       2       horn3       3       horn4       4       horn5       5       horn6       6       horn7       7       horn8       15      door open9       16      door close10      17      door open11      18      door close12      19      door open13      20      door close15      21      car reverse gear accelerate16      22      car reverse gear rolling17      23      engine start18      24      car on wet road noise19      25      car skid default20      26      car scrape soft20      26      car skid dirt21      27      emergency vehicle siren22      28      emergency vehicle horn siren23      29      ambulance siren24      30      backup beeper27      32      door close27      32      door open29      33      tire collision32-36   42-46   footsteps default37-41   496-500 footsteps grass42-46   501-505 footsteps dirt47-51   506-510 footsteps wood52-56   511-515 footsteps metal57-60   516-519 footsteps water61-64   520-523 footsteps sand65      48      explosion grenade66      49      explosion molotov67-68   50-51   fire pistol69-70   74-75   fire m471-72   90-91   fire mp573      54      uzi, drive-by73-74   54-55   fire uzi75      56      halt fire uzi/mp575      76      halt fire m4/ruger77-78   57-58   fire sniper79      59      explosion mine79-80   59-60   fire rocket84      64      begin fire flamethrower86-87   66-67   fire shotgun88      77      reload pistol90      78      reload m490      78      reload mp490      78      reload shotgun90      78      reload uzi91      79      reload rocket92      80      reload sniper93      92      collision 0, 1, 5, 26, 3198      97      collision 2, 7, 23, 2499      98      collision 3100     99      collision 4101     100     collision 9102     101     collision 10102-107 101-106 car door left ajar108     107     collision 11109     108     collision 8, 12110     109     collision 13111     110     collision 14, 15112     111     collision 16116     115     collision 17121     117     collision 18122     118     collision 20126     122     collision 21130     126     collision 22131     127     collision 25131-135 127-131 footsteps hedge136     132     collision 27137     133     collision 28140     136     collision 6145     141     collision 30148     144     car scrape hard150     146     glass crack152     148     glass shatter? cannot test157     153     engine fire158     154     car scrape grass158     154     car skid grass161-162 359-360 pickup pickup165-166 361-362 buy pickup167     156     gun shell drop hard168     157     gun shell drop soft169     158     bullet hit character179-180 165-166 bat fight181     167     hit but not kill ped with car181-184 167-170 fist fight186     177     car bomb tick187     178     bomb armed189     180     "we got a"190     181     "this is"191     182     "respond to a"192     183     "crime"193-205 198-209 numbers206     184     "in"207     185     "north"208     186     "east"209     187     "south"210     188     "west"211     189     "central"212     190     radio284     278     engine steady285     277     engine steady286     269     engine steady287     270     engine steady288     271     engine steady289     272     engine steady290     273     engine steady291     274     engine steady294     288     engine idle?295     287     engine idle?296     289     engine idle297     290     engine idle298     291     engine idle299     292     engine idle300     293     engine idle301     294     engine idle305     37      engine smoke309     313     skid? cannot test313     316     car scrape water323     324     car splash in ocean323     324     character fall in water323     324     collision 19324-325 325-326 body squish with car329     329     rocket click330     330     sniper click331     331     rhino canon turn333     332     jump land334     333     fall land335     334     bomb blip? need to test336     364     race countdown336     365     race countdown336     366     race countdown337     367     race start337     368     race start337     369     race start340     336     hydraulics all at once341     337     hydraulics individual side342     338     hooker bounce372     374     menu select option with clicking and enter376     374     menu change sliders, except audio376     374     menu select option with clicking and enter378     376     menu go back383     380     menu sfx change slider386     378     menu save file not present456     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 Club404     473     Sex Club Seven406     480     Salvatore's place410     475     Mr. Wong's Laundrette 1411     476     Mr. Wong's Laundrette 2412     477     Roast Peking Duck413     478     Cipriani's Ristorante432     468     cinema 1433     466     moan 1434     467     moan 2435     469     cinema 2438     471     cinema 3441     481     Old school hall443     482     Warehouse rave
Previous topic at Wayback Machine Edited by spaceeinstein
Link to comment
https://gtaforums.com/topic/770491-audio/
Share on other sites

  • 3 weeks later...
spaceeinstein

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 Cityaddress value sfx action------- ----- --- ------496889  C3    372 menu mouse over any options496D53  C7    380 menu sfx change slider496D5C  C4    374 menu change sliders, except audio49710C  C4    374 menu toggle option, except clicking/enter to toggle498307  C4    374 menu radio select right498340  C4    374 menu radio select left4983DF  C2    355 menu radio tuning both left and right49939E  C3    372 menu stats press down499412  C3    372 menu stats press up499CF4  C6    378 menu save file not present499CFD  C4    374 menu select option with clicking and enter499D26  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 selected47FCCA  97    374 menu skin other skin selected4809CA  97    374 menu skin mouse over back button480AC7  97    374 menu skin mouse over use skin button481A97  97    374 menu redefine controls mouse over controls481B19  97    374 menu redefine controls mouse over from in car to on foot column481B7C  97    374 menu redefine controls mouse over from on foot to in car column485571  98    376 menu redefine controls clear with backspace4855F8  9D    386 menu redefine controls select not used controls485B01  97    374 menu redefine controls up key pressed485C16  97    374 menu redefine controls down key pressed486EA9  9C    383 menu sfx change slider486EB3  98    376 menu change sliders, except audio487063  9D    386 menu load save file not present4870FF  99    378 menu back option clicked or entered, see below for esc key487153  9D    386 menu delete save file not present487173  96    372 menu select option with clicking and enter, but not all options, include below for all4871A4  98    376 menu select option with clicking and enter, but not all options, include above for all487C70  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. Edited by spaceeinstein
  • Like 2
Link to comment
https://gtaforums.com/topic/770491-audio/#findComment-1067174311
Share on other sites

  • 2 months later...
spaceeinstein

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. Edited by spaceeinstein
Link to comment
https://gtaforums.com/topic/770491-audio/#findComment-1067540788
Share on other sites

  • 1 year later...
spaceeinstein

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.

Link to comment
https://gtaforums.com/topic/770491-audio/#findComment-1068885200
Share on other sites

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.

Edited by countergame
Link to comment
https://gtaforums.com/topic/770491-audio/#findComment-1068889473
Share on other sites

  • 2 months later...
  • 3 months later...
  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.