kung foo man
7th April 2016, 09:33
Yo, not much time, just this: https://github.com/Si13n7/CoD2MPWindowed
Basically it wraps CoD2 as child in a form and updates the Window Rect of CoD2, really useful for modding etc.
The Win32 API before Win 10 doesn't support this so well, but the code has a fallback mechanism for it.
To quote the readme on this:
It's very simple for Windows 10. I was really wondering but it's enough to create a form application and change the parent of the game. Then you only have to handle the resize functions for great flexibility.
The fix is similiar for older Windows versions. But before we can do that we have to change 2 bytes in 'gfx_d3d_mp_x86_s.dll' to force windowed mode.
To install, just download this file in your CoD2 folder: https://github.com/Si13n7/CoD2MPWindowed/blob/master/.bin/CoD2MP_w.exe
Basically it wraps CoD2 as child in a form and updates the Window Rect of CoD2, really useful for modding etc.
The Win32 API before Win 10 doesn't support this so well, but the code has a fallback mechanism for it.
To quote the readme on this:
It's very simple for Windows 10. I was really wondering but it's enough to create a form application and change the parent of the game. Then you only have to handle the resize functions for great flexibility.
The fix is similiar for older Windows versions. But before we can do that we have to change 2 bytes in 'gfx_d3d_mp_x86_s.dll' to force windowed mode.
To install, just download this file in your CoD2 folder: https://github.com/Si13n7/CoD2MPWindowed/blob/master/.bin/CoD2MP_w.exe