https://bugs.winehq.org/show_bug.cgi?id=24475
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |focht@gmx.net Resolution|--- |INVALID Summary|Super Metroid Integrated |Super Metroid Integrated |Level Editor (SMILE) 2.50 |Level Editor (SMILE) 2.50 |does not start. |(VB6 app) reports 'run-time | |error, path not found'
--- Comment #8 from Anastasius Focht focht@gmx.net --- Hello folks,
the app starts fine for me and displays a dialog to select SNES rom file.
Prerequisite: 'winetricks vb6run'
Many of the ROM files I tried ended with an error message "This ROM is PAL and will not work properly with SMILE". Some free ROM download site: http://coolrom.com/roms/snes/
Fortunately I found a few ROMs that yield "Runtime error '76' - Path not found" Example: "Super Mario World.zip"
--- snip --- $ WINEDEBUG=+tid,+seh,+relay,+snoop,+ole,+variant wine ./smile.exe >>log.txt 2>&1 ... 0024:Call KERNEL32.GetModuleFileNameA(00400000,0033f15c,00000104) ret=6607eba2 0024:Ret KERNEL32.GetModuleFileNameA() retval=00000027 ret=6607eba2 ... 0024:CALL MSVBVM60.__vbaStrCat(004296ac,00e3dccc) ret=005129d8 0024:Call oleaut32.VarBstrCat(00e3dccc L"Z:\home\focht\Downloads\smile",004296ac L"\files\Plugins\",0033f2f8) ret=660e5f4d ... 0024:Call KERNEL32.lstrcatA(0033f014 "Z:",0033f146 "\home\focht\Downloads\smile\files\Plugins\") ret=660adb38 0024:Ret KERNEL32.lstrcatA() retval=0033f014 ret=660adb38 ... 0024:Call KERNEL32.GetFileAttributesA(0033ef0c "Z:\home\focht\Downloads\smile\files\Plugins") ret=660552c9 0024:Ret KERNEL32.GetFileAttributesA() retval=ffffffff ret=660552c9 ... 0024:CALL MSVBVM60.__vbaHresultCheckObj(<unknown, check return>) ret=00512a0b 0024:Call ole32.GetErrorInfo(00000000,0033f2a0) ret=660d8306 0024:trace:ole:GetErrorInfo (0, 0x33f2a0, 0xe73088) 0024:Ret ole32.GetErrorInfo() retval=00000000 ret=660d8306 0024:trace:ole:IErrorInfoImpl_GetSource (0xe73088)->(pBstrSource=0x33f2b4) 0... 0024:Call oleaut32.SysAllocString(00e6b830 L"Parlor") ret=7e9aa22a 0024:trace:ole:SysAllocStringLen L"Parlor" 0024:Ret oleaut32.SysAllocString() retval=0013c90c ret=7e9aa22a 0024:trace:ole:IErrorInfoImpl_GetDescription (0xe73088)->(pBstrDescription=0x33f2b8) 0024:Call oleaut32.SysAllocString(00213bc0 L"Path not found") ret=7e9aa2e3 0024:trace:ole:SysAllocStringLen L"Path not found" ... 0024:Call KERNEL32.RaiseException(c000008f,00000001,00000002,0033f27c) ret=660d0956 0024:trace:seh:raise_exception code=c000008f flags=1 addr=0x7b83a977 ip=7b83a977 tid=0024 0024:trace:seh:raise_exception info[0]=deadcafe 0024:trace:seh:raise_exception info[1]=deadcafe 0024:trace:seh:raise_exception eax=7b8269e1 ebx=7b8bb000 ecx=deadcafe edx=0033f1d4 esi=0033f27c edi=0033f240 0024:trace:seh:raise_exception ebp=0033f218 esp=0033f1b4 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00200283 0024:trace:seh:call_stack_handlers calling handler at 0x403ca6 code=c000008f flags=1 0024:CALL MSVBVM60.__vbaExceptHandler(<unknown, check return>) ret=7bc867c1 ... 0024:Call winex11.drv.SetWindowText(0002018e,00212938 L"Run-time error '76':\n\nPath not found") ret=7ec9f739 --- snip ---
The zip file from download URL is just meant to be unpacked (no installer). The missing 'Plugins' subfolder the app complains about is not contained within the zip file. If you create the 'Plugins' folder manually in 'files' the app loads the ROM successfully.
Resolving as 'invalid' -> bad packaging of app.
$ sha1sum smile.zip 9bd175ac93aa3c1050ad636572b58e99d48698d1 smile.zip
$ du -sh smile.zip 1.9M smile.zip
$ wine --version wine-1.7.11-114-g6f498c4
Regards