https://bugs.winehq.org/show_bug.cgi?id=49340
Bug ID: 49340 Summary: Splinter Cell: Pandora Tomorrow - Can't find file for package 'HXAudio' Product: Wine Version: 5.10 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: tomasz.piotr.kowalczyk@gmail.com Distribution: ---
I'm on Ubuntu 20.04, installed winehq-staging 5.10 from WINE PPA. I'm trying to play Splinter Cell: Pandora Tomorrow, the game was installed without any issue.
Unfortunately, every attempt at running pandora.exe fails with an old Windows window and the following text:
``` Can't find file for package 'HXAudio'
History: UObject::SafeLoadError <- UObject::StaticLoadClass <- UEngine::InitAudio <- UGameEngine::Init <- InitEngine ```
There is a HXAudio.dll file in the game's root directory, and when running a WINEDEBUG=+loaddll I see that WINE attempts to load it but then it is immediately unloaded:
``` 0024:trace:loaddll:load_native_dll Loaded L"C:\windows\system32\DSOUND.dll" at 0x6d5c0000: PE builtin 0024:trace:loaddll:load_native_dll Loaded L"C:\Program Files\Ubisoft\Splinter Cell Pandora Tomorrow\HXAudio.dll" at 0x24b0000: native 0024:trace:loaddll:free_modref Unloaded module L"C:\Program Files\Ubisoft\Splinter Cell Pandora Tomorrow\HXAudio.dll" : native 0024:trace:loaddll:load_native_dll Loaded L"C:\Program Files\Ubisoft\Splinter Cell Pandora Tomorrow\HXAudio.dll" at 0x24b0000: native 0024:trace:loaddll:free_modref Unloaded module L"C:\Program Files\Ubisoft\Splinter Cell Pandora Tomorrow\HXAudio.dll" : native ```
There is virtually no information about anything called "HXAudio" apart from two old forum entries [1] [2] basically stating that there is a problem, without any hint for a solution.
1: https://forums.ubisoft.com/showthread.php/261459-Game-crashes-in-startup 2: https://gathering.tweakers.net/forum/list_messages/945571
Any help would be greatly appreciated. Please let me know if you need any other information about my environment. For the reference, I also tried older WINE versions 1.5.19 and 1.9.20, with exactly the same result.
https://bugs.winehq.org/show_bug.cgi?id=49340
--- Comment #1 from Tomasz Kowalczyk tomasz.piotr.kowalczyk@gmail.com --- I ran WINEDEBUG=+all, dumped the output to file, and then grepped for "hxaudio". There are a few interesting entries - first, it correctly translates its Windows path to Linux:
53751.438:0020:0024:trace:file:nt_to_unix_file_name_internal L"\??\C:\Program Files\Ubisoft\Splinter Cell Pandora Tomorrow\HXAudio.dll" -> "$WINEPREFIX/dosdevices/c:/Program Files/Ubisoft/Splinter Cell Pandora Tomorrow/HXAudio.dll"
The load order is also correct as it can't find a builtin and loads the native one:
53751.452:0020:0024:warn:module:find_builtin_dll cannot find builtin library for L"HXAudio.dll" 53751.452:0020:0024:trace:module:load_native_dll Trying native dll L"\??\C:\Program Files\Ubisoft\Splinter Cell Pandora Tomorrow\HXAudio.dll"
Unfortunately, the library is then attached to a process (?) and that fails:
0024: load_dll( dbg_offset=0, base=02e10000, name=00dae660, dbg_size=0, filename=L"C:\Program Files\Ubisoft\Splinter Cell Pandora Tomorrow\HXAudio.dll" ) 53751.471:0020:0024:trace:snoop:SNOOP_SetupDLL hmod=0x2e10000, name=HXAudio.dll 53751.471:0020:0024:trace:loaddll:load_native_dll Loaded L"C:\Program Files\Ubisoft\Splinter Cell Pandora Tomorrow\HXAudio.dll" at 0x2e10000: native 53751.471:0020:0024:trace:module:load_dll Loaded module L"\??\C:\Program Files\Ubisoft\Splinter Cell Pandora Tomorrow\HXAudio.dll" at 0x2e10000 53751.471:0020:0024:trace:module:process_attach (L"HXAudio.dll",(nil)) - START 53751.471:0020:0024:Call PE DLL (proc=0x2e84434,module=0x2e10000 L"HXAudio.dll",reason=PROCESS_ATTACH,res=(nil)) 53751.485:0020:0024:Ret PE DLL (proc=0x2e84434,module=0x2e10000 L"HXAudio.dll",reason=PROCESS_ATTACH,res=(nil)) retval=0 53751.485:0020:0024:Call PE DLL (proc=0x2e84434,module=0x2e10000 L"HXAudio.dll",reason=PROCESS_DETACH,res=(nil)) 53751.485:0020:0024:Ret PE DLL (proc=0x2e84434,module=0x2e10000 L"HXAudio.dll",reason=PROCESS_DETACH,res=(nil)) retval=0 53751.485:0020:0024:warn:module:process_attach Initialization of L"HXAudio.dll" failed 53751.485:0020:0024:trace:module:process_attach (L"HXAudio.dll",(nil)) - END 53751.485:0020:0024:trace:module:LdrUnloadDll (L"HXAudio.dll") - START 53751.485:0020:0024:trace:module:MODULE_DecRefCount (L"HXAudio.dll") ldr.LoadCount: 0 53751.485:0020:0024:trace:module:free_modref unloading L"C:\Program Files\Ubisoft\Splinter Cell Pandora Tomorrow\HXAudio.dll"
The free_modref entry ends the interesting block, which is then repeated once again and fails the same way. Game attempts then to load various files with the same name and different extensions (.u, .umx, etc.), doesn't find any of them and concludes as per my first report.
How can I check what is the reason for this failure? Any help on how to debug it further would be appreciated. Is there any way to check whether the DLL file is intact?
https://bugs.winehq.org/show_bug.cgi?id=49340
Neko-san nekoNexus@protonmail.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nekoNexus@protonmail.ch
https://bugs.winehq.org/show_bug.cgi?id=49340
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #2 from joaopa jeremielapuree@yahoo.fr --- Doe the bug still occur with wine-9.0-rc4?
https://bugs.winehq.org/show_bug.cgi?id=49340
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de