Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411613 Posts in 69390 Topics- by 58447 Members - Latest Member: sinsofsven

May 09, 2024, 03:59:06 PM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsDeveloperTechnical (Moderator: ThemsAllTook)Distributing OpenAL on windows
Pages: [1]
Print
Author Topic: Distributing OpenAL on windows  (Read 4282 times)
Ivan
Owl Country
Level 10
*


alright, let's see what we can see


View Profile
« on: November 16, 2009, 01:06:44 PM »

Has anyone ever managed to link OpenAL on windows so that it doesnt require an installer? Is it even possible?
Logged

http://polycode.org/ - Free, cross-platform, open-source engine.
Glaiel-Gamer
Guest
« Reply #1 on: November 16, 2009, 01:28:15 PM »

I think you aren't allowed to distribute the dll and need to distribute oalinst.exe instead

I have a launcher script that runs the installer for you if necessary, but its ugly and i'll probably wrap the game up in one regular installer instead when its ready.
Logged
Ivan
Owl Country
Level 10
*


alright, let's see what we can see


View Profile
« Reply #2 on: November 16, 2009, 01:29:33 PM »

Hmm.. I just found that blender uses openal and it doesn't require installation. I downloaded blender in a zip and there it has the two openAL dlls just sitting there.
Logged

http://polycode.org/ - Free, cross-platform, open-source engine.
Draknek
Level 6
*


"Alan Hazelden" for short


View Profile WWW
« Reply #3 on: November 16, 2009, 02:14:09 PM »

I have done this before and it seemed to work: http://www.draknek.org/games/cavein/cavein.zip (excuse the crappy game)

I think (can't remember too well) the openal32.dll included there may be different to the one installed by the redistributable installer. But I can't remember how I discovered this or where I found the version I ended up using.

BUT I wouldn't be confident that it will work on all computers. I didn't get any reports of it not working, but only a very small group of people ever tested it.
Logged

BorisTheBrave
Level 10
*****


View Profile WWW
« Reply #4 on: November 16, 2009, 02:44:06 PM »

I think you aren't allowed to distribute the dll and need to distribute oalinst.exe instead

I have a launcher script that runs the installer for you if necessary, but its ugly and i'll probably wrap the game up in one regular installer instead when its ready.
I'm intrigued by this. It seems rather useless as a library if this is really a requirement. Is it possible you've misunderstood?
Logged
Glaiel-Gamer
Guest
« Reply #5 on: November 16, 2009, 02:47:46 PM »

I think you aren't allowed to distribute the dll and need to distribute oalinst.exe instead

I have a launcher script that runs the installer for you if necessary, but its ugly and i'll probably wrap the game up in one regular installer instead when its ready.
I'm intrigued by this. It seems rather useless as a library if this is really a requirement. Is it possible you've misunderstood?

i guess i'm somewhat mistaken

http://opensource.creative.com/pipermail/openal/2003-November/006979.html
Logged
Ivan
Owl Country
Level 10
*


alright, let's see what we can see


View Profile
« Reply #6 on: November 16, 2009, 05:35:34 PM »

I still don't get it... It's #3? How do you set that up?
Logged

http://polycode.org/ - Free, cross-platform, open-source engine.
badboy666
TIGBaby
*


View Profile
« Reply #7 on: December 14, 2009, 02:26:34 PM »

Try to copy the following files into the directory of the exe-file:

OpenAL32.dll (from "%windir%\system32" after "oalinst.exe" was run)
wrap_oal.dll (from "%windir%\system32" after "oalinst.exe" was run)
alut.dll (from http://connect.creativelabs.com/openal/Downloads/ALUT/freealut-1.1.0-bin.zip)

I'm not quite sure if this solution works for you. I only tested it under XP using VirtualBox with XP, so this might cause problems with other OS.
Cheers  Wink
« Last Edit: December 14, 2009, 02:31:15 PM by badboy666 » Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic