Hello. I am working to make Linux ports of a couple of games that were made using AGS (adventure game studio). there's a linux engine for running games to use to port them and I am very close getting 2 of them working. However, one of them uses a few additional plugins, in dll format. Since linux is not compatible with dlls this causes the game to crash before it even starts up. I cannot get the source files for any of these plugins.
SO the real question here is... Can Wine be used to wrap dll files and make them linux compatible? Obviously once I got that far, some further modification would need to be done to the binaries for running the games, but this is what I am worrying about for now.
thank you.
dlls. any way to convert or "wrap" them using win
-
- Newbie
- Posts: 4
- Joined: Mon Aug 23, 2010 9:05 am
Re: dlls. any way to convert or "wrap" them using
Short answer: Not in the way you want it. You'll need the entire Wine to work as a "wrapper".legitimusmaximus wrote:SO the real question here is... Can Wine be used to wrap dll files and make them linux compatible?
Long answer: There are lots of things required by most dlls. All those things is what makes Wine. You can't pull only one piece of it, because they are all connected. Just loading dll is easy. But making it work, and providing all the functions it might call - hard.
-
- Newbie
- Posts: 4
- Joined: Mon Aug 23, 2010 9:05 am
-
- Level 5
- Posts: 336
- Joined: Mon Nov 24, 2008 8:10 am
Depending on how the game is written you might get away with recompiling your game engine using winegcc/wineg++ ('winelib') instead of plain gcc/g++. The game obviously depend on Wine but you can mix Linux and win32 code that way, so the engine can still use Linux libraries like SDL, X11 or whatever you need. This would only work if the closed source dlls are 'well behaving' else you would also need the win32 gui and the other real win32 parts.