Hello together! I am using wine since several years. I never questioned the underlaying wine techniques since wc3 did run very nice. Well some new games are out now and some will be available soon, so I am asking my self: Are those games goin to work with wine? So I started to think on wine. How does it work? What is it made of? With git I got latest wine source code, and I had a look on some how-tos. But I did not get the point. An exe file is loaded with the wine loader. The loader wrapps somehow the SW, so the library calls (e.g drd) are mapped to wine libraries. Can anybody tell me how this works in detail? Since exe files will execute assembler code. Is there some documentation about this? I am C-programmer, so I can read source code. But I need some hints to understand wine really. Thanks a lot! Kind regards
Hi, Wine targets Windows Apps and Games, but i doubt you need to know how the loader stuff works. But to answer you questions: The assembler parts of "exe files" are executed like any other linux app on your cpu, and if there's a API call it gets "wrapped" to the corresponding function in Wine. You can have a look at the Dev Guide: http://www.winehq.org/docs/winedev-guide/index As a C-programmer you can also think about contributing to Wine, the loader stuff is quite stable, but the dlls are ongoing work. Maybe you can find some easy Bugs in bugzilla to start with it.