Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
      4. Frontier Pursuits
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Diamond Casino & Resort
      2. DLC
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA 6

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA IV Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA SA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA VC Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA III Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. News

    2. Forum Support

    3. Site Suggestions

pdescobar

[WIP] San Andreas Audio Toolkit (SAAT)

Recommended Posts

syrdax

Hola pdescobar.

 

I tried the tool several times but can't get it right, you see, I'm not too familiar with command line and all that stuff; I used to have all sound extracted from previous GTAs (I like to use them as windows sounds, etc) so basically, I want to extract the sounds of San Andreas, mostly pedestrian voices.

So, having installed the game on d:\San Andreas and I want to extract them sounds on d:\sounds; what should be the command line?

 

Gracias!

Share this post


Link to post
Share on other sites
pdescobar

 

Hola pdescobar.

 

I tried the tool several times but can't get it right, you see, I'm not too familiar with command line and all that stuff; I used to have all sound extracted from previous GTAs (I like to use them as windows sounds, etc) so basically, I want to extract the sounds of San Andreas, mostly pedestrian voices.

So, having installed the game on d:\San Andreas and I want to extract them sounds on d:\sounds; what should be the command line?

 

Gracias!

Most of the pedestrian voices are in the SPC_GA archive, but some of the "special" peds are in other archives. The procedure is the same for all, however, so you should be able to use the example for any sfx archive by simply changing the filename.

 

1) Extract the executables and INI files from the SAAT distribution someplace useful. Let's say you extracted them to a directory called D:\saat . For reference, we know your game is installed to D:\San Andreas and you want to extract the sounds to d:\sounds

 

2) Open a command prompt. On a standard Windows XP install, this is done by going to the Start Menu, choosing All Programs, then Accessories, then Command Prompt.

 

3) Change to the D:\ Drive by typing the following in the command prompt and then hitting enter:

 

D:

 

4) The prompt in the window should change to reflect the new drive. Now change to the saat directory by using this command:

 

cd D:\saat

 

5) Again, the prompt should reflect this directory. Now, you can extract the sounds with the next command (all on one line):

 

saat_sfx  -e  d:\san andreas\audio\SFX\SPC_GA  d:\sounds  d:\san andreas\audio\CONFIG\BankLkup.dat 

 

Then SAAT should run the extraction and create a folder called d:\sounds\SPC_GA containing approx 200 Bank folders which will each contain all the sounds for an individual ped.

Share this post


Link to post
Share on other sites
syrdax

icon14.gif Muchas gracias!

 

Thanks a lot icon14.gifcookie.gif

Share this post


Link to post
Share on other sites
yunus_2006

 

 

Can any1 tell me in which SFX or STREAM are the engine sounds (when car is not running just standing) of GTA SA cars

 

And also can any1 tell me how to extract NFS MW sounds e.g engine sounds

 

Thanx

Share this post


Link to post
Share on other sites
pdescobar
Can any1 tell me in which SFX or STREAM are the engine sounds (when car is not running just standing) of GTA SA cars

 

And also can any1 tell me how to extract NFS MW sounds e.g engine sounds

 

Thanx

All SA engine sounds are in the GENRL sfx archive. I can't give you really specific directions, but Bank 0 and Bank 126 seem to be the first places to look for engine idling sounds. Beyond that, you'll have to experiment a little.

 

As for NFS, your best bet is to probably do some Googling and/or hunt down a forum dedicated to it.

Share this post


Link to post
Share on other sites
gta-gt

I've replaced many of the engine sounds already, so now I'm interested in replacing the music played on the radio stations with my own music. The problem is when I enter:

saat_stream -e audio\streams\MR c:\temp\saat

I get this message: Error creating target directory: No such file or directory. The directory obviously exists, so what am I doing wrong?

Share this post


Link to post
Share on other sites
pdescobar
I've replaced many of the engine sounds already, so now I'm interested in replacing the music played on the radio stations with my own music. The problem is when I enter:

saat_stream -e audio\streams\MR c:\temp\saat

I get this message: Error creating target directory: No such file or directory. The directory obviously exists, so what am I doing wrong?

Given the parameters you used, that error should probably only occur if "C:\temp" doesn't exist. Are you certain that you didn't have a typo in the command (like saying c:\tmep\saat)?

Share this post


Link to post
Share on other sites
gta-gt

Thanks for your suggestion - I didn't even realize that I was missing a temp folder. I must've deleted it a long time ago. I made a new temp folder and everything's good for now.

Share this post


Link to post
Share on other sites
--Cole--

Can somebody make a GUI for SAAT? Please?

Share this post


Link to post
Share on other sites
BMWPower

