drarem Posted July 15, 2015 Share Posted July 15, 2015 One user reports an issue with this stand alone. "The program can't start because OpenAL32.dll is missing from your computer. Try reinstalling the program to fix this problem" Machine is Win 8.1 x64 if that makes any difference Quote Link to comment Share on other sites More sharing options...
shadmar Posted July 15, 2015 Share Posted July 15, 2015 OpenAL is required to run anything Leadwerks made. There should be an installer in the utilties folder : oalinst.exe Quote HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB Link to comment Share on other sites More sharing options...
Josh Posted July 15, 2015 Share Posted July 15, 2015 If you use Innosetup to make the installer, you can package OpenAL and make it run silently in the install process. If you use the game launcher then this is already installed automatically. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
tjheldna Posted July 15, 2015 Share Posted July 15, 2015 I recon I did the code to make that happen in inno a while back. I'll see if I can dig it up. Quote Link to comment Share on other sites More sharing options...
drarem Posted July 16, 2015 Author Share Posted July 16, 2015 that would be great, thanks. Quote Link to comment Share on other sites More sharing options...
tjheldna Posted July 17, 2015 Share Posted July 17, 2015 It was hard to track down but I found it!!! I did this years ago so you will need to test it and you will need to bundle the oalinst.exe in your application as the script suggests. [code] var OpenALFound: Boolean; function CheckOpenAL(): Boolean; begin if (FileExists('c:\Windows\System32\OpenAL32.dll')) then begin MsgBox('OpenAL detected. OpenAL installation skipped', mbInformation, MB_OK); OpenALFound := True; end; if (not OpenALFound) then begin MsgBox('OpenAL not detected. Click OK to install OpenAL', mbInformation, MB_OK); OpenALFound := False; end; Result := OpenALFound; end; [Run] Filename: "{app}\oalinst.exe"; StatusMsg: "Installing OpenAL"; Check: Not CheckOpenAL(); 2 Quote Link to comment Share on other sites More sharing options...
reepblue Posted July 18, 2015 Share Posted July 18, 2015 Thanks man, really helpful. 1 Quote Cyclone - Ultra Game System - Component Preprocessor - Tex2TGA - Darkness Awaits Template (Leadwerks) If you like my work, consider supporting me on Patreon! Link to comment Share on other sites More sharing options...
drarem Posted July 19, 2015 Author Share Posted July 19, 2015 how would i bundle it? Because we are just putting the executables into steam folders and publishing to steam in that way. Quote Link to comment Share on other sites More sharing options...
reepblue Posted July 20, 2015 Share Posted July 20, 2015 how would i bundle it? Because we are just putting the executables into steam folders and publishing to steam in that way. If it's Steam, and you have your own SteamappID, then don't use Innosetup. Setup Steamworks to install OpenAL. I'd first copy the _CommonRedist from the Leadwerks Game Engine folder and see if Steam will automatically install it. You can also PM Josh for help since he does this for the engine/game launcher. I just have basic Steamworks experience with Source; which does not need any extra software to run. Quote Cyclone - Ultra Game System - Component Preprocessor - Tex2TGA - Darkness Awaits Template (Leadwerks) If you like my work, consider supporting me on Patreon! Link to comment Share on other sites More sharing options...
Josh Posted July 29, 2015 Share Posted July 29, 2015 The Steamworks interface has an option to automatically install OpenAL. You don't even need to bundle it, just check the checkbox. It's under Installation > Installers. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.