Difference between revisions of "Vehicle Audio Loader"

From GTAMods Wiki
Jump to navigation Jump to search
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{ToolBox
 
{{ToolBox
| version = 1.0
+
| name = Vehicle Audio Loader
 +
| version = 1.2
 
| date  = 11 September 2011
 
| date  = 11 September 2011
 
| patrol = no
 
| patrol = no
Line 6: Line 7:
 
| game = [[GTA SA]]
 
| game = [[GTA SA]]
 
| genre = [[ASI Loader|ASI plugin]]
 
| genre = [[ASI Loader|ASI plugin]]
| site = http://fastman92.tk
+
| site = http://www.gtagarage.com/mods/show.php?id=17919
 
}}
 
}}
 +
'''Vehicle Audio Loader''' is an [[ASI Loader|ASI]] plugin for GTA San Andreas created by {{U|fastman92}} to set [[hardcoded]] audio properties of vehicles.
  
{{lowercase}}
+
==Installation==
The '''<code>handling.cfg</code>''' file is a text data [[:Category:File Formats|file format]] that comes with Vehicle Audio Loader created by {{U|fastman92}} which sets audio properties of vehicles in GTA San Andreas currently. The file can be opened and edited with any text editor.
 
  
==Instalation==
 
  
 
- Make sure you are using one of the following gta_sa.exe versions:
 
- Make sure you are using one of the following gta_sa.exe versions:
*1. GTA San Andreas v1.0 [US] HOODLUM No-CD Fixed EXE:
+
* GTA San Andreas v1.0 [US] HOODLUM No-CD Fixed EXE: 14 383 616 bytes
EXE size:  14 383 616 bytes
+
* GTA: San Andreas v1.01 [EURO] No-CD/Fixed EXE: 15 806 464 bytes
 
*2. GTA: San Andreas v1.01 [EURO] No-CD/Fixed EXE:
 
EXE size: 15 806 464 bytes
 
  
 
Vehicle Audio Loader is fully compatible with both of them, 1.0 US and 1.01 Euro No-CD shortly.
 
Vehicle Audio Loader is fully compatible with both of them, 1.0 US and 1.01 Euro No-CD shortly.
Line 25: Line 22:
 
- Extract all files from "copy to GTA San Andreas from inside" in an archive to root of GTA San Andreas directory.
 
- Extract all files from "copy to GTA San Andreas from inside" in an archive to root of GTA San Andreas directory.
  
==GTA San Andreas==
+
- You need to have [[ASI Loader]] installed, it is already enabled if you installed [[CLEO]] library.
 +
 
 +
==VehicleAudioSettings.cfg==
 +
The <code>VehicleAudioSettings.cfg</code> file is a text data [[:Category:File Formats|file format]] containing audio properties of vehicles. It can be opened and edited with any text editor. The plugin reads and processes this file in a line-by-line manner. Empty lines or lines commented by a ; sign at the beginning are ignored.
 +
 
 +
===Format===
 +
{| {{Prettytable}}
 +
! Column Letter
 +
! Column Name
 +
! Type
 +
! Description
 +
|-
 +
| A
 +
| modelName
 +
| string
 +
| A model name of vehicle which is defined in [[IDE]] file inside of [[CARS (IDE Section)|CARS]] section. No matter if is standard or added vehicle.
 +
|-
 +
| B
 +
| VehicleType
 +
| __int16
 +
| Vehicle type, see table below.
 +
|-
 +
| C
 +
| EngineOnSound
 +
| __int16
 +
| Sound bank ID of accelerative, inhibitory engine.
 +
|-
 +
| D
 +
| EngineOffSound
 +
| __int16
 +
| Sound bank ID of stopped vehicle with enabled engine.
 +
|-
 +
| E
 +
| field_4
 +
| __int16
 +
| Unknown __int16. Used values by R*: 0, 1, 2
 +
|-
 +
| G
 +
| field_6
 +
| float
 +
| Unknown float.
 +
|-
 +
| H
 +
| HornTon
 +
| signed char
 +
| Not tested by the creator of plugin
 +
|-
 +
| I
 +
| HornHigh
 +
| float
 +
| Not tested by the creator of plugin
 +
|-
 +
| J
 +
| DoorSound
 +
| signed char
 +
| Not tested by the creator of plugin
 +
|-
 +
| K
 +
| RadioNum{{Ref|1}}
 +
| char
 +
| ID of default radio being enabled when player enter a vehicle.
 +
If RadioType != 0 (civilian radio), RadioNum should equal to 13 (radio off)
 +
|-
 +
| L
 +
| RadioType
 +
| signed char
 +
| Type of radio (-1 = no radio, 0 = civilian, 1 = special, 2 = may not exist, 3 = emergency)
 +
|-
 +
| M
 +
| field_14
 +
| signed char
 +
| Unknown.
 +
|-
 +
| N
 +
| field_16
 +
| float
 +
| Unknown float
 +
|}
 +
 
 +
{{Note|1}} '''RadioNum''' determines a default radio automatically turned on when player enters a vehicle.
 +
 
 +
{| {{Prettytable}}
 +
! Radio ID
 +
! Radio name
 +
|-
 +
| 1
 +
| Playback FM
 +
|-
 +
| 2
 +
| K Rose
 +
|-
 +
| 3
 +
| K-DST
 +
|-
 +
| 4
 +
| Bounce FM
 +
|-
 +
| 5
 +
| SF-UR, San Fierro Underground Radio
 +
|-
 +
| 6
 +
| Radio Los Santos
 +
|-
 +
| 7
 +
| Radio X
 +
|-
 +
| 8
 +
| CSR 103.9, Contemporary Soul Radio
 +
|-
 +
| 9
 +
| K-JAH West
 +
|-
 +
| 10
 +
| Master Sounds 98.3
 +
|-
 +
| 11
 +
| WCTR, West Coast Talk Radio
 +
|-
 +
| 12
 +
| User tracks
 +
|-
 +
| 13
 +
| Radio Off
 +
|}
 +
 
 +
