Commit graph

250 commits

Author SHA1 Message Date
FunkyFr3sh
648fe238ca tweak hook function 2024-06-02 22:17:26 +02:00
FunkyFr3sh
3715f372b9 add preset for Putt-Putt Saves The Zoo 2024-06-02 09:44:34 +02:00
FunkyFr3sh
b2e9e427f2 fix atrox cutscenes 2024-06-02 08:17:57 +02:00
FunkyFr3sh
7d0eeb7810 make sure quarts and msvfw are hooked 2024-06-01 23:04:06 +02:00
FunkyFr3sh
13df4b3cac fix windowed mode in some games 2024-06-01 20:43:38 +02:00
FunkyFr3sh
d8f29883b7 fix warnings 2024-06-01 07:41:03 +02:00
FunkyFr3sh
fb858f3f08 set up .ini section once and then reuse it 2024-06-01 07:29:48 +02:00
FunkyFr3sh
416c6a8d92 detect learning company games and remove presets 2024-06-01 06:30:00 +02:00
FunkyFr3sh
dd04e8ce74 fix TLC launcher fullscreen mode 2024-06-01 04:08:14 +02:00
FunkyFr3sh
c66b972f68 fix chils windows in dress designer 2024-06-01 02:20:21 +02:00
FunkyFr3sh
4b153ee11f don't save cursor post on peek/get message 2024-05-31 05:46:26 +02:00
FunkyFr3sh
0be22be87b make sure we don'T double hook 2024-05-31 02:23:30 +02:00
FunkyFr3sh
0e9e3f9d7a remove conditions 2024-05-31 01:49:43 +02:00
FunkyFr3sh
f9d2cb0d1f simplify cursor code 2024-05-30 23:55:30 +02:00
FunkyFr3sh
cff92182f9 add missing NULL check 2024-05-30 22:07:07 +02:00
FunkyFr3sh
188ef913c3 adjust peek/getmessage hooks 2024-05-30 21:32:02 +02:00
FunkyFr3sh
f5e0e95490 hook GetWindowPlacement 2024-05-30 03:00:23 +02:00
FunkyFr3sh
fada7b82dd fake desktop window size 2024-05-29 23:30:49 +02:00
FunkyFr3sh
815deee85d don't allow games to hide the taskbar 2024-05-29 05:54:28 +02:00
FunkyFr3sh
4de6eee162 make sure we got move+close menu items 2024-05-29 04:28:05 +02:00
FunkyFr3sh
cf3d0c51ad #313 improve American Girls Dress Designer support and merge changes into master 2024-05-28 22:23:47 +02:00
FunkyFr3sh
37a04d7598 improve logging for windows 2024-05-28 21:54:49 +02:00
FunkyFr3sh
9e61e993e8 use originl DC if possible 2024-05-28 03:08:25 +02:00
FunkyFr3sh
4771d1f4ad fix scaling bug 2024-05-28 02:46:17 +02:00
FunkyFr3sh
ed0f9ccbc9 fix warnings 2024-05-27 05:31:25 +02:00
FunkyFr3sh
c0d8c77f90 set and restore mode 2024-05-27 04:02:48 +02:00
FunkyFr3sh
f2bee3d0d2 adjust gdi hooks 2024-05-27 03:28:35 +02:00
FunkyFr3sh
9ced91af14 add experimental wing32 hooks 2024-05-27 01:15:30 +02:00
FunkyFr3sh
2f2367e5b5 hook BitBlt 2024-05-25 07:29:30 +02:00
FunkyFr3sh
17a4dde30a log return value of CreateWindowExA 2024-05-25 03:30:51 +02:00
FunkyFr3sh
99e0cf8b4a log CreateWindowExA calls 2024-05-24 22:16:32 +02:00
FunkyFr3sh
c18223e80a #292 fix mousei input issues in diablo 1 2024-05-22 04:38:10 +02:00
FunkyFr3sh
54d6ff5112 add support for woms 2 high resolution patch zoom 2024-05-08 05:54:56 +02:00
FunkyFr3sh
b34ec49a13 handle "AVI Window" in StretchDIBits as well 2024-04-26 01:27:34 +02:00
FunkyFr3sh
6ddc2ad00b #306 support cutscene upscaling for road rash 2024-04-26 01:13:50 +02:00
FunkyFr3sh
18c15280ba #304 add a check for CW_USEDEFAULT just to be sure 2024-04-16 03:11:33 +02:00
FunkyFr3sh
36bf42af6f allow negative values for window width/height 2024-04-16 02:54:40 +02:00
FunkyFr3sh
6dc8390fed #304 - Limit window size to max surface size (Dune2000 1.02) 2024-04-16 02:48:15 +02:00
FunkyFr3sh
36a87419e3 don't allocate ddraw struct 2024-03-22 22:27:00 +01:00
FunkyFr3sh
f57055fd8c add better forground window detection and always enable new GetKeyState hooks 2024-03-20 21:31:05 +01:00
FunkyFr3sh
c8d4cd997e use real_ functions 2024-03-20 05:41:42 +01:00
FunkyFr3sh
871ccbf196 hook GetKeyState and GetAsyncKeyState for infantry 2024-03-20 05:35:36 +01:00
FunkyFr3sh
eca7dde89e fix videos in wine 2024-02-17 23:18:42 +01:00
FunkyFr3sh
d04f9d3fa3 make sure we always hook dinput 2023-11-04 05:09:06 +01:00
FunkyFr3sh
c43f38fad3 improve mingw build - always hook dinput 2023-11-04 04:45:41 +01:00
FunkyFr3sh
8d64f660ec hook only when a new module was loaded 2023-10-23 13:38:24 +02:00
FunkyFr3sh
24a73ccc6d #251 hook GetMessage for Enemy Infestation 2023-10-07 09:03:11 +02:00
FunkyFr3sh
ce84abfac0 fix TA megamap mouse wheel zoom in windowed mode 2023-10-05 02:17:01 +02:00
FunkyFr3sh
fa8cdbd0df move all ini settings to c_config 2023-09-22 00:38:42 +02:00
FunkyFr3sh
5ebda1fec7 allow to specify min size for anti-aliased fonts 2023-09-16 01:11:03 +02:00
andrews05
3c264e2077 Add min_font_size setting 2023-09-16 10:08:15 +12:00
FunkyFr3sh
accc47e377 fix cursor position issues with downscaling 2023-09-14 16:47:28 +02:00
FunkyFr3sh
77bd7aa3bb add hooks to fix blurry fonts 2023-09-08 18:22:37 +02:00
FunkyFr3sh
60d85725f5 fix some compiler warnings 2023-09-06 20:06:03 +02:00
FunkyFr3sh
5fd49993c0 center claw DVD movies 2023-08-30 21:45:49 +02:00
FunkyFr3sh
66e86aa37c replace IsIconic with custom function 2023-08-20 23:12:00 +02:00
FunkyFr3sh
594cc4d8da add DebugLogMini build config 2023-08-10 14:41:42 +02:00
FunkyFr3sh
d7786e1f0e support CLSID_DirectDrawClipper in CoCreateInstance 2023-08-10 11:32:43 +02:00
FunkyFr3sh
6c3790cd24 replace hook=3 with GetProcAddress hook 2023-08-06 09:09:38 +02:00
FunkyFr3sh
c530f5f4a8 log SetWindowsHookExA 2023-08-04 10:00:38 +02:00
FunkyFr3sh
ad1a35aa84 remove dinputhook setting 2023-08-02 17:09:01 +02:00
FunkyFr3sh
1452bbe598 remove early hook function 2023-08-02 15:15:44 +02:00
FunkyFr3sh
81294dbecf remove old code 2023-08-01 03:02:35 +02:00
FunkyFr3sh
e42d000366 remove fixwndprochook setting 2023-07-31 07:33:57 +02:00
FunkyFr3sh
6269950402 #227 fix changing resolutions bug 2023-07-28 05:50:23 +02:00
FunkyFr3sh
766e4b434c hook SetForegroundWindow for profile links 2023-07-17 21:57:00 +02:00
FunkyFr3sh
f86ad29835 fix for non working links in profile 2023-07-17 21:44:20 +02:00
FunkyFr3sh
c1a9d72b68 Revert "update ShowWindow hook"
This reverts commit 19d1d4f942.
2023-07-11 02:33:06 +02:00
FunkyFr3sh
225f764388 fix MoveWindow WM_SIZE 2023-07-11 02:13:30 +02:00
FunkyFr3sh
e6596492ad add wm move 2023-07-10 23:59:56 +02:00
FunkyFr3sh
92ba581e28 send WM_SIZE on MoveWindow 2023-07-10 23:55:44 +02:00
FunkyFr3sh
19d1d4f942 update ShowWindow hook 2023-07-10 22:08:50 +02:00
FunkyFr3sh
087f41ce11 hook SetUnhandledExceptionFilter for debug build 2023-06-29 21:13:04 +02:00
FunkyFr3sh
3ceddd1517 tweak peekmessage hook 2023-03-06 03:55:10 +01:00
FunkyFr3sh
1324a96740 fix peekmessage hook for New Robinson 2023-03-06 03:48:50 +01:00
FunkyFr3sh
d2557c66c8
#208 2023-03-03 22:29:35 +01:00
FunkyFr3sh
67188ea500 add NULL check 2023-02-27 18:30:35 +01:00
FunkyFr3sh
336eb1bdba add missing check 2023-02-27 18:27:30 +01:00
FunkyFr3sh
86e3de4ad6 hook PeekMessageA for EV Nova 2023-02-27 18:25:28 +01:00
FunkyFr3sh
24d66d8a30 hook GetForegroundWindow 2022-10-19 05:08:22 +02:00
FunkyFr3sh
ab773f6469 hook GetTopWindow 2022-10-18 22:21:42 +02:00
FunkyFr3sh
7abd1f743c always enable GetDiskFreeSpace patch 2022-10-16 00:02:43 +02:00
FunkyFr3sh
1170d0dd12 #179 hook GetDiskFreeSpaceA 2022-10-15 18:28:23 +02:00
FunkyFr3sh
82526a9597 add another check to StretchBlt hook 2022-10-07 17:11:35 +02:00
FunkyFr3sh
df76f81956 add NULL check 2022-10-07 01:50:04 +02:00
FunkyFr3sh
053206b414 detect movie windows 2022-10-07 01:05:27 +02:00
FunkyFr3sh
ad8215eee8 make sure hwnd is not NULL 2022-10-05 23:33:56 +02:00
FunkyFr3sh
987695a626 fix return value 2022-10-05 23:08:14 +02:00
FunkyFr3sh
984febf209 add some checks to old hooks 2022-10-05 22:34:37 +02:00
FunkyFr3sh
80bf433a2b hook StretchDIBits 2022-10-05 22:33:53 +02:00
FunkyFr3sh
6a12187122 use constant 2022-10-03 13:48:06 +02:00
FunkyFr3sh
2a8a5f85ec hook SetDIBitsToDevice 2022-10-03 12:19:15 +02:00
FunkyFr3sh
707239ba61 add IsChild check for fixchilds setting 2022-10-03 01:43:54 +02:00
FunkyFr3sh
f068b1217b fix compiler warning 2022-10-02 21:07:01 +02:00
FunkyFr3sh
5595dbeff7 tweak StretchBlt hook 2022-10-02 20:55:20 +02:00
FunkyFr3sh
c9262a5ee9 hook stretchblt 2022-10-02 18:41:06 +02:00
FunkyFr3sh
9f134dc6ed Make sure window is not minimized while locking the cursor 2022-09-23 00:47:59 +02:00
FunkyFr3sh
1b791fb2cb only lock cursor in borderless if game window is the foreground window 2022-09-20 08:59:36 +02:00
FunkyFr3sh
571372f9ca fix adjmouse bug 2022-02-15 10:17:05 +01:00
FunkyFr3sh
4a0d74001a center war2 high res patch windows 2021-11-05 21:04:12 +01:00
FunkyFr3sh
37c8dc1d91 don't override .ini setting on bnet 2021-11-05 15:23:35 +01:00
FunkyFr3sh
09f57918cb fix ClipCursor for ja2 2021-09-19 03:04:45 +02:00
FunkyFr3sh
8702ffe44a make cfg ini functions public 2021-09-16 02:25:22 +02:00
FunkyFr3sh
098bf6a248 skip SW_MINIMIZE hook with hook=2 and hook=3 2021-09-16 01:50:18 +02:00
FunkyFr3sh
bff9a9605c don't minimize on alt+tab
(cherry picked from commit 9207d652a881f789aff27f08a4ca09006852979e)
2021-09-16 01:47:56 +02:00
FunkyFr3sh
ebda8282b2 #118 merge latest sir-tech fixes
(cherry picked from commit 994d4c646fafe58c49631283c72b755d81dbf865)
2021-09-16 01:47:14 +02:00
FunkyFr3sh
3f9ac549bc #121 return empty device identifier 2021-09-02 22:22:48 +02:00
FunkyFr3sh
8314ea5545 do full Detours hook with hook=3 2021-08-06 02:07:50 +02:00
FunkyFr3sh
21790200af hook ShowWindow 2021-08-04 15:24:16 +02:00
FunkyFr3sh
a25e4d35f8 dinput.dll proxy with CoCreateInstance hook 2021-08-02 17:27:19 +02:00
FunkyFr3sh
46d09b2175 add some tweaks for testing to MapWindowPoints hook 2021-06-25 14:35:22 +02:00
FunkyFr3sh
057e41e3c1 #100 tweak old 640x480 hack for cnc1 and ra1 2021-06-21 01:45:52 +02:00
FunkyFr3sh
350cdbd0ba fix SetCursor hook 2021-06-19 04:28:15 +02:00
FunkyFr3sh
5700a0eb4c fix saved cursor pos 2021-06-18 04:07:53 +02:00
FunkyFr3sh
af4c0710f6 use rounding for better results 2021-06-18 04:07:32 +02:00
FunkyFr3sh
6cfeadaced fixes for cursor lock 2021-06-18 04:07:26 +02:00
FunkyFr3sh
3ffd113050 fix 2021-06-18 04:07:00 +02:00
FunkyFr3sh
684224b833 remove "handlemouse" setting 2021-06-18 04:06:48 +02:00
FunkyFr3sh
abdb74942b Revert "remove "handlemouse" setting"
This reverts commit f1bcff220d.
2021-06-16 07:47:15 +02:00
FunkyFr3sh
6043bc9061 Revert "fix"
This reverts commit c4e8b9f249.
2021-06-16 07:47:08 +02:00
FunkyFr3sh
c4e8b9f249 fix 2021-06-16 06:58:00 +02:00
FunkyFr3sh
f1bcff220d remove "handlemouse" setting 2021-06-16 05:57:19 +02:00
FunkyFr3sh
94e5652e11 fix for last commit 2021-06-12 05:57:45 +02:00
FunkyFr3sh
a399797982 improve cursor lock 2021-06-12 05:45:28 +02:00
FunkyFr3sh
1f11bf8b84 refactoring 2021-06-11 20:30:43 +02:00
FunkyFr3sh
a8edc2a465 let WM_SIZE pass through 2021-06-10 02:18:15 +02:00
FunkyFr3sh
eab5dc43fa restore secondary check just to be sure 2021-06-09 18:19:31 +02:00
FunkyFr3sh
a465d1429b fix 2021-06-09 17:26:37 +02:00
FunkyFr3sh
76a628b8fa even more tweaks to SetWindowPos and MoveWindow hooks 2021-06-09 17:16:16 +02:00
FunkyFr3sh
76ddccd3a3 more tweaks to SetWindowPos and MoveWindow hooks 2021-06-09 08:08:52 +02:00
FunkyFr3sh
288903687a more tweaks to SetWindowPos and MoveWindow hooks 2021-06-09 05:22:52 +02:00
FunkyFr3sh
88a1dbb2f5 fix SetWindowPos and MoveWindow hooks 2021-06-09 04:51:29 +02:00
FunkyFr3sh
7cce45b64a fix CreateWindowExA hook 2021-06-09 02:38:19 +02:00
FunkyFr3sh
242c40a197 hook SetWindowsHookExA 2021-06-06 19:03:38 +02:00
FunkyFr3sh
3090f856da fix SetCursor hook 2021-06-06 04:13:10 +02:00
FunkyFr3sh
50e6cf7534 make fixwndprochook useful for other games as well 2021-06-04 22:46:15 +02:00
FunkyFr3sh
08ea9d411a bump version 2021-06-02 18:24:25 +02:00
FunkyFr3sh
96714b01c0 add new .ini settings fixwndprochook 2021-06-02 14:29:25 +02:00
FunkyFr3sh
29863ed472 hook MapWindowPoints 2021-05-29 21:40:21 +02:00
FunkyFr3sh
3a831ba640 try to get opengl and direct3d9 working with hook=2 for some games at least 2021-05-16 04:32:35 +02:00
FunkyFr3sh
5db961656a rename upscale hack related stuff 2021-05-15 02:58:07 +02:00
FunkyFr3sh
39c62d6e7d support upscale hack for KKND Xtreme high resolution patch (vhack=true) 2021-05-15 00:41:50 +02:00
FunkyFr3sh
3e9c38dade fix some warning messages 2021-05-10 04:00:45 +02:00
FunkyFr3sh
7e56551895 check hwnd 2021-04-02 00:47:10 +02:00
FunkyFr3sh
fe04f52bf0 fix for another jumping cursor bug in Diablo 2 2021-04-02 00:25:31 +02:00
FunkyFr3sh
2784f83ddc block SetCursorPos if cursor isn't locked 2021-02-20 07:30:14 +01:00
FunkyFr3sh
9eaa5e9611 fixes SetCursorPos hook with adjmouse enabled 2020-11-05 22:45:40 +01:00
FunkyFr3sh
dc93ff735f align 2020-10-13 21:58:04 +02:00
FunkyFr3sh
be79bb8c8b align and tweak some more 2020-10-13 11:29:52 +02:00
FunkyFr3sh
baaa87b18f refactoring 2020-10-13 09:20:52 +02:00