http://bugs.winehq.org/show_bug.cgi?id=6781
------- Additional Comments From saulius.krasuckas@elst.vtu.lt 2007-23-05 15:40 ------- Sebastien, could you retry the demo using Wine-0.9.37 ? Probably with clean ~/.wine.
Plus:
| 0009:trace:process:init_current_directory starting in L"Z:\home\kungfu\" 0x10 ... | 0009:trace:file:RtlGetFullPathName_U (L".\Download/nzd_bfme2demo_english_final.exe" 520 0xbfc7c894 (nil)) ... | 0009:trace:module:load_native_dll Trying native dll L"Z:\home\kungfu\Download\nzd_bfme2demo_english_final.exe" | 0009: create_mapping( access=000f0005, attributes=00000000, rootdir=(nil), size_high=0, size_low=0, protect=192, file_handle=0x14, name=L"" ) | 0009: create_mapping() = 0 { handle=0x18 } | 0009:trace:virtual:NtMapViewOfSection handle=0x18 process=0xffffffff addr=(nil) off=000000000 size=0 access=2 | 0009: get_mapping_info( handle=0x18 ) | 0009: get_mapping_info() = 0 { size_high=0, size_low=1468403712, protect=128, header_size=648, base=0x400000, shared_file=(nil), shared_size=0 } | 0009: get_handle_fd( handle=0x18, access=00000000, cached=0 ) | 0009: *fd* 0x18 -> 24 | 0009: get_handle_fd() = 0 { type=1, flags=1 } | 0009:trace:server:add_fd_to_cache added 0x18 (9) type 1 to cache | 0009: close_handle( handle=0x18 ) | 0009: close_handle() = 0 | 0009:trace:server:server_remove_fd_from_cache removed 0x18 (9) from cache | 0009:warn:module:load_dll Failed to load module L"Z:\home\kungfu\Download\nzd_bfme2demo_english_final.exe"; status=c000000d | 0009: close_handle( handle=0x14 ) | 0009: close_handle() = 0 ... | wine: could not load L"Z:\home\kungfu\Download\nzd_bfme2demo_english_final.exe": Invalid parameter | 0009:trace:module:LdrShutdownProcess ()
Maybe changing working directory would help:
$ cd Download $ wine nzd_bfme2demo_english_final.exe