==See also==
 +
* [[Vehicle Audio Editor Ultimate]]
 +
 
 +
== External links ==
 +
* {{GTAG|17919|Vehicle Audio Loader download page}}
 +
* {{GTAF|486802|Vehicle Audio Loader topic}}
 +
* {{GTAF|post|194199|4225227|a post by Seemann describing memory addresses of the vehicle engine sounds in San Andreas}}
 +
 
 +
{{N|SA}}

Latest revision as of 19:26, 17 September 2012

Vehicle Audio Loader
Current version:1.2
Developed by:User.pngfastman92
Supported games:GTA SA
Type:ASI plugin
Website:http://www.gtagarage.com/mods/show.php?id=17919

Vehicle Audio Loader is an ASI plugin for GTA San Andreas created by fastman92 to set hardcoded audio properties of vehicles.

Installation

- Make sure you are using one of the following gta_sa.exe versions:

  • GTA San Andreas v1.0 [US] HOODLUM No-CD Fixed EXE: 14 383 616 bytes
  • GTA: San Andreas v1.01 [EURO] No-CD/Fixed EXE: 15 806 464 bytes

Vehicle Audio Loader is fully compatible with both of them, 1.0 US and 1.01 Euro No-CD shortly.

- Extract all files from "copy to GTA San Andreas from inside" in an archive to root of GTA San Andreas directory.

- You need to have ASI Loader installed, it is already enabled if you installed CLEO library.

VehicleAudioSettings.cfg

The VehicleAudioSettings.cfg file is a text data file format containing audio properties of vehicles. It can be opened and edited with any text editor. The plugin reads and processes this file in a line-by-line manner. Empty lines or lines commented by a ; sign at the beginning are ignored.

Format

Column Letter Column Name Type Description
A modelName string A model name of vehicle which is defined in IDE file inside of CARS section. No matter if is standard or added vehicle.
B VehicleType __int16 Vehicle type, see table below.
C EngineOnSound __int16 Sound bank ID of accelerative, inhibitory engine.
D EngineOffSound __int16 Sound bank ID of stopped vehicle with enabled engine.
E field_4 __int16 Unknown __int16. Used values by R*: 0, 1, 2
G field_6 float Unknown float.
H HornTon signed char Not tested by the creator of plugin
I HornHigh float Not tested by the creator of plugin
J DoorSound signed char Not tested by the creator of plugin
K RadioNum[1] char ID of default radio being enabled when player enter a vehicle.

If RadioType != 0 (civilian radio), RadioNum should equal to 13 (radio off)

L RadioType signed char Type of radio (-1 = no radio, 0 = civilian, 1 = special, 2 = may not exist, 3 = emergency)
M field_14 signed char Unknown.
N field_16 float Unknown float

^ RadioNum determines a default radio automatically turned on when player enters a vehicle.

Radio ID Radio name
1 Playback FM
2 K Rose
3 K-DST
4 Bounce FM
5 SF-UR, San Fierro Underground Radio
6 Radio Los Santos
7 Radio X
8 CSR 103.9, Contemporary Soul Radio
9 K-JAH West
10 Master Sounds 98.3
11 WCTR, West Coast Talk Radio
12 User tracks
13 Radio Off

See also

External links