I want to generate Keys.txt right before building soundbanks is it possible with scripting api?

My filenames quite unique and I want to just generate keys.txt files instead of manually filling them. But looks like I can’t use “fs” in FMOD studio scripts is it possible to run external js script before building banks in FMOD studio or somehow use “fs”. I understand why by design its made like this security and bla bla. But I want to provide sound designers/narrative coworkers fast experience when they just run “build banks” in FMOD studio → keys.txt generated → soundbanks builded → profit! Without switching to explorer clicking on same script to just generate “keys.txt” file(s)

I understand that if I use CI/CD i can just run generate-keys.js and than build soundbanks using CLI. But I need good experience for humans)0)

Hi,

Unfortunately, this is not possible the with the current implementation of the FMOD studio scripting. An option may be creating an external script which would have access to the file system to also build the banks for you as well:

"C:\Program Files\FMOD SoundSystem\FMOD Studio 2.03.09\fmodstudiocl.exe" Examples.fspro -build

Hope this helps