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

    2. News

    1. GTA Online

      1. Find Lobbies & Players
      2. Guides & Strategies
      3. Vehicles
      4. Content Creator
      5. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

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

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

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

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

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

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

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. 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

    2. Red Dead Redemption

    3. 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. Forum Support

    2. Site Suggestions

Zer0w5

[REL] GTA IV Ivaud Editor Made by Vilavek

Recommended Posts

EduardKoeleJuck

First of all, great tool! cookie.gif

 

I have a problem though. I replaced both PISOL_SHOT1_L and PISTOL_SHOT1_R with the same .wav. It goes well, I save it. But if i preview the sound with your tool or SparkIV, the second one sounds different! Like a snowy TV or something.

The files are PCM99 and PCM100 (I think).

Share this post


Link to post
Share on other sites
Zer0w5
First of all, great tool! cookie.gif

 

I have a problem though. I replaced both PISOL_SHOT1_L and PISTOL_SHOT1_R with the same .wav. It goes well, I save it. But if i preview the sound with your tool or SparkIV, the second one sounds different! Like a snowy TV or something.

The files are PCM99 and PCM100 (I think).

You need to have it mono not stereo and make sure your converting them 44100Hz 16 bits if you dont know what im talking about then send me the 2 files ill see what your doing wrong

Share this post


Link to post
Share on other sites
Vilavek

I replaced those files myself when I modified the weapons.ivaud and I didn't have any problems with them. I am not ruleing out that version 1.1 could have saved the ivaud incorrectly however. This is part of the reason I am redesigning how my program reads and writes ivauds in version 1.2! I agree with zerofreeze, make sure the files you are replacing them with conform to 16-bit mono, at the same sample rates as the original PCM99/100's.

Share this post


Link to post
Share on other sites
voodoo48
I used GoldWave to modify audio files. As long as you save any sound you have as a 16-bit Mono WAV file you should be able to import it into GTA-IVaud. I'm thinking about designing GTA-IVaud to convert to formats for you, but i'm not sure I want to put the time into all that conversion mess...  bored.gif

You should. People will love it.

Wouldn't that delay version 1.2 confused.gif

 

And i also use goldwave

Okay, drop it, but at-least post a tutorial on how to edit the sounds with Goldwave.

Open --> Save As. If you wanna convert. Not a big deal.

Anyway, much cookies to Vilavek ( cookie.gifcookie.gifcookie.gifcookie.gifcookie.gif ), this is the program I've been waiting for ages, especially the radio-editor part. So, I'm still waiting, but at least I know that the day I edit radio stations is so close... smile.gif

Share this post


Link to post
Share on other sites
Rob.Zombie

Yeah cookie.gif s for him, I'm waiting for editing music as well. Can't wait to change the irritating loading music biggrin.gif

Share this post


Link to post
Share on other sites
Symbiote

Unfortunately it sounds like you can only replace the existing music with something of the same length. Is this true? I've been hoping for a while for some way to add extra songs to the default radio stations.

Share this post


Link to post
Share on other sites
Vilavek

 

Unfortunately it sounds like you can only replace the existing music with something of the same length. Is this true? I've been hoping for a while for some way to add extra songs to the default radio stations.

I haven't totally finished interpreting multi-layered ivaud files yet (the ones which hold radio stations and the loading music), but from what I can tell, there's no reason why you shouldn't be able to replace them with any other song of any length. The only thing that makes these ivauds different from other ivauds is that they hold compressed audio as opposed to uncompressed ADPCM audio. As far as added new songs is concerned, I’m not sure how that would be possible at the moment since GTA-IV keeps a list of internal filenames which the ivauds refer to through a hash table... o_o

Share this post


Link to post
Share on other sites
NTAuthority

 

The only thing that makes these ivauds different from other ivauds is that they hold compressed audio as opposed to uncompressed ADPCM audio.

There's not just a difference between ADPCM/PCM audio files, there's also a difference between mono/multichannel audio files. For more information about the base format, try studying the code of SparkIV.

Share this post


Link to post
Share on other sites
Dvt-MedShot
Whats delaying version 1.2 is that I sat down to redesign how my program reads ivaud files. Obviously the previous implementation only worked with specific ivaud files. I want version 1.2 to open and modify any and all ivaud files. So far i've made alot of progress but it's not 100% filetuned just yet. Word.

Well I give you the time you want. Please ignore the "release v2 pLeAse!!!!!!!!!!!!!!!!!" people. wink.gif

Share this post


Link to post
Share on other sites
EduardKoeleJuck
Okay, I got a sound, everything's okay, 16-bit, 44100, Mono, but when I export it to .wav, it's 32-bit stereo again! Can anybody help me with this? I use Audacity btw. I'll check if the same thing happens with GoldWave.

Share this post


Link to post
Share on other sites
Vilavek
The only thing that makes these ivauds different from other ivauds is that they hold compressed audio as opposed to uncompressed ADPCM audio.

