Post by DJLinux on Aug 31, 2011 7:40:41 GMT -5
Hello ninadeshinibida
the first error message means Basic4GL.exe (the IDE and not your program) found a FreeSound plugin but without a OGG function.
You have a old FreeSound version in your /Basic4GL folder
close Basic4GL if running and delete all 3 files from \Basic4GL\ folder
FreeSound.dll, FreeSoundPlugin.dlll and plug-mme.dll
but don't delete
drive:/basic4GL/audiere.dll
drive:/basic4GL/B4GLSound.dll
this are the sound engine of Basic4GL and should be untouched
I wrote it as first "don't extract it inside the Basic4GL folder" i know why :-)
ok, now extract a fresh version of the FreeSoundPlugin.zip file
in it's own folder on any place (you can extract it inside the /Basic4GL/ folder if you like)
e.g.
drive:/Basic4GL/
drive:/Basic4GL/Basic4gl.exe <- here is your IDE
drive:/Basic4GL/FreeSoundPlugin/ <- here is the plugin (as example)
open Basic4GL navigate to the drive:/Basic4GL/FreeSoundPlugin/ folder an open and run any *.gb test.
or use your filemanager and open any *.gb test directly from folder drive:/Basic4GL/FreeSoundPlugin/
later if you share your program as folder put the 3 *.dll's in your own folder e.g.
drive:/Basic4GL/MyGame/
or
drive:/MySuperGame/
NOTE: for all Basic4GL plugins
If you run a *.gb file inside the Basic4GL IDE and you use any plugin
the "Basic4GL.exe" (IDE) is the parent and loader of any Plugin.dll.
But if you create and run a standalone *.exe from *.gb file
the new ruinning *.exe are now the parent and loader of any plugin dll.
You know what i mean ?
ok fne :-)
The simplest rule are:
put the 3 dll's in the same folder where your *.gb or final *.exe are.
fsSetPlugPath("./")
this command will work for both situations
1) inside the IDE if you run a *.gb file (the *.ddl's must be in the same folder)
2) if you execute your final.exe (the *.ddl's must be in the same folder)
what a description
i never run in to any problem with plugins
i follow this (and only) simple rule
the rule:
put the plugin DLLs in the same folder where your project are
The Basic4GL.exe will look in it's own folder for any plugins and if it finds a old version it will load it from this place
and you get an error message about missing things.
if you have the latest version of any plugin in it's own folder all works fine.
thats all my friend
now have fun with your audio engine for free.
let me know if you run in to other problems related to the FreeSound plugin.
Joshy
the first error message means Basic4GL.exe (the IDE and not your program) found a FreeSound plugin but without a OGG function.
You have a old FreeSound version in your /Basic4GL folder
close Basic4GL if running and delete all 3 files from \Basic4GL\ folder
FreeSound.dll, FreeSoundPlugin.dlll and plug-mme.dll
but don't delete
drive:/basic4GL/audiere.dll
drive:/basic4GL/B4GLSound.dll
this are the sound engine of Basic4GL and should be untouched
I wrote it as first "don't extract it inside the Basic4GL folder" i know why :-)
ok, now extract a fresh version of the FreeSoundPlugin.zip file
in it's own folder on any place (you can extract it inside the /Basic4GL/ folder if you like)
e.g.
drive:/Basic4GL/
drive:/Basic4GL/Basic4gl.exe <- here is your IDE
drive:/Basic4GL/FreeSoundPlugin/ <- here is the plugin (as example)
open Basic4GL navigate to the drive:/Basic4GL/FreeSoundPlugin/ folder an open and run any *.gb test.
or use your filemanager and open any *.gb test directly from folder drive:/Basic4GL/FreeSoundPlugin/
later if you share your program as folder put the 3 *.dll's in your own folder e.g.
drive:/Basic4GL/MyGame/
or
drive:/MySuperGame/
NOTE: for all Basic4GL plugins
If you run a *.gb file inside the Basic4GL IDE and you use any plugin
the "Basic4GL.exe" (IDE) is the parent and loader of any Plugin.dll.
But if you create and run a standalone *.exe from *.gb file
the new ruinning *.exe are now the parent and loader of any plugin dll.
You know what i mean ?
ok fne :-)
The simplest rule are:
put the 3 dll's in the same folder where your *.gb or final *.exe are.
fsSetPlugPath("./")
this command will work for both situations
1) inside the IDE if you run a *.gb file (the *.ddl's must be in the same folder)
2) if you execute your final.exe (the *.ddl's must be in the same folder)
what a description
i never run in to any problem with plugins
i follow this (and only) simple rule
the rule:
put the plugin DLLs in the same folder where your project are
The Basic4GL.exe will look in it's own folder for any plugins and if it finds a old version it will load it from this place
and you get an error message about missing things.
if you have the latest version of any plugin in it's own folder all works fine.
thats all my friend
now have fun with your audio engine for free.
let me know if you run in to other problems related to the FreeSound plugin.
Joshy