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


[Factor-talk] Reload Failure

2016-09-14 Thread Alexander Ilin
Hello! Being on the top of the master branch, when I try to reload all vocabs (F2) I get the following long error: ```resource:basis/compiler/cfg/cfg.factor 3: USING: accessors compiler.cfg.stack-frame kernel layouts math    ^resource:basis/compiler/cfg/stack-frame/stack-frame-docs.factor 1: USING: compiler.cfg.instructions cpu.x86 help.markup help.syntax layouts math ;   ^resource:basis/compiler/cfg/instructions/instructions-docs.factor 1: USING: alien arrays assocs byte-arrays classes combinators2: compiler.cfg compiler.cfg.builder compiler.cfg.intrinsics.fixnum    ^resource:basis/compiler/cfg/builder/builder.factor 3: USING: accessors arrays assocs combinators compiler.cfg4: compiler.cfg.builder.blocks compiler.cfg.comparisons compiler.cfg.hats  ^resource:basis/compiler/cfg/builder/blocks/blocks.factor 3: USING: accessors arrays compiler.cfg compiler.cfg.instructions4: compiler.cfg.registers compiler.cfg.stacks.local   ^resource:basis/compiler/cfg/stacks/local/local.factor 3: USING: accessors arrays assocs combinators compiler.cfg.instructions5: make math math.order namespaces sequences sets ; ^Generic word scrub-d<< does not define a method for the gc-map class.Dispatching on object: T{ gc-map f f f }``` Can someone tell me what's the latest commit where the reload command works? ---=---Александр --
___
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


[Factor-talk] Test (Disregard)

2016-09-14 Thread Dave Carlton

--
___
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 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