Quantcast

Jump to content

» «
Photo

[GTASA] Vehicle Audio Loader

11 replies to this topic
fastman92
  • fastman92

    фастман92 | ف

  • Members
  • Joined: 28 Jul 2009
  • None

#1

Posted 11 September 2011 - 09:28 AM Edited by fastman92, 22 September 2012 - 07:06 PM.

Vehicle Audio Loader


An open-source plugin written in C++ and compiled as an ASI lets you modify
the audio properties of vehicles in game. Works for standard vehicles as well as for added vehicles.
Thus the tool is useful for modders who add new vehicles to a game.
You are invited to experiment with audio properties and find out what`s the point of unknown values.

Fully compatible with GTA San Andreas v1.0 [US] HOODLUM No-CD Fixed EXE & GTA: San Andreas v1.01 [EURO] No-CD/Fixed EXE
- - - - - - - - - - - - - - - - -

***** Installation
- 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:
EXE size: 14 383 616 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.

- You need to have ASI loader installed, it is already enabled if you installed CLEO Library.
Otherwise you can download ASI loader from here: http://www.gtagarage...how.php?id=8321

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

***** Configuration
- if you want to change properties of vehicles, open data\vehicleAudioSettings.cfg
- Remember names aren`t static. It means you CAN add a new name if you defined a new vehicle in .ide file.
So that vehicle audio loader is useful for people who add new vehicles to a game.

***** Reloading vehicleAudioSettings.cfg
- You need to have CLEO3 or CLEO4 library installed.
You can download it from http://cleo.sannybuilder.com/

Reloading audio settings while game is running is possible thanks to "CLEO\Vehicle Audio Loader Reloader.cs"
Type "VEHAUDIO" in game, message "vehicleAudioSettings.cfg reloaded" will be shown.
Remember to spawn new vehicle each time you want to test changes. Audio settings won't be reloaded for already created vehicles in game.
- - - - - - - - - - - - - - - - -

Documentation
http://www.gtamoddin...dioSettings.cfg
Download
http://www.mediafire...12w0i2dv0pa1e7k

***** Changes in this version
** 1.2:
- Added CLEO script to reload settings while game is running
- C++ code is better now
- vehicleAudioSettings.cfg couldn't be displayed in Notepad correctly, since it requires "\r\n" instead of single "\n". Fixed

** 1.1:
No visible changes, but source code is more clear.
Also in 1.0 version i mistakenly uploaded Alexander`s Vehicle Special Abilities plugin instead of Vehicle Audio Loader.

***** Request
I invite you to experiment with audio properties and explain unknown parameters called field_ actually.

***** License
- You can share my mod anywhere as long my plugin doesn`t change the author.
- You can share new .dat file with modified properties.

***** Special thanks to:
Alexander Blade - he did a first tools for editing audio properties, i just did it better.
For example Alexander assumed float on +31, what gave unpredictable value, while float is on +32
in structure of VehicleAudioPropertiesStruct
Next thing DoorSound isn`t integer, it is signed char, because it has gotten FF values for some vehicles
which is -1 as signed integer. -1 means undefined, not configured in GTA SA structures and files.
Last thing my vehicle audio loader is 1.0 and 1.01 compatible.


***** Informations:
Date of release: 17-09-2012
Author: fastman92
Version: 1.2
For: GTA San Andreas
E-mail: [email protected]
Visit fastman92-site.tk

// Good modders never quit the GTA modding
  • Concavax likes this

aStiffSausage
  • aStiffSausage

    Formerly Oksu

  • Members
  • Joined: 30 Sep 2010
  • Finland

#2

Posted 11 September 2011 - 10:37 AM

Sounds really tempting, I'm going to give it a one-week test and give results on next weekend.

fastman92
  • fastman92

    фастман92 | ف

  • Members
  • Joined: 28 Jul 2009
  • None

#3

Posted 15 October 2011 - 08:14 PM

In 1.0 version i mistakenly uploaded Alexander`s Vehicle Special Abilities plugin instead of Vehicle Audio Loader.
Now i fixed it.

zmudziak32
  • zmudziak32

    Thug

  • Members
  • Joined: 14 Dec 2007
  • Poland

#4

Posted 16 October 2011 - 09:07 AM

Sounds good, i'll try this tool, but can you make this tool for Vice City.

Jacko427
  • Jacko427

    Gangsta

  • BUSTED!
  • Joined: 27 Jul 2011

#5

Posted 16 October 2011 - 03:56 PM

Will this tool give the ability to cgange the standard SA cars?
I mean not added cars but only changing the engine audio.

I had one by Alexander Blade.
Tho' it's a different tool, I had to choose an engine audio and it will be saved in gta_sa.exe.

EDIT
Ignore the first question.
We can edit the cfg just with notepad?
It's a bit gibberish when opened it with notepad.

fastman92
  • fastman92

    фастман92 | ف

  • Members
  • Joined: 28 Jul 2009
  • None

#6

Posted 18 October 2011 - 02:48 PM

QUOTE (Jacko427 @ Sunday, Oct 16 2011, 17:56)
Will this tool give the ability to cgange the standard SA cars?
I mean not added cars but only changing the engine audio.

I had one by Alexander Blade.
Tho' it's a different tool, I had to choose an engine audio and it will be saved in gta_sa.exe.

