Commit Graph

597 Commits

Author SHA1 Message Date
c7a4c66419 mu3hook/dllmain.c: fix hook initialization order to fix path hook
- If the Unity `LoadLibraryW` hook is done too early, then it somehow
  interferes with the other DLL and hook table IAT hooks. Workaround
  this by moving the Unity `LoadLibraryW` hook initialization after all
  other hooks are done.

- Also, correct the platform ID to the ALLS HX
2020-05-21 00:58:24 +00:00
776cf50bd0
mu3hook/dllmain.c: fix hook initialization order to fix path hook
- If the Unity `LoadLibraryW` hook is done too early, then it somehow
  interferes with the other DLL and hook table IAT hooks. Workaround
  this by moving the Unity `LoadLibraryW` hook initialization after all
  other hooks are done.

- Also, correct the platform ID to the ALLS HX
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
c037dd73e4
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
7a51533194 mu3hook/dllmain.c: initialize graphics hook 2020-05-21 00:58:23 +00:00
86f2717316
mu3hook/dllmain.c: initialize graphics hook 2020-05-21 00:58:23 +00:00
20d5d480fb mu3hook/unity.c: hook Unity plugin DLLs
- Unity loads plugin DLLs and Mono dynamically.

- Ongeki uses Criware for videos so hook the Criware plugin DLL so the
  path hooks load the videos from the hooked paths.
2020-05-21 00:58:23 +00:00
a1f093a317
mu3hook/unity.c: hook Unity plugin DLLs
- Unity loads plugin DLLs and Mono dynamically.

- Ongeki uses Criware for videos so hook the Criware plugin DLL so the
  path hooks load the videos from the hooked paths.
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
533683e595
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
00819a2721
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
5d3b9130281102eb36519ddd0a2c6868ff061a3b
901cedce89 Unify LED command name for Diva/Chunithm slider 2019-12-29 22:48:35 -04:00
dogtopus
356e8ae20c Unify LED command name for Diva/Chunithm slider 2019-12-29 22:48:35 -04:00
5d3b9130281102eb36519ddd0a2c6868ff061a3b
16094c0720 Style fixes 2019-12-29 22:20:54 -04:00
dogtopus
300338220a Style fixes 2019-12-29 22:20:54 -04:00
5d3b9130281102eb36519ddd0a2c6868ff061a3b
180dc3378a Diva: Fix slider detection & sensor order 2019-12-29 21:13:40 -04:00
dogtopus
01e1e1a7b8 Diva: Fix slider detection & sensor order 2019-12-29 21:13:40 -04:00
5d3b9130281102eb36519ddd0a2c6868ff061a3b
d32f6ab18b divahook: Add an option to disable slider emulation 2019-12-29 13:28:32 -04:00
dogtopus
0c74d64d5c divahook: Add an option to disable slider emulation 2019-12-29 13:28:32 -04:00
Tau
37252be684 Add CHANGELOG 2019-12-28 11:16:06 -05:00
Tau
f732eb05a8 Add CHANGELOG 2019-12-28 11:16:06 -05:00
Tau
d98dc984f3 aimeio: Fix INI loading
Got bitten by the win32 INI API's handling of relative paths again.
2019-12-25 16:29:01 -05:00
Tau
34ad466df2 aimeio: Fix INI loading
Got bitten by the win32 INI API's handling of relative paths again.
2019-12-25 16:29:01 -05:00
888be1df7c6f962725a28a172a5394eec3e228e7
b8c960b526 platform/vfs.c: allow relative paths in configuration 2019-12-22 22:41:08 +01:00
Shiz
9137a36a53 platform/vfs.c: allow relative paths in configuration 2019-12-22 22:41:08 +01:00
888be1df7c6f962725a28a172a5394eec3e228e7
5a57a409a1 build: enable "secure" CRT headers on MinGW
Some distributions of MinGW, recent builds included, require
`MINGW_HAS_SECURE_API` to be defined in order to expose `_s` variants of
functions, as defined by Annex K of the C standard, in the headers.

Omitting this definition leads to a bunch of compiler warnings clobbering
the build output, as well as possibly incorrect inference of argument and
return types by the compiler.

It needs to be set to `1` as opposed to simply defined as per
https://sourceforge.net/p/mingw-w64/bugs/714/.
2019-12-22 21:55:55 +01:00
Shiz
ad24fe10bb build: enable "secure" CRT headers on MinGW
Some distributions of MinGW, recent builds included, require
`MINGW_HAS_SECURE_API` to be defined in order to expose `_s` variants of
functions, as defined by Annex K of the C standard, in the headers.

Omitting this definition leads to a bunch of compiler warnings clobbering
the build output, as well as possibly incorrect inference of argument and
return types by the compiler.

It needs to be set to `1` as opposed to simply defined as per
https://sourceforge.net/p/mingw-w64/bugs/714/.
2019-12-22 21:55:55 +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
Shiz
0d8dd05ceb 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
Shiz
a31557c5cd 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
Shiz
28e9594b98 hooklib/path.c: add support for FindFirstFile{A,W} 2019-12-18 20:23:35 +01:00
Tau
e62957c4d5 Add INI comments for Chunithm IO config 2019-11-27 21:14:44 -05:00
Tau
83afa0a423 Add INI comments for Chunithm IO config 2019-11-27 21:14:44 -05:00
Tau
b799f9f446 Simplify configurable GetAsyncKeyState
Setting the VK code to zero effectively disables these anyway.
2019-11-27 21:02:51 -05:00
Tau
97cfa2289e Simplify configurable GetAsyncKeyState
Setting the VK code to zero effectively disables these anyway.
2019-11-27 21:02:51 -05:00
Tau
beeebf3946 chuniio: Add input config 2019-11-27 21:02:51 -05:00
Tau
388ba0b4a4 chuniio: Add input config 2019-11-27 21:02:51 -05:00
Tau
39abee3a75 chuniio: Increase touch pressure
The touch pressure threshold is configurable, probably best not to
set this to the bare minimum.
2019-11-24 18:44:39 -05:00
Tau
e6c792787b chuniio: Increase touch pressure
The touch pressure threshold is configurable, probably best not to
set this to the bare minimum.
2019-11-24 18:44:39 -05:00
Tau
9ac573801a idzio: Adjust and document [io3] restrict= setting 2019-11-24 18:44:39 -05:00
Tau
2402e6cb88 idzio: Adjust and document [io3] restrict= setting 2019-11-24 18:44:39 -05:00
Tau
65eda2a9f1 Uncomment default subnet INI setting
The default value being commented out is no doubt a great source
of confusion whenever somebody attempts to edit it without
realizing that it is a comment.
2019-11-24 12:46:40 -05:00
Tau
eb58c0ef23 Uncomment default subnet INI setting
The default value being commented out is no doubt a great source
of confusion whenever somebody attempts to edit it without
realizing that it is a comment.
2019-11-24 12:46:40 -05:00
85be42b2ce67a8e34b32793360824b056c0c2444
5b50824e2f Added more controller options to idzio
Add axis reversal for dinput and single stick steering for xinput.
2019-11-22 00:59:08 +00:00
Bemani Witch
27db92c0bf Added more controller options to idzio
Add axis reversal for dinput and single stick steering for xinput.
2019-11-22 00:59:08 +00: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
e15a61a7d0 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