Is there a way to edit an engine sound and to make Sound_002 to play in the game bit longer, sorry for my english.. blush.gif

Share this post


Link to post
Share on other sites
pdescobar
Is there a way to edit an engine sound and to make Sound_002 to play in the game bit longer, sorry for my english.. blush.gif

I'm not exactly sure what you mean or exactly what sound you are talking about. A longer sound clip may play longer, but the game will also cut things short if it needs to switch gears or something. Can you explain a bit more what you are asking?

 

 

========================

 

@Cole: Nothing like that will happen anytime soon. I'd be interested in hearing exact details on what you find the most difficult about using the command-line and what specific things you'd like to see in a new interface.

Share this post


Link to post
Share on other sites
Coen

Hey Pdescobar,

 

It seems that I'm doing something wrong, because I keep getting an error while trying to unpack the SFX files from GTA SA.

 

Do you know what I'm doing wrong? I've carefully read the txt files and this whole thread, but no one seems to have a similar problem as I do.

 

Thanks in advance!

 

Greetings from the Netherlands,

 

Coen

Edited by Coen

Share this post


Link to post
Share on other sites
pdescobar
Hey Pdescobar,

 

It seems that I'm doing something wrong, because I keep getting an error while trying to unpack the SFX files from GTA SA.

 

Do you know what I'm doing wrong? I've carefully read the txt files and this whole thread, but no one seems to have a similar problem as I do.

 

Thanks in advance!

 

Greetings from the Netherlands,

 

Coen

The actual error message would probably be because with that commandline, the output is supposed to go to the directory d:\temp\SPC_GA but there is already a file with that name so the directory can't be created. However, the other directories used in your command look somewhat suspicious as well. Try looking at this previous post of mine which has an example with the different directories color-coded. Just replace the directories in that example with your SA game directory, SAAT install directory, and intended output directory and you should be fine.

 

If you still have trouble, let me know and I'll try and get back to you early next week if noone else is able to help.

Share this post


Link to post
Share on other sites
BMWPower

I wanted to know is there a way to edit a file and to make Sound_002 to be longer in the game, if i make a sound wich replace Sound_002 and it is 5 seconds.. in the game Sound_002 is playing only a second... blush.gif

Share this post


Link to post
Share on other sites
Coen

 

Hey Pdescobar,

 

It seems that I'm doing something wrong, because I keep getting an error while trying to unpack the SFX files from GTA SA.

 

Do you know what I'm doing wrong? I've carefully read the txt files and this whole thread, but no one seems to have a similar problem as I do.

 

Thanks in advance!

 

Greetings from the Netherlands,

 

Coen

The actual error message would probably be because with that commandline, the output is supposed to go to the directory d:\temp\SPC_GA but there is already a file with that name so the directory can't be created. However, the other directories used in your command look somewhat suspicious as well. Try looking at this previous post of mine which has an example with the different directories color-coded. Just replace the directories in that example with your SA game directory, SAAT install directory, and intended output directory and you should be fine.

 

If you still have trouble, let me know and I'll try and get back to you early next week if noone else is able to help.

I still have a problem, and I hope that together we can solve it.. smile.gif

 

I changed a few things, reinstalled the game, and tried it from the original root, with your program in the audio folder of GTA SA. I made this screenshot of my "new" problem. Any suggestions? I know for sure that the location of the BankLkup.dat file is correct.

 

Again, thanks in advance!!

Share this post


Link to post
Share on other sites
pdescobar

 

I still have a problem, and I hope that together we can solve it.. smile.gif

 

I changed a few things, reinstalled the game, and tried it from the original root, with your program in the audio folder of GTA SA. I made this screenshot of my "new" problem. Any suggestions? I know for sure that the location of the BankLkup.dat file is correct.

 

Again, thanks in advance!!

OK, that problem I can solve. it is one of using spaces in directory names. This is the setup I see in that picture.

 

SA game directory: c:\spel\gta san andreas

SAAT install directory: c:\spel\gta san andreas\audio\saat

export target directory: D:\temp

 

This is the command you used:

 

saat_sfx -e c:\spel\gta san andreas\audio\SFX\SPC_EA D:\temp c:\spel\gta san andreas\audio\CONFIG\BankLkup.dat

The directories are all correct. However, it doesn't work because the windows command shell doesn't understand spaces in directory names. In order to make it work, you have to enclose any filepaths which have spaces in quotes. So the following should work:

 

saat_sfx -e "c:\spel\gta san andreas\audio\SFX\SPC_EA" D:\temp "c:\spel\gta san andreas\audio\CONFIG\BankLkup.dat"

Please note that that is all on one line; the web browser might break it up into a couple lines, but you type it as one command.

 