EDIT
Ignore the first question.
We can edit the cfg just with notepad?
It's a bit gibberish when opened it with notepad.

It is obviously possible. It is meant to work with both standard and added vehicles if someone had a question whether it will work.
Open data\VehicleAudioSettings.cfg to edit.
If it is standard vehicle, valid line is already available.
For added vehicles you need to choose and copy some existing line and insert it somewhere as a new line. Then edit modelName to name of added vehicle.

QUOTE

Ignore the first question.
We can edit the cfg just with notepad?
It's a bit gibberish when opened it with notepad.

Yes, you can. Documentation: http://www.gtamoddin...dioSettings.cfg

Request:
Can some of programmers make a nice tool with GUI to edit VehicleAudioSettings.cfg?
Format of that file is pretty simple.

MAJEST1C_R3
  • MAJEST1C_R3

    Goodfella

  • Feroci Racing
  • Joined: 21 Oct 2011
  • Russia

#7

Posted 22 October 2011 - 03:05 PM

QUOTE (zmudziak32 @ Sunday, Oct 16 2011, 09:07)
Sounds good, i'll try this tool, but can you make this tool for Vice City.

And for GTA III smile.gif

fastman92
  • fastman92

    фастман92 | ف

  • Members
  • Joined: 28 Jul 2009
  • None

#8

Posted 25 October 2011 - 07:57 PM Edited by fastman92, 27 October 2011 - 04:34 PM.

I will try, but the problem is i need to locate sound properties in GTA VC, GTA III and it is different.
Once i know where are they it is no problem to write a plugin.

zmudziak32
  • zmudziak32

    Thug

  • Members
  • Joined: 14 Dec 2007
  • Poland

#9

Posted 26 October 2011 - 05:52 PM

The Maxo's include Vehicle Audio Editor, in his tool, but it work for added cars.

Rented
  • Rented

    GTA Vet

  • Members
  • Joined: 24 Oct 2010
  • United-States

#10

Posted 11 May 2012 - 06:10 PM

QUOTE (fastman92 @ Sunday, Sep 11 2011, 09:28)
***** Vehicle Audio Loader 1.1
An open-source plugin written in C++ and compiled as an ASI lets you modify
the audio properties of vehicles in game. Works for standard vehicles as well as for added vehicles.
Thus the tool is useful for modders who add new vehicles to a game.
You are invited to experiment with audio properties and find out what`s the point of unknown values.

Fully compatible with GTA San Andreas v1.0 [US] HOODLUM No-CD Fixed EXE & GTA: San Andreas v1.01 [EURO] No-CD/Fixed EXE
- - - - - - - - - - - - - - - - -

***** Installation
- 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:
EXE size: 14 383 616 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.

- You need to have ASI loader installed, it is already enabled if you installed CLEO Library.
Otherwise you can download ASI loader from here: http://www.gtagarage...how.php?id=8321

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

***** Configuration
- if you want to change properties of vehicles, open data\vehicleAudioSettings.cfg
- Remember names aren`t static. It means you CAN add a new name if you defined a new vehicle in .ide file.
So that vehicle audio loader is useful for people who add new vehicles to a game.
- - - - - - - - - - - - - - - - -

Documentation
http://www.gtamoddin...dioSettings.cfg
Download
http://www.mediafire...kj5by2mbkr69bi7

***** Changes in this version
No visible changes, but source code is more clear.
Also in 1.0 version i mistakenly uploaded Alexander`s Vehicle Special Abilities plugin instead of Vehicle Audio Loader.

***** Request
I invite you to experiment with audio properties and explain unknown parameters called field_ actually.

***** License
- You can share my mod anywhere as long my plugin doesn`t change the author.
- You can share new .dat file with modified properties.

***** Special thanks to:
Alexander Blade - he did a first tools for editing audio properties, i just did it better.
For example Alexander assumed float on +31, what gave unpredictable value, while float is on +32
in structure of VehicleAudioPropertiesStruct
Next thing DoorSound isn`t integer, it is signed char, because it has gotten FF values for some vehicles
which is -1 as signed integer. -1 means undefined, not configured in GTA SA structures and files.
Last thing my vehicle audio loader is 1.0 and 1.01 compatible.

***** Informations:
Author: fastman92
Version: 1.1
For: GTA San Andreas
Email: [email protected]
Visit fastman92.tk

// Good modders never quit the GTA modding

will this patch my gta_sa.exe because i lost my .exe editing tool and now i can't edit the car sounds of sa, and i found this

fastman92
  • fastman92

    фастман92 | ف

  • Members
  • Joined: 28 Jul 2009
  • None

#11

Posted 11 May 2012 - 06:28 PM Edited by fastman92, 17 September 2012 - 07:23 PM.

It's ASI plugin, doesn't modify gta_sa.exe
You can edit data\VehicleAudioSettings.cfg

Read more suicidal.gif

UPDATE 1.2:
- Added CLEO script to reload settings while game is running
- C++ code is better now
- vehicleAudioSettings.cfg couldn't be displayed in Notepad correctly, since it requires "\r\n" instead of single "\n". Fixed

Dilvan
  • Dilvan

    Blur Sotong

  • Members
  • Joined: 06 Oct 2012

#12

Posted 12 October 2012 - 06:16 AM

great tool!




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users