Registering wineasio.dll in prefix / success message but not available

Questions about Wine on Linux
Locked
släcki
Level 2
Level 2
Posts: 12
Joined: Wed Oct 19, 2022 8:29 am

Registering wineasio.dll in prefix / success message but not available

Post by släcki »

hi, i am trying (again) to get rocksmith working on fedora 37. now i document it what i did, so others can also use this (and when i reinstall fedora i can use it too :P).

i am trying to register the wineasio.dll in my wineprefix which is at /home/oli/.steam/steam/steamapps/compatdata/221680/pfx. it says registered successfully, but its not listed in the libraries combobox.
i tried wine64 regsvr32 /usr/lib64/wine/x86_64-unix/wineasio.dll and regsvr32 /usr/lib/wine/i386-unix/wineasio.dll.
i compiled the wineasio.dll myself.

anyone an idea what i have to do that the dll is listed in that combobox and available in the prefix? the prefix is 64 bit, so i tried it with the 32 bit dll (with wine regsrv32) and also with 64 bit with wine64 regsrv32 ... but in both cases, it is not listed in the combobox.

The prefix is generated by proton 5.0, i will try this now with proton 7. So not sure if it is a proton problem or a wine problem. But i use winecfg to check the libraries.

edit:
tested with a proton 7 created pfx folder, same behaviour, no wineasio.dll in the winecfg library combobox :/
släcki
Level 2
Level 2
Posts: 12
Joined: Wed Oct 19, 2022 8:29 am

Re: Registering wineasio.dll in prefix / success message but not available

Post by släcki »

there is a testing application available, that tries to load the wineasio dll and show the interface (thats it, more or less). when i run this, i get:

[oli@DESKTOP-E83VF5L peinfo-master]$ wine /home/oli/Downloads/ASIOSigGen/ASIOSigGen.exe
002c:fixme:winediag:LdrInitializeThunk wine-staging 7.12 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
0100:err:ole:apartment_add_dll couldn't load in-process dll L"wineasio.dll"
0100:err:ole:com_get_class_object no class object {48d0c522-bfcc-45cc-8b84-17f25f33e6e8} could be created for context 0x1
0100:fixme:imm:ImeSetActiveContext (00A29C20, 1): stub
0100:fixme:imm:ImmReleaseContext (000100CC, 00A29C20): stub
0070:fixme:imm:ImeSetActiveContext (00000000003570D0, 0): stub
0070:fixme:imm:ImmReleaseContext (0000000000010020, 00000000003570D0): stub
0100:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFA, 008FFEAC

should regsvr32 copy the .dll from /usr/lib/... into my prefix, so it is accessible? or do i have to do this manually?
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Registering wineasio.dll in prefix / success message but not available

Post by jkfloris »

Wineasio is not part of Wine, so I think you can get more help at https://github.com/wineasio/wineasio/issues

If I read issue 24, it may help to copy the dll files into the wineprefix.
släcki
Level 2
Level 2
Posts: 12
Joined: Wed Oct 19, 2022 8:29 am

Re: Registering wineasio.dll in prefix / success message but not available

Post by släcki »

So this is not a wine but a wineasio problem? Just curious why it says: registered successfully, but then is not in the prefix nor in the winecfg available
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Registering wineasio.dll in prefix / success message but not available

Post by jkfloris »

If I am right, regsvr32 ensures that the dll files are known by the registry. To also copy the dll files to the prefix, you can update the prefix with wineboot -u.
släcki
Level 2
Level 2
Posts: 12
Joined: Wed Oct 19, 2022 8:29 am

Re: Registering wineasio.dll in prefix / success message but not available

Post by släcki »

when running wineboot -u i get tons of errors and the wineasio.dll is not copied

0130:err:setupapi:create_dest_file failed to create L"C:\\windows\\system32\\xcopy.exe" (error=80)
0130:err:setupapi:create_dest_file failed to create L"C:\\windows\\system32\\xmllite.dll" (error=80)
0130:err:setupapi:create_dest_file failed to create L"C:\\windows\\system32\\xolehlp.dll" (error=80)
0130:err:setupapi:create_dest_file failed to create L"C:\\windows\\system32\\xpsprint.dll" (error=80)
0130:err:setupapi:create_dest_file failed to create L"C:\\windows\\system32\\xpssvcs.dll" (error=80)
wine: configuration in L"/home/oli/.steam/steam/steamapps/compatdata/221680/pfx" has been updated.

when i manually copy the wineasio.dll into the system folder, the game starts but then it fails, so i assumed this is because maybe i registered the file incorrectly. can this be the case or is it more probable that the error is in the wineasio.dll implementation?
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Registering wineasio.dll in prefix / success message but not available

Post by jkfloris »

Did you also copy wineasio.dll.so and wineasio.dll to "$PROTON/lib/wine/i386-unix|windows/" and "$PROTON/lib64/wine/x86_64-unix|windows"? Otherwise, Proton can't find the files.

On theNizo's Github page there are several tutorials available to get wineasio working with Proton.
https://github.com/theNizo/linux_rocksmith/
släcki
Level 2
Level 2
Posts: 12
Joined: Wed Oct 19, 2022 8:29 am

Re: Registering wineasio.dll in prefix / success message but not available

Post by släcki »

Yes i copied those files.
I know theNizos repo, and in the issue tracker i posted my problem too. And because there were open questions, i asked here ;)

They are in:
/home/oli/.steam/steam/steamapps/common/Proton 7.0/dist/lib/wine/i386-unix
148b212891ef9f78b4b94a4fce31879b wineasio.dll
b6a76e825320b610479a87901775743d wineasio.dll.so
[oli@DESKTOP-E83VF5L ~]$ cd $WINEPREFIX
[oli@DESKTOP-E83VF5L pfx]$ find . -name wineasio.dll
./drive_c/windows/system/wineasio.dll
./drive_c/windows/system32/wineasio.dll
[oli@DESKTOP-E83VF5L pfx]$ find . -name wineasio.dll.so
./drive_c/windows/system/wineasio.dll.so
./drive_c/windows/system32/wineasio.dll.so
[oli@DESKTOP-E83VF5L pfx]$ pwd
/home/oli/.steam/steam/steamapps/compatdata/221680/pfx

i copied them to system and system32 as i have no idea whats the correct location of those, but it still does not work and i am not sure if this is a wine problem or a wineasio.dll problem. any idea how to figure that out?
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Registering wineasio.dll in prefix / success message but not available

Post by jkfloris »

i copied them to system and system32 as i have no idea whats the correct location of those
The 32-bit version should be in drive_c/windows/syswow64
The 64-bit version belongs in drive_c/windows/system32
släcki
Level 2
Level 2
Posts: 12
Joined: Wed Oct 19, 2022 8:29 am

Re: Registering wineasio.dll in prefix / success message but not available

Post by släcki »

Oh thats good to know ;)
I fixed that and copied the 32 bit .dll/.so into syswow64 and the 64 bit to system32
again the same behaviour.
släcki
Level 2
Level 2
Posts: 12
Joined: Wed Oct 19, 2022 8:29 am

Re: Registering wineasio.dll in prefix / success message but not available

Post by släcki »

I was able to compile it, i had some messed up settings (e.g. parts of wine where installed from fedora, parts from winehq, etc.). Now it worked to compile!
Locked