Will Xyen
a9ebc30ea7
vigem-sdvxio: Add relative mode and address comments
2020-09-26 22:54:12 -07:00
Will Xyen
4f3135439d
vigem-sdvxio: Add readme
2020-09-13 20:16:37 -07:00
Will Xyen
2d1c09d4e6
sdvxhook: code-format
2020-09-13 19:46:16 -07:00
Will Xyen
164d56b6eb
vigem-sdvxio: Add implementation
2020-09-13 19:45:52 -07:00
Will Xyen
1712f10f66
minor bugfixes
2020-09-12 07:53:00 -07:00
Will T
128496901e
Add jbiotest for testing jubeat IO impls
2020-09-12 09:12:35 +00:00
icex2
65a45740d2
launcher: Log OS version on startup
2020-09-02 22:04:55 +02:00
icex2
8bd0f44e24
inject: Log OS version on startup
2020-09-02 22:04:55 +02:00
icex2
7733912ae2
util: Add OS module to get version information of Windows
...
Data we always need when things go wrong, log it on boot.
2020-09-02 22:04:53 +02:00
icex2
55c9f5a521
hooks for inject: Fix log output in DllMain
...
With the new inject tool, the output of OutputDebugString is
available on console and file logging.
2020-09-02 22:03:26 +02:00
icex2
917dc88826
util/log: Remove log_error, replace occurances with log_warning
...
log_error was using the log_writer_fatal impl which conflicts with
how this is used on AVS. Therefore, achieve a visible "error"
message in inject by using log_warning + ERROR string in the message
2020-09-02 19:53:07 +00:00
icex2
475d438ec7
inject/debugger: Avoid code dupe
2020-09-02 19:53:07 +00:00
icex2
f23d3531a2
util/signal: Expose signal_exception_code_to_str
...
Can be re-used in inject/debugger to avoid code duplication
2020-09-02 19:53:07 +00:00
icex2
32c3428c59
inject/logger: Add timestamps to log messages
2020-09-02 19:53:07 +00:00
icex2
54b321c7d9
inject: Major refactoring
...
This addresses one major issue and multiple minor ones:
Major:
Inject's debugger is not attached to the process before
injecting DLL files. This misses out on OutputDebugString
calls by anything logging in the DllMain functions of the hook
dlls.
Minor:
- Fix coloring of log entries
- Add ASCII header to easily determine start
- Fix file logging, log _everything_ to a single log file
- Enhance inject's debugger: log further debug events to incrase
visibility on issues, proper exception handling for inject
- Re-iterated code structure of inject
2020-09-02 19:53:06 +00:00
icex2
de894ae5ce
util/log: Add log_error which logs errors but does not abort
...
This is required for tools/applications that want or have to fail
gracefully but still need to highlight the severity in the log.
2020-09-02 19:53:06 +00:00
icex2
1d25abc10b
util: Add signal module introducing signal and exception handling
...
Right now, this prints to the console using the util/log logger
only. Stacktrace on exception still needs to be added.
2020-09-02 19:53:05 +00:00
icex2
beea9e7bb7
util/log: Add TODO pointing out design flaw
2020-09-02 19:53:05 +00:00
icex2
f9c0733af3
Adapt everything in BT5 to new capnhook API
...
This includes:
- Renaming of functions (iohook_invoke_next)
- Slight interface changes (com_proxy_wrap, iohook_push_handler)
- De-duplicate stuff from utils (iobuf, hr)
2020-09-02 19:35:15 +00:00
icex2
a016f27652
hook: Update capnhook source files from latest master
...
https://github.com/decafcode/capnhook
2020-09-02 19:35:15 +00:00
Will Xyen
3a1005f1f8
sdvxio: Add atomics to kfca/bio2
2020-08-16 20:58:12 -07:00
Will Xyen
f1700ca551
sdvxio-bio2: Add better comments to amp command, and sleep in fini
2020-08-15 11:37:03 -07:00
Will Xyen
cdefc2b09e
sdvxio-bio2: Add sdvxio BIO2 along with bio2drv and aciotest updates
2020-08-14 18:44:05 -07:00
Will Xyen
9246e7f9e0
sdvx: Allow setting digital amp level from sdvxio
...
For SDVX 1-4: passes amp values through as-is
For SDVX5: ignores the amp volume control (as the game uses windows volume controls, which will work without any hooks)
2020-08-14 04:38:38 -07:00
Will Xyen
69ef963451
Merge branch 'master' of dev.s-ul.eu:djhackers/bemanitools
2020-08-12 12:31:14 -07:00
icex2
3396c09fbf
ezusb-iidx: Add macro to enable D01 board emulation
...
Used for dumping firmware, only. C02 and D01 boards only differ
in the FPGA firmware written to the board on boot up. This doesn't
matter for emulation, but when using a real IO board with
iidxio-ezusb.dll, a different FPGA firmware is required to be
flashed in order to get working turntables, top unit lights etc
2020-08-12 18:01:22 +00:00
icex2
bd8dc18b30
iidxio-ezusb: Support coin mech input
2020-08-11 22:05:46 +02:00
Will Xyen
86517bd001
bio2: bio2_bi2a_state -> bi2a_sdvx_state
2020-08-02 23:16:28 -07:00
Will Xyen
172c83a854
iidxhook-util: allow setting specified ICCA emulation version
2020-08-02 23:03:04 -07:00
Will Xyen
c7137659bc
bio2emu: refactor BIO2 emulation
2020-08-02 23:02:13 -07:00
Will Xyen
8e9abf9906
launcher: Set soft_id_code before calling init as some games use it then
2020-07-24 08:47:25 -07:00
Will Xyen
62bb717582
hdxs: Is really an HDXB 1.0.1 apparently
...
Also update enum hdxs_rgb_light_idx to start from 0 since that's what the function does
2020-07-10 11:06:13 -07:00
Will Xyen
4816fb809d
launcher: Use more descriptive error message for ERROR_MOD_NOT_FOUND
2020-07-06 18:03:25 +00:00
Tau
2a2c77f255
Add ddrhook "COM4" passthrough mode
2020-07-01 21:03:47 +02:00
Will Xyen
9c37ef71ba
ddrio: add some more comments
2020-06-29 11:23:01 -07:00
Will Xyen
a0a1dea397
ddrhook: Add HDXS acio device + emu
2020-06-29 06:52:07 -07:00
Will Xyen
3c26a3f315
ddrio: Add hdxs output functions
...
Also fixes IDS_DDR_P1_BOTTOM_LIGHT schema being incorrectly mapped (on SD)
2020-06-29 06:51:25 -07:00
Will Xyen
b408cd9687
config: fix number of lights being loaded wrong if config is outdated
2020-06-29 06:49:22 -07:00
Will Xyen
be4df516fd
ddrio: Fix p3io and extio lighting output being swapped with one another
...
the header, mm and smx modules had it right
also fixes p3io responses being the wrong size in 2 cases
2020-06-29 06:47:31 -07:00
Will Xyen
d1080905e5
ddrhook: Adds 64 bit ddr build and related dependencies
2020-06-29 06:43:29 -07:00
Tau
f87a51bbe4
Silence cabinet type spam under DDR A
2020-06-28 22:10:27 -07:00
Will Xyen
682fe8aa1b
crc: forgot an include
2020-06-24 19:25:46 -07:00
Will Xyen
7d533f60cb
acioemu: add support for 1.7.0 and encrypted polls
2020-06-25 00:57:59 +00:00
233596621999a3accb78d883a9ab4d1f3460d772
e5331fbc7c
jbhook: add adapter hook
2020-06-14 02:22:07 +02:00
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