10f2d26b708e9205de6ce889920e36b5596f4908
77527e346b
popn hid lights
2020-06-08 11:17:22 +02:00
Will Xyen
1d0a96fa20
aciodrv: Make init more consistent by reading until we actually get a 0xAA
...
(reboots / command interruptions will cause incorrect state on device side)
2020-05-27 08:51:16 -07:00
icex2
bf48715466
test: Fix compiler warning
2020-05-11 00:23:29 +02:00
Will Xyen
10bddd4905
d3d9ex: add cursor confining (ported from sdvxhook1)
2020-04-27 12:52:07 -07:00
Will Xyen
ad5fbc1f5b
sdvxhook2: Add option to force headphone detection on
2020-04-27 10:19:29 -07:00
Will Xyen
25413bcba8
dinput/asio: drop hook suffix
2020-04-05 02:18:24 -07:00
Will Xyen
937290f93d
asiohook: add config
2020-04-05 01:44:42 -07:00
Will Xyen
d04598a570
dinputhook: Adds dinput stub hook for later use
...
Thanks to felix for the original di8_stub_device.
2020-04-05 01:44:42 -07:00
Will Xyen
bd382e5509
asiohook: Adds asio reghook for later use
2020-04-05 01:44:41 -07:00
Will Xyen
0d3fa54316
launcher: Add before-hook support
...
Required to hook certain things that happen on module load / avs boot:
- network adapter hooking for avs
- envvar setting
Note: the logging facilities are NOT setup yet at this point
so these hooks cannot use avs for logging
2020-04-05 01:42:08 -07:00
6d16ce71d2cb7fb29ef6c9b6fd0f0943018cd3d0
e8943edff6
Add light support for SMX gen 4 pads
...
The old set lights API doesn't support gen 4 pads. Replace the call to SMX_SetLights with SMX_SetLights2 which adds support for gen 4 pads while maintaining backwards compatibility.
2020-03-22 21:18:38 +01:00
Will Xyen
61f3eb44d2
hooklib: fix warning in adapter.c
2020-02-05 01:26:41 -05:00
Will Xyen
5969573dc9
d3d9exhook: actually rotate the right monitor
2020-01-29 00:29:46 -05:00
Will Xyen
5da6997805
address MR comments.
2020-01-29 00:09:26 -05:00
Will Xyen
dc98103419
formatting update
2020-01-28 04:25:25 -05:00
Will Xyen
2d07bd6f5a
d3d9exhook/sdvxhook2: add option to force monitor orientation
...
also adds adapter hook into sdvxhook2
2020-01-28 04:23:19 -05:00
Will Xyen
a21e37c894
hooklib: add adapter_hook_override to allow specifying network adapter id
2020-01-28 04:15:47 -05:00
Will Xyen
3659494c18
misc: touchup some comments
2020-01-13 21:21:43 -05:00
Will Xyen
6d638ff1ae
sdvxhook2-cn: sdvx5 cn support
2020-01-13 16:16:12 -05:00
Will Xyen
214a31b24d
iidxhook/d3d9exhook: Use -1 to specify default adapter instead of 0 because the indexing starts at 0
...
Originally thought the default monitor showed up again later, it does not
2020-01-10 17:36:34 -05:00
Will Xyen
66d1131664
clang-format pass
2020-01-10 17:24:47 -05:00
Will Xyen
3450686cf5
iidxhook: allow forcing adapter and refresh rate in d3d9 based IIDX games
2020-01-10 10:44:21 -05:00
Will Xyen
3b8f6ac1d9
launcher: make app_config.xml optional
2019-12-23 20:40:51 -05:00
Will Xyen
8ae06f6f4b
d3d9exhook: Add option to specify the display adapter to open
2019-12-23 20:14:26 -05:00
Will Xyen
b1329d10bf
camhook: Fix cameras not being auto-detected sometimes on older machines
...
MFStartup needs to be called before any MF functions are used (such as for auto detect)
2019-12-10 15:24:46 -05:00
Will Xyen
7ea12a8517
cconfig: add some documentation to init functions
2019-12-01 15:14:04 -05:00
Will Xyen
82ac30e49f
sdvxio-kfca: use cconfig instead of envvar
2019-12-01 15:01:44 -05:00
Will Xyen
d177f23476
cconfig: add ability to load configs from default path and specify alternate flag names
2019-12-01 15:00:45 -05:00
Will Xyen
13050b05e5
sdvxio-kfca: add some docs and address some comments
2019-12-01 13:32:09 -05:00
Will Xyen
673881bc47
sdvxio-kfca: node detection and allow setting port through envvar
2019-12-01 12:56:18 -05:00
Will Xyen
74ddd96d32
sdvxhook2: fix usage info naming wrong port
2019-12-01 12:38:22 -05:00
Will Xyen
48622f6a58
cconfig: allow crlf line endings
2019-12-01 11:41:09 -05:00
Will Xyen
0ca353b250
sdvxhook2: add some minor documentation to config-gfx.h
2019-11-30 21:46:25 -05:00
Will Xyen
ddd7853810
d3d9exhook: refactor d3d9ex hook from sdvxhook2 to shared library
2019-11-30 10:05:14 -05:00
Will Xyen
51a697659b
sdvxhook: remove pci override for gfx hooks and general cleanup
2019-11-30 09:12:08 -05:00
Will Xyen
1d247d44d5
sdvxhook2: Add sdvxhook2
2019-11-26 15:59:57 -05:00
Will Xyen
2011bfafd6
camhook: fixup some minor formatting and enable iidxhook8-config-cam-test
2019-11-26 00:32:12 -05:00
Will Xyen
b434d7975d
camhook: move camera hook facilities to their own module
...
makes the number of cameras configurable (up to 2), as SDVX only needs 1
2019-11-24 00:47:35 -05:00
5ee40b3373b0ab4600315554ea660a00c47813da
2d8017dbda
Stop SDVX hanging on thankyou for playing
...
Makes the following changes to the card poll response message when
emulating new card readers:
- change the idle status code to 0x04 instead of 0x01
- always set keypad_started field to 0x03
2019-11-13 00:24:10 +00:00
Will Xyen
041d6935ff
imports: add avs_fs_addfs to list of imports for 1700
2019-10-24 20:37:43 -04:00
icex2
b6e588116d
Various import fixes caused by clang-format
...
Added format protection block to avoid re-ordering of header files
according to formatting rules.
2019-10-22 21:04:45 +02:00
icex2
c3bc8782f4
Apply clang-format code style to all source files
2019-10-20 00:50:40 +02:00
Will Xyen
d60a1e0c0f
iidxhook8: Fixup some missed renaming from struct cleanup
2019-10-13 11:50:56 -04:00
Will Xyen
0f04d5ef19
bio2emu: cleanup setupapi code a bit
2019-10-12 14:16:55 -04:00
Will Xyen
0c1bbe08c0
iidxhook8: Rename bi2a structs to be more clear
2019-10-12 14:16:22 -04:00
Will Xyen
1c415eb207
bio2emu: Remove requirement for bio2emu_init_end to be called
...
Instead bio2emu_setupapi_hook_init is called during init, this is safe because the game's IO thread isn't initialized at this point, and nothing could be attempting to open devices at this point in time.
2019-10-12 14:15:28 -04:00
Will Xyen
b6216c696e
bio2emu: Add missing CM hooks for device index retrieval
...
Used by games that access the BIO2 through libacio
2019-10-12 05:37:47 -04:00
Will Xyen
e495bfb8f1
bio2emu: Refactor out the BIO2 emulation code so that it can be reused
...
Also make it support multiple BIO2 devices if needed (DRS)
2019-10-12 04:33:50 -04:00
icex2
ff6bad2495
iidxhook1/2 config: Remove deprecated use_d3d9_hooks param
2019-10-07 16:04:26 +00:00
icex2
d64f8b2d8d
iidxhook-util: Remove d3d8 module
...
Remove this module because it doesn't really provide any value
anymore. Using the d3d8to9 wrapper lib does not only fix some
odd d3d8 issues but also allows us to run all (IIDX) games over
d3d9. Thus and in order to reduce quite a lot of maintanance effort,
we remove this module.
Please use the d3d8to9 wrapper lib from now on in combination with
any d3d8 games and in order to use bemanitools gfx hook features.
2019-10-07 16:04:26 +00:00
icex2
d9cc873eec
iidxhook8: Refactor to use new d3d9 module
2019-10-07 16:04:26 +00:00
icex2
f4c0810ee3
iidxhook7: Refactor to use new d3d9 module
2019-10-07 16:04:26 +00:00
icex2
b1871a475d
iidxhook6: Refactor to use new d3d9 module
2019-10-07 16:04:26 +00:00
icex2
a626e9e635
iidxhook5: Refactor to use new d3d9 module
2019-10-07 16:04:26 +00:00
icex2
5183547ba9
iidxhook4: Refactor to use new d3d9 module
2019-10-07 16:04:26 +00:00
icex2
53d61dcbbd
iidxhook3: Refactor to use new d3d9 module
2019-10-07 16:04:26 +00:00
icex2
f201bff9ca
iidxhook2: Refactor to use new d3d9 module
2019-10-07 16:04:26 +00:00
icex2
e0d7596f20
iidxhook1: Refactor to use new d3d9 module
2019-10-07 16:04:26 +00:00
icex2
3e60300273
iidxhook-util: Adapt enum name of upscaling filter names
2019-10-07 16:04:26 +00:00
icex2
77906205b5
test/check: Add check_failed func
2019-10-07 16:04:26 +00:00
icex2
c5d39d82d5
iidxhook-util: Major refactoring of d3d9 module
...
Uses the hook/d3d9 module with IRP handlers now. All previously
available features are implemented.
Furthermore, a new overhauled up-/downscaling method is implemented
which supports all IIDX versions now.
2019-10-07 16:04:26 +00:00
icex2
d169ee84b3
test/hook: Add tests for d3d9 hook module
...
Creates a simple d3d9 context and render loop allowing us to run
quick and easy integration tests of the hooking infrastructure.
2019-10-07 16:04:26 +00:00
icex2
60050d0d09
hook: Add d3d9 hook module
...
This module serves as a general base for any d3d9 hooks to be
implemented. It implements the IRP pattern like the iohook module.
This allows us to create irp handlers which can be chained, easier
structured and maintained compared to static IAT hooking. The latter
was the previous solution and did not work out well anymore for IIDX
which grew regarding d3d9 features.
2019-10-07 16:04:26 +00:00
Will Xyen
3436838b85
sdvxio-kfca: Add KFCA sdvxio driver
2019-09-28 17:41:27 -04:00
Will Xyen
bda056f0e4
aciotest: Add KFCA test handler
2019-09-28 17:41:27 -04:00
Will Xyen
2788b27a6f
aciodrv: Add KFCA support
2019-09-28 17:41:15 -04:00
Will Xyen
89e3bbd2a3
hooklib: Allow proper passthrough of serial calls to real hardware ( #26 )
...
Only enabled / tested on IIDX CB and SDVX5
The point of this, is to allow rs232 hooks for only the descriptors that we hook.
This is because the emulation here is incomplete.
Although the IOCTL's do end up being passed to the real hardware, the game rejects some of the responses and hangs.
By short circuiting out, and calling the real Comm functions instead, it works.
And hence, card-reader passthrough works on IIDX25+/SDVX5+ finally without eamio-real
2019-09-28 17:36:22 -04:00
Will Xyen
1a567aa8ba
Minor accuracy changes for KFCA emulation
2019-09-28 17:36:22 -04:00
icex2
cbd7720349
Bemanitools v5.26 release
2019-09-27 22:36:50 +02:00