# Trouble using loadBankFile

**URL:** <https://qa.fmod.com/t/trouble-using-loadbankfile/11303>\
**Category:** FMOD Studio\
**Created:** [February 22, 2014, 1:18am UTC](https://qa.fmod.com/t/trouble-using-loadbankfile/11303 "2014-02-22T01:18:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![D\_L](https://avatars.discourse-cdn.com/v4/letter/d/35a633/32.png) [@D\_L](https://qa.fmod.com/u/D_L)\
**Post date:** [February 22, 2014, 1:18am UTC](https://qa.fmod.com/t/trouble-using-loadbankfile/11303/1 "2014-02-22T01:18:42Z")

</div>

I’m coding using FMOD and my sound designer gave me the .bank files. I just can’t figure out from the example code how I’m supposed to find the file to load.

I’m using Cocos2dx so I’m working with c++.

I’m super new to FMOD so sorry if this is a stupid question.

---

<div class="post-metadata">

**Author:** ![Guest](https://avatars.discourse-cdn.com/v4/letter/g/8dc957/32.png) [@Guest](https://qa.fmod.com/u/Guest)\
**Post date:** [April 9, 2014, 6:21am UTC](https://qa.fmod.com/t/trouble-using-loadbankfile/11303/2 "2014-04-09T06:21:04Z")

</div>

You should be able to just pass the path of your bank file to System::loadBankFile(). If that doesn’t work, can you give us some more details on your situation? Perhaps I’m missing something.

---

<div class="post-metadata">

**Author:** ![Kenken0615](https://avatars.discourse-cdn.com/v4/letter/k/e36b37/32.png) [@Kenken0615](https://qa.fmod.com/u/Kenken0615)\
**Post date:** [May 10, 2024, 2:47am UTC](https://qa.fmod.com/t/trouble-using-loadbankfile/11303/3 "2024-05-10T02:47:28Z")

</div>

Doesn’t work for me as well, have you found something?  
What i have done is:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/d/d4461f7a03cc56db0ebb29f76f3f5bd3791b65eb.png)  
But still get event not found error…

---

<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:** [May 16, 2024, 1:24am UTC](https://qa.fmod.com/t/trouble-using-loadbankfile/11303/4 "2024-05-16T01:24:24Z")

</div>

> [@Kenken0615](#):
>
> Doesn’t work for me as well, have you found something?  
> What i have done is:
> 
> […]
> 
> But still get event not found error…

I would recommend doing a couple of things:

- Wrap your `loadBankFile()` and `getPath()` calls in `Debug.Log()` to see which [`FMOD_RESULT`](https://www.fmod.com/docs/2.02/api/core-api-common.html#fmod_result) is returned for each call
- Use [`Debug_Initialize()`](https://www.fmod.com/docs/2.02/api/core-api-common.html#debug_initialize) with the logging version of the FMOD libs and the [`FMOD_DEBUG_LEVEL_LOG`](https://www.fmod.com/docs/2.02/api/core-api-common.html#fmod_debug_level_log) flag to see whether FMOD logs any warnings or additional information

If the extra `Debug.Log()` calls or debug logging reveal any additional information, could I get you to post them here? Could I also get your FMOD version?
