1
0
mirror of https://github.com/djhackersdev/bemanitools.git synced 2024-12-02 18:17:16 +01:00
Commit Graph

337 Commits

Author SHA1 Message Date
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