EduardKoeleJuck Posted December 29, 2009 Share Posted December 29, 2009 First of all, great tool! 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). Link to comment Share on other sites More sharing options...
Zer0w5 Posted December 30, 2009 Author Share Posted December 30, 2009 First of all, great tool! 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 Link to comment Share on other sites More sharing options...
Vilavek Posted December 30, 2009 Share Posted December 30, 2009 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. Link to comment Share on other sites More sharing options...
voodoo48 Posted December 30, 2009 Share Posted December 30, 2009 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... You should. People will love it. Wouldn't that delay version 1.2 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 ( ), 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... Link to comment Share on other sites More sharing options...
Rob.Zombie Posted December 30, 2009 Share Posted December 30, 2009 Yeah s for him, I'm waiting for editing music as well. Can't wait to change the irritating loading music Link to comment Share on other sites More sharing options...
Symbiote Posted December 30, 2009 Share Posted December 30, 2009 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. Link to comment Share on other sites More sharing options...
Vilavek Posted December 31, 2009 Share Posted December 31, 2009 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 Link to comment Share on other sites More sharing options...
NTAuthority Posted December 31, 2009 Share Posted December 31, 2009 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. Inactive in GTA/R* title modification indefinitely pursuant to a court order obtained by TTWO. Good job acting against modding! Link to comment Share on other sites More sharing options...
Dvt-MedShot Posted December 31, 2009 Share Posted December 31, 2009 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. Link to comment Share on other sites More sharing options...
EduardKoeleJuck Posted December 31, 2009 Share Posted December 31, 2009 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. Link to comment Share on other sites More sharing options...
Vilavek Posted January 1, 2010 Share Posted January 1, 2010 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? Link to comment Share on other sites More sharing options...
NTAuthority Posted January 1, 2010 Share Posted January 1, 2010 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! 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. 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. Inactive in GTA/R* title modification indefinitely pursuant to a court order obtained by TTWO. Good job acting against modding! Link to comment Share on other sites More sharing options...
Vilavek Posted January 1, 2010 Share Posted January 1, 2010 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! Link to comment Share on other sites More sharing options...
EduardKoeleJuck Posted January 1, 2010 Share Posted January 1, 2010 It's okay to post this here, right? Link (.wavs): http://www.gtagarage.com/mods/show.php?id=9776 Ofcourse credits to 5050gs and Vilavek. Link to comment Share on other sites More sharing options...
Vilavek Posted January 2, 2010 Share Posted January 2, 2010 Nice Glock 22 audio! 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. Link to comment Share on other sites More sharing options...
SLAYERMAGGOT Posted January 4, 2010 Share Posted January 4, 2010 Finally displayed filenames, good work Vilavek, v 1.2 will be awesome. Link to comment Share on other sites More sharing options...
EduardKoeleJuck Posted January 4, 2010 Share Posted January 4, 2010 (edited) Finally displayed filenames, good work Vilavek, v 1.2 will be awesome. Yep, I can't wait either. My 750th post! Edited January 4, 2010 by EduardKoeleJuck Link to comment Share on other sites More sharing options...
Vilavek Posted January 4, 2010 Share Posted January 4, 2010 Thanks for the support guys. 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! Link to comment Share on other sites More sharing options...
..GhosT Posted January 4, 2010 Share Posted January 4, 2010 Thanks for the support guys. 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! Can you make that the Program automaticly makes 16bit etc Link to comment Share on other sites More sharing options...
quechus13 Posted January 4, 2010 Share Posted January 4, 2010 Thanks for the support guys. 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! Can you make that the Program automaticly makes 16bit etc Just get Pro Tools or Audacity Link to comment Share on other sites More sharing options...
LosAngelesTime Posted January 4, 2010 Share Posted January 4, 2010 (edited) Good tool Edited January 6, 2010 by LosAngelesTime Link to comment Share on other sites More sharing options...
Zer0w5 Posted January 4, 2010 Author Share Posted January 4, 2010 Thanks for the support guys. 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! Can you make that the Program automaticly makes 16bit etc Just get Pro Tools or Audacity or dB Power amb music converter Goldwave optional Link to comment Share on other sites More sharing options...
..GhosT Posted January 5, 2010 Share Posted January 5, 2010 Thanks for the support guys. 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! 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? Link to comment Share on other sites More sharing options...
quechus13 Posted January 5, 2010 Share Posted January 5, 2010 Thanks for the support guys. 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! 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 Link to comment Share on other sites More sharing options...
EduardKoeleJuck Posted January 5, 2010 Share Posted January 5, 2010 Thanks for the support guys. 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! 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. Link to comment Share on other sites More sharing options...
Vilavek Posted January 5, 2010 Share Posted January 5, 2010 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!).. Link to comment Share on other sites More sharing options...
SLAYERMAGGOT Posted January 6, 2010 Share Posted January 6, 2010 Awesome, maybe you can make a v1.1.8 or 1.2 beta please Link to comment Share on other sites More sharing options...
Vilavek Posted January 6, 2010 Share Posted January 6, 2010 Awesome, maybe you can make a v1.1.8 or 1.2 beta please 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. Link to comment Share on other sites More sharing options...
..GhosT Posted January 6, 2010 Share Posted January 6, 2010 Awesome, maybe you can make a v1.1.8 or 1.2 beta please 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. LOADINGSCREENSOUNDS?!?1?!?!one!1! [email protected]!Q1q!Q1?? Link to comment Share on other sites More sharing options...
Zer0w5 Posted January 6, 2010 Author Share Posted January 6, 2010 Awesome, maybe you can make a v1.1.8 or 1.2 beta please 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. LOADINGSCREENSOUNDS?!?1?!?!one!1! [email protected]!Q1q!Q1?? Like he said he will be releasing a beta first where the filenames can be shown Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now