EaglePatch
EaglePatch copied to clipboard
Add borderless window to ac2 (uplay edition)
This lets us play the game in borderless window mode (by default) and can be toggled off using BorderlessWindow=0 option in ini. It opens the way for a proper fix for #13
It works by hooking the call to the initialization method that creates the IDirect3DDevice9
.
It sets the global IsFullscreen
flag to 0
and then it proceeds to grab primary screen metrics, remove borders from the window and resize the game window.
attached is a pre-built version of the patch with the feature added.
EaglePatch_borderlesswindow_ac2_uplay.zip
It is missing the addresses for AC1 and the retail version of AC2 as i don't own those and dont like playing AC1
Also, a neat(?) side effect of the borderless window is, that DXVK now doesn't crash the game anymore (tested with DXVK 2.5 on windows 11)