Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (1 invisible), 1,498 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19054 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 5 1 2 3 4 5
FMOD 3 Wrapper - beta test #294498
10/19/09 14:49
10/19/09 14:49
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline OP
Senior Expert
HeelX  Offline OP
Senior Expert
H

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 Offline
Senior Expert
Quad  Offline
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
H
HeelX Offline OP
Senior Expert
HeelX  Offline OP
Senior Expert
H

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 Offline
Senior Expert
Quad  Offline
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: Quad] #294523
10/19/09 17:17
10/19/09 17:17
Joined: May 2009
Posts: 1,816
at my pc (duh)
darkinferno Offline
Serious User
darkinferno  Offline
Serious User

Joined: May 2009
Posts: 1,816
at my pc (duh)
i was reading something and am not entirely sure if i remember correctly, but is this dll free for commercial projects?

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
H
HeelX Offline OP
Senior Expert
HeelX  Offline OP
Senior Expert
H

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/sales

To 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
L
Locoweed Offline
Expert
Locoweed  Offline
Expert
L

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 Offline
Expert
Error014  Offline
Expert

Joined: Jul 2002
Posts: 3,208
Germany
Thats a really, really great contribution, thank you! laugh


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!
Re: FMOD 3 Wrapper - beta test [Re: Error014] #294663
10/20/09 13:55
10/20/09 13:55
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline OP
Senior Expert
HeelX  Offline OP
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
When I find the time, I'll try to compile with the latest A6 SDK, maybe it works... :-)

Re: FMOD 3 Wrapper - beta test [Re: HeelX] #294690
10/20/09 16:23
10/20/09 16:23
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline OP
Senior Expert
HeelX  Offline OP
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Ah, wrong forum. Maybe by this more people get attracted to this...

Page 1 of 5 1 2 3 4 5

Moderated by  aztec, Blink, HeelX 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1