=======================

 

@BMWPower: If the game always plays that sound for 1 second regardless of its actual length, I really doubt that can be changed.

Share this post


Link to post
Share on other sites
Coen
I still have a problem, and I hope that together we can solve it.. smile.gif

 

I changed a few things, reinstalled the game, and tried it from the original root, with your program in the audio folder of GTA SA. I made this screenshot of my "new" problem. Any suggestions? I know for sure that the location of the BankLkup.dat file is correct.

 

Again, thanks in advance!!

OK, that problem I can solve. it is one of using spaces in directory names. This is the setup I see in that picture.

 

SA game directory: c:\spel\gta san andreas

SAAT install directory: c:\spel\gta san andreas\audio\saat

export target directory: D:\temp

 

This is the command you used:

 

saat_sfx -e c:\spel\gta san andreas\audio\SFX\SPC_EA D:\temp c:\spel\gta san andreas\audio\CONFIG\BankLkup.dat

The directories are all correct. However, it doesn't work because the windows command shell doesn't understand spaces in directory names. In order to make it work, you have to enclose any filepaths which have spaces in quotes. So the following should work:

 

saat_sfx -e "c:\spel\gta san andreas\audio\SFX\SPC_EA" D:\temp "c:\spel\gta san andreas\audio\CONFIG\BankLkup.dat"

Please note that that is all on one line; the web browser might break it up into a couple lines, but you type it as one command.

 

=======================

 

@BMWPower: If the game always plays that sound for 1 second regardless of its actual length, I really doubt that can be changed.

Pdescobar,

 

thanks a lot! It finally worked when I entered quoted the folder names. But the same error that I had in the beginnen, which was "error creating directory" occured again when I gave the D:\temp\ as destination folder. When I changed it into the root of my drive (D:\), it worked. A little strange, but however, I succeeded! =]

 

Thanks!

Share this post


Link to post
Share on other sites
RainingAcid

Why not make a exe file instead of using the command promt. I hate using the CMD.

Share this post


Link to post
Share on other sites
ronlivings08

I hate the CMD promt too but I would at least like to be able to use this tool at all because as of right now when I try anything with this program it closes the command promt immediatly.Any ideas how I can keep the command promt open for longer than half a mili-second?

 

Share this post


Link to post
Share on other sites
pdescobar

 

Why not make a exe file instead of using the command promt. I hate using the CMD.

It is an exe file; I assume you mean "why not a graphical interface?" Simply put, because a graphical interface requires knowledge and experience I don't currently have. It's released under the GPL and includes full source code. You are free to contribute such an interface if you'd like to.

 

===================

 

 

I hate the CMD promt too but I would at least like to be able to use this tool at all because as of right now when I try anything with this program it closes the command promt immediatly.Any ideas how I can keep the command promt open for longer than half a mili-second?

Don't double-click the exe. Open a command prompt from the start menu and run the program as outlined in the documentation examples. If the "Installation" and "Examples" sections of the manual are unclear, suggestions for improvement are welcome.

Share this post


Link to post
Share on other sites
ronlivings08

Cant get nowhere...still think a user friendly program would be an awesome idea.

 

Heres a shot of my progress-The readme that come with the program was slightly different than the online version, leaving out a detail.Anyways, I followed the online readme instructions and the farthest I got was:

user posted image

 

I type "C:" as C is my drive however it goes straight back to the DOcs & Settings.I didnt really like this whole dos/command promt thing back in 96/97 when I had one of those old comps that took the floppies either lol

Share this post


Link to post
Share on other sites
pdescobar

 

Cant get nowhere...still think a user friendly program would be an awesome idea.

Did you read my response to RainingAcid in the previous post? I'm not withholding a GUI to be a bastard; I am limited by what knowledge and experience I have. Yes, a nicer interface would be an awesome idea, but I can't simply wave a magic wand and make it happen. If I have enough spare time to learn how to code such a thing, enough spare time to actually write such a thing, and enough spare time to test such a thing, it might eventually happen. But for now, this is what there is, so you're just going to have to adjust to it. I'm sorry if that sounds harsh, but I wrote this thing to fill a need, made it work as well as I could, and released and support it freely and voluntarily. Recently, the primary feedback I get is people complaining about the difficulty of the interface but offering no specific suggestions or advice for improvement aside from "make it friendly" or "make it a GUI" and it gets to be extremely frustrating.

 

 

Heres a shot of my progress-The readme that come with the program was slightly different than the online version, leaving out a detail.

The README is a brief introduction. The README itself states the following:

 

 

   Here's a very brief overview of SAAT. For more detailed documentation  with some usage examples, see [9]MANUAL.txt

 

 

