Commit Graph

66 Commits

Author SHA1 Message Date
9c66488906
added Move/Replace/Delete hooks
- fixes FGO not correctly switching `START UP MODE`
- fixes SWDC not correctly switching `CABINET SETTING`
2024-02-27 16:54:12 +01:00
629ded4018 added AimePay, E-MONEY DNS redirects 2024-02-25 19:03:05 +01:00
3dd6054a1e
chusan, fgo, mu3: fixed LED 15093 board 2023-12-03 21:34:38 +01:00
a3fd2fb926
Merge branch 'master' into develop 2023-11-29 23:07:24 +01:00
4dcf01f643 carol: somewhat-working touch board?? 2023-11-27 23:23:00 -05:00
d86baab852
fgo: working FTDI hook by @OLEG
from: 88a0026f0b
2023-11-22 21:43:42 +01:00
a2db39c58c
fgo: fgohook finally added
Credits:
- Coburn
- domeori
- Mitsuhide
- OLEG
- rakisaionji
2023-11-11 23:05:11 +01:00
6c45d0995b
fix cursor being annoying by @OLEG
95273ccecb
2023-10-05 00:37:25 +02:00
37793fc051
Merge branch 'master' into develop 2023-10-05 00:30:24 +02:00
528ec4379c createprocess: add replace_all flag 2023-09-15 19:57:11 -04:00
5ef0cf6181
Merge branch 'master' into develop 2023-09-15 19:56:48 +02:00
157f52da4c platform: add epay hook 2023-09-15 01:35:33 -04:00
0d83977073 hooklib: fill out my_CreateProcessA 2023-09-13 20:23:40 -04:00
dca84e08d0 hooklib: fix createprocess imports 2023-09-13 19:57:10 -04:00
2dbb4aec8c hooklib: add createprocess to meson 2023-09-13 19:54:22 -04:00
3d7d9fcaa5 hooklib: add createprocess hook skeleton 2023-09-13 17:54:40 -04:00
608c9ac1a6
chusan, cm, mai2, mu3: Added dipSw support and highBaudrate AiMe 2023-08-15 17:28:19 +02:00
01be6ee33c
cardmaker: hook, touch screen hook added
Thanks @domeori https://dev.s-ul.net/domeori/segatools/-/tree/mr-imports
2023-07-14 00:59:24 +02:00
02201dfba5 path: add hooks for PathFileExistsA/W 2023-05-24 01:08:08 -04:00
f0b307e120 add hooklib for external functions loaded via getprocaddress 2023-02-13 03:08:41 -05:00
5f51699c78 mercury: fix coin counter (thanks Raki!) 2023-02-13 03:08:40 -05:00
db5b264155 gfxhook: Fix some clang-tidy warnings 2023-02-13 03:07:37 -05:00
0443a985bd wip: move gfx to gfxhook, some borderless window stuff 2023-02-13 03:07:37 -05:00
dc85ee3d29 Draft: hooklib/gfx/dxgi.c: Delegate IDXGIFactory hook selection to helper method 2023-02-13 03:07:37 -05:00
4854170817 Draft: hooklib/gfx/dxgi.c: Add CreateDXGIFactory2 hook 2023-02-13 03:07:37 -05:00
b6f1ca6437 hooklib: Add D3D11 and DXGI graphics hooks
IDZ only supports D3D11 and Ongeki/Unity uses D3D11 by default.

This also includes a window hook and fullscreen fix for problematic
games (I am looking at you IDZ).
2023-02-13 03:07:37 -05:00
Hay1tsme
fe9f78b016 removed prints, added phantom device 2023-02-13 03:07:36 -05:00
40ce4d1bb3 added setupapi hook to elisabeth 2023-02-13 03:07:36 -05:00
67c3865b9d hooklib/dll.c: Ensure LoadLibraryExW is always available 2021-08-15 23:08:18 +00:00
96782ba672 hooklib/dll.c: Add LoadLibraryEx hooks
- Initial D: Zero uses `LoadLibraryExW` to load `d3d11.dll` and `dxgi.dll`.
2021-08-15 23:08:18 +00:00
a26efa8c0d hooklib/path.c: Hook RemoveDirectory
- A certain game uses RemoveDirectory to clear out some data in the Y:
2021-08-12 23:20:05 +00:00
6cb1008cabfc0d4485696f6df7431a5e27604e1b
031ccb154b dvd: move thread safety comment into header file 2021-06-17 04:13:50 +02:00
6cb1008cabfc0d4485696f6df7431a5e27604e1b
56a32fd80a Add dvd hook to allow hiding connected dvd drives 2021-06-17 04:02:55 +02:00
9bd0c96fab Remove leftover GetProcAddress definition 2021-06-17 01:39:52 +00:00
Tau
45e2416702 Simplify DLL hook mechanism
This change deletes the GetProcAddress hook and exports symbols
corresponding to the hooked functions from each hook DLL instead;
we stop at redirecting LoadLibrary/GetModuleHandle calls to the
hook DLL. This simplified approach has less hidden magic going on
behind the scenes and is more readily composable (i.e. a hook DLL
can export redirect symbols for more than one dynamically-loaded
DLL).
2021-06-13 11:27:00 -04:00
Tau
1d6b7591ef Fix DLL loader hook logic
Seems this was quite buggy in its original form.
2021-06-13 11:27:00 -04:00
Tau
81f90981b4 Delete draft debris that was never used 2021-06-13 11:27:00 -04:00
85be42b2ce67a8e34b32793360824b056c0c2444
43428a6502 Add support for specifing monitor number for dx9 games 2020-06-06 22:27:07 +02:00
eef0f74ac0 hooklib/path.c: hook Ex variants of CreateDirectory 2020-05-21 00:58:24 +00:00
8607faea7f hooklib/gfx.c: add dynamic DLL hook on d3d9.dll
- Somehow doing `dll_hook_push` on `d3d9.dll` fixes the path hooks for
  Ongeki's `mu3.exe`
2020-05-21 00:58:23 +00:00
8bde573bdd hooklib/path.c: add function to hook apply path hooks to another module 2020-05-21 00:58:20 +00:00
8108ec2130 platform/vfs.c: allow nthome and option path hooks without ending back-slash
- This actually fixed option loading.

- Ongeki uses forward-slashes for Y:/SDDT/log
2020-05-20 18:09:23 +00:00
888be1df7c6f962725a28a172a5394eec3e228e7
54cd2f6e9a hooklib/path.c: add slash-insensitive path comparison API 2019-12-19 08:31:44 +01:00
888be1df7c6f962725a28a172a5394eec3e228e7
03c7954ada hooklib/path.c: add support for FindFirstFile{A,W} 2019-12-18 20:23:35 +01:00
Will Toohey
4bc7eee909 Allow dns hook to fail a resolve and add domains
This lets people with crap ISPs that resolve domains
that they shouldn't to use the game without
changing their DNS server
2019-11-17 15:08:25 +10:00
5d56ff255b4bb8866101856f9e0def651041e410
f5aa7f4d88 Fix build on msbuild 2019-11-09 15:44:46 -07:00
Tau
8485879ff7 hooklib: Shift config structs around 2019-11-05 19:31:51 -05:00
Tau
06df306c52 Fix some dprintf() message prefixes 2019-11-03 09:44:40 -05:00
Tau
46e5c6127d Fix function pointer calling convention syntax
Fixes MSVC build
2019-11-03 08:36:37 -05:00
Tau
b270eaf1c6 hooklib/gfx.c: Add option to frame the d3d window 2019-10-19 17:05:09 -04:00