• Hi Guest!

    We are extremely excited to announce the release of our first Beta for VaM2, the next generation of Virt-A-Mate which is currently in development.
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.

Easiest way to replace missing audio file?

bakcasa

New member
Joined
Apr 3, 2024
Messages
12
Reactions
3
Some scenes give an error that it's unable to import the audio file. Usually it's a song that I can just download myself but in the audio control there's no option to replace the file. I can load a new audio file but this doesn't automatically work with the included UI in the scene.
 
Replacing a missing audio file isn't possible, you need the actual audio file that is missing. If you have all of the dependencies of the scene and it still gives you an error, let the scene author know about that so they can fix it
 
Replacing a file is possible, it's just not useful for the creator or anyone else who is missing it. If you make any changes to a Var, don't share it, or use it as a dependency, it's only for your personal use.

The sound file should be packed with the Var. It's normally a .wav file. If you unpack the Var with the package manager and go into your Addonpackages folder, see if the file is actually there. If there is no sound file in the var, open the .json file in the saves folder of the unpacked var in a text editor. Search for ".wav", when you find it make a note of the exact file structure and name of the file. If you have the audio you want to add, make sure it is in the same file format (should be .wav) that the Var json calls for and rename it with exactly the same name. You then have to put it in exactly the same place. When you load the scene the var should find the file you added.

Here is an example. My latest scene has this line in the .json;

"url" : "SELF:/Custom/Sounds/Origin69/HLo/HLo1.wav"

If there was no Sounds folder in the unpacked var, you would need to add the Sounds,Origin69 and HLo folders and then add your renamed audio file in there. I just tested it and it does work for .wav files.
 
Back
Top Bottom