Opened 16 years ago

Closed 16 years ago

Last modified 6 years ago

#3763 closed defect (invalid)

WINCE: Plugins are not loaded from default folder

Reported by: SF/lostech Owned by: SF/knakos
Priority: normal Component: Port: WinCE
Version: Keywords:
Cc: Game:

Description

* ScummVM version ----------------- SVN Build 0.12.0 (02.06.2008) as "Plugin" version compiled

* Bug details, including instructions on reproducing ---------------------------------------------------- Enable "DYNAMIC_MODULES = 1" in makefile. Change all engines entries from "STATIC_PLUGIN" to "DYNAMIC_PLUGIN" Compile now. After compiling put ScummVM.exe and ScummVM.dll in a folder and create a subfolder "plugins" and copy all plugin DLLs there. Start ScummVM now. The main programm will start but in comparision to the PC version it will not find the engines in the plugins subfolder. Also in the "About" tab within the launcher no engines are reported. Plugins will only be loaded if they were placed in root folder together with ScummVM.exe. But then it tries also to load symbol 'PLUGIN_getVersion' from main program ScummVM.dll which isn´t a plugin.

* Platform and Compiler (Win32, Linux, ...) ------------------------------------------- Windows CE ARM port compiled with MSYS/cegcc Test device: FSC PocketLoox N560 and Windows Mobile 5 PC Emulator

Ticket imported from: #1981736. Ticket imported from: bugs/3763.

Attachments (2)

scummvm_stdout.txt (428 bytes ) - added by SF/lostech 16 years ago.
Log file when using "plugins" subfolder
scummvm_stdout.2.txt (2.5 KB ) - added by SF/lostech 16 years ago.
Log file when using "root" folder for plugins

Download all attachments as: .zip

Change History (8)

by SF/lostech, 16 years ago

Attachment: scummvm_stdout.txt added

Log file when using "plugins" subfolder

by SF/lostech, 16 years ago

Attachment: scummvm_stdout.2.txt added

Log file when using "root" folder for plugins

comment:1 by SF/lostech, 16 years ago

File Added: scummvm_stdout.txt

comment:2 by fingolfin, 16 years ago

Owner: set to SF/knakos
Summary: WinCE port: Plugins will not be loaded from default folderWINCE: Plugins are not loaded from default folder

comment:3 by SF/knakos, 16 years ago

This will never work. We rely (i.e. there's no other way) on the OS'es dynamic linker to take care of the late binding. Hence, scummvm.dll and *all* engine dlls must reside in the same folder (also with scummvm.exe).

comment:4 by SF/knakos, 16 years ago

Resolution: invalid
Status: newclosed

comment:5 by SF/lostech, 16 years ago

OK, that explains it. THX

comment:6 by digitall, 6 years ago

Component: Port: WinCE
Note: See TracTickets for help on using tickets.