Replies: 5 comments 3 replies
-
I am not sure of anyway to get Gangsters working in windowed mode. The issue is that the game uses windows/GDI on top of the game graphics for starting menu. There would have to be code to dynamically adjust all these graphics. You could try cnc-ddraw. |
Beta Was this translation helpful? Give feedback.
-
BTW: the dxwrapper project has ways to convert games to windowed mode, but it is only best-effort support and is not the focus of this project. dxwrapper is more about making the games work as initially intended by the author, but on newer or more modern systems. |
Beta Was this translation helpful? Give feedback.
-
Here is the latest build, with the correct options enabled already: dxwrapper.zip Here are the options needed for this: [Compatibility]
Dd7to9 = 1
[d3d9]
EnableWindowMode = 1
WindowModeBorder = 1 |
Beta Was this translation helpful? Give feedback.
-
So I reinstalled the game and tried without any patches to make a windowed mode (overriding memory address on the fly) and somewhat succeeded but it's not a flexible windowed mode... Problems are: |
Beta Was this translation helpful? Give feedback.
-
I did not change anything, just gave you the latest build with the settings in the ini file set as seen above.
I am not seeing any lag in the game for me. It could be something with the build I gave you. But the window being unmovable is something to do with how the game takes control of the cursor when you click on the window. I'm sure it is fixable, but not something I will look into soon.
Yes, the window will not be resizable. That is expected. There is no code in dxwrapper to allow statically sized windows to be resizable. Anyways, it would be difficult with this game to allow resizing the window without getting parts of the graphics out of alignment. The game is using a combination of DirectDraw and GDI to draw the screen and scaling all the GDI parts to match the new window size would not be easy. |
Beta Was this translation helpful? Give feedback.
-
Hi
I've been trying to get GOC working in windowed mode. My goal is to get it run in windowed mode before continuing writing other hooks. I know its possible to do it with dxwnd but the graphics become so awful and it is very laggy. So I tried overriding dwStyle that CreateWindowEx() function takes in. This seem to work for other games but not this one. I simply changed memory address to change the param for that function on the fly. I could see some resemblance of a window with title bar appear but it's completely unusable - for all intents and purposes, it still remained full screen. I think it has to do with compatibility layer for this game and DirectDraw in general. That's why I thought of completely migrating off of it and perhaps porting it to SDL2. Has anyone done anything similar? Is it even possible? Or am I signing up for a sisyphean task? Any tips, links, opinions and other thoughts are welcome.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions