# Create renamed duplicates of FMOD studio events folder "template" from list of names

**URL:** <https://qa.fmod.com/t/create-renamed-duplicates-of-fmod-studio-events-folder-template-from-list-of-names/20511>\
**Category:** FMOD Studio\
**Created:** [August 8, 2023, 9:47am UTC](https://qa.fmod.com/t/create-renamed-duplicates-of-fmod-studio-events-folder-template-from-list-of-names/20511 "2023-08-08T09:47:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dada\_da](https://avatars.discourse-cdn.com/v4/letter/d/ce73a5/32.png) [@dada\_da](https://qa.fmod.com/u/dada_da)\
**Post date:** [August 8, 2023, 9:47am UTC](https://qa.fmod.com/t/create-renamed-duplicates-of-fmod-studio-events-folder-template-from-list-of-names/20511/1 "2023-08-08T09:47:01Z")

</div>

Hi,  
I have a Unity game with many characters, that all share the same event/ structure within FMOD studio but have different names and sometimes different sound assets within the events.

Each character is:  
-A folder named like the character  
-within the folder a “body” event for body impacts with a parameter, a “cloth” event with a parameter.

I have a list of 40 characters. My manual process would be to duplicate the folder within FMOD and manually rename it to each character of my list. If I wanted to automate this process based on a text file with character names, how would I approach that?

Any pointer on potential ways to do this would be amazing!

---

<div class="post-metadata">

**Author:** ![Leah\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/leah_fmod/32/3685_2.png) [@Leah\_FMOD](https://qa.fmod.com/u/Leah_FMOD)\
**Post date:** [August 9, 2023, 1:45am UTC](https://qa.fmod.com/t/create-renamed-duplicates-of-fmod-studio-events-folder-template-from-list-of-names/20511/2 "2023-08-09T01:45:45Z")

</div>

Hi David,

This should be possible with [Scripting](https://www.fmod.com/docs/2.02/studio/scripting-terminal-reference.html) using the [Studio Scripting API](https://www.fmod.com/docs/2.02/studio/scripting-api-reference.html) - duplicating and renaming folders/event should be fairly simple, but replacing specific assets based on a text file is considerably more complex. That said, I should be able to write something simple up for you or otherwise outline the process of how the script would function. Just to clarify:

- Is the only difference in folder structure (besides potential differences in event behavior) for a given character the topmost folder’s name? i.e. all events and subfolders are identically named across characters? An example or screenshot of the event folder naming and structure would be helpful.
- What version of FMOD Studio are you using?
