Commit graph

2108 commits

Author SHA1 Message Date
FunkyFr3sh
dc719ec59b add presets for army men 2024-12-18 08:46:27 +01:00
FunkyFr3sh
d1338fd92a add support for Die by the Sword 2024-12-18 07:34:36 +01:00
FunkyFr3sh
7af3be82e3 update Return to Krondor preset 2024-12-18 04:20:58 +01:00
FunkyFr3sh
02427d606b add preset for virtual springfield 2024-12-18 04:20:37 +01:00
FunkyFr3sh
f70f67857e hook DefWindowProcA 2024-12-18 03:15:23 +01:00
FunkyFr3sh
34250bf224 fix for last commit 2024-12-17 01:11:09 +01:00
FunkyFr3sh
30805c78cc add support for dosbox staging shaders 2024-12-17 01:02:21 +01:00
FunkyFr3sh
747e1ec3a7 fix return value of GetSystemPaletteEntries 2024-12-16 22:33:35 +01:00
FunkyFr3sh
f9b47a9f0e log when palette was changed 2024-12-16 22:13:26 +01:00
FunkyFr3sh
4b0f0f2cf5 use faster method to check for palette changes 2024-12-16 22:03:23 +01:00
FunkyFr3sh
f58c4a4978 log selected_pal_count 2024-12-16 21:48:45 +01:00
FunkyFr3sh
39b2e69540 make sure we don't update the palette twice 2024-12-16 21:33:05 +01:00
FunkyFr3sh
bbe8c4f857 log args 2024-12-16 20:45:24 +01:00
FunkyFr3sh
363d54ece0 fix WM_NCHITTEST message 2024-12-16 18:57:27 +01:00
FunkyFr3sh
018d49ce36 don't allow to set palette to surface that isn't 8bpp 2024-12-16 07:18:10 +01:00
FunkyFr3sh
82386fbbc4 add preset for Nightlong - Union City Conspiracy 2024-12-16 06:43:32 +01:00
FunkyFr3sh
c35ca60307 do not use DwmFlush in wine (it's only a stub) 2024-12-16 02:24:46 +01:00
FunkyFr3sh
987b489a4c copy code from SetWindowPos 2024-12-16 02:03:10 +01:00
FunkyFr3sh
b38aeb30ae fix GetWindowPlacement hook for child windows 2024-12-16 01:56:02 +01:00
FunkyFr3sh
1b0a839588 add preset for Imperialism II 2024-12-16 00:50:50 +01:00
FunkyFr3sh
79548888d4 #367 hook SetWindowPlacement / Fix windowed mode 2024-12-16 00:43:57 +01:00
FunkyFr3sh
911c3bdfeb #367 fix videos in Imperialism 2: The Age of Exploration 2024-12-15 23:40:41 +01:00
FunkyFr3sh
bf62b84cb0 keep logs clean in mini debug build 2024-12-15 20:26:21 +01:00
FunkyFr3sh
75ed1582d2 hook RealizePalette 2024-12-15 20:17:26 +01:00
FunkyFr3sh
8be9875553 fix return value for NUMCOLORS on desktop window 2024-12-15 20:16:49 +01:00
FunkyFr3sh
9a015c47cb rename palette 2024-12-15 08:02:00 +01:00
FunkyFr3sh
308fefb654 add GetDesktopWindow check 2024-12-15 08:01:23 +01:00
FunkyFr3sh
b15e579ea4 add some checks 2024-12-15 02:32:06 +01:00
FunkyFr3sh
60735fc0d5 use return value from GetPaletteEntries 2024-12-15 02:26:47 +01:00
FunkyFr3sh
a5a4204f41 hook SelectPalette 2024-12-15 02:01:08 +01:00
FunkyFr3sh
6c67db5db1 log args as well 2024-12-15 01:20:12 +01:00
FunkyFr3sh
091a8c1d6e add debug logging 2024-12-15 01:17:53 +01:00
FunkyFr3sh
0905cb8059 log function call 2024-12-15 01:00:09 +01:00
FunkyFr3sh
58f8f89c66 remove debug code 2024-12-15 00:56:47 +01:00
FunkyFr3sh
06aadb709f fix for last commit 2024-12-15 00:56:37 +01:00
FunkyFr3sh
82d3ec46a3 copy from g_ddp_me_palette if there's no primary yet 2024-12-15 00:56:06 +01:00
FunkyFr3sh
1c263ca573 hook GetSystemPaletteEntries 2024-12-15 00:46:44 +01:00
FunkyFr3sh
806924f86e assign default palette to primary surface 2024-12-15 00:05:51 +01:00
FunkyFr3sh
ac19dec2c4 remove kings quest preset 2024-12-14 21:08:41 +01:00
FunkyFr3sh
665e244ffe update presets 2024-12-14 19:11:31 +01:00
FunkyFr3sh
8bae36ca0f add preset for Return to Krondor 2024-12-14 05:17:17 +01:00
FunkyFr3sh
dab64437f1 add preset for Dreams to Realty 2024-12-14 04:37:57 +01:00
FunkyFr3sh
238d2f6ee5 add preset for F16 Agressor 2024-12-14 02:32:55 +01:00
FunkyFr3sh
3a6075b928 tweak IAT hooks 2024-12-14 02:17:05 +01:00
FunkyFr3sh
7c4abe5ef0 do not enable setting by default 2024-12-14 02:02:24 +01:00
FunkyFr3sh
6dcfe78398 add support for 7th Legion 2024-12-14 02:01:38 +01:00
FunkyFr3sh
02f706e3bb Revert "don't set dds_unlock_limiter_disabled on colorfill"
This reverts commit 7f8bc1bc56.
2024-12-13 20:23:56 +01:00
FunkyFr3sh
7f8bc1bc56 don't set dds_unlock_limiter_disabled on colorfill 2024-12-13 06:50:12 +01:00
FunkyFr3sh
2dbebf8cef update supported games list and add presets 2024-12-12 22:31:01 +01:00
FunkyFr3sh
40a9ff3036 #316 fix crash on opengl 1.1 2024-12-12 19:10:34 +01:00
FunkyFr3sh
ca8ba0d3bb update supported games list and add presets 2024-12-12 06:59:07 +01:00
FunkyFr3sh
89d7b0f63d always use default shader for HD 4000 2024-12-11 20:29:04 +01:00
FunkyFr3sh
8a770092e1 add temp logs 2024-12-11 19:14:54 +01:00
FunkyFr3sh
f9f15f65e0 #364 add hack for intel hd 4000 build 10.18.10.5161 2024-12-11 18:52:35 +01:00
FunkyFr3sh
1bb1ffd8b8 align 2024-12-10 22:01:55 +01:00
FunkyFr3sh
ca35888d87 fix for last commit 2024-12-10 20:53:01 +01:00
FunkyFr3sh
4ff49faa89 fix for last commit 2024-12-10 20:52:48 +01:00
FunkyFr3sh
0843d5b9fc add strncpy fix 2024-12-10 20:52:36 +01:00
FunkyFr3sh
31b8d0aff8 #364 add hack for Intel HD 4000 driver Build 10.18.10.4252 bug - disable multipass shader 2024-12-10 20:43:06 +01:00
FunkyFr3sh
14ff0a0d9e use ExitProcess instead of _exit to avoid issues 2024-12-07 02:24:22 +01:00
FunkyFr3sh
895db5bf93 SetThreadExecutionState for windows and SPI_SETSCREENSAVEACTIVE for WINE 2024-11-30 23:39:11 +01:00
FunkyFr3sh
7505295e33 Revert "use SetThreadExecutionState with ES_DISPLAY_REQUIRED"
This reverts commit eafcdaf95d.
2024-11-29 20:12:46 +01:00
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