Commit graph

2053 commits

Author SHA1 Message Date
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
FunkyFr3sh
60a66776a6 port alt-key-stuck fix to new keyboard hook 2024-09-07 12:52:35 +02:00
FunkyFr3sh
eb5957008f disable workaround for cases where PeekMessage was not hooked 2024-09-06 22:29:25 +02:00
FunkyFr3sh
b1e7cfe5b4 do not minimize on RestoreDisplayMode (needs more testing) 2024-09-06 20:54:42 +02:00
FunkyFr3sh
4b46c48a36 fix warnings 2024-09-06 19:07:01 +02:00
FunkyFr3sh
a87a2d7191 use key_down rather than key_up for hotkeys 2024-09-06 18:46:21 +02:00
FunkyFr3sh
8f9534812b remove moorhuhn preset 2024-09-06 18:17:48 +02:00
FunkyFr3sh
fc143416ad fix crash on exit in fallout2 2024-09-06 18:17:19 +02:00
FunkyFr3sh
9c18999a11 fix hotkey for Fallout2, jagged alliance 2, trivia and a probably a few other games 2024-09-06 18:10:22 +02:00
FunkyFr3sh
a063e25825 fix last_msg_pull_tick update 2024-09-06 16:34:52 +02:00
FunkyFr3sh
f3d1ba8cf4 append filename to log files 2024-09-05 09:19:13 +02:00
FunkyFr3sh
560a7e6a20 add check to GetVersion functions 2024-09-03 18:22:38 +02:00
FunkyFr3sh
b88857386e add new "win_version" setting to fake the reported windows version 2024-09-03 18:07:16 +02:00
FunkyFr3sh
5d6b78b23d update Trivia preset 2024-09-02 18:53:24 +02:00
FunkyFr3sh
5194543aca minimize window on RestoreDisplayMode 2024-09-02 18:52:19 +02:00
FunkyFr3sh
ac910cd4e9 update trivia preset 2024-09-02 18:01:25 +02:00
FunkyFr3sh
de86f913cb make Trivia windows transparent 2024-09-02 18:01:17 +02:00
FunkyFr3sh
b14b3e1dd8 force redraw in GDI renderer too 2024-09-02 18:00:57 +02:00
FunkyFr3sh
056c0750b2 update SetDIBitsToDevice hook 2024-09-02 17:48:18 +02:00
FunkyFr3sh
66a31e2282 update bitblt hook 2024-09-02 17:45:10 +02:00
FunkyFr3sh
a221c67842 add preset for Disney Trivia Challenge 2024-09-02 17:30:24 +02:00
FunkyFr3sh
649ba3050a make sure we always got a cliplist 2024-09-02 14:49:11 +02:00
FunkyFr3sh
aac405031e add some more checks to fixnotresponding patch 2024-09-02 13:09:47 +02:00
FunkyFr3sh
4e8253e873 add preset for The Jungle Book Groove Party 2024-09-02 12:51:57 +02:00
FunkyFr3sh
ca8bb53195 add fixnotresponding to blt as well 2024-09-02 12:40:39 +02:00
FunkyFr3sh
ca70847250 add preset for Jungle Storm 2024-09-02 12:25:46 +02:00
FunkyFr3sh
6620708f6a update glover preset 2024-09-02 12:15:00 +02:00
FunkyFr3sh
50da3c6a24 add preset for glover 2024-09-02 12:03:39 +02:00
FunkyFr3sh
40e30163d1 simplify git code 2024-09-02 10:44:09 +02:00
FunkyFr3sh
d6b2249c78 add missing NULL checks 2024-09-01 13:52:36 +02:00
FunkyFr3sh
0e173ef6a8 add preset for lego loco 2024-09-01 13:32:03 +02:00
FunkyFr3sh
ccbf60698a allow to override SM_CXSCREEN and SM_CYSCREEN via fake_mode 2024-09-01 12:34:36 +02:00
FunkyFr3sh
094d020e05 allow to override bpp via fake_mode 2024-09-01 12:16:19 +02:00
FunkyFr3sh
0f2a367c36 add git branch to logs 2024-09-01 09:40:46 +02:00
FunkyFr3sh
7c85e9c494 add preset for Thomas & Friends 2024-08-31 17:00:53 +02:00
FunkyFr3sh
f3ba703444 add git commit hash to mingw build as well 2024-08-31 14:09:35 +02:00
FunkyFr3sh
b5eea287d5 add git commit hash to file version and log 2024-08-31 13:22:29 +02:00
FunkyFr3sh
248b62a332 add NULL checks to QueryInterface 2024-08-31 11:12:39 +02:00
FunkyFr3sh
004951a940 ignore 0 GUID 2024-08-31 10:11:37 +02:00
FunkyFr3sh
1bdc2dc2b2 hook _invoke_watson 2024-08-31 08:09:51 +02:00
FunkyFr3sh
00bb6254a0 Force access violation in debug build to produce a dmp file for debugging (disables watson) 2024-08-31 07:35:31 +02:00
FunkyFr3sh
6ad443cfb1 uncomment ReleaseCapture call to prevent cursor issues in windowed mode 2024-08-30 16:02:32 +02:00
FunkyFr3sh
1b0c518759 add preset for Girl Talk 2024-08-30 12:44:55 +02:00
FunkyFr3sh
f64913b5e6 fix for windowed_hack 2024-08-30 12:37:06 +02:00
FunkyFr3sh
18f6b1e5ea add preset for Play with the Teletubbies 2024-08-30 12:10:50 +02:00
FunkyFr3sh
e44b04956f add preset for Axis & Allies 2024-08-30 12:06:21 +02:00
FunkyFr3sh
9565b2b50f make sure we return proper resolution list when using windowed hack 2024-08-30 11:55:43 +02:00
FunkyFr3sh
fc99383f21 lie about SIZEPALETTE and NUMCOLORS in GetDeviceCaps 2024-08-30 10:25:38 +02:00
FunkyFr3sh
25ef20e711 always create log files next to game exe 2024-08-30 09:04:22 +02:00
FunkyFr3sh
c7fe0b614b fix STATUS_INVALID_CRUNTIME_PARAMETER crash with debug build 2024-08-30 08:28:59 +02:00
FunkyFr3sh
9d31f76d3e add presets 2024-08-29 17:24:21 +02:00
FunkyFr3sh
8fe9a9370c tweak fake output of GetVerticalBlankStatus 2024-08-29 11:41:31 +02:00
FunkyFr3sh
a8dfbff1f2 add preset for Jeopardy! 2024-08-28 15:27:42 +02:00
FunkyFr3sh
0884be514d handle cases where DDSD_WIDTH and DDSD_HEIGHT passed to dd_EnumDisplayModes 2024-08-28 10:24:00 +02:00
FunkyFr3sh
e79e076f0a only ignore errors in debug build 2024-08-28 09:25:15 +02:00
FunkyFr3sh
efd5bc6c32 use glGetStringi if available (fixes errors on core profile) 2024-08-28 09:19:32 +02:00
FunkyFr3sh
dffed46947 Ignore errors from glGetString 2024-08-28 08:36:46 +02:00
FunkyFr3sh
bdb249058a fix ddsCaps 2024-08-26 08:57:11 +02:00
FunkyFr3sh
283295a5c9 add DDSCL_FULLSCREEN check 2024-08-25 19:12:15 +02:00
FunkyFr3sh
e6c5c4ede2 enable workaround for fallout 1 as well 2024-08-25 12:26:12 +02:00
FunkyFr3sh
a0ec16ba4d add preset for constructor 2024-08-25 09:07:50 +02:00
FunkyFr3sh
136b5b30c5 add new IsSteamDeck function to versionhelpers 2024-08-24 14:50:03 +02:00
FunkyFr3sh
40ed996311 disable wayland detection for SteamDeck
Not needed because the deck does automatically enabled gamescope and therefore games will not glitch
2024-08-24 14:42:33 +02:00
FunkyFr3sh
ab3aac113e add comment 2024-08-21 10:22:59 +02:00
FunkyFr3sh
57d5a9cda3 add fallout 2 workaround for window not showing up in taskbar sometimes 2024-08-21 10:07:57 +02:00
FunkyFr3sh
073709dc3a update presets 2024-08-21 08:53:08 +02:00
FunkyFr3sh
826cb5c4d5 fix bmp screenshots 2024-08-21 08:37:13 +02:00
FunkyFr3sh
848b084655 update callus 95 preset 2024-08-21 04:56:49 +02:00
FunkyFr3sh
f903230ed5 update callus 95 preset 2024-08-21 04:54:06 +02:00
FunkyFr3sh
05685bffae always disable menu in fullscreen mode (keep it for borderelss only) 2024-08-20 11:09:49 +02:00
FunkyFr3sh
c838496b20 update age of wonders presets 2024-08-20 11:01:48 +02:00
FunkyFr3sh
4078fdf919 use Alt+Backspace hokey combo for windowed toggle in Moorhuhn 2024-08-20 10:44:54 +02:00
FunkyFr3sh
35f27746d1 add remove_menu setting to ini template 2024-08-20 09:56:07 +02:00
FunkyFr3sh
2faed7325b update HoMM 4 preset 2024-08-20 09:55:27 +02:00
FunkyFr3sh
815e9f045b fix warning 2024-08-18 11:40:17 +02:00
FunkyFr3sh
efb524ee4d add new optionm to fixchild= ini setting 2024-08-17 14:23:29 +02:00
FunkyFr3sh
a6adda6ace add commented out test code 2024-08-17 13:13:25 +02:00
FunkyFr3sh
52b63d3d47 add preset for Callus 95 2024-08-17 07:37:43 +02:00
FunkyFr3sh
79b1812e5a hide msctls_statusbar32 2024-08-17 07:34:54 +02:00
FunkyFr3sh
af8a81b618 Force redraw for GDI games 2024-08-17 06:03:41 +02:00
FunkyFr3sh
5ca3319e7a update some older presets 2024-08-16 15:30:07 +02:00
FunkyFr3sh
164365efd3 add new aspect_ratio to ddraw.ini 2024-08-16 07:51:05 +02:00
FunkyFr3sh
33666bbd19 try to get at least some windowed games working with zero config 2024-08-15 16:50:28 +02:00
FunkyFr3sh
aa357c044d set default size of primary surface to 1024x768 2024-08-15 14:20:13 +02:00
FunkyFr3sh
1ce5acd05d update lapis preset 2024-08-15 12:58:52 +02:00
FunkyFr3sh
9f12b35dc8 revert debug change 2024-08-15 12:55:54 +02:00
FunkyFr3sh
b40fcdd14e update lapis preset 2024-08-15 12:30:52 +02:00
FunkyFr3sh
35bc19f731 add preset for Lapis 2024-08-15 12:10:34 +02:00
FunkyFr3sh
f49f09895b save and restore dc state 2024-08-15 12:06:02 +02:00
FunkyFr3sh
79feefac26 remove test code 2024-08-15 10:19:28 +02:00
FunkyFr3sh
c7e4b81ad7 add experimental aspect_ratio setting (hidden for now) 2024-08-15 10:16:20 +02:00
FunkyFr3sh
e23a0ce1d5 rename once more 2024-08-13 04:57:26 +02:00
FunkyFr3sh
04c5944165 use -shader2scale instead of -noscale in filenames 2024-08-13 04:48:10 +02:00
FunkyFr3sh
e0b7d26856 add option to allow upscaling via shader2
must insert "-noscale" into filename to activate
2024-08-13 04:45:05 +02:00