There's not just a difference between ADPCM/PCM audio files, there's also a difference between mono/multichannel audio files. For more information about the base format, try studying the code of SparkIV.

I've done much of the base format work myself by just setting up templates in 010 Editor. I'm currently tackling Bob Jenkins one-at-a-time hashing in .NET (you'd figure it would be as simple as in C++ but it's prooving to be a nightmare because of how .NET performs bitwise operations)... If I run into any problems when I get to the multichanneled ivaud files i'll take a look at SparkIV's source, thanks for the heads up there. Correct me if i'm wrong but from what i've seen the multichanneled ivaud files contain header information for one file, but two mono audio entry blocks, one for each channel?

Share this post


Link to post
Share on other sites
NTAuthority
I've done much of the base format work myself by just setting up templates in 010 Editor.

At least you have the luck of hex editors which help you, I only work with 'expected' data and counting bytes by hand! tounge.gif

 

 

I'm currently tackling Bob Jenkins one-at-a-time hashing in .NET (you'd figure it would be as simple as in C++ but it's prooving to be a nightmare because of how .NET performs bitwise operations)...

 

Strange, I thought the bitwise operators should be implemented equally in the CLR and in CPU implementations... aren't you doing something wrong with unsigned types for instance? Bitwise operations like in hashes go horribly wrong if they're made for unsigned types and you use them with signed integers. tounge.gif

 

 

If I run into any problems when I get to the multichanneled ivaud files i'll take a look at SparkIV's source, thanks for the heads up there. Correct me if i'm wrong but from what i've seen the multichanneled ivaud files contain header information for one file, but two mono audio entry blocks, one for each channel?

 

 

It sure seems like it, but the structures are not at all equal. To be honest, all my experience with the audio stream format is just flipping tons of integers and trying to get data out of a stream to feed it to a external tool for the strange X360 audio codec... but you find out a lot since I had to go through the entire SparkIV audio source. tounge.gif

Share this post


Link to post
Share on other sites
Vilavek

1.0/1.1 was the result of counting bytes by hand and it failed to meet expectations, so I figured I’d use a few tools to help me out with 1.2. To date, the structure templates I’ve created for handling ivaud files fit into three different categories and manage to parse information correctly for all ivaud files I’ve thrown at it (though there are some unknown variables here and there and I can’t guarantee it until 1.2 is finished and properly tested!) Implementing it all into GTA-IVaud is taking some time however since I have essentially redesigned how it deals with ivauds.

 

Regarding the bitwise operation issue, I know I’ll get it eventually but when it comes to bitwise operations I’m not overly experienced. While my ultimate goal is to finish version 1.2 I’m trying to make this an educational experience along the way, so copying from open source projects is something I’ve sort of strayed away from since it’s somewhat counter-intuitive to the whole educational process. Any and all suggestions are welcome however! tounge.gif

Share this post


Link to post
Share on other sites
Vilavek

Nice Glock 22 audio! icon14.gif

 

NTAuthority, I got the hashing working in VB.NET. The problem stemmed from the fact that VB.NET doesn't support unchecked variables in the way C# does, thus I had to hard-code a function to do it for me, finally correcting the issue and adding support for Jenkins hashing in VB.NET. If anyone wants the source code for performing Jenkins Hashing in VB.NET, they can find it here: http://vilavek.gamekage.com/gtaivaud/downl...sher4VB.NET.txt

 

That being said, version 1.2 now supports displaying filenames. I'm moving on to finish my implementation for multi-channel and compressed audio ivauds. icon14.gif

Share this post


Link to post
Share on other sites
SLAYERMAGGOT

Finally displayed filenames, good work Vilavek, v 1.2 will be awesome. icon14.gifsmile.gif

Share this post


Link to post
Share on other sites
EduardKoeleJuck

 

Finally displayed filenames, good work Vilavek, v 1.2 will be awesome.  icon14.gif  smile.gif

Yep, I can't wait either.

 

My 750th post!

Edited by EduardKoeleJuck

Share this post


Link to post
Share on other sites
Vilavek

Thanks for the support guys. icon14.gif I'm currently working on the decoding and encoding functions for compressed Dvi/Ima ADPCM audio formats which are used in ivauds such as those which hold radio station audio. It's only a matter of time now! biggrin.gif

Share this post


Link to post
Share on other sites
..GhosT
Thanks for the support guys. icon14.gif I'm currently working on the decoding and encoding functions for compressed Dvi/Ima ADPCM audio formats which are used in ivauds such as those which hold radio station audio. It's only a matter of time now! biggrin.gif

Can you make that the Program automaticly makes 16bit etc

Share this post


Link to post
Share on other sites
quechus13
Thanks for the support guys.  icon14.gif  I'm currently working on the decoding and encoding functions for compressed Dvi/Ima ADPCM audio formats which are used in ivauds such as those which hold radio station audio. It's only a matter of time now!  biggrin.gif

Can you make that the Program automaticly makes 16bit etc

Just get

 

Pro Tools or

Audacity

Share this post


Link to post
Share on other sites
LosAngelesTime

