Re: [Factor-talk] Could not initialize OpenAL

2016-09-19 Thread John Benediktsson
I found the bang.wav in an old git commit (somehow it went missing when
jamshred moved to unmaintained and back).  I re-added it if you update you
can try again if you want.

Best,
John.

On Sat, Sep 17, 2016 at 11:24 AM, Alexander Ilin  wrote:

> Hello, Björn!
>
> 15.09.2016, 01:40, "Björn Lindqvist" :
>
> I don't know about jamshred, but you can run play-hello and if OpenAL
> works it should say "Hello world".
>
>
> Apparently, there is a file missing. Jamshred expects to open a file named
> extra/jamshred/sound/bang.wav, which isn't there.
> play-hello does work with the soft_oal.dll renamed to openal32.dll. Thank
> you for the link to that!
>
> You can find the ROMs for BalloonBomber and other games here:
>
> Thank you, I'll give it a try!
>
> ---=---
> Александр
>
>
> 
> --
>
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
>
--
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Could not initialize OpenAL

2016-09-17 Thread Alexander Ilin
Hello, Björn! 15.09.2016, 01:40, "Björn Lindqvist" :I don't know about jamshred, but you can run play-hello and if OpenAL works it should say "Hello world". Apparently, there is a file missing. Jamshred expects to open a file named extra/jamshred/sound/bang.wav, which isn't there.play-hello does work with the soft_oal.dll renamed to openal32.dll. Thank you for the link to that!You can find the ROMs for BalloonBomber and other games here:Thank you, I'll give it a try! ---=---Александр 

--
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Could not initialize OpenAL

2016-09-14 Thread Björn Lindqvist
2016-09-14 23:53 GMT+02:00 Alexander Ilin :
> Hello!
>
> 15.09.2016, 00:16, "Björn Lindqvist" :
>
>
>
> But you can download soft_oal.dll from the OpenAL soft package:
> http://kcat.strangesoft.net/openal-binaries/ Rename that file to
> OpenAL32.dll and put it in the same directory as factor.exe and the
> alut.dll file. Then it works for me. I think that means you only get
> "software" audio without hardware support so no 3d audio or any fancy
> features like that. But who cares. :) I don't think many sound cards
> supports OpenAL any way.
>
>
> Wow, it did work. I was able to run the "jamshred" demo. Thank you, Björn!
> Interestingly, I didn't hear any sound from that thing. Maybe it doesn't use
> alut after its initialization? : )
>
> The Space Invaders and the Balloon Bomber say they need the ROM files.
> Does anyone know where do I get those?

I don't know about jamshred, but you can run play-hello and if OpenAL
works it should say "Hello world". You can find the ROMs for Balloon
Bomber and other games here:

http://www.emuparadise.me/M.A.M.E._-_Multiple_Arcade_Machine_Emulator_ROMs/Balloon_Bomber/11301-download

(download at your own risk ;))

Then unzip to something like "C:/code/tmp/ballbomb" and set rom-root:
"C:/code/tmp/" rom-root set-global Then you can call run-balloon. On
Windows something is off with the timers so the cpu runs to fast which
makes the game unplayable. But it works well on Linux.


-- 
mvh/best regards Björn Lindqvist

--
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Could not initialize OpenAL

2016-09-14 Thread Alexander Ilin
Hello! 15.09.2016, 00:16, "Björn Lindqvist" : But you can download soft_oal.dll from the OpenAL soft package:http://kcat.strangesoft.net/openal-binaries/ Rename that file toOpenAL32.dll and put it in the same directory as factor.exe and thealut.dll file. Then it works for me. I think that means you only get"software" audio without hardware support so no 3d audio or any fancyfeatures like that. But who cares. :) I don't think many sound cardssupports OpenAL any way. Wow, it did work. I was able to run the "jamshred" demo. Thank you, Björn!Interestingly, I didn't hear any sound from that thing. Maybe it doesn't use alut after its initialization? : ) The Space Invaders and the Balloon Bomber say they need the ROM files.Does anyone know where do I get those? ---=---Александр --
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Could not initialize OpenAL

