http://bugs.winehq.org/show_bug.cgi?id=58156
--- Comment #5 from ToastyBug cemer99797@isorax.com --- (In reply to Rafał Mużyło from comment #3)
Anything interesting in console output if you set WINEDEBUG to ''module' ?
Yes, this is from wine-devel 10.6, ran with the command:
cd "/Users/toastybug/Downloads/Jedi Knight Demo" Jedi Knight Demo % WINEDEBUG=module wine JKDEMO.EXE -windowgui
Here are all the lines referencing smackw32.DLL:
01c4:trace:module:load_dll looking for L"smackw32.DLL" in (null) 01c4:trace:module:get_load_order looking for L"Z:\Users\toastybug\Downloads\Jedi Knight Demo\smackw32.DLL" 01c4:trace:module:get_load_order got hardcoded default for L"Z:\Users\toastybug\Downloads\Jedi Knight Demo\smackw32.DLL" 01c4:warn:module:find_builtin_dll cannot find builtin library for L"\??\Z:\Users\toastybug\Downloads\Jedi Knight Demo\smackw32.DLL" 01c4:trace:module:map_image_into_view mapping PE file L"\??\Z:\Users\toastybug\Downloads\Jedi Knight Demo\smackw32.DLL" at 0x280000-0x296000 01c4:trace:module:map_image_into_view mapping L"\??\Z:\Users\toastybug\Downloads\Jedi Knight Demo\smackw32.DLL" section BEGTEXT at 0x281000 off 400 size d800 virt 0 flags 60000020 01c4:trace:module:map_image_into_view clearing 0x28e800 - 0x28f000 01c4:trace:module:map_image_into_view mapping L"\??\Z:\Users\toastybug\Downloads\Jedi Knight Demo\smackw32.DLL" section DGROUP at 0x28f000 off dc00 size 1400 virt 0 flags c0000040 01c4:trace:module:map_image_into_view clearing 0x290400 - 0x291000 01c4:trace:module:map_image_into_view mapping L"\??\Z:\Users\toastybug\Downloads\Jedi Knight Demo\smackw32.DLL" section .bss at 0x291000 off 0 size c00 virt 0 flags c0000080 01c4:trace:module:map_image_into_view mapping L"\??\Z:\Users\toastybug\Downloads\Jedi Knight Demo\smackw32.DLL" section .idata at 0x292000 off f000 size c00 virt 0 flags c0000040 01c4:trace:module:map_image_into_view clearing 0x292c00 - 0x293000 01c4:trace:module:map_image_into_view mapping L"\??\Z:\Users\toastybug\Downloads\Jedi Knight Demo\smackw32.DLL" section .edata at 0x293000 off fc00 size 600 virt 0 flags 40000040 01c4:trace:module:map_image_into_view clearing 0x293600 - 0x294000 01c4:trace:module:map_image_into_view mapping L"\??\Z:\Users\toastybug\Downloads\Jedi Knight Demo\smackw32.DLL" section .reloc at 0x294000 off 10200 size 1400 virt 0 flags 42000040 01c4:trace:module:map_image_into_view clearing 0x295400 - 0x296000 01c4:trace:module:perform_relocations relocating from 00400000-00416000 to 00280000-00296000 01c4:warn:module:alloc_module disabling no-exec because of L"smackw32.DLL"
01c4:trace:module:build_module loaded L"\??\Z:\Users\toastybug\Downloads\Jedi Knight Demo\smackw32.DLL" 00015930 00280000 01c4:trace:module:load_dll Loaded module L"\??\Z:\Users\toastybug\Downloads\Jedi Knight Demo\smackw32.DLL" at 00280000
01c4:trace:module:process_attach (L"smackw32.DLL",0012FD24) - START 01c4:trace:module:MODULE_InitDLL (00280000 L"smackw32.DLL",PROCESS_ATTACH,0012FD24) - CALL 01c4:trace:module:LdrGetDllFullName module 00000000, name 0012F960. (00280000,PROCESS_ATTACH,0012FD24) - RETURN 0 01c4:trace:module:MODULE_InitDLL (00280000 L"smackw32.DLL",PROCESS_DETACH,0012FD24) - CALL 01c4:trace:module:MODULE_InitDLL (00280000,PROCESS_DETACH,0012FD24) - RETURN 1 01c4:warn:module:process_attach Initialization of L"smackw32.DLL" failed 01c4:trace:module:process_attach (L"smackw32.DLL",0012FD24) - END 01c4:err:module:loader_init "smackw32.DLL" failed to initialize, aborting 01c4:err:module:loader_init Initializing dlls for L"Z:\Users\toastybug\Downloads\Jedi Knight Demo\JKDEMO.EXE" failed, status c0000005 01b4:trace:module:LdrShutdownProcess ()