1 registered members (1 invisible),
1,498
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
FMOD 3 Wrapper - beta test
#294498
10/19/09 14:49
10/19/09 14:49
|
Joined: Jul 2001
Posts: 6,904
HeelX
OP
Senior Expert
|
OP
Senior Expert
Joined: Jul 2001
Posts: 6,904
|
Hi folks, I promised again and again to rework the FMOD 3 wrapper for Gamestudio A7 - and it took actually a long time. Normally, for this kind of task, it shouldn't but you might know by yourself that if you have a regular life, too, things can slow down or also stop moving in the worst case. --- Now, the whole thing matured so far that I can release a beta version!FMOD 3.75 wrapper for Gamestudio A7 (beta) http://www.christian-behrenberg.de/.../A7fmod375wrapper_beta.zip The cool new wrapper features (apart of the FMOD features) are: - Wrapper DLL for the FMOD 3.75 audio engine with -all- of its features
- supports through the same interfaces both C-Script -and- Lite-C projects!
- WRS support for sample loading
In comparison to the old version the new wrapper is coded with more care, more robustness and more supported features!It was a tough decision to design an interface that works with Lite-C and C-Script and it take a long time to make it work. This involves making compliant parameterlists (e.g. heavy vector abuse for making it possible to pass more than four arguments via C-Script) or moving complex datastructures into the DLL. More information are to be found in the provided manual which includes a rich documentation of the wrapper interface, migration information and how use the wrapper exclusive A7 features. Remind that this is just a beta version. I have to add more samples for the FMUSIC API and add maybe some bugfixes - so, please report any odd or wrong behaviour to make it grow! To make usage under Lite-C more convenient I will maybe consider to work out some special compiler defines to be able to compile a Lite-C specific version that doesn't need vectors to be compatible to C-Script. Please send bug reports to my email adress with a detailed description of how to reproduce the bug(s). Maybe add a minimal testcase in which the bug arises to make it easier for me :-) Have fun and best regards, -Christian
Last edited by HeelX; 10/19/09 14:49.
|
|
|
Re: FMOD 3 Wrapper - beta test
[Re: HeelX]
#294512
10/19/09 16:25
10/19/09 16:25
|
Joined: Oct 2007
Posts: 5,210 İstanbul, Turkey
Quad
Senior Expert
|
Senior Expert
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
|
DLL doesnt get loaded in my case.(i dont see the fmod3Wrapper.dll loaded on startup screen)
is it just me or could it be that you accidentally included a debug version of dll instead of a release one? you know debug dll only loads on your pc.
3333333333
|
|
|
Re: FMOD 3 Wrapper - beta test
[Re: Quad]
#294517
10/19/09 16:50
10/19/09 16:50
|
Joined: Jul 2001
Posts: 6,904
HeelX
OP
Senior Expert
|
OP
Senior Expert
Joined: Jul 2001
Posts: 6,904
|
Make sure that you downloaded the fmod.dll from www.fmod.org and then put it together with the wrapper dll where you load your plugins from. If you wanna try one of the samples copy both files into a sample folder. Use the A7.80. Open SED and run it from there. I compiled in release mode.
Last edited by HeelX; 10/19/09 16:51.
|
|
|
Re: FMOD 3 Wrapper - beta test
[Re: HeelX]
#294519
10/19/09 16:59
10/19/09 16:59
|
Joined: Oct 2007
Posts: 5,210 İstanbul, Turkey
Quad
Senior Expert
|
Senior Expert
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
|
i was placing both ddls to acknex_plugins folder but lookslike i have to copy fmod.dll to project folder.(it works when wrapper dll both in project folder or acknex_plugins but fmod.dll has to be in project folder.)
thanks, time to check the samples.
3333333333
|
|
|
Re: FMOD 3 Wrapper - beta test
[Re: darkinferno]
#294525
10/19/09 17:23
10/19/09 17:23
|
Joined: Jul 2001
Posts: 6,904
HeelX
OP
Senior Expert
|
OP
Senior Expert
Joined: Jul 2001
Posts: 6,904
|
Good to know that it works for you :-) You can use my wrapper DLL ("fmod3Wrapper.dll") for free for any purpose with no restrictions. Just make sure that you fit the FMOD licensing because you use in fact via my dll the FMOD audio engine ("fmod.dll"). There is a big page in the manual which covers the licensing. In short: if you don't go commercial you have nothing to pay, otherwise you have and if you are an Indie you pay only a few peanuts. See here for more details directly from the fmod creators: http://www.fmod.org/index.php/salesTo summarize (again): my DLL is only a wrapper. It provides an interface to FMOD 3.75 for both C-Script and Lite-C at the same time. In fact, you can not easily integrate the FMOD audio engine into Gamestudio projects natively, therefore I wrote the DLL. So, if you use mine DLL, you use also the FMOD dll.
Last edited by HeelX; 10/19/09 17:23.
|
|
|
Re: FMOD 3 Wrapper - beta test
[Re: HeelX]
#294568
10/19/09 22:57
10/19/09 22:57
|
Joined: Oct 2002
Posts: 2,256 Oz
Locoweed
Expert
|
Expert
Joined: Oct 2002
Posts: 2,256
Oz
|
Thanks HeelX, will check it out.
Loco
Professional A8.30 Spoils of War - East Coast Games
|
|
|
Re: FMOD 3 Wrapper - beta test
[Re: Locoweed]
#294647
10/20/09 12:17
10/20/09 12:17
|
Joined: Jul 2002
Posts: 3,208 Germany
Error014
Expert
|
Expert
Joined: Jul 2002
Posts: 3,208
Germany
|
Thats a really, really great contribution, thank you! ![laugh laugh](/ubb7/images/graemlins/default_dark/laugh.gif) I unfortunately cannot get it to work on A6, which I guess is not surprising (it fails with "Empty pointer in fsoundSampleLoadStr"). I realize that A6-support is, probably, not worth your time, which for me is unfortunate, but something I definately understand. Still, many thanks! Will be helpful for the upgrade to A7, which I'm sure I'm going to get, someday.
Perhaps this post will get me points for originality at least.
Check out Dungeon Deities! It's amazing and will make you happy, successful and almost certainly more attractive! It might be true!
|
|
|
|