2016-09-14 Thread Björn Lindqvist
2016-09-14 18:32 GMT+02:00 Alexander Ilin :
> Hello!
>
> 14.09.2016, 17:04, "Björn Lindqvist" :
>
> f f alutInit drop alutGetError alutGetErrorString
>
> And see what error message you get.
>
>
> "There was an error opening the ALC device"
>
> I'm not on Win10, but rather Win8 Pro 64-bit.

It appears it works something like this: OpenAL32.dll is the public
API, but not the whole OpenAL implementation. Exactly like OpenGL
works. Having the OpenGL dll is not enough, you also need drivers
installed to support it which neither you nor I have.

But you can download soft_oal.dll from the OpenAL soft package:
http://kcat.strangesoft.net/openal-binaries/ Rename that file to
OpenAL32.dll and put it in the same directory as factor.exe and the
alut.dll file. Then it works for me. I think that means you only get
"software" audio without hardware support so no 3d audio or any fancy
features like that. But who cares. :) I don't think many sound cards
supports OpenAL any way.


-- 
mvh/best regards Björn Lindqvist

--
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Could not initialize OpenAL

2016-09-14 Thread John Benediktsson
Maybe you could find a different source for an OpenAL32.dll that works and
then we could figure out what's different.



On Wed, Sep 14, 2016 at 9:32 AM, Alexander Ilin  wrote:

> Hello!
>
> 14.09.2016, 17:04, "Björn Lindqvist" :
>
>
>
> f f alutInit drop alutGetError alutGetErrorString
>
> And see what error message you get.
>
>
> "There was an error opening the ALC device"
>
> I'm not on Win10, but rather Win8 Pro 64-bit.
>
>
>
> ---=---
> Александр
>
>
> 
> --
>
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
>
--
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Could not initialize OpenAL

2016-09-14 Thread Alexander Ilin
Hello! 14.09.2016, 17:04, "Björn Lindqvist" : f f alutInit drop alutGetError alutGetErrorStringAnd see what error message you get. "There was an error opening the ALC device" I'm not on Win10, but rather Win8 Pro 64-bit. ---=---Александр 

--
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Could not initialize OpenAL

2016-09-14 Thread Björn Lindqvist
2016-09-12 8:32 GMT+02:00 Alexander Ilin :
> Win 8x64, Factor 32-bit.
>
> I'm trying to run some demos, and they say I need alut.dll and openal32.dll,
> both of which I've downloaded and placed in the Factor.exe folder.

It actually is the OpenAL32.dll with the special casing you need.
That's the name alut.dll and the alut vocab references. It might not
matter because Windows' filesystem is case-insensitive.


> When I click some of the buttons on the `"demos" run` page I see some
> modules loading, and then "Could not initialize OpenAL" with the Abort
> option.
> Is it just me, or do some other people have the same issue?

I also have it. It could be that the OpenAL version in the dlls aren't
compatible with the sound system in Windows 10. I think Windows and
OpenAL has always been a bit of trouble. You can try:

f f alutInit drop alutGetError alutGetErrorString

And see what error message you get.


-- 
mvh/best regards Björn Lindqvist

--
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Could not initialize OpenAL

2016-09-12 Thread Jon Harper
Openal works for me on Ubuntu 14.04

Le 12 sept. 2016 08:32, "Alexander Ilin"  a écrit :

Hello!

Win 8x64, Factor 32-bit.

I'm trying to run some demos, and they say I need alut.dll and
openal32.dll, both of which I've downloaded and placed in the Factor.exe
folder.

When I click some of the buttons on the `"demos" run` page I see some
modules loading, and then "Could not initialize OpenAL" with the Abort
option.
Is it just me, or do some other people have the same issue?

The demos that fail are: balloon-bomber, jamshred, space-invaders.

---=---
Александр



--

___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk
--
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


[Factor-talk] Could not initialize OpenAL

2016-09-12 Thread Alexander Ilin
Hello! Win 8x64, Factor 32-bit. I'm trying to run some demos, and they say I need alut.dll and openal32.dll, both of which I've downloaded and placed in the Factor.exe folder. When I click some of the buttons on the `"demos" run` page I see some modules loading, and then "Could not initialize OpenAL" with the Abort option.Is it just me, or do some other people have the same issue? The demos that fail are: balloon-bomber, jamshred, space-invaders. ---=---Александр 

--
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk