Commit graph

2046 commits

Author SHA1 Message Date
FunkyFr3sh
eafcdaf95d use SetThreadExecutionState with ES_DISPLAY_REQUIRED 2024-11-29 19:33:23 +01:00
FunkyFr3sh
48081e3f24 disable screensaver 2024-11-29 17:04:12 +01:00
FunkyFr3sh
3738213ab5 change debug string 2024-11-26 03:12:35 +01:00
FunkyFr3sh
a77c3c21dc add preset for Star Wars Rebellion 2024-11-26 03:05:16 +01:00
FunkyFr3sh
7dc7028002 improve logging 2024-11-26 02:06:38 +01:00
FunkyFr3sh
e0c00d3a36 fix exe name 2024-11-26 00:36:30 +01:00
FunkyFr3sh
3332b8c907 add preset for Pandora's Box Puzzle Game 2024-11-25 23:48:00 +01:00
FunkyFr3sh
e6c9eea473 log SetWindowsHookExA hook types 2024-11-25 21:20:29 +01:00
FunkyFr3sh
6a22fcf142 improve logging 2024-11-25 19:29:50 +01:00
FunkyFr3sh
b4352232c8 improve logging 2024-11-23 17:07:51 +01:00
FunkyFr3sh
ead0f2306e add preset for Discoworld Noir 2024-11-23 04:13:50 +01:00
FunkyFr3sh
b7c46047fb add preset for Lost Vikings 2 2024-11-23 03:36:38 +01:00
FunkyFr3sh
957fe0bb02 add some presets 2024-11-23 00:10:58 +01:00
FunkyFr3sh
e79654e620 add preset for Populous - The Beginning 2024-11-23 00:06:44 +01:00
FunkyFr3sh
72a5982f48 add some more privileged instructions to the list 2024-11-22 21:25:37 +01:00
FunkyFr3sh
d4c329f8bd add some debug code 2024-11-04 02:27:34 +01:00
FunkyFr3sh
e3af573916 enable windowed hack for non-popup windows 2024-11-03 05:07:09 +01:00
FunkyFr3sh
4db1628431 only use windowed hack if window is smaller than screen size 2024-11-03 02:32:00 +01:00
FunkyFr3sh
2c69e41b18 don't use DwmFlush WaitForVerticalBlank 2024-11-02 18:16:22 +01:00
FunkyFr3sh
ca08dd6006 Revert "don't emulate 60hz vblank on 60hz monitor"
This reverts commit 95a5f7231e.
2024-11-02 18:11:42 +01:00
FunkyFr3sh
9313a997dd Revert "Don't use DwmFlush"
This reverts commit 27dbd07925.
2024-11-02 18:11:29 +01:00
FunkyFr3sh
27dbd07925 Don't use DwmFlush 2024-11-02 17:53:01 +01:00
FunkyFr3sh
b23700a9b7 Reapply "don't emulate 60hz vblank on 60hz monitor"
This reverts commit d3f78bad95.
2024-11-02 17:44:02 +01:00
FunkyFr3sh
d3f78bad95 Revert "don't emulate 60hz vblank on 60hz monitor"
This reverts commit 95a5f7231e.
2024-11-02 16:57:26 +01:00
FunkyFr3sh
a1864d612a ignore dinput keypresses if window not in foreground 2024-10-27 03:35:12 +01:00
FunkyFr3sh
e3e7dc22e1 improve debug logs 2024-10-26 21:40:28 +02:00
FunkyFr3sh
ce4860dc05 fix downscaling with boxing=true 2024-10-25 16:28:39 +02:00
FunkyFr3sh
856ce8a3af add preset for Hooligans: Storm over Europe 2024-10-18 18:42:46 +02:00
FunkyFr3sh
a4f927b095 add a check for DDSCAPS_OWNDC 2024-10-18 18:02:30 +02:00
FunkyFr3sh
9671d810af #352 add preset for Age Of Wonders 1 2024-10-16 16:48:19 +02:00
FunkyFr3sh
03d82b86a4 remoe devmode setting 2024-10-12 01:44:26 +02:00
FunkyFr3sh
a6ef1bbfe7 update Jazz Jackrabbit 2 presets 2024-10-12 01:43:21 +02:00
FunkyFr3sh
362d05367c allow to toggle windowed/maximize with a single key press 2024-10-12 01:24:07 +02:00
FunkyFr3sh
01fe4f2f0f update worms armageddon preset 2024-10-11 22:17:55 +02:00
FunkyFr3sh
a2c0dee506 improve logs 2024-10-10 16:58:21 +02:00
FunkyFr3sh
fc9243d71b keep old WS_MINIMIZEBOX hack 2024-10-06 23:55:16 +02:00
FunkyFr3sh
6d61a423ee only use workaround for linux and not for macOS 2024-10-06 23:43:43 +02:00
FunkyFr3sh
fc9bb11e75 fix resizable .ini setting in wine 2024-10-06 21:38:07 +02:00
FunkyFr3sh
92df1257bd do not never forward SC_MAXIMIZE to the game in wine 2024-10-06 21:33:37 +02:00
FunkyFr3sh
4fdc98ef28 add missing KillTimer call 2024-10-05 23:03:00 +02:00
FunkyFr3sh
4af2daed14 enforce minimum window size on restore after maximize 2024-10-05 23:00:13 +02:00
FunkyFr3sh
552c5809e0 add comment 2024-10-05 22:47:08 +02:00
FunkyFr3sh
c8980c5e34 kill timer on maximize (just to be sure...) 2024-10-05 22:43:04 +02:00
FunkyFr3sh
747f1df81c add hack for linux to enforce minimum window size 2024-10-05 22:39:49 +02:00
FunkyFr3sh
a93d004f1b move inject_resolution up and add notes 2024-10-03 14:13:59 +02:00
FunkyFr3sh
f1316407d1 fix maximize button on linux 2024-10-03 13:49:57 +02:00
FunkyFr3sh
5c853ca487 fix typo 2024-10-03 04:52:23 +02:00
FunkyFr3sh
bb43a486d9 fix comments 2024-10-03 04:51:51 +02:00
FunkyFr3sh
dce598afcf disable maximize and windowed toggle while maximized on macOS 2024-10-03 04:50:49 +02:00
FunkyFr3sh
07e088faaa Do not save settings while window is maxmized in macOS 2024-10-03 04:27:04 +02:00
FunkyFr3sh
116297d2b4 do not save settings after maxmize on macOS 2024-10-03 04:13:40 +02:00
FunkyFr3sh
ca6c447ae6 fix window resize and maximize for macOS + fix resize on linux 2024-10-03 03:57:10 +02:00
FunkyFr3sh
95a5f7231e don't emulate 60hz vblank on 60hz monitor 2024-10-02 16:47:17 +02:00
FunkyFr3sh
f9fa3b0fa2 add missing arg to Crc32_FromFile function 2024-09-30 23:53:41 +02:00
FunkyFr3sh
a7b8e2e80f move crc32 function 2024-09-30 23:46:04 +02:00
FunkyFr3sh
c479cc20a5 some more tweaks to logs 2024-09-29 21:27:55 +02:00
FunkyFr3sh
cd3a52363b improve win version logging 2024-09-29 21:03:12 +02:00
FunkyFr3sh
d3dbab102f fix for last commit 2024-09-29 17:28:34 +02:00
FunkyFr3sh
d680af0a4a dynamically load Dbghelp.dll 2024-09-29 17:09:24 +02:00
FunkyFr3sh
5336f7d1ec make sure we don't get a blackscreen if device doesn't support StretchDIBits 2024-09-29 02:27:14 +02:00
FunkyFr3sh
6f4339f16a fix versionhelpers for legacy build 2024-09-28 22:07:33 +02:00
FunkyFr3sh
1017b235a4 align 2024-09-28 21:29:12 +02:00
FunkyFr3sh
561f2ba614 improve legacy build 2024-09-28 21:22:45 +02:00
FunkyFr3sh
9d43cc31f2 fix for last commit 2024-09-28 20:30:50 +02:00
FunkyFr3sh
1821c3a15d use AddVectoredExceptionHandler only on XP and above 2024-09-28 20:30:27 +02:00
FunkyFr3sh
401c9f0e37 fix CreateThread bug on windows ME 2024-09-28 20:29:09 +02:00
FunkyFr3sh
14020a3d31 don't create dmp file on windows ME builds 2024-09-28 20:28:33 +02:00
FunkyFr3sh
8b211a73d7 add checks for windows ME build 2024-09-28 19:57:11 +02:00
FunkyFr3sh
beae3c5fb7 properly target windows 2000 in mingw build + allows to build for windows ME now as well 2024-09-28 19:20:50 +02:00
FunkyFr3sh
7175939854 don't use W functions 2024-09-28 18:22:08 +02:00
FunkyFr3sh
40464b18fc remove outdated presets 2024-09-28 17:04:54 +02:00
FunkyFr3sh
b57ec635fc fix opengl renderer on older hardware 2024-09-27 18:11:07 +02:00
FunkyFr3sh
57287686db add new "center_window" setting 2024-09-26 19:55:06 +02:00
FunkyFr3sh
f6b92bb80f add preset for Balls of Steel v1.2 2024-09-25 16:55:34 +02:00
FunkyFr3sh
6eeef95998 add space 2024-09-25 16:49:06 +02:00
FunkyFr3sh
8d3baea228 fix long line 2024-09-25 16:48:53 +02:00
FunkyFr3sh
577f473327 remove ignore_exceptions setting 2024-09-25 16:47:12 +02:00
FunkyFr3sh
80b8a996a7 tweak exception handler 2024-09-24 23:36:11 +02:00
FunkyFr3sh
e0e59cd9fa add testing code for privileged instructions 2024-09-24 20:17:53 +02:00
FunkyFr3sh
7febf01343 tweak get_crc32 function 2024-09-23 15:35:13 +02:00
FunkyFr3sh
db9cfb8e29 add crc32 to logs 2024-09-23 15:21:32 +02:00
FunkyFr3sh
9fb97bf1ca fix warning 2024-09-23 13:28:46 +02:00
FunkyFr3sh
4d11fc38c6 log timestamp in UTC 2024-09-22 23:31:24 +02:00
FunkyFr3sh
631e64f17a remove obsolete code 2024-09-22 12:45:50 +02:00
FunkyFr3sh
ee013edd32 upate GirlTalk preset 2024-09-19 20:11:22 +02:00
FunkyFr3sh
9a308dcf1b add timestamp to logs 2024-09-19 19:42:27 +02:00
FunkyFr3sh
892494718a log BuildLabEx if available 2024-09-19 19:16:37 +02:00
FunkyFr3sh
6977fccdbe add hack for Flight Simulator 98 2024-09-19 17:58:35 +02:00
FunkyFr3sh
66e8d1676f make sure we don't reset last_msg_pull_tick 2024-09-18 21:52:06 +02:00
FunkyFr3sh
7fe9f3f2fa disable debug code 2024-09-18 21:37:24 +02:00
FunkyFr3sh
5d527ca8e0 make sure the close button is enabled 2024-09-18 21:33:01 +02:00
FunkyFr3sh
a8aeee1bc3 add preset for A Bug's Life Action Game 2024-09-18 18:06:53 +02:00
FunkyFr3sh
3a3f11afc8 return S_OK in IDirect3DX__EnumDevices 2024-09-18 18:02:15 +02:00
FunkyFr3sh
e142d06946 remove invalid ExStyle 2024-09-18 17:59:34 +02:00
FunkyFr3sh
5901d12597 log DI GUID 2024-09-16 19:30:42 +02:00
FunkyFr3sh
a690a9233e update Jungle Storm preset 2024-09-12 20:08:53 +02:00
FunkyFr3sh
9dbafc1660 adjust warning message 2024-09-12 19:45:25 +02:00
FunkyFr3sh
f690749ca9 cleanup settings names/order 2024-09-12 18:11:08 +02:00
FunkyFr3sh
43eadc53b0 update comment 2024-09-12 17:48:51 +02:00
FunkyFr3sh
12c23d494e sort config.c 2024-09-12 17:02:11 +02:00
FunkyFr3sh
a7df3a86ea revert change 2024-09-11 20:06:12 +02:00
FunkyFr3sh
52c536d5c3 log lpbIsInVB bool 2024-09-11 19:49:04 +02:00
FunkyFr3sh
8ff40f986c remove duplicate code 2024-09-11 18:01:21 +02:00
FunkyFr3sh
e0292792c0 update robin hood presets 2024-09-11 17:05:00 +02:00
FunkyFr3sh
cbecc7e2cf improve "fixnotresponding" patch 2024-09-11 16:59:21 +02:00
FunkyFr3sh
cd021dc090 merge PeekMessage and GetMessage hooks 2024-09-11 16:16:59 +02:00
FunkyFr3sh
a9f0b8f8f5 don't let messages pass through with peek/getmessage hooks 2024-09-11 15:47:31 +02:00
FunkyFr3sh
2353363e6d update madeline presets 2024-09-11 14:38:56 +02:00
FunkyFr3sh
7d3a07b2e7 update compat warning text 2024-09-10 17:54:26 +02:00
FunkyFr3sh
ae66bebb31 enable a few more hooks for hook=2 2024-09-10 17:15:02 +02:00
FunkyFr3sh
5af1d683d8 Revert "add experimental WH_GETMESSAGE hook"
This reverts commit dcc76a154d.
2024-09-10 15:42:14 +02:00
FunkyFr3sh
c13aece3f6 Revert "fix window resize/move issues"
This reverts commit 04d7f2060e.
2024-09-10 15:42:00 +02:00
FunkyFr3sh
efbf7e7b30 Revert "remove debug code"
This reverts commit 75ed1595c6.
2024-09-10 15:41:29 +02:00
FunkyFr3sh
8425f81597 Revert "remove obsolete settings"
This reverts commit 97718b9a19.
2024-09-10 15:41:04 +02:00
FunkyFr3sh
8b96d0d34b Revert "fix ja2 cursor lock"
This reverts commit 48151e4d78.
2024-09-10 15:40:52 +02:00
FunkyFr3sh
7de3efd050 Revert "never return FALSE from peekmessage to avoid issues"
This reverts commit 89d3845473.
2024-09-10 15:40:44 +02:00
FunkyFr3sh
801d31f68e Revert "don't update cursor pos in mouse hook"
This reverts commit c1a5a3895b.
2024-09-10 15:40:35 +02:00
FunkyFr3sh
cdb68e9dd1 Revert "do not return WM_NULL for now (needs more testing)"
This reverts commit a42bdae84d.
2024-09-10 15:40:27 +02:00
FunkyFr3sh
4df4766736 Revert "remove old diablo 2 hack"
This reverts commit df91a4308f.
2024-09-10 15:40:13 +02:00
FunkyFr3sh
691b5196d5 Revert "return WM_NULL if there are no filters"
This reverts commit e4eafef652.
2024-09-10 15:40:05 +02:00
FunkyFr3sh
d2db12f2af Revert "only lock cursor if message was removed"
This reverts commit 8a6f94ae95.
2024-09-10 15:39:53 +02:00
FunkyFr3sh
ed0b829bc6 only create screenshot if file doesn't exist 2024-09-09 21:33:04 +02:00
FunkyFr3sh
ac9d183a59 adjust logs 2024-09-09 21:32:53 +02:00
FunkyFr3sh
9d5d71c999 use PM_QS_INPUT for not responding patch 2024-09-09 21:14:37 +02:00
FunkyFr3sh
8a6f94ae95 only lock cursor if message was removed 2024-09-09 20:31:49 +02:00
FunkyFr3sh
e435bf65e1 rename custom_width/height setting to inject_resolution 2024-09-09 19:17:00 +02:00
FunkyFr3sh
f83baafcf6 move font settings to the top 2024-09-09 19:09:40 +02:00
FunkyFr3sh
e4eafef652 return WM_NULL if there are no filters 2024-09-09 16:58:22 +02:00
FunkyFr3sh
df91a4308f remove old diablo 2 hack 2024-09-09 16:01:45 +02:00
FunkyFr3sh
a42bdae84d do not return WM_NULL for now (needs more testing) 2024-09-09 15:31:18 +02:00
FunkyFr3sh
c1a5a3895b don't update cursor pos in mouse hook 2024-09-09 15:23:31 +02:00
FunkyFr3sh
89d3845473 never return FALSE from peekmessage to avoid issues 2024-09-09 15:15:08 +02:00
FunkyFr3sh
48151e4d78 fix ja2 cursor lock 2024-09-09 15:05:28 +02:00
FunkyFr3sh
97718b9a19 remove obsolete settings 2024-09-09 14:37:20 +02:00
FunkyFr3sh
75ed1595c6 remove debug code 2024-09-09 14:21:09 +02:00
FunkyFr3sh
04d7f2060e fix window resize/move issues 2024-09-09 14:12:25 +02:00
FunkyFr3sh
dcc76a154d add experimental WH_GETMESSAGE hook 2024-09-08 19:14:58 +02:00
FunkyFr3sh
426490043f comment out testng code 2024-09-08 09:38:51 +02:00
FunkyFr3sh
563473b835 fix naming of key bools 2024-09-08 09:38:16 +02:00
FunkyFr3sh
7165d27d71 don't hook SH33W32 2024-09-08 08:53:11 +02:00
FunkyFr3sh
1bc96a658f add preset for Barney - Secret of the Rainbow 2024-09-08 08:21:05 +02:00
FunkyFr3sh
1bcdf92d10 add some more error checks 2024-09-08 08:08:18 +02:00
FunkyFr3sh
b92b2deafa ignore all key down messages 2024-09-07 20:43:58 +02:00
FunkyFr3sh
d3139c67fb keep the mingw debug build win2000 compatible 2024-09-07 17:37:16 +02:00
FunkyFr3sh
3b4fcb09e2 make sure we always get the key_up message so keys don't get stuck 2024-09-07 17:22:30 +02:00
FunkyFr3sh
d0de68bf42 some more cosmetic changes 2024-09-07 16:50:51 +02:00
FunkyFr3sh
0a65317d96 move checks into function + cleanup 2024-09-07 16:44:35 +02:00
FunkyFr3sh
614e340f15 fix warnings 2024-09-07 15:32:55 +02:00
FunkyFr3sh
02c8080910 use regular macros with release builds 2024-09-07 15:23:46 +02:00
FunkyFr3sh
2a269f19b6 log direct3d9 errors 2024-09-07 14:27:56 +02:00