ClickteamFusion 2.5, ever heard of it? Probably not and so far I can deal with the fact it doesn't work with DxWnd. But maybe one day something will show up on it that will need some tweaking. Here's a fair enough example:
I run into this engine a few times, it always gets messy with DxWnd, looks like something could work but not quite there. Either way this doesn't hold high priority in my opinion, just a note about it. Here's a page:
-fusion-2-5
It does hook but doesn't render within the given window. I tried GDI settings, Initial resolution and much more. I have no clue how to approach this but I'm almost sure it could work with a hard-to-find configuration. Luckily I found a B plan with Fullscreenizer:
Here it sort of does in that at least I can adapt the game to a borderless window. After starting game I disable the window menu bar first by pressing F8, then with Fullscreenizer I can make it a modal window.
As pointed out months back Fullscreenizer leaves the aspect ratio untouched but even so I couldn't find any configuration in DxWnd to achieve even that simple result, the game fails in adapting anything.
Interesting case. I see two problems:
1) there is a black rectangle steadily visible on the center of the window
2) the frames are not stretched to fill the window
this in addition to the well known problem that DxWnd can't manage target executables with Shift-Jis pathnames. To make the tests I renamed the game executable as Koakuma.
The stretching problem depends on an unwrapped method IDirect3Dsurface9::StretchRect. I made a tentative patch and it works (see screenshot). Now I have to understand where the black rect comes from ...
This game architecture is odd. I found that the black rectangle is in reality a black child window that the program stucks just there in the middle of the screen. Why that? I still don't know, but I tried to blacklist it (there's an option in DxWnd to kill unwanted windows based upon a blacklist of names) and saw that it is necessary for the rendering. If the window is not created, the rendering doesn't work!
Then I tried to uncheck the "Run in window" flag and let the game run in native mode: in effect, this way the window is created, but it's not black and doesn't interfere with the rendering! Too bad that the surface stretching no longer works, making DxWnd close to useless.
It seems that the black rectangle could be the side effect of some DxWnd improper handling of the window features. Some dumb window flag that I shouldn't touch, who knows which one ...
3a8082e126