Openal32.dll Confusion

Discussion in 'Technical Reports' started by torfmeister, Feb 15, 2022.

  1. torfmeister

    torfmeister Guest

    I'm a little confused.

    Train Simulator comes with OpenAL32.dll and OpenAL64.dll in the main folder. Both about 2 megs.

    In Install\OpenAL there's 2 versions of the OpenAL32.dll, one for 32bit and one for 64bit. Both only 400K.

    So initially we have four versions.

    Question 1: Is the SetupAudio.bat still needed? If I start it it replaces the OpenAL32.dll (2MB) with one of the 400K versions. The 2MB OpenAL32.dll is then gone forever.

    Question 2: It seems this is only for running the 32-bit Railworks.exe on 64-bit Windows? Because the SetupAudio.bat does not touch the OpenAL64.dll in the main folder.

    Question 3: Is it advisable to update them via OpenAL.org updates? Or are they specifically compiled for Train Simulator?

    Can somebody clear that up?

    2022-02-15 20_53_02-RailWorks Content (Depot 24009).png
     
    Last edited by a moderator: Feb 15, 2022
  2. Peter Hayes

    Peter Hayes Well-Known Member

    Joined:
    Dec 9, 2016
    Messages:
    814
    Likes Received:
    328
    Torf
    It is very confusing - this an explanation from DTG:
    OpenAL explanation from DTG when I asked about why the 64-bitversion appeared to have the same name as the 32-bit version, and I found that the GBRJ versions were more logically named.
    I wrote this:
    the reply

    Since then I have used the GBRJ versions in TS20XX - no issues.
     
  3. torfmeister

    torfmeister Guest

    Thanks Peter, that was not exactly what I meant.

    I know the thing about the 32/64 bit dlls having the same name. The SetupAudio.bat was introduced as a hotfix because there were audio issues after TS 64-bit was introduced.

    Now TS is shipped with two updated separate OpenAL.dlls in the main folder. One for 64bit and one for 32bit. I would reckon the SetupAudio.bat is obsolete and possibly dangerous because running it your default 2MB OpenAL32.dll from 2020 will be permanently overwritten with either one of the two 400k *32.dlls from 2018.

    Not that I'm having issues, I'm just trying to rule out possible complications, and I take it if you run 64-bit only (like I do), TS will use the Railworks\OpenAL64.dll anyway.

    I just checked in GBRJ the 408K OpenAL32.dll (2018) was renamed to OpenAL64.dll. (not the same as the current one distributed with TS)
     
    Last edited by a moderator: Feb 15, 2022
  4. Peter Hayes

    Peter Hayes Well-Known Member

    Joined:
    Dec 9, 2016
    Messages:
    814
    Likes Received:
    328
    Torf
    Yes!
     
  5. torfmeister

    torfmeister Guest

    Pete
    Thanks! ;)
     

Share This Page