Possibility of loading dynamic modules at runtime
Posted: Mon Oct 26, 2009 3:34 pm
Hi all!
First of all, let me say thank you for the great work you've done creating devkitppc!
I'm working on getting a game development platform called BennuGD working on the Wii through HBC.
The problem comes because BennuGD uses a modular design. It is basically a core and several plugins that are loaded at runtime with dlopen.
As I understand dlopen is not available with devkitppc, I decided to integrate the modules into the core to get BennuGD working the Wii. I've been relatively successful and some modules are now integrated and working fine.
The leader of the project has suggested that we find a solution that fits best with the projects modular design, but we don't really know the platform to the point of finding a better alternative.
A few (crazy?) ideas have popped out, like using a custom IOS or creating "driver" programs -just like MS-DOS resident programs did- that load the appropriate modules on runtime. But we're not really sure if they're viable or how much work it would take to do so.
Is any of these ideas possible? or, is there any way to make a program compiled with devkitppc load code dynamically?
Thanks a lot for your help
First of all, let me say thank you for the great work you've done creating devkitppc!
I'm working on getting a game development platform called BennuGD working on the Wii through HBC.
The problem comes because BennuGD uses a modular design. It is basically a core and several plugins that are loaded at runtime with dlopen.
As I understand dlopen is not available with devkitppc, I decided to integrate the modules into the core to get BennuGD working the Wii. I've been relatively successful and some modules are now integrated and working fine.
The leader of the project has suggested that we find a solution that fits best with the projects modular design, but we don't really know the platform to the point of finding a better alternative.
A few (crazy?) ideas have popped out, like using a custom IOS or creating "driver" programs -just like MS-DOS resident programs did- that load the appropriate modules on runtime. But we're not really sure if they're viable or how much work it would take to do so.
Is any of these ideas possible? or, is there any way to make a program compiled with devkitppc load code dynamically?
Thanks a lot for your help