Good tool

Edited by LosAngelesTime

Share this post


Link to post
Share on other sites
Zer0w5
Thanks for the support guys.  icon14.gif  I'm currently working on the decoding and encoding functions for compressed Dvi/Ima ADPCM audio formats which are used in ivauds such as those which hold radio station audio. It's only a matter of time now!  biggrin.gif

Can you make that the Program automaticly makes 16bit etc

Just get

 

Pro Tools or

Audacity

or dB Power amb music converter

 

Goldwave optional

Share this post


Link to post
Share on other sites
..GhosT
Thanks for the support guys.  icon14.gif  I'm currently working on the decoding and encoding functions for compressed Dvi/Ima ADPCM audio formats which are used in ivauds such as those which hold radio station audio. It's only a matter of time now!  biggrin.gif

Can you make that the Program automaticly makes 16bit etc

Just get

 

Pro Tools or

Audacity

or dB Power amb music converter

 

Goldwave optional

I have Audacity already and, everytime i make 16-Bit and save it, then open the file again, its a 32-Bit Float and i cant import it.

 

Also, what the hell is Little Endian?

Share this post


Link to post
Share on other sites
quechus13
Thanks for the support guys.  icon14.gif  I'm currently working on the decoding and encoding functions for compressed Dvi/Ima ADPCM audio formats which are used in ivauds such as those which hold radio station audio. It's only a matter of time now!  biggrin.gif

Can you make that the Program automaticly makes 16bit etc

Just get

 

Pro Tools or

Audacity

or dB Power amb music converter

 

Goldwave optional

yeah but well Pro Tools is the BEST sound editor ever

oh and what about Sound Forge?

You can do awesome Sound editing there too

this are the tools most Music Producers use in Hollywood and Warner Brothers

Share this post


Link to post
Share on other sites
EduardKoeleJuck
Thanks for the support guys.  icon14.gif  I'm currently working on the decoding and encoding functions for compressed Dvi/Ima ADPCM audio formats which are used in ivauds such as those which hold radio station audio. It's only a matter of time now!  biggrin.gif

Can you make that the Program automaticly makes 16bit etc

Just get

 

Pro Tools or

Audacity

or dB Power amb music converter

 

Goldwave optional

I have Audacity already and, everytime i make 16-Bit and save it, then open the file again, its a 32-Bit Float and i cant import it.

 

Also, what the hell is Little Endian?

Yeah, I also had that problem with Audacity. I posted a few pages back. I suggest using GoldWave, you can just select 16-Bit when you save it.

Share this post


Link to post
Share on other sites
Vilavek

I'm a programmer/sound designer, I've been using Goldwave for over a decade now and I have never had any problems with it, thus it is my personal preference. The other tools people in this thread are talking about hold their own for sure. It really depends on what you use the tool for and how much control over the audio you really need! =)

 

Little Endian versus Big Endian refers to the order in which bytes or bits are stored within a file for specific pieces of data, i.e. from left to right, or from right to left for example.

 

I got the ADPCM decoder for GTA-IVaud working today, now i'm working on the encoder portion (figured people would want to replace radio station audio, not just extract it!).. tounge.gif

Share this post


Link to post
Share on other sites
SLAYERMAGGOT

Awesome, maybe you can make a v1.1.8 or 1.2 beta please biggrin.gificon14.gif

Share this post


Link to post
Share on other sites
Vilavek

 

Awesome, maybe you can make a v1.1.8 or 1.2 beta please  biggrin.gif  icon14.gif

Thats not a horrible idea sir. After I finish implementing my decoder into the program i'll release a beta. It still wont support replacing radio station or speech audio just yet, but at least there will be a version out there that supports filenames while I work on implementing the encoder! I'll post something about it tomorrow. icon14.gif

Share this post


Link to post
Share on other sites
..GhosT
Awesome, maybe you can make a v1.1.8 or 1.2 beta please  biggrin.gif  icon14.gif

Thats not a horrible idea sir. After I finish implementing my decoder into the program i'll release a beta. It still wont support replacing radio station or speech audio just yet, but at least there will be a version out there that supports filenames while I work on implementing the encoder! I'll post something about it tomorrow. icon14.gif

LOADINGSCREENSOUNDS?!?1?!?!one!1! [email protected]!Q1q!Q1??

 

 

Share this post


Link to post
Share on other sites
Zer0w5
Awesome, maybe you can make a v1.1.8 or 1.2 beta please  biggrin.gif  icon14.gif

Thats not a horrible idea sir. After I finish implementing my decoder into the program i'll release a beta. It still wont support replacing radio station or speech audio just yet, but at least there will be a version out there that supports filenames while I work on implementing the encoder! I'll post something about it tomorrow. icon14.gif

LOADINGSCREENSOUNDS?!?1?!?!one!1! [email protected]!Q1q!Q1??

Like he said he will be releasing a beta first where the filenames can be shown cool.gif

Share this post


Link to post
Share on other sites

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

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

×

Important Information

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