Commit Graph
119 Commits
Author SHA1 Message Date
Will Xyen 3c9154a476 mempatch-hook: fix CRLF 2020-10-24 11:15:58 -07:00
Will Xyen 8dd3559268 [avs] add avs_is_active import 2020-10-23 17:31:49 -07:00
Will Xyen 62ebe31083 [memfile] Add support for faking files in memory 2020-10-18 14:46:34 -07:00
Will Xyen 998fdaface [iohook] Fix iohook_init race condition 2020-10-18 14:45:49 -07:00
Will Xyen ed413aad08 [tools] Add x64 mempatch-hook 2020-10-06 20:01:41 -07:00
Will Xyen 9472159125 vigem-sdvxio: Remove unused header 2020-09-27 18:59:24 -07:00
Will Xyen 8055ab868f vigem-sdvxio: Add relative mode and address comments 2020-09-26 22:54:12 -07:00
Will Xyen 3bda5001a5 vigem-sdvxio: Add readme 2020-09-13 20:16:37 -07:00
Will Xyen a3ff8b5c44 sdvxhook: code-format 2020-09-13 19:46:16 -07:00
Will Xyen 407b9599df vigem-sdvxio: Add implementation 2020-09-13 19:45:52 -07:00
Will Xyen addcb25242 minor bugfixes 2020-09-12 07:53:00 -07:00
Will T 65979f0206 Add jbiotest for testing jubeat IO impls 2020-09-12 09:12:35 +00:00
icex2 d3f1a9b17f launcher: Log OS version on startup 2020-09-02 22:04:55 +02:00
icex2 f57e066324 inject: Log OS version on startup 2020-09-02 22:04:55 +02:00
icex2 5fb219436c 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 d414b102a4 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 2280e17f1e 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 afba1d5a39 inject/debugger: Avoid code dupe 2020-09-02 19:53:07 +00:00
icex2 b769489411 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 8343449bea inject/logger: Add timestamps to log messages 2020-09-02 19:53:07 +00:00
icex2 189ff7551a 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 806afe6e28 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 5d2104addc 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 a20cc7c487 util/log: Add TODO pointing out design flaw 2020-09-02 19:53:05 +00:00
icex2 5de9fdee43 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 b777396efd hook: Update capnhook source files from latest master
https://github.com/decafcode/capnhook
2020-09-02 19:35:15 +00:00
Will Xyen 9fa83cef64 sdvxio: Add atomics to kfca/bio2 2020-08-16 20:58:12 -07:00
Will Xyen 47e8e7618e sdvxio-bio2: Add better comments to amp command, and sleep in fini 2020-08-15 11:37:03 -07:00
Will Xyen c781735272 sdvxio-bio2: Add sdvxio BIO2 along with bio2drv and aciotest updates 2020-08-14 18:44:05 -07:00
Will Xyen b99abc5d39 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 22c69cf883 Merge branch 'master' of dev.s-ul.eu:djhackers/bemanitools 2020-08-12 12:31:14 -07:00
icex2 94cdc7599c 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 7b5c2c1c4d iidxio-ezusb: Support coin mech input 2020-08-11 22:05:46 +02:00
Will Xyen 4f43f6db6c bio2: bio2_bi2a_state -> bi2a_sdvx_state 2020-08-02 23:16:28 -07:00
Will Xyen ccaf053adc iidxhook-util: allow setting specified ICCA emulation version 2020-08-02 23:03:04 -07:00
Will Xyen 350ba00549 bio2emu: refactor BIO2 emulation 2020-08-02 23:02:13 -07:00
Will Xyen c54a41410b launcher: Set soft_id_code before calling init as some games use it then 2020-07-24 08:47:25 -07:00
Will Xyen dc357faef7 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 079f089948 launcher: Use more descriptive error message for ERROR_MOD_NOT_FOUND 2020-07-06 18:03:25 +00:00
Tau 1ae3048aa8 Add ddrhook "COM4" passthrough mode 2020-07-01 21:03:47 +02:00
Will Xyen 347851c52c ddrio: add some more comments 2020-06-29 11:23:01 -07:00
Will Xyen 0606f7d3ea ddrhook: Add HDXS acio device + emu 2020-06-29 06:52:07 -07:00
Will Xyen 748431f6c9 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 f4bc9ea1a5 config: fix number of lights being loaded wrong if config is outdated 2020-06-29 06:49:22 -07:00
Will Xyen d38ce19164 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 57a2d1a948 ddrhook: Adds 64 bit ddr build and related dependencies 2020-06-29 06:43:29 -07:00
Tau 768a7a74f2 Silence cabinet type spam under DDR A 2020-06-28 22:10:27 -07:00
Will Xyen d626bfc987 crc: forgot an include 2020-06-24 19:25:46 -07:00
Will Xyen 8eaeac7f2c acioemu: add support for 1.7.0 and encrypted polls 2020-06-25 00:57:59 +00:00
BtbN 1656feccd1 jbhook: add adapter hook 2020-06-14 02:22:07 +02:00