Where are the sound files for convertible roof open/close?
I have a convertible addon car which uses Surano roof animation. It's audionamehash also set as Surano. So because of Osiris car has more luxurous sound I changed it's audionamehash to Osiris. But now the problem is it doesn't play any sound while opening/closing the convertible roof
I kinda feel like if I find the sound files of it, I can import them in the sound Osiris using. I believe it's at dlcpacks\mpluxe\dlc.rpf\x64\audio\sfx\dlc_luxe\supercar_11_eur_v8.awc . However I couldn't find the sound files Surano using
If anyone knows where it's sound file located, could you please share?
Also is there a way to know the name of the sound file a vehicle using? It would make things a lot lot more easier.
The Surano uses 'sportscar_5_eur_6_cyl.awc', but I don't think you'll find convertable roof sounds in there. Just engine & exhaust.
The roof sounds are much more likely to be generic sounds stored in:
or something similar for newer dlc convertibles in a dlc perhaps (they may well all just use the same generic sound whether they are luxury cars or not, I haven't checked).
Osiris doesn't have a convertible roof, so that is why there is no sound for it.
As for finding the '.awc' engine sound a vehicle uses, you can follow this guide to do that
@a63nt-5m1th Hmm. Thank you very much. I will look at those. By the by, so let's say if I import door open and close sound of Osiris (Their hash 0x094795BE and 0x1281369B ) inside the sportscar_5_eur_6_cyl.awc file, will they also automatically play when I open and close the door of Surano or do I have to do something for it for the game to recognize those sounds as Surano's door open/close sound?
Because if I can't find the roof sound I might just take the other way and import Osiris' sounds to Surano instead.
@a63nt-5m1th I have looked vehicles.awc but it's not there unfrotunately Though I'm feeling like even if I find that sound and import it inside sportscar_5_eur_6_cyl.awc file of Osiris, it still won't play
I think I need to take the alternative route here and import Osiris sounds to Surano instead.
Update: I did that but the sounds playing extremely squeaky. I think supercar_11_eur_v8.awc doesn't belong to Osiris or maybe I messed something up
Door sound didn't change but I saw SPORTS_LUX_CLOSE, SPORTS_LUX_CLOSE2 and SPORTS_LUX_OPEN files in vehicles.awc . I think the surano using those as door open/close sounds so I will just try to replace them.
As for Osiris.. Well... I'm gonna use Codewalker to look up it's sounds and I hope I found the wrong files for it, that's what made the engine and exhaust sounds so squeaky.
I mean it should be normally ok if I just normally replace Osiris' engine accel, decel, exhaust.. ( I mean the generic ones) files with the Surano right? I'm using OpenIV's export to open formats feautre to do this. I mean it worked at police sirens but do these vehicle sounds need additonal process?
Not sure how much use this will be , but the surano uses these:
<DoorOpen>hash_2AF4E480</DoorOpen> (which ends up leading to hash_FC532620 = .wav)
<DoorClose>hash_72E962B1</DoorClose> (which ends up leading to hash_A9D4B905, hash_59158D2B & hash_84C4E489 as I believe the door closing on the Surano is a randomised sound that picks one of the three)
& the osiris uses:
<DoorOpen>osiris_door_open_wrap_master</DoorOpen> (which ends up leading to hash_694795BE = 0x094795BE.wav)
<DoorClose>osiris_door_close_wrap_master</DoorClose> (which ends up leading to hash_9281369B = 0x1281369B.wav)
but I'm not sure just yet how to find the correct '.wav' file for all the 'hash_#######''s I've found?
Some translate with the same last 7 digits (as per osiris example above), others appear not to? (probably because they have proper names like 'LUXURY_OPEN.wav' etc & would need to be hash converted one by one to see if you got the right hash, not something you want to do for hundreds of audio file names).
If you have a look in the tut I linked to above (or just below), it'll get you into the '.rel' files & from there you might be able to just use the hashes ('hash_2AF4E480' etc) to swap sounds from one vehicle to another.
Be sure to grab the latest version of CodeWalker from the Codewalker Discord as the one on this site (v.29) is 2.5 yrs out of date & will not allow you to export '.rel' files to XML.
find this in 'game.dat151.rel.xml' (once you export 'game.dat151.rel' to '.rel.xml' using Codewalker's RPF Explorer, see start of tut here for instructions):
<Item type="Vehicle" ntOffset="364338"> <Name>surano</Name> <Unk00 value="0x90004A69" /> <Engine>hash_40EA63EF</Engine> <EngineGranular>hash_8A2D8199</EngineGranular> <Horns>hash_F7725613</Horns> <DoorOpen>hash_2AF4E480</DoorOpen> <DoorClose>hash_72E962B1</DoorClose> <TrunkOpen>hash_F84DF9F0</TrunkOpen> <TrunkClose>hash_9FB423F8</TrunkClose> <Unk08>null_sound</Unk08>
& change it to this:
<Item type="Vehicle" ntOffset="364338"> <Name>surano</Name> <Unk00 value="0x90004A69" /> <Engine>hash_40EA63EF</Engine> <EngineGranular>hash_8A2D8199</EngineGranular> <Horns>hash_F7725613</Horns> <DoorOpen>osiris_door_open_wrap_master</DoorOpen> <!-- changed to the same as the osiris uses --> <DoorClose>osiris_door_close_wrap_master</DoorClose> <!-- changed to the same as the osiris uses --> <TrunkOpen>hash_F84DF9F0</TrunkOpen> <TrunkClose>hash_9FB423F8</TrunkClose> <Unk08>null_sound</Unk08>
That might work.
This post is deleted!
@a63nt-5m1th Well I'll be damned. It works Finally my BMW Z4 has sound while opening and closing the roof Thank you so so much )))))))
What did I do by the by, I opened game.dat151.rel.xml and dlcluxe_game.dat151.rel.xml and copied the stuffs one by one from Osiris to Surano. I didn't touch the UnkXX stuff though as I'm unsure what they do but I swapped the ones with hash/names. Left the ones only just with numbers. and voila, Surano has the complete Osiris sounds with roof convertible sound
I happen to saw something though which I suspect it might be the one with roof sound One of the Unk's had a hash in Surano but it was null_sound in Osiris. Maaaayybee if I let's say would copy that from Surano to Osiris roof sounds could work for Osiris as well but I was too busy to not to get confused and do something wrong among that many values and things I have never did before I was already more than half way to finish swapping the values so I just continued
Also the Osiris plays different sounds depending on you start the engine in 1st person or 3rd person. 1st person has a cool fancy beep sound before the engine starts. Feels good So I went to supercar_11_eur_v8.awc and changed the START_UP.wav with the START_UP_INTERIOR.wav too. Now they both have the beep sound at engine start Well I'm mostly driving at 1st person nowadays but it never hurts to hear that fancy beep in 3rd person as well
Now I'm very happy finally my Z4 has luxury car sound with roof sound as well Which is thanks to you very much and so much and a lot @a63nt-5m1th and of course the beep sound as well Very lovely the fancy
Nice one, good work
@a63nt-5m1th Thank you so so much )) all thanks to you :3