Commit Graph

59 Commits

Author SHA1 Message Date
25562e37f9
nusec: fixes keychip not found error 0949 2023-11-02 23:32:13 +01:00
f5a7e5b821
epay: added config because git is dumb 2023-09-15 19:58:46 +02: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
98d2ea1390 vfs: add hook for C:\Users\AppUser 2023-09-13 11:25:29 -04:00
2277bf7526
all: fix accounting issue (my bad) 2023-08-15 20:23:28 +02:00
600f795104
disable dipsw by default 2023-07-14 01:07:22 +02:00
c27ef9674d
idac: added dipswitch support (beta) 2023-07-14 00:41:23 +02:00
9113766c22 vfs: add D drive hooks 2023-05-24 01:07:56 -04:00
69f3c380f3 fix billingType 2023-02-13 03:08:41 -05:00
8b58116f25 platform: make billing type configurable 2023-02-13 03:08:40 -05:00
376dad0bc8 Add carolhook for Wonderland Wars 2023-02-13 03:08:40 -05:00
929ea862ca wacca: io is now part of mercuryhook.dll 2023-02-13 03:08:40 -05:00
ed42e63a78 platform: Prevent amdaemon from shutting down the computer or logging off user 2021-08-12 23:14:34 +00:00
cc95389646 platform: Add basic hwreset implementation for ALLS 2021-08-12 23:14:31 +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
bd1e893b7a platform/amvideo.c: remove left-over brace from debug messages 2020-05-21 00:58:24 +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
b8c960b526 platform/vfs.c: allow relative paths in configuration 2019-12-22 22:41:08 +01:00
888be1df7c6f962725a28a172a5394eec3e228e7
e97f6b5d8d platform/vfs.c: add option path redirection
Optional for now, since not all games or configurations may need it.
It may be better eventually to refactor hooklib/path.c to allow for
static path remapping, to minimize boilerplate code around the functions.
2019-12-22 18:27:19 +01:00
888be1df7c6f962725a28a172a5394eec3e228e7
54cd2f6e9a hooklib/path.c: add slash-insensitive path comparison API 2019-12-19 08:31:44 +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
Will Toohey
9f933bb371 Fix compile due to undefined CERT_NAME_BLOB
mingw-w64 bug 523 means that compile fails with missing type CERT_NAME_BLOB
Pulling in wincrypt.h solves this
2019-11-17 14:31:23 +10:00
Tau
0317a48280 platform/netenv.c: Fix GetIfTable() for idz 2019-11-07 18:11:26 -05:00
Tau
7f05295b2e platform/config.c: Fix sscanf() format string 2019-11-06 20:18:56 -05:00
Tau
48721f5418 platform/vfs.c: Abort if VFS is misconfigured 2019-11-05 20:44:00 -05:00
Tau
8b8656c9d2 platform: Shift config structs around 2019-11-05 19:31:11 -05:00
Tau
dcdc19086d platform/config.c: Set sensible default keychip subnet 2019-11-04 21:47:41 -05:00
Tau
f76ddf2103 platform/amvideo.c: Trim debug log
We don't really need to dump all those hex memory addresses.
2019-11-03 19:54:41 -05:00
Tau
c7255e3ebb platform/pcbid.c: Return HRESULT for consistency 2019-11-03 19:54:31 -05:00
Tau
879dc0bfb4 Use new iohook_open_nul_fd() API
Makes error handling more consistent
2019-11-03 11:02:54 -05:00
Tau
3d6669dff1 platform: Re-fuse Nu and ALLS platforms
There's basically no difference at the platform level except for
the addition of the ALLS PCBID hook, which is harmless on Nu.
2019-11-03 09:52:33 -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
de134877a6 platform/netenv.c: Virualize LAN configuration 2019-11-02 23:10:27 -04:00
Tau
e918795445 Make clock hook configurable 2019-10-14 23:18:18 -04:00
Tau
0242c5efc8 platform/dns.c: Intercept router host names 2019-09-07 13:49:04 -04:00
Tau
29d9561a28 platform/vfs.c: Redirect AppUser home dir
One less thing to require admin privileges.
2019-09-04 15:38:50 -04:00
Tau
a77e9efbed platform/platform.c: Integrate platform DNS hook 2019-09-04 13:47:31 -04:00
Tau
1affb5c169 platform/dns.c: Add platform DNS hook 2019-09-04 13:47:31 -04:00
Tau
05e4dda8e6 Add missing <assert.h> includes
Fixes non-PCH build.
2019-09-01 11:48:14 -04:00
Tau
13c59b13b8 platform: Add ALLS platform 2019-08-30 18:46:57 -04:00
Tau
86bd7443cc platform/amvideo.c: Stub monitor_setting_X reg val 2019-08-30 18:46:19 -04:00
Tau
886b7c5990 platform/pcbid.c: Fixups 2019-08-30 18:45:24 -04:00
Tau
65ccaf55f3 platform/pcbid.c: Use pcbid_config 2019-08-20 18:44:57 -04:00
Tau
8774b83f9c platform/config.c: Add struct pcbid_config 2019-08-20 18:44:47 -04:00
Tau
47238b210b platform/reg.c: Blackhole SystemError reg val 2019-06-09 15:38:27 -04:00
Tau
55062bf56b platform/misc.c: Add miscellaneous registry hooks 2019-05-18 00:00:57 -04:00
Tau
a74a5de128 platform/vfs.c: Add filesystem path redirectors 2019-05-18 00:00:57 -04:00
Tau
5722061cbf platform: Wire up configuration 2019-05-18 00:00:57 -04:00