From 5c4afb8a2a6922e050195d639deb6e7864daf850 Mon Sep 17 00:00:00 2001 From: icex2 Date: Mon, 3 Apr 2023 01:13:35 +0200 Subject: [PATCH] fix(iidx/config): Utilize io board type, fix 10th SQ-INIT error Using the right combination of "flags", this addresses the SQ-INIT error on 10th style as well as forces 10 to 13 into using the D01 operation mode. The latter follows the approach that 14+ is also using the best/latest IO type supported (IO2 in that case). Expecting that gameplay experience benefits from more optimized/better maintained code paths. Make 10 operate in D01 IO mode which forces security to using the D01 dongle from a D01 dedicab setup. The alternative would be using a C02 dongle from a C02 upgraded cabinet. More details to follow in another commit with a dev journal entry. --- dist/iidx/iidxhook-09.conf | 10 ++++++++-- dist/iidx/iidxhook-10.conf | 6 ++++++ dist/iidx/iidxhook-11.conf | 6 ++++++ dist/iidx/iidxhook-12.conf | 6 ++++++ dist/iidx/iidxhook-13.conf | 6 ++++++ 5 files changed, 32 insertions(+), 2 deletions(-) diff --git a/dist/iidx/iidxhook-09.conf b/dist/iidx/iidxhook-09.conf index 0e14033..5894f4f 100755 --- a/dist/iidx/iidxhook-09.conf +++ b/dist/iidx/iidxhook-09.conf @@ -46,6 +46,12 @@ gfx.forced_refresh_rate=-1 # D3D9 device adapter (monitor), -1 to use default, 0, 1, 2 etc. to use specified adapter gfx.device_adapter=-1 +# Enable monitoring of ezusb.dll calls by logging call traces. Only works on 9th and 10th style! +ezusb.api_call_monitoring=false + +# Set the type of ezusb IO board. 0 = C02, 1 = D01. Note: Impacts security settings! +ezusb.io_board_type=0 + # Disable operator clock setting system clock time misc.disable_clock_set=false @@ -61,5 +67,5 @@ sec.boot_version=GEC02 # Security boot seeds for ezusb, format: X:X:X where X is a number of 0-9 (e.g. 0:0:0). sec.boot_seeds=0:0:0 -# Security black plug mcode id string (e.g. GQC02JAA). -sec.black_plug_mcode=GQC02JAA \ No newline at end of file +# Security black plug mcode id string (e.g. GEC02JAA). +sec.black_plug_mcode=GEC02JAA \ No newline at end of file diff --git a/dist/iidx/iidxhook-10.conf b/dist/iidx/iidxhook-10.conf index a2e1504..9bbe438 100755 --- a/dist/iidx/iidxhook-10.conf +++ b/dist/iidx/iidxhook-10.conf @@ -46,6 +46,12 @@ gfx.forced_refresh_rate=-1 # D3D9 device adapter (monitor), -1 to use default, 0, 1, 2 etc. to use specified adapter gfx.device_adapter=-1 +# Enable monitoring of ezusb.dll calls by logging call traces. Only works on 9th and 10th style! +ezusb.api_call_monitoring=false + +# Set the type of ezusb IO board. 0 = C02, 1 = D01. Note: Impacts security settings! +ezusb.io_board_type=1 + # Disable operator clock setting system clock time misc.disable_clock_set=false diff --git a/dist/iidx/iidxhook-11.conf b/dist/iidx/iidxhook-11.conf index 9fc9a79..ed834cb 100755 --- a/dist/iidx/iidxhook-11.conf +++ b/dist/iidx/iidxhook-11.conf @@ -46,6 +46,12 @@ gfx.forced_refresh_rate=-1 # D3D9 device adapter (monitor), -1 to use default, 0, 1, 2 etc. to use specified adapter gfx.device_adapter=-1 +# Enable monitoring of ezusb.dll calls by logging call traces. Only works on 9th and 10th style! +ezusb.api_call_monitoring=false + +# Set the type of ezusb IO board. 0 = C02, 1 = D01. Note: Impacts security settings! +ezusb.io_board_type=1 + # Disable operator clock setting system clock time misc.disable_clock_set=false diff --git a/dist/iidx/iidxhook-12.conf b/dist/iidx/iidxhook-12.conf index e279e16..217d142 100755 --- a/dist/iidx/iidxhook-12.conf +++ b/dist/iidx/iidxhook-12.conf @@ -46,6 +46,12 @@ gfx.forced_refresh_rate=-1 # D3D9 device adapter (monitor), -1 to use default, 0, 1, 2 etc. to use specified adapter gfx.device_adapter=-1 +# Enable monitoring of ezusb.dll calls by logging call traces. Only works on 9th and 10th style! +ezusb.api_call_monitoring=false + +# Set the type of ezusb IO board. 0 = C02, 1 = D01. Note: Impacts security settings! +ezusb.io_board_type=1 + # Fix broken 3D background on Happy Sky's music select (if appearing completely white) misc.happy_sky_ms_bg_fix=false diff --git a/dist/iidx/iidxhook-13.conf b/dist/iidx/iidxhook-13.conf index 25a2d50..005dd74 100755 --- a/dist/iidx/iidxhook-13.conf +++ b/dist/iidx/iidxhook-13.conf @@ -46,6 +46,12 @@ gfx.forced_refresh_rate=-1 # D3D9 device adapter (monitor), -1 to use default, 0, 1, 2 etc. to use specified adapter gfx.device_adapter=-1 +# Enable monitoring of ezusb.dll calls by logging call traces. Only works on 9th and 10th style! +ezusb.api_call_monitoring=false + +# Set the type of ezusb IO board. 0 = C02, 1 = D01. Note: Impacts security settings! +ezusb.io_board_type=1 + # Fix broken 3D background on DistorteD's music select (if appearing completely black) misc.distorted_ms_bg_fix=false