The MANUAL.txt is the detailed documentation which is the same as the online version I linked earlier.

 

 

Anyways, I followed the online readme instructions and the farthest I got was:

http://i30.photobucket.com/albums/c304/ron...ommandpromt.jpg

 

I type "C:" as C is my drive however it goes straight back to the DOcs & Settings.I didnt really like this whole dos/command promt thing back in 96/97 when I had one of those old comps that took the floppies either lol

The "C:\Documents and Settings\Owner>" is the prompt. Since in your case you aren't actually changing the drive, you receive the same prompt a second time, which is exactly what is supposed to happen in your case. Now you continue to the next step:

 

 

Change to the directory where you installed the executables by using the cd command. For example, if you installed the executables to D:\Program Files\Rockstar Games\GTA San Andreas you would type cd "D:\Program Files\Rockstar Games\GTA San Andreas"

 

 

But, obviously, using the proper directory path for where SAAT is installed on your system. After that, you run the appropriate SAAT command as outlined in the examples in both the documentation and previous responses in this thread.

Share this post


Link to post
Share on other sites
ronlivings08

IDK I cant get anywhere with it so I think Ill be waiting until somebody else makes one that I can use or somebody helps you out to make yours friendlier.Maybe you could make another topic somewhere to see if anybody was willing to help it happen.Preciate ti anyways-at least youve made it this far into the sounds.

Share this post


Link to post
Share on other sites
TheDookie

Excellent work pdescobar. It seems people don't understand how much time & effort it takes to write a program. While a GUI would make you're prog prettier, it wouldn't make it any more functional. I appreciate the work you've put into this, & since it seems you're the only one who's been able to do this thus far, I give you props. Keep it up.

Share this post


Link to post
Share on other sites
gta-gt

No matter what I do, I can't seem to get my OGG files to play properly on the radio stations. I always end up with the dead air bug. Can someone tell me the bit rate/sample rate that I should be converting at? I tried 16bit/32000Hz, but that doesn't work.

Share this post


Link to post
Share on other sites
pdescobar
No matter what I do, I can't seem to get my OGG files to play properly on the radio stations. I always end up with the dead air bug. Can someone tell me the bit rate/sample rate that I should be converting at? I tried 16bit/32000Hz, but that doesn't work.

The dead air bug usually relates more to the length/size of files than the bitrates. I believe all the standard oggs are variable bit rate. How large (flie size) and long (elapsed time) are the replacement songs you are using and which tracks are they replacing (stream & track number)?

Share this post


Link to post
Share on other sites
gta-gt

The length of the songs are generally the same as the original songs I'm replacing, about 3-5 minutes each. The file sizes are about 3-5 MB. Should the length/file size be less than this?

 

Share this post


Link to post
Share on other sites
pdescobar
The length of the songs are generally the same as the original songs I'm replacing, about 3-5 minutes each. The file sizes are about 3-5 MB. Should the length/file size be less than this?

No, if they're nearly the same size as what you are replacing, that's good. What are you doing about intros and outros? Are you cutting off the first 10 seconds (approx) of the song and using it for the intros and the last 10 seconds for the outros? Or are you trying to use a blank or short placeholder for the intros and outros? (The first idea is generally better.) The more detail on exactly which tracks are being replaced and what is replacing them, the better chance this can be sorted.

Share this post


Link to post
Share on other sites
Tim_uh60

Ok you said do it myself well this is what I got. The command I used was from a previous post cuase he was having the same problems I'm having.

user posted image

 

Share this post


Link to post
Share on other sites
pdescobar

Your slashes are all mixed up in that screenshot.

 

a) Exactly what directory is SA installed to on your computer?

 

b) Exactly what directory are the saat executables installed on your computer?

 

c) Exactly what directory do you want to save the extracted files to?

 

Answer those three questions and I can give you the exact command to type for extraction.

 

EDIT: in fact, I can probably guess based on the directory tree since I can see most of it.

 

SA game directory: c:\program files\rockstar games\gta san andreas

SAAT install directory: c:\program files\rockstar games\gta san andreas\saat

export target directory: C:\temp\saat

 

If those are correct, use the following two commands in the command prompt.

 

cd "c:\program files\rockstar games\gta san andreas\saat"

 

saat_sfx -e "c:\program files\rockstar games\gta san andreas\audio\SFX\GENRL" C:\temp\saat "c:\program files\rockstar games\gta san andreas\audio\CONFIG\BankLkup.dat"

Please note that each command is all on one line; the web browser might break it up into a couple lines, but you type it as one command. Note that each colored piece is separated by a space

 

Edited by pdescobar

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

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