From 1a2bca169a92e1900cc7f6c6b058633dfcc0e535 Mon Sep 17 00:00:00 2001 From: Jeffrey Paine Date: Mon, 10 Apr 2023 17:07:24 -0400 Subject: [PATCH 01/26] iidx: Rename "fix stretched BG" function to include 9/10 --- src/main/iidxhook-util/d3d9.c | 16 ++++++++-------- src/main/iidxhook-util/d3d9.h | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/main/iidxhook-util/d3d9.c b/src/main/iidxhook-util/d3d9.c index 477d753..873e02f 100644 --- a/src/main/iidxhook-util/d3d9.c +++ b/src/main/iidxhook-util/d3d9.c @@ -580,14 +580,14 @@ iidxhook_util_d3d9_iidx13_fix_song_select_bg(struct hook_d3d9_irp *irp) } static void -iidxhook_util_d3d9_iidx11_to_17_fix_uvs_bg_videos(struct hook_d3d9_irp *irp) +iidxhook_util_d3d9_iidx09_to_17_fix_uvs_bg_videos(struct hook_d3d9_irp *irp) { log_assert(irp); log_assert(irp->op == HOOK_D3D9_IRP_OP_DEV_DRAW_PRIMITIVE_UP); /* same code taken from the d3d8 module. but, this just fixes the quad seam issue as there are no reports of streched bg videos */ - if (iidxhook_util_d3d9_config.iidx11_to_17_fix_uvs_bg_videos && + if (iidxhook_util_d3d9_config.iidx09_to_17_fix_uvs_bg_videos && irp->args.dev_draw_primitive_up.primitive_type == D3DPT_TRIANGLEFAN && irp->args.dev_draw_primitive_up.primitive_count == 2 && irp->args.dev_draw_primitive_up.stride == 28) { @@ -695,7 +695,7 @@ iidxhook_util_d3d9_iidx11_to_17_fix_uvs_bg_videos(struct hook_d3d9_irp *irp) } static void -iidxhook_uti_d3d9_fix_iidx9_to_13_viewport_size(struct hook_d3d9_irp *irp) +iidxhook_uti_d3d9_fix_iidx09_to_13_viewport_size(struct hook_d3d9_irp *irp) { log_assert(irp); log_assert(irp->op == HOOK_D3D9_IRP_OP_GET_CLIENT_RECT); @@ -967,7 +967,7 @@ iidxhook_util_d3d9_log_config(const struct iidxhook_util_d3d9_config *config) "pci_vid: %X\n" "pci_pid: %X\n" "iidx09_to_19_monitor_check_cb: %p\n" - "iidx11_to_17_fix_uvs_bg_videos: %d\n" + "iidx09_to_17_fix_uvs_bg_videos: %d\n" "iidx12_fix_song_select_bg: %d\n" "iidx13_fix_song_select_bg: %d\n" "iidx14_to_19_nvidia_fix: %d\n" @@ -985,7 +985,7 @@ iidxhook_util_d3d9_log_config(const struct iidxhook_util_d3d9_config *config) config->pci_vid, config->pci_pid, config->iidx09_to_19_monitor_check_cb, - config->iidx11_to_17_fix_uvs_bg_videos, + config->iidx09_to_17_fix_uvs_bg_videos, config->iidx12_fix_song_select_bg, config->iidx13_fix_song_select_bg, config->iidx14_to_19_nvidia_fix, @@ -1050,7 +1050,7 @@ void iidxhook_util_d3d9_init_config(struct iidxhook_util_d3d9_config *config) config->pci_vid = 0; config->pci_pid = 0; config->iidx09_to_19_monitor_check_cb = NULL; - config->iidx11_to_17_fix_uvs_bg_videos = false; + config->iidx09_to_17_fix_uvs_bg_videos = false; config->iidx12_fix_song_select_bg = false; config->iidx13_fix_song_select_bg = false; config->iidx14_to_19_nvidia_fix = false; @@ -1109,7 +1109,7 @@ iidxhook_util_d3d9_irp_handler(struct hook_d3d9_irp *irp) hr = hook_d3d9_irp_invoke_next(irp); if (hr == S_OK) { - iidxhook_uti_d3d9_fix_iidx9_to_13_viewport_size(irp); + iidxhook_uti_d3d9_fix_iidx09_to_13_viewport_size(irp); } return hr; @@ -1161,7 +1161,7 @@ iidxhook_util_d3d9_irp_handler(struct hook_d3d9_irp *irp) return hook_d3d9_irp_invoke_next(irp); case HOOK_D3D9_IRP_OP_DEV_DRAW_PRIMITIVE_UP: - iidxhook_util_d3d9_iidx11_to_17_fix_uvs_bg_videos(irp); + iidxhook_util_d3d9_iidx09_to_17_fix_uvs_bg_videos(irp); return hook_d3d9_irp_invoke_next(irp); diff --git a/src/main/iidxhook-util/d3d9.h b/src/main/iidxhook-util/d3d9.h index c5f1eaa..901f6a0 100644 --- a/src/main/iidxhook-util/d3d9.h +++ b/src/main/iidxhook-util/d3d9.h @@ -102,7 +102,7 @@ struct iidxhook_util_d3d9_config { * the background videos or seeing a quad seam (see implementation for * further details). */ - bool iidx11_to_17_fix_uvs_bg_videos; + bool iidx09_to_17_fix_uvs_bg_videos; /** * Ported from d3d8 module to enable this when using d3d8to9. -- 2.54.0 From 98c9bfcaf9f0b8f27e5d74f447bf53afe6ed8f34 Mon Sep 17 00:00:00 2001 From: Jeffrey Paine Date: Mon, 10 Apr 2023 17:10:53 -0400 Subject: [PATCH 02/26] iidx: Rename "fix stretched BG" function to include 9/10 --- src/main/iidxhook1/dllmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/iidxhook1/dllmain.c b/src/main/iidxhook1/dllmain.c index 05efdf9..a3a4a35 100644 --- a/src/main/iidxhook1/dllmain.c +++ b/src/main/iidxhook1/dllmain.c @@ -87,7 +87,7 @@ static void iidxhook1_setup_d3d9_hooks( d3d9_config.framerate_limit = config_gfx->frame_rate_limit; d3d9_config.iidx12_fix_song_select_bg = config_iidxhook1->happy_sky_ms_bg_fix; - d3d9_config.iidx11_to_17_fix_uvs_bg_videos = config_gfx->bgvideo_uv_fix; + d3d9_config.iidx09_to_17_fix_uvs_bg_videos = config_gfx->bgvideo_uv_fix; d3d9_config.scale_back_buffer_width = config_gfx->scale_back_buffer_width; d3d9_config.scale_back_buffer_height = config_gfx->scale_back_buffer_height; d3d9_config.scale_back_buffer_filter = config_gfx->scale_back_buffer_filter; -- 2.54.0 From fcd2286a5a7d39ce6b277dfb0b949bb4c6d97d4f Mon Sep 17 00:00:00 2001 From: Jeffrey Paine Date: Mon, 10 Apr 2023 17:12:11 -0400 Subject: [PATCH 03/26] iidx: Rename "fix stretched BG" function to include 9/10 --- src/main/iidxhook2/dllmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/iidxhook2/dllmain.c b/src/main/iidxhook2/dllmain.c index 17afc06..25a76ed 100644 --- a/src/main/iidxhook2/dllmain.c +++ b/src/main/iidxhook2/dllmain.c @@ -84,7 +84,7 @@ static void iidxhook2_setup_d3d9_hooks( d3d9_config.framerate_limit = config_gfx->frame_rate_limit; d3d9_config.iidx13_fix_song_select_bg = config_iidxhook2->distorted_ms_bg_fix; - d3d9_config.iidx11_to_17_fix_uvs_bg_videos = config_gfx->bgvideo_uv_fix; + d3d9_config.iidx09_to_17_fix_uvs_bg_videos = config_gfx->bgvideo_uv_fix; d3d9_config.scale_back_buffer_width = config_gfx->scale_back_buffer_width; d3d9_config.scale_back_buffer_height = config_gfx->scale_back_buffer_height; d3d9_config.scale_back_buffer_filter = config_gfx->scale_back_buffer_filter; -- 2.54.0 From 1ab381d44edc43c86709c848a733bfe7dc78ced8 Mon Sep 17 00:00:00 2001 From: Jeffrey Paine Date: Mon, 10 Apr 2023 17:14:16 -0400 Subject: [PATCH 04/26] iidx: Rename "fix stretched BG" function to include 9/10 --- src/main/iidxhook3/dllmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/iidxhook3/dllmain.c b/src/main/iidxhook3/dllmain.c index 1563161..b2e0e41 100644 --- a/src/main/iidxhook3/dllmain.c +++ b/src/main/iidxhook3/dllmain.c @@ -80,7 +80,7 @@ iidxhook3_setup_d3d9_hooks(const struct iidxhook_config_gfx *config_gfx) d3d9_config.pci_pid = config_gfx->pci_id_pid; /* Required for GOLD (and newer?) to not crash with NVIDIA cards */ - d3d9_config.iidx11_to_17_fix_uvs_bg_videos = true; + d3d9_config.iidx09_to_17_fix_uvs_bg_videos = true; d3d9_config.iidx14_to_19_nvidia_fix = true; d3d9_config.scale_back_buffer_width = config_gfx->scale_back_buffer_width; -- 2.54.0 From 5b720cd968ff036e8ee9ec1d43712dc0a0b8c2f7 Mon Sep 17 00:00:00 2001 From: Jeffrey Paine Date: Mon, 10 Apr 2023 17:24:07 -0400 Subject: [PATCH 05/26] iidx9-17: Update description of gfx.bgvideo_uv_fix in conf files --- dist/iidx/iidxhook-09.conf | 2 +- dist/iidx/iidxhook-10.conf | 2 +- dist/iidx/iidxhook-11.conf | 2 +- dist/iidx/iidxhook-12.conf | 2 +- dist/iidx/iidxhook-13.conf | 2 +- dist/iidx/iidxhook-14.conf | 2 +- dist/iidx/iidxhook-15.conf | 2 +- dist/iidx/iidxhook-16.conf | 2 +- dist/iidx/iidxhook-17.conf | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/dist/iidx/iidxhook-09.conf b/dist/iidx/iidxhook-09.conf index 5894f4f..077e3d2 100755 --- a/dist/iidx/iidxhook-09.conf +++ b/dist/iidx/iidxhook-09.conf @@ -10,7 +10,7 @@ eamuse.pcbid=0101020304050607086F # EAMID eamuse.eamid=0101020304050607086F -# Fix stretched BG videos on newer GPUs. Might appear on Red and newer +# Fix stretched BG videos on newer GPUs. Might appear on SIRIUS and older. On 9th and 10th style this issue may only affect older BGAs (from 1st-3rd style) gfx.bgvideo_uv_fix=false # Run the game in a framed window (requires windowed option) diff --git a/dist/iidx/iidxhook-10.conf b/dist/iidx/iidxhook-10.conf index 9bbe438..a9874ea 100755 --- a/dist/iidx/iidxhook-10.conf +++ b/dist/iidx/iidxhook-10.conf @@ -10,7 +10,7 @@ eamuse.pcbid=0101020304050607086F # EAMID eamuse.eamid=0101020304050607086F -# Fix stretched BG videos on newer GPUs. Might appear on Red and newer +# Fix stretched BG videos on newer GPUs. Might appear on SIRIUS and older. On 9th and 10th style this issue may only affect older BGAs (from 1st-3rd style) gfx.bgvideo_uv_fix=false # Run the game in a framed window (requires windowed option) diff --git a/dist/iidx/iidxhook-11.conf b/dist/iidx/iidxhook-11.conf index ed834cb..e1dc01e 100755 --- a/dist/iidx/iidxhook-11.conf +++ b/dist/iidx/iidxhook-11.conf @@ -10,7 +10,7 @@ eamuse.pcbid=0101020304050607086F # EAMID eamuse.eamid=0101020304050607086F -# Fix stretched BG videos on newer GPUs. Might appear on Red and newer +# Fix stretched BG videos on newer GPUs. Might appear on SIRIUS and older. On 9th and 10th style this issue may only affect older BGAs (from 1st-3rd style) gfx.bgvideo_uv_fix=false # Run the game in a framed window (requires windowed option) diff --git a/dist/iidx/iidxhook-12.conf b/dist/iidx/iidxhook-12.conf index 217d142..a3518e3 100755 --- a/dist/iidx/iidxhook-12.conf +++ b/dist/iidx/iidxhook-12.conf @@ -10,7 +10,7 @@ eamuse.pcbid=0101020304050607086F # EAMID eamuse.eamid=0101020304050607086F -# Fix stretched BG videos on newer GPUs. Might appear on Red and newer +# Fix stretched BG videos on newer GPUs. Might appear on SIRIUS and older. On 9th and 10th style this issue may only affect older BGAs (from 1st-3rd style) gfx.bgvideo_uv_fix=false # Run the game in a framed window (requires windowed option) diff --git a/dist/iidx/iidxhook-13.conf b/dist/iidx/iidxhook-13.conf index 005dd74..1f8525f 100755 --- a/dist/iidx/iidxhook-13.conf +++ b/dist/iidx/iidxhook-13.conf @@ -10,7 +10,7 @@ eamuse.pcbid=0101020304050607086F # EAMID eamuse.eamid=0101020304050607086F -# Fix stretched BG videos on newer GPUs. Might appear on Red and newer +# Fix stretched BG videos on newer GPUs. Might appear on SIRIUS and older. On 9th and 10th style this issue may only affect older BGAs (from 1st-3rd style) gfx.bgvideo_uv_fix=false # Run the game in a framed window (requires windowed option) diff --git a/dist/iidx/iidxhook-14.conf b/dist/iidx/iidxhook-14.conf index d8c7645..935d75d 100755 --- a/dist/iidx/iidxhook-14.conf +++ b/dist/iidx/iidxhook-14.conf @@ -7,7 +7,7 @@ eamuse.pcbid=0101020304050607086F # EAMID eamuse.eamid=0101020304050607086F -# Fix stretched BG videos on newer GPUs. Might appear on Red and newer +# Fix stretched BG videos on newer GPUs. Might appear on SIRIUS and older. On 9th and 10th style this issue may only affect older BGAs (from 1st-3rd style) gfx.bgvideo_uv_fix=false # Run the game in a framed window (requires windowed option) diff --git a/dist/iidx/iidxhook-15.conf b/dist/iidx/iidxhook-15.conf index 4d35e15..b41ebaf 100755 --- a/dist/iidx/iidxhook-15.conf +++ b/dist/iidx/iidxhook-15.conf @@ -7,7 +7,7 @@ eamuse.pcbid=0101020304050607086F # EAMID eamuse.eamid=0101020304050607086F -# Fix stretched BG videos on newer GPUs. Might appear on Red and newer +# Fix stretched BG videos on newer GPUs. Might appear on SIRIUS and older. On 9th and 10th style this issue may only affect older BGAs (from 1st-3rd style) gfx.bgvideo_uv_fix=false # Run the game in a framed window (requires windowed option) diff --git a/dist/iidx/iidxhook-16.conf b/dist/iidx/iidxhook-16.conf index e30f7d7..1051ea7 100755 --- a/dist/iidx/iidxhook-16.conf +++ b/dist/iidx/iidxhook-16.conf @@ -7,7 +7,7 @@ eamuse.pcbid=0101020304050607086F # EAMID eamuse.eamid=0101020304050607086F -# Fix stretched BG videos on newer GPUs. Might appear on Red and newer +# Fix stretched BG videos on newer GPUs. Might appear on SIRIUS and older. On 9th and 10th style this issue may only affect older BGAs (from 1st-3rd style) gfx.bgvideo_uv_fix=false # Run the game in a framed window (requires windowed option) diff --git a/dist/iidx/iidxhook-17.conf b/dist/iidx/iidxhook-17.conf index 04a471f..06f25d9 100755 --- a/dist/iidx/iidxhook-17.conf +++ b/dist/iidx/iidxhook-17.conf @@ -7,7 +7,7 @@ eamuse.pcbid=0101020304050607086F # EAMID eamuse.eamid=0101020304050607086F -# Fix stretched BG videos on newer GPUs. Might appear on Red and newer +# Fix stretched BG videos on newer GPUs. Might appear on SIRIUS and older. On 9th and 10th style this issue may only affect older BGAs (from 1st-3rd style) gfx.bgvideo_uv_fix=false # Run the game in a framed window (requires windowed option) -- 2.54.0 From 0d0a29dd18bdf326dc628f5c7eead97b2042aeea Mon Sep 17 00:00:00 2001 From: Jeffrey Paine Date: Mon, 10 Apr 2023 17:26:06 -0400 Subject: [PATCH 06/26] iidx18-26,18-cn,20-cn - Remove unused gfx.bgvideo_uv_fix option from conf files This option is unused in these styles --- dist/iidxhook-18-cn.conf | 50 +++++++++++++++++++++++++++++++++++ dist/iidxhook-18.conf | 47 +++++++++++++++++++++++++++++++++ dist/iidxhook-19.conf | 47 +++++++++++++++++++++++++++++++++ dist/iidxhook-20-cn.conf | 47 +++++++++++++++++++++++++++++++++ dist/iidxhook-20.conf | 38 +++++++++++++++++++++++++++ dist/iidxhook-21.conf | 38 +++++++++++++++++++++++++++ dist/iidxhook-22.conf | 38 +++++++++++++++++++++++++++ dist/iidxhook-23.conf | 38 +++++++++++++++++++++++++++ dist/iidxhook-24.conf | 38 +++++++++++++++++++++++++++ dist/iidxhook-25.conf | 56 ++++++++++++++++++++++++++++++++++++++++ dist/iidxhook-26.conf | 56 ++++++++++++++++++++++++++++++++++++++++ 11 files changed, 493 insertions(+) create mode 100644 dist/iidxhook-18-cn.conf create mode 100644 dist/iidxhook-18.conf create mode 100644 dist/iidxhook-19.conf create mode 100644 dist/iidxhook-20-cn.conf create mode 100644 dist/iidxhook-20.conf create mode 100644 dist/iidxhook-21.conf create mode 100644 dist/iidxhook-22.conf create mode 100644 dist/iidxhook-23.conf create mode 100644 dist/iidxhook-24.conf create mode 100644 dist/iidxhook-25.conf create mode 100644 dist/iidxhook-26.conf diff --git a/dist/iidxhook-18-cn.conf b/dist/iidxhook-18-cn.conf new file mode 100644 index 0000000..10bb802 --- /dev/null +++ b/dist/iidxhook-18-cn.conf @@ -0,0 +1,50 @@ +# PCBID +eamuse.pcbid=0101020304050607086F + +# Run the game in a framed window (requires windowed option) +gfx.framed=false + +# Software limit the frame rate of the rendering loop in hz, e.g. 60 or 59.95 (0.0 = no software limit) +gfx.frame_rate_limit=0.0 + +# Enable/disable software monitor check/auto timebase or set a pre-determined refresh value. -1 disables this feature. 0 enables auto detecting the current refresh rate on startup. Setting any positive value > 0 allows you to set a pre-determined refresh rate (e.g. retrieved from the monitor check on newer IIDX games). Either the auto detected value or pre-determined value is used to patch any chart files in-memory to fix song synchronization issues. Requires constant refresh rate!!! +gfx.monitor_check=-1.000000 + +# Patch the GPU device ID detection (leave empty to disable), format XXXX:YYYY, two 4 digit hex numbers (vid:pid). Examples: 1002:7146 (RV515, Radeon X1300), 1002:95C5 (RV620 LE, Radeon HD3450) +gfx.pci_id=1002:7146 + +# Run the game windowed +gfx.windowed=false + +# Windowed width, 0 for default size +gfx.window_width=0 + +# Windowed height, 0 for default size +gfx.window_height=0 + +# Up-/downscale the back buffer's width. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding height parameter. +gfx.scale_back_buffer_width=0 + +# Up-/downscale the back buffer's height. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding width parameter. +gfx.scale_back_buffer_height=0 + +# Filter type to use for up-/downscaling the back buffer. Only used if scaling feature was enabled by setting the scaling width and height parameters. Available types: none, linear, point (refer to D3DTEXTUREFILTERTYPE for explanation). +gfx.scale_back_buffer_filter=none + +# Forced refresh rate, -1 to not force any (try 59 or 60 if monitor check fails to lock on high refresh rate monitors) +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 + +# Fix diagonal tearing with video cards other than Radeon X1300 and HD3450 +gfx.diagonal_tearing_fix=false + +# Disable ezusb IO emulation and enable usage of real ezusb1/2 IO hardware +io.disable_io_emu=false + +# Path to store the settings, e.g. bookkeeping, operator settings. d:, e: and f: drive configuration/settings data +misc.settings_path=.\ + +# Security black plug mcode id string (e.g. GQC02JAA). +sec.black_plug_mcode=GKJDZCAA diff --git a/dist/iidxhook-18.conf b/dist/iidxhook-18.conf new file mode 100644 index 0000000..2380cde --- /dev/null +++ b/dist/iidxhook-18.conf @@ -0,0 +1,47 @@ +# Run the game in a framed window (requires windowed option) +gfx.framed=false + +# Software limit the frame rate of the rendering loop in hz, e.g. 60 or 59.95 (0.0 = no software limit) +gfx.frame_rate_limit=0.0 + +# Enable/disable software monitor check/auto timebase or set a pre-determined refresh value. -1 disables this feature. 0 enables auto detecting the current refresh rate on startup. Setting any positive value > 0 allows you to set a pre-determined refresh rate (e.g. retrieved from the monitor check on newer IIDX games). Either the auto detected value or pre-determined value is used to patch any chart files in-memory to fix song synchronization issues. Requires constant refresh rate!!! +gfx.monitor_check=-1.000000 + +# Patch the GPU device ID detection (leave empty to disable), format XXXX:YYYY, two 4 digit hex numbers (vid:pid). Examples: 1002:7146 (RV515, Radeon X1300), 1002:95C5 (RV620 LE, Radeon HD3450) +gfx.pci_id=1002:7146 + +# Run the game windowed +gfx.windowed=false + +# Windowed width, 0 for default size +gfx.window_width=0 + +# Windowed height, 0 for default size +gfx.window_height=0 + +# Up-/downscale the back buffer's width. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding height parameter. +gfx.scale_back_buffer_width=0 + +# Up-/downscale the back buffer's height. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding width parameter. +gfx.scale_back_buffer_height=0 + +# Filter type to use for up-/downscaling the back buffer. Only used if scaling feature was enabled by setting the scaling width and height parameters. Available types: none, linear, point (refer to D3DTEXTUREFILTERTYPE for explanation). +gfx.scale_back_buffer_filter=none + +# Forced refresh rate, -1 to not force any (try 59 or 60 if monitor check fails to lock on high refresh rate monitors) +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 + +# Fix diagonal tearing with video cards other than Radeon X1300 and HD3450 +gfx.diagonal_tearing_fix=false + +# Disable card reader emulation and enable usage of real card reader hardware on COM1 (for games supporting slotted/wavepass readers) +io.disable_card_reader_emu=false + +# Disable ezusb IO emulation and enable usage of real ezusb1/2 IO hardware +io.disable_io_emu=false + +# Path to store the settings, e.g. bookkeeping, operator settings. d:, e: and f: drive configuration/settings data +misc.settings_path=.\ \ No newline at end of file diff --git a/dist/iidxhook-19.conf b/dist/iidxhook-19.conf new file mode 100644 index 0000000..2380cde --- /dev/null +++ b/dist/iidxhook-19.conf @@ -0,0 +1,47 @@ +# Run the game in a framed window (requires windowed option) +gfx.framed=false + +# Software limit the frame rate of the rendering loop in hz, e.g. 60 or 59.95 (0.0 = no software limit) +gfx.frame_rate_limit=0.0 + +# Enable/disable software monitor check/auto timebase or set a pre-determined refresh value. -1 disables this feature. 0 enables auto detecting the current refresh rate on startup. Setting any positive value > 0 allows you to set a pre-determined refresh rate (e.g. retrieved from the monitor check on newer IIDX games). Either the auto detected value or pre-determined value is used to patch any chart files in-memory to fix song synchronization issues. Requires constant refresh rate!!! +gfx.monitor_check=-1.000000 + +# Patch the GPU device ID detection (leave empty to disable), format XXXX:YYYY, two 4 digit hex numbers (vid:pid). Examples: 1002:7146 (RV515, Radeon X1300), 1002:95C5 (RV620 LE, Radeon HD3450) +gfx.pci_id=1002:7146 + +# Run the game windowed +gfx.windowed=false + +# Windowed width, 0 for default size +gfx.window_width=0 + +# Windowed height, 0 for default size +gfx.window_height=0 + +# Up-/downscale the back buffer's width. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding height parameter. +gfx.scale_back_buffer_width=0 + +# Up-/downscale the back buffer's height. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding width parameter. +gfx.scale_back_buffer_height=0 + +# Filter type to use for up-/downscaling the back buffer. Only used if scaling feature was enabled by setting the scaling width and height parameters. Available types: none, linear, point (refer to D3DTEXTUREFILTERTYPE for explanation). +gfx.scale_back_buffer_filter=none + +# Forced refresh rate, -1 to not force any (try 59 or 60 if monitor check fails to lock on high refresh rate monitors) +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 + +# Fix diagonal tearing with video cards other than Radeon X1300 and HD3450 +gfx.diagonal_tearing_fix=false + +# Disable card reader emulation and enable usage of real card reader hardware on COM1 (for games supporting slotted/wavepass readers) +io.disable_card_reader_emu=false + +# Disable ezusb IO emulation and enable usage of real ezusb1/2 IO hardware +io.disable_io_emu=false + +# Path to store the settings, e.g. bookkeeping, operator settings. d:, e: and f: drive configuration/settings data +misc.settings_path=.\ \ No newline at end of file diff --git a/dist/iidxhook-20-cn.conf b/dist/iidxhook-20-cn.conf new file mode 100644 index 0000000..77aef4f --- /dev/null +++ b/dist/iidxhook-20-cn.conf @@ -0,0 +1,47 @@ +# PCBID +eamuse.pcbid=0101020304050607086F + +# Run the game in a framed window (requires windowed option) +gfx.framed=false + +# Software limit the frame rate of the rendering loop in hz, e.g. 60 or 59.95 (0.0 = no software limit) +gfx.frame_rate_limit=0.0 + +# Patch the GPU device ID detection (leave empty to disable), format XXXX:YYYY, two 4 digit hex numbers (vid:pid). Examples: 1002:7146 (RV515, Radeon X1300), 1002:95C5 (RV620 LE, Radeon HD3450) +gfx.pci_id=1002:7146 + +# Run the game windowed +gfx.windowed=false + +# Windowed width, 0 for default size +gfx.window_width=0 + +# Windowed height, 0 for default size +gfx.window_height=0 + +# Up-/downscale the back buffer's width. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding height parameter. +gfx.scale_back_buffer_width=0 + +# Up-/downscale the back buffer's height. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding width parameter. +gfx.scale_back_buffer_height=0 + +# Filter type to use for up-/downscaling the back buffer. Only used if scaling feature was enabled by setting the scaling width and height parameters. Available types: none, linear, point (refer to D3DTEXTUREFILTERTYPE for explanation). +gfx.scale_back_buffer_filter=none + +# Forced refresh rate, -1 to not force any (try 59 or 60 if monitor check fails to lock on high refresh rate monitors) +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 + +# Fix diagonal tearing with video cards other than Radeon X1300 and HD3450 +gfx.diagonal_tearing_fix=false + +# Disable ezusb IO emulation and enable usage of real ezusb1/2 IO hardware +io.disable_io_emu=false + +# Path to store the settings, e.g. bookkeeping, operator settings. d:, e: and f: drive configuration/settings data +misc.settings_path=.\ + +# Security black plug mcode id string (e.g. GQC02JAA). +sec.black_plug_mcode=GKJDZCAA diff --git a/dist/iidxhook-20.conf b/dist/iidxhook-20.conf new file mode 100644 index 0000000..d5ed89e --- /dev/null +++ b/dist/iidxhook-20.conf @@ -0,0 +1,38 @@ +# Run the game in a framed window (requires windowed option) +gfx.framed=false + +# Software limit the frame rate of the rendering loop in hz, e.g. 60 or 59.95 (0.0 = no software limit) +gfx.frame_rate_limit=0.0 + +# Patch the GPU device ID detection (leave empty to disable), format XXXX:YYYY, two 4 digit hex numbers (vid:pid). Examples: 1002:7146 (RV515, Radeon X1300), 1002:95C5 (RV620 LE, Radeon HD3450) +gfx.pci_id=1002:7146 + +# Run the game windowed +gfx.windowed=false + +# Windowed width, 0 for default size +gfx.window_width=0 + +# Windowed height, 0 for default size +gfx.window_height=0 + +# Up-/downscale the back buffer's width. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding height parameter. +gfx.scale_back_buffer_width=0 + +# Up-/downscale the back buffer's height. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding width parameter. +gfx.scale_back_buffer_height=0 + +# Filter type to use for up-/downscaling the back buffer. Only used if scaling feature was enabled by setting the scaling width and height parameters. Available types: none, linear, point (refer to D3DTEXTUREFILTERTYPE for explanation). +gfx.scale_back_buffer_filter=none + +# Forced refresh rate, -1 to not force any (try 59 or 60 if monitor check fails to lock on high refresh rate monitors) +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 + +# Disable card reader emulation and enable usage of real card reader hardware on COM1 (for games supporting slotted/wavepass readers) +io.disable_card_reader_emu=false + +# Disable ezusb IO emulation and enable usage of real ezusb1/2 IO hardware +io.disable_io_emu=false \ No newline at end of file diff --git a/dist/iidxhook-21.conf b/dist/iidxhook-21.conf new file mode 100644 index 0000000..d5ed89e --- /dev/null +++ b/dist/iidxhook-21.conf @@ -0,0 +1,38 @@ +# Run the game in a framed window (requires windowed option) +gfx.framed=false + +# Software limit the frame rate of the rendering loop in hz, e.g. 60 or 59.95 (0.0 = no software limit) +gfx.frame_rate_limit=0.0 + +# Patch the GPU device ID detection (leave empty to disable), format XXXX:YYYY, two 4 digit hex numbers (vid:pid). Examples: 1002:7146 (RV515, Radeon X1300), 1002:95C5 (RV620 LE, Radeon HD3450) +gfx.pci_id=1002:7146 + +# Run the game windowed +gfx.windowed=false + +# Windowed width, 0 for default size +gfx.window_width=0 + +# Windowed height, 0 for default size +gfx.window_height=0 + +# Up-/downscale the back buffer's width. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding height parameter. +gfx.scale_back_buffer_width=0 + +# Up-/downscale the back buffer's height. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding width parameter. +gfx.scale_back_buffer_height=0 + +# Filter type to use for up-/downscaling the back buffer. Only used if scaling feature was enabled by setting the scaling width and height parameters. Available types: none, linear, point (refer to D3DTEXTUREFILTERTYPE for explanation). +gfx.scale_back_buffer_filter=none + +# Forced refresh rate, -1 to not force any (try 59 or 60 if monitor check fails to lock on high refresh rate monitors) +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 + +# Disable card reader emulation and enable usage of real card reader hardware on COM1 (for games supporting slotted/wavepass readers) +io.disable_card_reader_emu=false + +# Disable ezusb IO emulation and enable usage of real ezusb1/2 IO hardware +io.disable_io_emu=false \ No newline at end of file diff --git a/dist/iidxhook-22.conf b/dist/iidxhook-22.conf new file mode 100644 index 0000000..d5ed89e --- /dev/null +++ b/dist/iidxhook-22.conf @@ -0,0 +1,38 @@ +# Run the game in a framed window (requires windowed option) +gfx.framed=false + +# Software limit the frame rate of the rendering loop in hz, e.g. 60 or 59.95 (0.0 = no software limit) +gfx.frame_rate_limit=0.0 + +# Patch the GPU device ID detection (leave empty to disable), format XXXX:YYYY, two 4 digit hex numbers (vid:pid). Examples: 1002:7146 (RV515, Radeon X1300), 1002:95C5 (RV620 LE, Radeon HD3450) +gfx.pci_id=1002:7146 + +# Run the game windowed +gfx.windowed=false + +# Windowed width, 0 for default size +gfx.window_width=0 + +# Windowed height, 0 for default size +gfx.window_height=0 + +# Up-/downscale the back buffer's width. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding height parameter. +gfx.scale_back_buffer_width=0 + +# Up-/downscale the back buffer's height. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding width parameter. +gfx.scale_back_buffer_height=0 + +# Filter type to use for up-/downscaling the back buffer. Only used if scaling feature was enabled by setting the scaling width and height parameters. Available types: none, linear, point (refer to D3DTEXTUREFILTERTYPE for explanation). +gfx.scale_back_buffer_filter=none + +# Forced refresh rate, -1 to not force any (try 59 or 60 if monitor check fails to lock on high refresh rate monitors) +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 + +# Disable card reader emulation and enable usage of real card reader hardware on COM1 (for games supporting slotted/wavepass readers) +io.disable_card_reader_emu=false + +# Disable ezusb IO emulation and enable usage of real ezusb1/2 IO hardware +io.disable_io_emu=false \ No newline at end of file diff --git a/dist/iidxhook-23.conf b/dist/iidxhook-23.conf new file mode 100644 index 0000000..d5ed89e --- /dev/null +++ b/dist/iidxhook-23.conf @@ -0,0 +1,38 @@ +# Run the game in a framed window (requires windowed option) +gfx.framed=false + +# Software limit the frame rate of the rendering loop in hz, e.g. 60 or 59.95 (0.0 = no software limit) +gfx.frame_rate_limit=0.0 + +# Patch the GPU device ID detection (leave empty to disable), format XXXX:YYYY, two 4 digit hex numbers (vid:pid). Examples: 1002:7146 (RV515, Radeon X1300), 1002:95C5 (RV620 LE, Radeon HD3450) +gfx.pci_id=1002:7146 + +# Run the game windowed +gfx.windowed=false + +# Windowed width, 0 for default size +gfx.window_width=0 + +# Windowed height, 0 for default size +gfx.window_height=0 + +# Up-/downscale the back buffer's width. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding height parameter. +gfx.scale_back_buffer_width=0 + +# Up-/downscale the back buffer's height. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding width parameter. +gfx.scale_back_buffer_height=0 + +# Filter type to use for up-/downscaling the back buffer. Only used if scaling feature was enabled by setting the scaling width and height parameters. Available types: none, linear, point (refer to D3DTEXTUREFILTERTYPE for explanation). +gfx.scale_back_buffer_filter=none + +# Forced refresh rate, -1 to not force any (try 59 or 60 if monitor check fails to lock on high refresh rate monitors) +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 + +# Disable card reader emulation and enable usage of real card reader hardware on COM1 (for games supporting slotted/wavepass readers) +io.disable_card_reader_emu=false + +# Disable ezusb IO emulation and enable usage of real ezusb1/2 IO hardware +io.disable_io_emu=false \ No newline at end of file diff --git a/dist/iidxhook-24.conf b/dist/iidxhook-24.conf new file mode 100644 index 0000000..d5ed89e --- /dev/null +++ b/dist/iidxhook-24.conf @@ -0,0 +1,38 @@ +# Run the game in a framed window (requires windowed option) +gfx.framed=false + +# Software limit the frame rate of the rendering loop in hz, e.g. 60 or 59.95 (0.0 = no software limit) +gfx.frame_rate_limit=0.0 + +# Patch the GPU device ID detection (leave empty to disable), format XXXX:YYYY, two 4 digit hex numbers (vid:pid). Examples: 1002:7146 (RV515, Radeon X1300), 1002:95C5 (RV620 LE, Radeon HD3450) +gfx.pci_id=1002:7146 + +# Run the game windowed +gfx.windowed=false + +# Windowed width, 0 for default size +gfx.window_width=0 + +# Windowed height, 0 for default size +gfx.window_height=0 + +# Up-/downscale the back buffer's width. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding height parameter. +gfx.scale_back_buffer_width=0 + +# Up-/downscale the back buffer's height. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding width parameter. +gfx.scale_back_buffer_height=0 + +# Filter type to use for up-/downscaling the back buffer. Only used if scaling feature was enabled by setting the scaling width and height parameters. Available types: none, linear, point (refer to D3DTEXTUREFILTERTYPE for explanation). +gfx.scale_back_buffer_filter=none + +# Forced refresh rate, -1 to not force any (try 59 or 60 if monitor check fails to lock on high refresh rate monitors) +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 + +# Disable card reader emulation and enable usage of real card reader hardware on COM1 (for games supporting slotted/wavepass readers) +io.disable_card_reader_emu=false + +# Disable ezusb IO emulation and enable usage of real ezusb1/2 IO hardware +io.disable_io_emu=false \ No newline at end of file diff --git a/dist/iidxhook-25.conf b/dist/iidxhook-25.conf new file mode 100644 index 0000000..7d040e4 --- /dev/null +++ b/dist/iidxhook-25.conf @@ -0,0 +1,56 @@ + Run the game in a framed window (requires windowed option) +gfx.framed=false + +# Software limit the frame rate of the rendering loop in hz, e.g. 60 or 59.95 (0.0 = no software limit) +gfx.frame_rate_limit=0.0 + +# Patch the GPU device ID detection (leave empty to disable), format XXXX:YYYY, two 4 digit hex numbers (vid:pid). Examples: 1002:7146 (RV515, Radeon X1300), 1002:95C5 (RV620 LE, Radeon HD3450) +gfx.pci_id=1002:7146 + +# Run the game windowed +gfx.windowed=false + +# Windowed width, 0 for default size +gfx.window_width=0 + +# Windowed height, 0 for default size +gfx.window_height=0 + +# Up-/downscale the back buffer's width. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding height parameter. +gfx.scale_back_buffer_width=0 + +# Up-/downscale the back buffer's height. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding width parameter. +gfx.scale_back_buffer_height=0 + +# Filter type to use for up-/downscaling the back buffer. Only used if scaling feature was enabled by setting the scaling width and height parameters. Available types: none, linear, point (refer to D3DTEXTUREFILTERTYPE for explanation). +gfx.scale_back_buffer_filter=none + +# Forced refresh rate, -1 to not force any (try 59 or 60 if monitor check fails to lock on high refresh rate monitors) +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 + +# Disables the camera emulation +cam.disable_emu=false + +# Disable camera 1. Use, i.e., if you only have one camera and want it to be mapped to camera 2 ingame. +cam.disable_camera1=false + +# Disable camera 2. Use, i.e., if you have more than one camera but only want to map camera 1 ingame. +cam.disable_camera2=false + +# Override camera device ID 1 detection (copy from device manager, do not escape) Leave blank to automatically detect +cam.device_id1= + +# Override camera device ID 2 detection (copy from device manager, do not escape) Leave blank to automatically detect +cam.device_id2= + +# Disable card reader emulation and enable usage of real card reader hardware on COM1 (for games supporting slotted readers) +io.disable_card_reader_emu=false + +# Disable BIO2 emulation and enable usage of real BIO2 hardware +io.disable_bio2_emu=false + +# Disables the poll limiter, warning very high CPU usage may arise +io.disable_poll_limiter=false diff --git a/dist/iidxhook-26.conf b/dist/iidxhook-26.conf new file mode 100644 index 0000000..f14335a --- /dev/null +++ b/dist/iidxhook-26.conf @@ -0,0 +1,56 @@ +# Run the game in a framed window (requires windowed option) +gfx.framed=false + +# Software limit the frame rate of the rendering loop in hz, e.g. 60 or 59.95 (0.0 = no software limit) +gfx.frame_rate_limit=0.0 + +# Patch the GPU device ID detection (leave empty to disable), format XXXX:YYYY, two 4 digit hex numbers (vid:pid). Examples: 1002:7146 (RV515, Radeon X1300), 1002:95C5 (RV620 LE, Radeon HD3450) +gfx.pci_id=1002:7146 + +# Run the game windowed +gfx.windowed=false + +# Windowed width, 0 for default size +gfx.window_width=0 + +# Windowed height, 0 for default size +gfx.window_height=0 + +# Up-/downscale the back buffer's width. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding height parameter. +gfx.scale_back_buffer_width=0 + +# Up-/downscale the back buffer's height. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding width parameter. +gfx.scale_back_buffer_height=0 + +# Filter type to use for up-/downscaling the back buffer. Only used if scaling feature was enabled by setting the scaling width and height parameters. Available types: none, linear, point (refer to D3DTEXTUREFILTERTYPE for explanation). +gfx.scale_back_buffer_filter=none + +# Forced refresh rate, -1 to not force any (try 59 or 60 if monitor check fails to lock on high refresh rate monitors) +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 + +# Disables the camera emulation +cam.disable_emu=false + +# Disable camera 1. Use, i.e., if you only have one camera and want it to be mapped to camera 2 ingame. +cam.disable_camera1=false + +# Disable camera 2. Use, i.e., if you have more than one camera but only want to map camera 1 ingame. +cam.disable_camera2=false + +# Override camera device ID 1 detection (copy from device manager, do not escape) Leave blank to automatically detect +cam.device_id1= + +# Override camera device ID 2 detection (copy from device manager, do not escape) Leave blank to automatically detect +cam.device_id2= + +# Disable card reader emulation and enable usage of real card reader hardware on COM1 (for games supporting slotted readers) +io.disable_card_reader_emu=false + +# Disable BIO2 emulation and enable usage of real BIO2 hardware +io.disable_bio2_emu=false + +# Disables the poll limiter, warning very high CPU usage may arise +io.disable_poll_limiter=false -- 2.54.0 From 89efe0cc86441e417d21e891f7f83544bd296fce Mon Sep 17 00:00:00 2001 From: icex2 Date: Mon, 10 Apr 2023 23:54:37 +0200 Subject: [PATCH 07/26] feat(dev): Add github build and release workflows --- .github/workflows/build-master.yaml | 39 ++++++++++++++++ .github/workflows/build-tag.yaml | 71 +++++++++++++++++++++++++++++ 2 files changed, 110 insertions(+) create mode 100644 .github/workflows/build-master.yaml create mode 100644 .github/workflows/build-tag.yaml diff --git a/.github/workflows/build-master.yaml b/.github/workflows/build-master.yaml new file mode 100644 index 0000000..2f4b64d --- /dev/null +++ b/.github/workflows/build-master.yaml @@ -0,0 +1,39 @@ +name: "Build bemanitools" + +on: + push: + branches: + - master + +jobs: + build: + runs-on: "ubuntu-22.04" + steps: + - name: "Checkout repository" + uses: "actions/checkout@v2" + + - name: "Install prerequisites" + run: | + sudo apt-get update + sudo apt-get install -y runc containerd docker.io + + - name: "Build" + run: | + make build-docker + + # Do some unpacking of the dist zip. Artifact upload repackages stuff + - name: "Prepare artifact package" + run: | + mkdir artifact + cd artifact + unzip ../build/bemanitools.zip + cd .. + + - name: "Upload artifact" + uses: "actions/upload-artifact@v2" + with: + name: bemanitools-${{ github.sha }} + retention-days: 90 + if-no-files-found: "error" + path: | + artifact/** diff --git a/.github/workflows/build-tag.yaml b/.github/workflows/build-tag.yaml new file mode 100644 index 0000000..d00cf7c --- /dev/null +++ b/.github/workflows/build-tag.yaml @@ -0,0 +1,71 @@ +name: "Build bemanitools" + +on: + push: + tags: + - "*.*" + +jobs: + build: + runs-on: "ubuntu-22.04" + steps: + - name: "Checkout repository" + uses: "actions/checkout@v2" + + # Building bootstrapped using docker containers + - name: "Install prerequisites" + run: | + sudo apt-get update + sudo apt-get install -y runc containerd docker.io + + - name: "Build" + run: | + make build-docker + + # Do some unpacking of the dist zip. Artifact upload repackages stuff + - name: "Prepare artifact package" + run: | + mkdir artifact + cd artifact + unzip ../build/bemanitools.zip + cd .. + + - name: "Upload artifact" + uses: "actions/upload-artifact@v2" + with: + name: bemanitools-${{ github.sha }} + retention-days: 90 + if-no-files-found: "error" + path: | + artifact/** + + publish-release: + needs: "build" + runs-on: "ubuntu-22.04" + steps: + # This already extracts the contents of the artifact + - name: "Download artifact" + uses: "actions/download-artifact@v2" + with: + name: bemanitools-${{ github.sha }} + + - name: "Get the version" + id: get_version + run: | + echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3) + + # The publish release action does not package the artifact *sigh* + - name: "Create release package" + run: | + zip bemanitools-${{ steps.get_version.outputs.VERSION }}.zip * + + - name: "Publish release" + uses: "marvinpinto/action-automatic-releases@v1.2.1" + with: + repo_token: "${{ secrets.GITHUB_TOKEN }}" + automatic_release_tag: "latest" + draft: false + prerelease: true + title: ${{ steps.get_version.outputs.VERSION }} + files: | + bemanitools-${{ steps.get_version.outputs.VERSION }}.zip -- 2.54.0 From ecd598185bba42650d198914ff9b1bcbb6987070 Mon Sep 17 00:00:00 2001 From: din Date: Mon, 10 Apr 2023 16:55:48 -0500 Subject: [PATCH 08/26] unicorn tail doc update --- doc/ddrhook/unicorntail.md | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/doc/ddrhook/unicorntail.md b/doc/ddrhook/unicorntail.md index 788d78c..09cb134 100644 --- a/doc/ddrhook/unicorntail.md +++ b/doc/ddrhook/unicorntail.md @@ -17,10 +17,11 @@ A Chimera PCB however is different in many aspects to the Dragon PCB and require The Dragon's P3IO has two serial ports that the regular P3IOs do not, and one of these serial ports is used to communicate with the card readers. Note that these are actual serial ports driven directly by the P3IO microcontroller, these are NOT just passed through to the motherboard like the -proprietary COM1 and COM2 connectors. Unicorn Tail intercepts serial port IO commands being sent to -the P3IO and redirects them to COM2 instead, since COM2 is unused on SD cabinets (on HD cabinets it -connects to a second ACIO bus which drives the extra lighting glitz like the light spikes and maybe -the LED strip). +proprietary COM1 and COM2 connectors. + +Unicorn Tail intercepts serial port IO commands being sent to the P3IO and redirects them to a +COM4 in Windows instead, where two readers can be connected via the motherboard's RS232 port or +a usb RS232 adapter. ## Drivers @@ -28,6 +29,16 @@ You need the P3IO driver installed on your target system. These can be acquired HDD or grabbed from [bemanitools-supplements](https://dev.s-ul.net/djhackers/bemanitools-supplement/-/blob/master/gfdm/p3io/README.md). +## COM Port Setup + +Using Device Manager in Windows, ensure the following COM ports are connected and setup. + +COM1: EXTIO +COM4: Two readers + +Windows is often poor about saving the COM port number, so ewf commit (if applicable) and +reboot after saving this setting to ensure it sticks. + ## Setup and run Edit the `gamestart.bat` file that you are using and append `unicorntail.dll` to the list of hooks, -- 2.54.0 From aff106bf480bb698dabe1ac47a2486582cdeeb91 Mon Sep 17 00:00:00 2001 From: Jeffrey Paine Date: Mon, 10 Apr 2023 18:24:41 -0400 Subject: [PATCH 09/26] iidx: "Fix stretched BGAs" now covers IIDX 9/10 --- src/main/iidxhook-util/d3d9.c | 62 +++++++++++++++++------------------ 1 file changed, 30 insertions(+), 32 deletions(-) diff --git a/src/main/iidxhook-util/d3d9.c b/src/main/iidxhook-util/d3d9.c index 873e02f..83daa04 100644 --- a/src/main/iidxhook-util/d3d9.c +++ b/src/main/iidxhook-util/d3d9.c @@ -637,47 +637,45 @@ iidxhook_util_d3d9_iidx09_to_17_fix_uvs_bg_videos(struct hook_d3d9_irp *irp) (vertices[1].x >= 472.0f && vertices[1].x <= 476.0f && iidxhook_util_d3d9_float_equal(vertices[1].y, 0.0f, 0.1f)) && (vertices[2].x >= 472.0f && vertices[2].x <= 476.0f && - iidxhook_util_d3d9_float_equal( - vertices[2].y, 416.0f, 0.1f)) && + vertices[2].y >= 415.0f && vertices[2].y <= 416.0f) && (vertices[3].x >= 164.0f && vertices[3].x <= 168.0f && - iidxhook_util_d3d9_float_equal( - vertices[3].y, 416.0f, 0.1f))) || + vertices[3].y >= 415.0f && vertices[3].y <= 416.0f)) || /* double top left */ - ((iidxhook_util_d3d9_float_equal(vertices[0].x, 6.0f, 0.1f) && + ((vertices[0].x >= 6.0f && vertices[0].x <= 11.0f && vertices[0].y >= 24.0f && vertices[0].y <= 28.0f) && - (iidxhook_util_d3d9_float_equal(vertices[1].x, 147.0f, 0.1f) && + (vertices[1].x >= 137.0f && vertices[1].x <= 147.0f && vertices[1].y >= 24.0f && vertices[1].y <= 28.0f) && - (iidxhook_util_d3d9_float_equal(vertices[2].x, 147.0f, 0.1f) && - vertices[2].y >= 212.0f && vertices[2].y <= 216.0f) && - (iidxhook_util_d3d9_float_equal(vertices[3].x, 6.0f, 0.1f) && - vertices[3].y >= 212.0f && vertices[3].y <= 216.0f)) || + (vertices[2].x >= 137.0f && vertices[2].x <= 147.0f && + vertices[2].y >= 192.0f && vertices[2].y <= 216.0f) && + (vertices[3].x >= 6.0f && vertices[3].x <= 11.0f && + vertices[3].y >= 192.0f && vertices[3].y <= 216.0f)) || /* double bottom left */ - ((iidxhook_util_d3d9_float_equal(vertices[0].x, 6.0f, 0.1f) && - vertices[0].y >= 216.0f && vertices[0].y <= 220.0f) && - (iidxhook_util_d3d9_float_equal(vertices[1].x, 147.0f, 0.1f) && - vertices[1].y >= 216.0f && vertices[1].y <= 220.0f) && - (iidxhook_util_d3d9_float_equal(vertices[2].x, 147.0f, 0.1) && - vertices[2].y >= 404.0f && vertices[2].y <= 408.0f) && - (iidxhook_util_d3d9_float_equal(vertices[3].x, 6.0f, 0.1f) && - vertices[3].y >= 404.0f && vertices[3].y <= 408.0f)) || + ((vertices[0].x >= 6.0f && vertices[0].x <= 11.0f && + vertices[0].y >= 200.0f && vertices[0].y <= 220.0f) && + (vertices[1].x >= 137.0f && vertices[1].x <= 147.0f && + vertices[1].y >= 200.0f && vertices[1].y <= 220.0f) && + (vertices[2].x >= 137.0f && vertices[2].x <= 147.0f && + vertices[2].y >= 368.0f && vertices[2].y <= 408.0f) && + (vertices[3].x >= 6.0f && vertices[3].x <= 11.0f && + vertices[3].y >= 368.0f && vertices[3].y <= 408.0f)) || /* double top right */ - ((vertices[0].x >= 493.0f && vertices[0].x <= 494.0f && + ((vertices[0].x >= 493.0f && vertices[0].x <= 500.0f && vertices[0].y >= 24.0f && vertices[0].y <= 28.0f) && - (vertices[1].x >= 634.0f && vertices[1].x <= 635.0f && + (vertices[1].x >= 626.0f && vertices[1].x <= 635.0f && vertices[1].y >= 24.0f && vertices[1].y <= 28.0f) && - (vertices[2].x >= 634.0f && vertices[2].x <= 635.0f && - vertices[2].y >= 212.0f && vertices[2].y <= 216.0f) && - (vertices[3].x >= 493.0f && vertices[3].x <= 494.0f && - vertices[3].y >= 212.0f && vertices[3].y <= 216.0f)) || + (vertices[2].x >= 626.0f && vertices[2].x <= 635.0f && + vertices[2].y >= 192.0f && vertices[2].y <= 216.0f) && + (vertices[3].x >= 493.0f && vertices[3].x <= 500.0f && + vertices[3].y >= 192.0f && vertices[3].y <= 216.0f)) || /* double bottom right */ - ((vertices[0].x >= 493.0f && vertices[0].x <= 494.0f && - vertices[0].y >= 216.0f && vertices[0].y <= 220.0f) && - (vertices[1].x >= 634.0f && vertices[1].x <= 635.0f && - vertices[1].y >= 216.0f && vertices[1].y <= 220.0f) && - (vertices[2].x >= 634.0f && vertices[2].x <= 635.0f && - vertices[2].y >= 404.0f && vertices[2].y <= 408.0f) && - (vertices[3].x >= 493.0f && vertices[3].x <= 494.0f && - vertices[3].y >= 404.0f && vertices[3].y <= 408.0f))) { + ((vertices[0].x >= 493.0f && vertices[0].x <= 500.0f && + vertices[0].y >= 200.0f && vertices[0].y <= 220.0f) && + (vertices[1].x >= 626.0f && vertices[1].x <= 635.0f && + vertices[1].y >= 200.0f && vertices[1].y <= 220.0f) && + (vertices[2].x >= 626.0f && vertices[2].x <= 635.0f && + vertices[2].y >= 368.0f && vertices[2].y <= 408.0f) && + (vertices[3].x >= 493.0f && vertices[3].x <= 500.0f && + vertices[3].y >= 368.0f && vertices[3].y <= 408.0f))) { /* fix UVs 1.0f / 512 fixes the diagonal seam connecting the two triangles which is visible on some GPUs (why? idk) -- 2.54.0 From 736c82975f060931907aae9b32491858645ccde3 Mon Sep 17 00:00:00 2001 From: icex2 Date: Tue, 11 Apr 2023 00:03:10 +0200 Subject: [PATCH 10/26] chore(workflow): Improve workflow names These show up on github under "Actions" and it should be possible to tell them apart. --- .github/workflows/build-tag.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-tag.yaml b/.github/workflows/build-tag.yaml index d00cf7c..9d4f5bf 100644 --- a/.github/workflows/build-tag.yaml +++ b/.github/workflows/build-tag.yaml @@ -1,4 +1,4 @@ -name: "Build bemanitools" +name: "Build bemanitools and publish release" on: push: -- 2.54.0 From c4e77a91521bfa103d3d194d51582ac5905c1bbd Mon Sep 17 00:00:00 2001 From: icex2 Date: Tue, 11 Apr 2023 00:28:32 +0200 Subject: [PATCH 11/26] fix(workflow): Permission issues when creating releases on tagging --- .github/workflows/build-tag.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build-tag.yaml b/.github/workflows/build-tag.yaml index 9d4f5bf..18d2d40 100644 --- a/.github/workflows/build-tag.yaml +++ b/.github/workflows/build-tag.yaml @@ -1,5 +1,9 @@ name: "Build bemanitools and publish release" +permissions: + contents: write + packages: write + on: push: tags: -- 2.54.0 From c204b570c1c311483cc3a3ea841a74f4b6a5c20e Mon Sep 17 00:00:00 2001 From: Jeffrey Paine Date: Mon, 10 Apr 2023 18:53:44 -0400 Subject: [PATCH 12/26] iidx18-26,18cn,20cn - Remove unused "fix stretched BGs" option from conf files This option is not used in these styles --- dist/iidx/iidxhook-18-cn.conf | 3 --- dist/iidx/iidxhook-18.conf | 3 --- dist/iidx/iidxhook-19.conf | 3 --- dist/iidx/iidxhook-20-cn.conf | 3 --- dist/iidx/iidxhook-20.conf | 3 --- dist/iidx/iidxhook-21.conf | 3 --- dist/iidx/iidxhook-22.conf | 3 --- dist/iidx/iidxhook-23.conf | 3 --- dist/iidx/iidxhook-24.conf | 3 --- dist/iidx/iidxhook-25.conf | 5 +---- dist/iidx/iidxhook-26.conf | 3 --- 11 files changed, 1 insertion(+), 34 deletions(-) diff --git a/dist/iidx/iidxhook-18-cn.conf b/dist/iidx/iidxhook-18-cn.conf index 8eed203..10bb802 100644 --- a/dist/iidx/iidxhook-18-cn.conf +++ b/dist/iidx/iidxhook-18-cn.conf @@ -1,9 +1,6 @@ # PCBID eamuse.pcbid=0101020304050607086F -# Fix stretched BG videos on newer GPUs. Might appear on Red and newer -gfx.bgvideo_uv_fix=false - # Run the game in a framed window (requires windowed option) gfx.framed=false diff --git a/dist/iidx/iidxhook-18.conf b/dist/iidx/iidxhook-18.conf index 51a5995..2380cde 100755 --- a/dist/iidx/iidxhook-18.conf +++ b/dist/iidx/iidxhook-18.conf @@ -1,6 +1,3 @@ -# Fix stretched BG videos on newer GPUs. Might appear on Red and newer -gfx.bgvideo_uv_fix=false - # Run the game in a framed window (requires windowed option) gfx.framed=false diff --git a/dist/iidx/iidxhook-19.conf b/dist/iidx/iidxhook-19.conf index 51a5995..2380cde 100755 --- a/dist/iidx/iidxhook-19.conf +++ b/dist/iidx/iidxhook-19.conf @@ -1,6 +1,3 @@ -# Fix stretched BG videos on newer GPUs. Might appear on Red and newer -gfx.bgvideo_uv_fix=false - # Run the game in a framed window (requires windowed option) gfx.framed=false diff --git a/dist/iidx/iidxhook-20-cn.conf b/dist/iidx/iidxhook-20-cn.conf index 0c4e207..77aef4f 100644 --- a/dist/iidx/iidxhook-20-cn.conf +++ b/dist/iidx/iidxhook-20-cn.conf @@ -1,9 +1,6 @@ # PCBID eamuse.pcbid=0101020304050607086F -# Fix stretched BG videos on newer GPUs. Might appear on Red and newer -gfx.bgvideo_uv_fix=false - # Run the game in a framed window (requires windowed option) gfx.framed=false diff --git a/dist/iidx/iidxhook-20.conf b/dist/iidx/iidxhook-20.conf index d5445e9..d5ed89e 100755 --- a/dist/iidx/iidxhook-20.conf +++ b/dist/iidx/iidxhook-20.conf @@ -1,6 +1,3 @@ -# Fix stretched BG videos on newer GPUs. Might appear on Red and newer -gfx.bgvideo_uv_fix=false - # Run the game in a framed window (requires windowed option) gfx.framed=false diff --git a/dist/iidx/iidxhook-21.conf b/dist/iidx/iidxhook-21.conf index d5445e9..d5ed89e 100755 --- a/dist/iidx/iidxhook-21.conf +++ b/dist/iidx/iidxhook-21.conf @@ -1,6 +1,3 @@ -# Fix stretched BG videos on newer GPUs. Might appear on Red and newer -gfx.bgvideo_uv_fix=false - # Run the game in a framed window (requires windowed option) gfx.framed=false diff --git a/dist/iidx/iidxhook-22.conf b/dist/iidx/iidxhook-22.conf index d5445e9..d5ed89e 100755 --- a/dist/iidx/iidxhook-22.conf +++ b/dist/iidx/iidxhook-22.conf @@ -1,6 +1,3 @@ -# Fix stretched BG videos on newer GPUs. Might appear on Red and newer -gfx.bgvideo_uv_fix=false - # Run the game in a framed window (requires windowed option) gfx.framed=false diff --git a/dist/iidx/iidxhook-23.conf b/dist/iidx/iidxhook-23.conf index d5445e9..d5ed89e 100755 --- a/dist/iidx/iidxhook-23.conf +++ b/dist/iidx/iidxhook-23.conf @@ -1,6 +1,3 @@ -# Fix stretched BG videos on newer GPUs. Might appear on Red and newer -gfx.bgvideo_uv_fix=false - # Run the game in a framed window (requires windowed option) gfx.framed=false diff --git a/dist/iidx/iidxhook-24.conf b/dist/iidx/iidxhook-24.conf index d5445e9..d5ed89e 100755 --- a/dist/iidx/iidxhook-24.conf +++ b/dist/iidx/iidxhook-24.conf @@ -1,6 +1,3 @@ -# Fix stretched BG videos on newer GPUs. Might appear on Red and newer -gfx.bgvideo_uv_fix=false - # Run the game in a framed window (requires windowed option) gfx.framed=false diff --git a/dist/iidx/iidxhook-25.conf b/dist/iidx/iidxhook-25.conf index 5ba9b8a..7d040e4 100644 --- a/dist/iidx/iidxhook-25.conf +++ b/dist/iidx/iidxhook-25.conf @@ -1,7 +1,4 @@ -# Fix stretched BG videos on newer GPUs. Might appear on Red and newer -gfx.bgvideo_uv_fix=false - -# Run the game in a framed window (requires windowed option) + Run the game in a framed window (requires windowed option) gfx.framed=false # Software limit the frame rate of the rendering loop in hz, e.g. 60 or 59.95 (0.0 = no software limit) diff --git a/dist/iidx/iidxhook-26.conf b/dist/iidx/iidxhook-26.conf index 5ba9b8a..f14335a 100644 --- a/dist/iidx/iidxhook-26.conf +++ b/dist/iidx/iidxhook-26.conf @@ -1,6 +1,3 @@ -# Fix stretched BG videos on newer GPUs. Might appear on Red and newer -gfx.bgvideo_uv_fix=false - # Run the game in a framed window (requires windowed option) gfx.framed=false -- 2.54.0 From 48e29147770a80fe8dd1dda0eaa59499e943b314 Mon Sep 17 00:00:00 2001 From: Jeffrey Paine Date: Mon, 10 Apr 2023 18:54:11 -0400 Subject: [PATCH 13/26] Delete incorrectly placed file --- dist/iidxhook-18-cn.conf | 50 ---------------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 dist/iidxhook-18-cn.conf diff --git a/dist/iidxhook-18-cn.conf b/dist/iidxhook-18-cn.conf deleted file mode 100644 index 10bb802..0000000 --- a/dist/iidxhook-18-cn.conf +++ /dev/null @@ -1,50 +0,0 @@ -# PCBID -eamuse.pcbid=0101020304050607086F - -# Run the game in a framed window (requires windowed option) -gfx.framed=false - -# Software limit the frame rate of the rendering loop in hz, e.g. 60 or 59.95 (0.0 = no software limit) -gfx.frame_rate_limit=0.0 - -# Enable/disable software monitor check/auto timebase or set a pre-determined refresh value. -1 disables this feature. 0 enables auto detecting the current refresh rate on startup. Setting any positive value > 0 allows you to set a pre-determined refresh rate (e.g. retrieved from the monitor check on newer IIDX games). Either the auto detected value or pre-determined value is used to patch any chart files in-memory to fix song synchronization issues. Requires constant refresh rate!!! -gfx.monitor_check=-1.000000 - -# Patch the GPU device ID detection (leave empty to disable), format XXXX:YYYY, two 4 digit hex numbers (vid:pid). Examples: 1002:7146 (RV515, Radeon X1300), 1002:95C5 (RV620 LE, Radeon HD3450) -gfx.pci_id=1002:7146 - -# Run the game windowed -gfx.windowed=false - -# Windowed width, 0 for default size -gfx.window_width=0 - -# Windowed height, 0 for default size -gfx.window_height=0 - -# Up-/downscale the back buffer's width. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding height parameter. -gfx.scale_back_buffer_width=0 - -# Up-/downscale the back buffer's height. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding width parameter. -gfx.scale_back_buffer_height=0 - -# Filter type to use for up-/downscaling the back buffer. Only used if scaling feature was enabled by setting the scaling width and height parameters. Available types: none, linear, point (refer to D3DTEXTUREFILTERTYPE for explanation). -gfx.scale_back_buffer_filter=none - -# Forced refresh rate, -1 to not force any (try 59 or 60 if monitor check fails to lock on high refresh rate monitors) -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 - -# Fix diagonal tearing with video cards other than Radeon X1300 and HD3450 -gfx.diagonal_tearing_fix=false - -# Disable ezusb IO emulation and enable usage of real ezusb1/2 IO hardware -io.disable_io_emu=false - -# Path to store the settings, e.g. bookkeeping, operator settings. d:, e: and f: drive configuration/settings data -misc.settings_path=.\ - -# Security black plug mcode id string (e.g. GQC02JAA). -sec.black_plug_mcode=GKJDZCAA -- 2.54.0 From 83ba1ac5e8fbde651f0f5ae807f0ec64c023444a Mon Sep 17 00:00:00 2001 From: Jeffrey Paine Date: Mon, 10 Apr 2023 18:54:40 -0400 Subject: [PATCH 14/26] Delete incorrectly placed file --- dist/iidxhook-19.conf | 47 ------------------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 dist/iidxhook-19.conf diff --git a/dist/iidxhook-19.conf b/dist/iidxhook-19.conf deleted file mode 100644 index 2380cde..0000000 --- a/dist/iidxhook-19.conf +++ /dev/null @@ -1,47 +0,0 @@ -# Run the game in a framed window (requires windowed option) -gfx.framed=false - -# Software limit the frame rate of the rendering loop in hz, e.g. 60 or 59.95 (0.0 = no software limit) -gfx.frame_rate_limit=0.0 - -# Enable/disable software monitor check/auto timebase or set a pre-determined refresh value. -1 disables this feature. 0 enables auto detecting the current refresh rate on startup. Setting any positive value > 0 allows you to set a pre-determined refresh rate (e.g. retrieved from the monitor check on newer IIDX games). Either the auto detected value or pre-determined value is used to patch any chart files in-memory to fix song synchronization issues. Requires constant refresh rate!!! -gfx.monitor_check=-1.000000 - -# Patch the GPU device ID detection (leave empty to disable), format XXXX:YYYY, two 4 digit hex numbers (vid:pid). Examples: 1002:7146 (RV515, Radeon X1300), 1002:95C5 (RV620 LE, Radeon HD3450) -gfx.pci_id=1002:7146 - -# Run the game windowed -gfx.windowed=false - -# Windowed width, 0 for default size -gfx.window_width=0 - -# Windowed height, 0 for default size -gfx.window_height=0 - -# Up-/downscale the back buffer's width. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding height parameter. -gfx.scale_back_buffer_width=0 - -# Up-/downscale the back buffer's height. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding width parameter. -gfx.scale_back_buffer_height=0 - -# Filter type to use for up-/downscaling the back buffer. Only used if scaling feature was enabled by setting the scaling width and height parameters. Available types: none, linear, point (refer to D3DTEXTUREFILTERTYPE for explanation). -gfx.scale_back_buffer_filter=none - -# Forced refresh rate, -1 to not force any (try 59 or 60 if monitor check fails to lock on high refresh rate monitors) -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 - -# Fix diagonal tearing with video cards other than Radeon X1300 and HD3450 -gfx.diagonal_tearing_fix=false - -# Disable card reader emulation and enable usage of real card reader hardware on COM1 (for games supporting slotted/wavepass readers) -io.disable_card_reader_emu=false - -# Disable ezusb IO emulation and enable usage of real ezusb1/2 IO hardware -io.disable_io_emu=false - -# Path to store the settings, e.g. bookkeeping, operator settings. d:, e: and f: drive configuration/settings data -misc.settings_path=.\ \ No newline at end of file -- 2.54.0 From 3ee2572a27b4de64eb5ba660c29ed7c82e65ba1b Mon Sep 17 00:00:00 2001 From: Jeffrey Paine Date: Mon, 10 Apr 2023 18:54:49 -0400 Subject: [PATCH 15/26] Delete incorrectly placed file --- dist/iidxhook-18.conf | 47 ------------------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 dist/iidxhook-18.conf diff --git a/dist/iidxhook-18.conf b/dist/iidxhook-18.conf deleted file mode 100644 index 2380cde..0000000 --- a/dist/iidxhook-18.conf +++ /dev/null @@ -1,47 +0,0 @@ -# Run the game in a framed window (requires windowed option) -gfx.framed=false - -# Software limit the frame rate of the rendering loop in hz, e.g. 60 or 59.95 (0.0 = no software limit) -gfx.frame_rate_limit=0.0 - -# Enable/disable software monitor check/auto timebase or set a pre-determined refresh value. -1 disables this feature. 0 enables auto detecting the current refresh rate on startup. Setting any positive value > 0 allows you to set a pre-determined refresh rate (e.g. retrieved from the monitor check on newer IIDX games). Either the auto detected value or pre-determined value is used to patch any chart files in-memory to fix song synchronization issues. Requires constant refresh rate!!! -gfx.monitor_check=-1.000000 - -# Patch the GPU device ID detection (leave empty to disable), format XXXX:YYYY, two 4 digit hex numbers (vid:pid). Examples: 1002:7146 (RV515, Radeon X1300), 1002:95C5 (RV620 LE, Radeon HD3450) -gfx.pci_id=1002:7146 - -# Run the game windowed -gfx.windowed=false - -# Windowed width, 0 for default size -gfx.window_width=0 - -# Windowed height, 0 for default size -gfx.window_height=0 - -# Up-/downscale the back buffer's width. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding height parameter. -gfx.scale_back_buffer_width=0 - -# Up-/downscale the back buffer's height. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding width parameter. -gfx.scale_back_buffer_height=0 - -# Filter type to use for up-/downscaling the back buffer. Only used if scaling feature was enabled by setting the scaling width and height parameters. Available types: none, linear, point (refer to D3DTEXTUREFILTERTYPE for explanation). -gfx.scale_back_buffer_filter=none - -# Forced refresh rate, -1 to not force any (try 59 or 60 if monitor check fails to lock on high refresh rate monitors) -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 - -# Fix diagonal tearing with video cards other than Radeon X1300 and HD3450 -gfx.diagonal_tearing_fix=false - -# Disable card reader emulation and enable usage of real card reader hardware on COM1 (for games supporting slotted/wavepass readers) -io.disable_card_reader_emu=false - -# Disable ezusb IO emulation and enable usage of real ezusb1/2 IO hardware -io.disable_io_emu=false - -# Path to store the settings, e.g. bookkeeping, operator settings. d:, e: and f: drive configuration/settings data -misc.settings_path=.\ \ No newline at end of file -- 2.54.0 From 93cb44b380ee614d0873b778f37588d5ed8a4c45 Mon Sep 17 00:00:00 2001 From: Jeffrey Paine Date: Mon, 10 Apr 2023 18:54:59 -0400 Subject: [PATCH 16/26] Delete incorrectly placed file --- dist/iidxhook-20-cn.conf | 47 ---------------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 dist/iidxhook-20-cn.conf diff --git a/dist/iidxhook-20-cn.conf b/dist/iidxhook-20-cn.conf deleted file mode 100644 index 77aef4f..0000000 --- a/dist/iidxhook-20-cn.conf +++ /dev/null @@ -1,47 +0,0 @@ -# PCBID -eamuse.pcbid=0101020304050607086F - -# Run the game in a framed window (requires windowed option) -gfx.framed=false - -# Software limit the frame rate of the rendering loop in hz, e.g. 60 or 59.95 (0.0 = no software limit) -gfx.frame_rate_limit=0.0 - -# Patch the GPU device ID detection (leave empty to disable), format XXXX:YYYY, two 4 digit hex numbers (vid:pid). Examples: 1002:7146 (RV515, Radeon X1300), 1002:95C5 (RV620 LE, Radeon HD3450) -gfx.pci_id=1002:7146 - -# Run the game windowed -gfx.windowed=false - -# Windowed width, 0 for default size -gfx.window_width=0 - -# Windowed height, 0 for default size -gfx.window_height=0 - -# Up-/downscale the back buffer's width. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding height parameter. -gfx.scale_back_buffer_width=0 - -# Up-/downscale the back buffer's height. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding width parameter. -gfx.scale_back_buffer_height=0 - -# Filter type to use for up-/downscaling the back buffer. Only used if scaling feature was enabled by setting the scaling width and height parameters. Available types: none, linear, point (refer to D3DTEXTUREFILTERTYPE for explanation). -gfx.scale_back_buffer_filter=none - -# Forced refresh rate, -1 to not force any (try 59 or 60 if monitor check fails to lock on high refresh rate monitors) -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 - -# Fix diagonal tearing with video cards other than Radeon X1300 and HD3450 -gfx.diagonal_tearing_fix=false - -# Disable ezusb IO emulation and enable usage of real ezusb1/2 IO hardware -io.disable_io_emu=false - -# Path to store the settings, e.g. bookkeeping, operator settings. d:, e: and f: drive configuration/settings data -misc.settings_path=.\ - -# Security black plug mcode id string (e.g. GQC02JAA). -sec.black_plug_mcode=GKJDZCAA -- 2.54.0 From eb61d4eefd878d7a3c3390239498bbd318635b14 Mon Sep 17 00:00:00 2001 From: Jeffrey Paine Date: Mon, 10 Apr 2023 18:55:11 -0400 Subject: [PATCH 17/26] Delete incorrectly placed file --- dist/iidxhook-20.conf | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 dist/iidxhook-20.conf diff --git a/dist/iidxhook-20.conf b/dist/iidxhook-20.conf deleted file mode 100644 index d5ed89e..0000000 --- a/dist/iidxhook-20.conf +++ /dev/null @@ -1,38 +0,0 @@ -# Run the game in a framed window (requires windowed option) -gfx.framed=false - -# Software limit the frame rate of the rendering loop in hz, e.g. 60 or 59.95 (0.0 = no software limit) -gfx.frame_rate_limit=0.0 - -# Patch the GPU device ID detection (leave empty to disable), format XXXX:YYYY, two 4 digit hex numbers (vid:pid). Examples: 1002:7146 (RV515, Radeon X1300), 1002:95C5 (RV620 LE, Radeon HD3450) -gfx.pci_id=1002:7146 - -# Run the game windowed -gfx.windowed=false - -# Windowed width, 0 for default size -gfx.window_width=0 - -# Windowed height, 0 for default size -gfx.window_height=0 - -# Up-/downscale the back buffer's width. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding height parameter. -gfx.scale_back_buffer_width=0 - -# Up-/downscale the back buffer's height. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding width parameter. -gfx.scale_back_buffer_height=0 - -# Filter type to use for up-/downscaling the back buffer. Only used if scaling feature was enabled by setting the scaling width and height parameters. Available types: none, linear, point (refer to D3DTEXTUREFILTERTYPE for explanation). -gfx.scale_back_buffer_filter=none - -# Forced refresh rate, -1 to not force any (try 59 or 60 if monitor check fails to lock on high refresh rate monitors) -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 - -# Disable card reader emulation and enable usage of real card reader hardware on COM1 (for games supporting slotted/wavepass readers) -io.disable_card_reader_emu=false - -# Disable ezusb IO emulation and enable usage of real ezusb1/2 IO hardware -io.disable_io_emu=false \ No newline at end of file -- 2.54.0 From d4be9b4a3d597027edf2dd6c8ba1af08c19bfc54 Mon Sep 17 00:00:00 2001 From: Jeffrey Paine Date: Mon, 10 Apr 2023 18:55:21 -0400 Subject: [PATCH 18/26] Delete incorrectly placed file --- dist/iidxhook-21.conf | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 dist/iidxhook-21.conf diff --git a/dist/iidxhook-21.conf b/dist/iidxhook-21.conf deleted file mode 100644 index d5ed89e..0000000 --- a/dist/iidxhook-21.conf +++ /dev/null @@ -1,38 +0,0 @@ -# Run the game in a framed window (requires windowed option) -gfx.framed=false - -# Software limit the frame rate of the rendering loop in hz, e.g. 60 or 59.95 (0.0 = no software limit) -gfx.frame_rate_limit=0.0 - -# Patch the GPU device ID detection (leave empty to disable), format XXXX:YYYY, two 4 digit hex numbers (vid:pid). Examples: 1002:7146 (RV515, Radeon X1300), 1002:95C5 (RV620 LE, Radeon HD3450) -gfx.pci_id=1002:7146 - -# Run the game windowed -gfx.windowed=false - -# Windowed width, 0 for default size -gfx.window_width=0 - -# Windowed height, 0 for default size -gfx.window_height=0 - -# Up-/downscale the back buffer's width. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding height parameter. -gfx.scale_back_buffer_width=0 - -# Up-/downscale the back buffer's height. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding width parameter. -gfx.scale_back_buffer_height=0 - -# Filter type to use for up-/downscaling the back buffer. Only used if scaling feature was enabled by setting the scaling width and height parameters. Available types: none, linear, point (refer to D3DTEXTUREFILTERTYPE for explanation). -gfx.scale_back_buffer_filter=none - -# Forced refresh rate, -1 to not force any (try 59 or 60 if monitor check fails to lock on high refresh rate monitors) -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 - -# Disable card reader emulation and enable usage of real card reader hardware on COM1 (for games supporting slotted/wavepass readers) -io.disable_card_reader_emu=false - -# Disable ezusb IO emulation and enable usage of real ezusb1/2 IO hardware -io.disable_io_emu=false \ No newline at end of file -- 2.54.0 From 096f89d52560a91eeff4a96e7bc05f0f4b85d8fa Mon Sep 17 00:00:00 2001 From: Jeffrey Paine Date: Mon, 10 Apr 2023 18:55:32 -0400 Subject: [PATCH 19/26] Delete incorrectly placed file --- dist/iidxhook-22.conf | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 dist/iidxhook-22.conf diff --git a/dist/iidxhook-22.conf b/dist/iidxhook-22.conf deleted file mode 100644 index d5ed89e..0000000 --- a/dist/iidxhook-22.conf +++ /dev/null @@ -1,38 +0,0 @@ -# Run the game in a framed window (requires windowed option) -gfx.framed=false - -# Software limit the frame rate of the rendering loop in hz, e.g. 60 or 59.95 (0.0 = no software limit) -gfx.frame_rate_limit=0.0 - -# Patch the GPU device ID detection (leave empty to disable), format XXXX:YYYY, two 4 digit hex numbers (vid:pid). Examples: 1002:7146 (RV515, Radeon X1300), 1002:95C5 (RV620 LE, Radeon HD3450) -gfx.pci_id=1002:7146 - -# Run the game windowed -gfx.windowed=false - -# Windowed width, 0 for default size -gfx.window_width=0 - -# Windowed height, 0 for default size -gfx.window_height=0 - -# Up-/downscale the back buffer's width. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding height parameter. -gfx.scale_back_buffer_width=0 - -# Up-/downscale the back buffer's height. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding width parameter. -gfx.scale_back_buffer_height=0 - -# Filter type to use for up-/downscaling the back buffer. Only used if scaling feature was enabled by setting the scaling width and height parameters. Available types: none, linear, point (refer to D3DTEXTUREFILTERTYPE for explanation). -gfx.scale_back_buffer_filter=none - -# Forced refresh rate, -1 to not force any (try 59 or 60 if monitor check fails to lock on high refresh rate monitors) -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 - -# Disable card reader emulation and enable usage of real card reader hardware on COM1 (for games supporting slotted/wavepass readers) -io.disable_card_reader_emu=false - -# Disable ezusb IO emulation and enable usage of real ezusb1/2 IO hardware -io.disable_io_emu=false \ No newline at end of file -- 2.54.0 From c85a5f626824cb012bbd3418cbfb4ec7f56eb0c2 Mon Sep 17 00:00:00 2001 From: Jeffrey Paine Date: Mon, 10 Apr 2023 18:55:42 -0400 Subject: [PATCH 20/26] Delete incorrectly placed file --- dist/iidxhook-23.conf | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 dist/iidxhook-23.conf diff --git a/dist/iidxhook-23.conf b/dist/iidxhook-23.conf deleted file mode 100644 index d5ed89e..0000000 --- a/dist/iidxhook-23.conf +++ /dev/null @@ -1,38 +0,0 @@ -# Run the game in a framed window (requires windowed option) -gfx.framed=false - -# Software limit the frame rate of the rendering loop in hz, e.g. 60 or 59.95 (0.0 = no software limit) -gfx.frame_rate_limit=0.0 - -# Patch the GPU device ID detection (leave empty to disable), format XXXX:YYYY, two 4 digit hex numbers (vid:pid). Examples: 1002:7146 (RV515, Radeon X1300), 1002:95C5 (RV620 LE, Radeon HD3450) -gfx.pci_id=1002:7146 - -# Run the game windowed -gfx.windowed=false - -# Windowed width, 0 for default size -gfx.window_width=0 - -# Windowed height, 0 for default size -gfx.window_height=0 - -# Up-/downscale the back buffer's width. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding height parameter. -gfx.scale_back_buffer_width=0 - -# Up-/downscale the back buffer's height. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding width parameter. -gfx.scale_back_buffer_height=0 - -# Filter type to use for up-/downscaling the back buffer. Only used if scaling feature was enabled by setting the scaling width and height parameters. Available types: none, linear, point (refer to D3DTEXTUREFILTERTYPE for explanation). -gfx.scale_back_buffer_filter=none - -# Forced refresh rate, -1 to not force any (try 59 or 60 if monitor check fails to lock on high refresh rate monitors) -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 - -# Disable card reader emulation and enable usage of real card reader hardware on COM1 (for games supporting slotted/wavepass readers) -io.disable_card_reader_emu=false - -# Disable ezusb IO emulation and enable usage of real ezusb1/2 IO hardware -io.disable_io_emu=false \ No newline at end of file -- 2.54.0 From 4af39979e3cae030a72a189749dc1f2d941d5903 Mon Sep 17 00:00:00 2001 From: Jeffrey Paine Date: Mon, 10 Apr 2023 18:55:51 -0400 Subject: [PATCH 21/26] Delete incorrectly placed file --- dist/iidxhook-24.conf | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 dist/iidxhook-24.conf diff --git a/dist/iidxhook-24.conf b/dist/iidxhook-24.conf deleted file mode 100644 index d5ed89e..0000000 --- a/dist/iidxhook-24.conf +++ /dev/null @@ -1,38 +0,0 @@ -# Run the game in a framed window (requires windowed option) -gfx.framed=false - -# Software limit the frame rate of the rendering loop in hz, e.g. 60 or 59.95 (0.0 = no software limit) -gfx.frame_rate_limit=0.0 - -# Patch the GPU device ID detection (leave empty to disable), format XXXX:YYYY, two 4 digit hex numbers (vid:pid). Examples: 1002:7146 (RV515, Radeon X1300), 1002:95C5 (RV620 LE, Radeon HD3450) -gfx.pci_id=1002:7146 - -# Run the game windowed -gfx.windowed=false - -# Windowed width, 0 for default size -gfx.window_width=0 - -# Windowed height, 0 for default size -gfx.window_height=0 - -# Up-/downscale the back buffer's width. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding height parameter. -gfx.scale_back_buffer_width=0 - -# Up-/downscale the back buffer's height. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding width parameter. -gfx.scale_back_buffer_height=0 - -# Filter type to use for up-/downscaling the back buffer. Only used if scaling feature was enabled by setting the scaling width and height parameters. Available types: none, linear, point (refer to D3DTEXTUREFILTERTYPE for explanation). -gfx.scale_back_buffer_filter=none - -# Forced refresh rate, -1 to not force any (try 59 or 60 if monitor check fails to lock on high refresh rate monitors) -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 - -# Disable card reader emulation and enable usage of real card reader hardware on COM1 (for games supporting slotted/wavepass readers) -io.disable_card_reader_emu=false - -# Disable ezusb IO emulation and enable usage of real ezusb1/2 IO hardware -io.disable_io_emu=false \ No newline at end of file -- 2.54.0 From 2b2f7c819accbbe70cff435ccca2795eeb422c7f Mon Sep 17 00:00:00 2001 From: Jeffrey Paine Date: Mon, 10 Apr 2023 18:56:03 -0400 Subject: [PATCH 22/26] Delete incorrectly placed file --- dist/iidxhook-25.conf | 56 ------------------------------------------- 1 file changed, 56 deletions(-) delete mode 100644 dist/iidxhook-25.conf diff --git a/dist/iidxhook-25.conf b/dist/iidxhook-25.conf deleted file mode 100644 index 7d040e4..0000000 --- a/dist/iidxhook-25.conf +++ /dev/null @@ -1,56 +0,0 @@ - Run the game in a framed window (requires windowed option) -gfx.framed=false - -# Software limit the frame rate of the rendering loop in hz, e.g. 60 or 59.95 (0.0 = no software limit) -gfx.frame_rate_limit=0.0 - -# Patch the GPU device ID detection (leave empty to disable), format XXXX:YYYY, two 4 digit hex numbers (vid:pid). Examples: 1002:7146 (RV515, Radeon X1300), 1002:95C5 (RV620 LE, Radeon HD3450) -gfx.pci_id=1002:7146 - -# Run the game windowed -gfx.windowed=false - -# Windowed width, 0 for default size -gfx.window_width=0 - -# Windowed height, 0 for default size -gfx.window_height=0 - -# Up-/downscale the back buffer's width. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding height parameter. -gfx.scale_back_buffer_width=0 - -# Up-/downscale the back buffer's height. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding width parameter. -gfx.scale_back_buffer_height=0 - -# Filter type to use for up-/downscaling the back buffer. Only used if scaling feature was enabled by setting the scaling width and height parameters. Available types: none, linear, point (refer to D3DTEXTUREFILTERTYPE for explanation). -gfx.scale_back_buffer_filter=none - -# Forced refresh rate, -1 to not force any (try 59 or 60 if monitor check fails to lock on high refresh rate monitors) -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 - -# Disables the camera emulation -cam.disable_emu=false - -# Disable camera 1. Use, i.e., if you only have one camera and want it to be mapped to camera 2 ingame. -cam.disable_camera1=false - -# Disable camera 2. Use, i.e., if you have more than one camera but only want to map camera 1 ingame. -cam.disable_camera2=false - -# Override camera device ID 1 detection (copy from device manager, do not escape) Leave blank to automatically detect -cam.device_id1= - -# Override camera device ID 2 detection (copy from device manager, do not escape) Leave blank to automatically detect -cam.device_id2= - -# Disable card reader emulation and enable usage of real card reader hardware on COM1 (for games supporting slotted readers) -io.disable_card_reader_emu=false - -# Disable BIO2 emulation and enable usage of real BIO2 hardware -io.disable_bio2_emu=false - -# Disables the poll limiter, warning very high CPU usage may arise -io.disable_poll_limiter=false -- 2.54.0 From 469b0de2b8fcdec0c1e7b22fca4b3b02d8a75765 Mon Sep 17 00:00:00 2001 From: Jeffrey Paine Date: Mon, 10 Apr 2023 18:56:14 -0400 Subject: [PATCH 23/26] Delete incorrectly placed file --- dist/iidxhook-26.conf | 56 ------------------------------------------- 1 file changed, 56 deletions(-) delete mode 100644 dist/iidxhook-26.conf diff --git a/dist/iidxhook-26.conf b/dist/iidxhook-26.conf deleted file mode 100644 index f14335a..0000000 --- a/dist/iidxhook-26.conf +++ /dev/null @@ -1,56 +0,0 @@ -# Run the game in a framed window (requires windowed option) -gfx.framed=false - -# Software limit the frame rate of the rendering loop in hz, e.g. 60 or 59.95 (0.0 = no software limit) -gfx.frame_rate_limit=0.0 - -# Patch the GPU device ID detection (leave empty to disable), format XXXX:YYYY, two 4 digit hex numbers (vid:pid). Examples: 1002:7146 (RV515, Radeon X1300), 1002:95C5 (RV620 LE, Radeon HD3450) -gfx.pci_id=1002:7146 - -# Run the game windowed -gfx.windowed=false - -# Windowed width, 0 for default size -gfx.window_width=0 - -# Windowed height, 0 for default size -gfx.window_height=0 - -# Up-/downscale the back buffer's width. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding height parameter. -gfx.scale_back_buffer_width=0 - -# Up-/downscale the back buffer's height. This does not change the game's rendering resolution but scales the final frame. Use this to target the native resolution of your monitor/TV, e.g. to avoid over-/underscan, bad image quality or latency caused by the monitors internal upscaler. 0 to disable this feature. Must be set in combination with the corresponding width parameter. -gfx.scale_back_buffer_height=0 - -# Filter type to use for up-/downscaling the back buffer. Only used if scaling feature was enabled by setting the scaling width and height parameters. Available types: none, linear, point (refer to D3DTEXTUREFILTERTYPE for explanation). -gfx.scale_back_buffer_filter=none - -# Forced refresh rate, -1 to not force any (try 59 or 60 if monitor check fails to lock on high refresh rate monitors) -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 - -# Disables the camera emulation -cam.disable_emu=false - -# Disable camera 1. Use, i.e., if you only have one camera and want it to be mapped to camera 2 ingame. -cam.disable_camera1=false - -# Disable camera 2. Use, i.e., if you have more than one camera but only want to map camera 1 ingame. -cam.disable_camera2=false - -# Override camera device ID 1 detection (copy from device manager, do not escape) Leave blank to automatically detect -cam.device_id1= - -# Override camera device ID 2 detection (copy from device manager, do not escape) Leave blank to automatically detect -cam.device_id2= - -# Disable card reader emulation and enable usage of real card reader hardware on COM1 (for games supporting slotted readers) -io.disable_card_reader_emu=false - -# Disable BIO2 emulation and enable usage of real BIO2 hardware -io.disable_bio2_emu=false - -# Disables the poll limiter, warning very high CPU usage may arise -io.disable_poll_limiter=false -- 2.54.0 From 09e672fca6791382b878f03861fb892d117ef519 Mon Sep 17 00:00:00 2001 From: Jeffrey Paine Date: Mon, 10 Apr 2023 19:02:04 -0400 Subject: [PATCH 24/26] iidx: Update description of gfx.bgvideo_uv_fix --- src/main/iidxhook-util/config-gfx.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/iidxhook-util/config-gfx.c b/src/main/iidxhook-util/config-gfx.c index 56ed3e7..e591f48 100644 --- a/src/main/iidxhook-util/config-gfx.c +++ b/src/main/iidxhook-util/config-gfx.c @@ -45,8 +45,9 @@ void iidxhook_config_gfx_init(struct cconfig *config) config, IIDXHOOK_CONFIG_GFX_BGVIDEO_UV_FIX_KEY, IIDXHOOK_CONFIG_GFX_DEFAULT_BGVIDEO_UV_FIX_VALUE, - "Fix stretched BG videos on newer GPUs. Might appear on Red and " - "newer"); + "Fix stretched BG videos on newer GPUs. Might appear on SIRIUS " + "and older. On 9th and 10th style this issue may only affect " + "older BGAs (from 1st-3rd style)"); cconfig_util_set_bool( config, -- 2.54.0 From b6f427c07e4fbc52fe18d9900f8fba67064aad49 Mon Sep 17 00:00:00 2001 From: Jeffrey Paine Date: Mon, 10 Apr 2023 20:35:30 -0400 Subject: [PATCH 25/26] iidx: Fix for 9th/10th stretched vids is more specifically targeted --- src/main/iidxhook-util/d3d9.c | 130 +++++++++++++++++++++++----------- 1 file changed, 90 insertions(+), 40 deletions(-) diff --git a/src/main/iidxhook-util/d3d9.c b/src/main/iidxhook-util/d3d9.c index 83daa04..9c87719 100644 --- a/src/main/iidxhook-util/d3d9.c +++ b/src/main/iidxhook-util/d3d9.c @@ -632,50 +632,100 @@ iidxhook_util_d3d9_iidx09_to_17_fix_uvs_bg_videos(struct hook_d3d9_irp *irp) /* different versions have different themes and position the bg video on slightly different positions (good job...) */ if (/* single */ - ((vertices[0].x >= 164.0f && vertices[0].x <= 168.0f && - iidxhook_util_d3d9_float_equal(vertices[0].y, 0.0f, 0.1f)) && - (vertices[1].x >= 472.0f && vertices[1].x <= 476.0f && - iidxhook_util_d3d9_float_equal(vertices[1].y, 0.0f, 0.1f)) && - (vertices[2].x >= 472.0f && vertices[2].x <= 476.0f && - vertices[2].y >= 415.0f && vertices[2].y <= 416.0f) && - (vertices[3].x >= 164.0f && vertices[3].x <= 168.0f && - vertices[3].y >= 415.0f && vertices[3].y <= 416.0f)) || + (vertices[0].x >= 164.0f && vertices[0].x <= 168.0f && + iidxhook_util_d3d9_float_equal(vertices[0].y, 0.0f, 0.1f) && + vertices[1].x >= 472.0f && vertices[1].x <= 476.1f && + iidxhook_util_d3d9_float_equal(vertices[1].y, 0.0f, 0.1f) && + vertices[2].x >= 472.0f && vertices[2].x <= 476.1f && + ((iidxhook_util_d3d9_float_equal( + vertices[2].y, 415.0f, 0.1f)) || + iidxhook_util_d3d9_float_equal( + vertices[2].y, 416.0f, 0.1f)) && + vertices[3].x >= 164.0f && vertices[3].x <= 168.0f && + ((iidxhook_util_d3d9_float_equal( + vertices[3].y, 415.0f, 0.1f)) || + (iidxhook_util_d3d9_float_equal( + vertices[3].y, 416.0f, 0.1f)))) || /* double top left */ - ((vertices[0].x >= 6.0f && vertices[0].x <= 11.0f && - vertices[0].y >= 24.0f && vertices[0].y <= 28.0f) && - (vertices[1].x >= 137.0f && vertices[1].x <= 147.0f && - vertices[1].y >= 24.0f && vertices[1].y <= 28.0f) && - (vertices[2].x >= 137.0f && vertices[2].x <= 147.0f && - vertices[2].y >= 192.0f && vertices[2].y <= 216.0f) && - (vertices[3].x >= 6.0f && vertices[3].x <= 11.0f && - vertices[3].y >= 192.0f && vertices[3].y <= 216.0f)) || + ((iidxhook_util_d3d9_float_equal(vertices[0].x, 6.0f, 0.1f) || + iidxhook_util_d3d9_float_equal(vertices[0].x, 11.0f, 0.1f)) && + vertices[0].y >= 23.9f && vertices[0].y <= 28.0f && + (iidxhook_util_d3d9_float_equal(vertices[1].x, 137.0f, 0.1f) || + iidxhook_util_d3d9_float_equal( + vertices[1].x, 147.0f, 0.1f)) && + vertices[1].y >= 23.9f && vertices[1].y <= 28.0f && + (iidxhook_util_d3d9_float_equal(vertices[2].x, 137.0f, 0.1f) || + iidxhook_util_d3d9_float_equal( + vertices[2].x, 147.0f, 0.1f)) && + (iidxhook_util_d3d9_float_equal(vertices[2].y, 192.0f, 0.1f) || + (vertices[2].y >= 212.0f && vertices[2].y <= 216.0f)) && + (iidxhook_util_d3d9_float_equal(vertices[3].x, 6.0f, 0.1f) || + iidxhook_util_d3d9_float_equal(vertices[3].x, 11.0f, 0.1f)) && + (iidxhook_util_d3d9_float_equal(vertices[3].y, 192.0f, 0.1f) || + (vertices[3].y >= 212.0f && vertices[3].y <= 216.0f))) || /* double bottom left */ - ((vertices[0].x >= 6.0f && vertices[0].x <= 11.0f && - vertices[0].y >= 200.0f && vertices[0].y <= 220.0f) && - (vertices[1].x >= 137.0f && vertices[1].x <= 147.0f && - vertices[1].y >= 200.0f && vertices[1].y <= 220.0f) && - (vertices[2].x >= 137.0f && vertices[2].x <= 147.0f && - vertices[2].y >= 368.0f && vertices[2].y <= 408.0f) && - (vertices[3].x >= 6.0f && vertices[3].x <= 11.0f && - vertices[3].y >= 368.0f && vertices[3].y <= 408.0f)) || + ((iidxhook_util_d3d9_float_equal(vertices[0].x, 6.0f, 0.1f) || + iidxhook_util_d3d9_float_equal(vertices[0].x, 11.0f, 0.1f)) && + (iidxhook_util_d3d9_float_equal(vertices[0].y, 200.0f, 0.1f) || + iidxhook_util_d3d9_float_equal(vertices[0].y, 206.0f, 0.1f) || + (vertices[0].y >= 216.0f && vertices[0].y <= 220.0f)) && + (iidxhook_util_d3d9_float_equal(vertices[1].x, 137.0f, 0.1f) || + iidxhook_util_d3d9_float_equal( + vertices[1].x, 147.0f, 0.1f)) && + (iidxhook_util_d3d9_float_equal(vertices[1].y, 200.0f, 0.1f) || + iidxhook_util_d3d9_float_equal(vertices[1].y, 206.0f, 0.1f) || + (vertices[1].y >= 216.0f && vertices[1].y <= 220.0f)) && + (iidxhook_util_d3d9_float_equal(vertices[2].x, 137.0f, 0.1f) || + iidxhook_util_d3d9_float_equal( + vertices[2].x, 147.0f, 0.1f)) && + (iidxhook_util_d3d9_float_equal(vertices[2].y, 368.0f, 0.1f) || + iidxhook_util_d3d9_float_equal(vertices[2].y, 394.0f, 0.1f) || + (vertices[2].y >= 404.0f && vertices[2].y <= 408.0f)) && + (iidxhook_util_d3d9_float_equal(vertices[3].x, 6.0f, 0.1f) || + iidxhook_util_d3d9_float_equal(vertices[3].x, 11.0f, 0.1f)) && + (iidxhook_util_d3d9_float_equal(vertices[3].y, 368.0f, 0.1f) || + iidxhook_util_d3d9_float_equal(vertices[3].y, 394.0f, 0.1f) || + (vertices[3].y >= 404.0f && vertices[3].y <= 408.0f))) || /* double top right */ - ((vertices[0].x >= 493.0f && vertices[0].x <= 500.0f && - vertices[0].y >= 24.0f && vertices[0].y <= 28.0f) && - (vertices[1].x >= 626.0f && vertices[1].x <= 635.0f && - vertices[1].y >= 24.0f && vertices[1].y <= 28.0f) && - (vertices[2].x >= 626.0f && vertices[2].x <= 635.0f && - vertices[2].y >= 192.0f && vertices[2].y <= 216.0f) && - (vertices[3].x >= 493.0f && vertices[3].x <= 500.0f && - vertices[3].y >= 192.0f && vertices[3].y <= 216.0f)) || + (((vertices[0].x >= 493.0f && vertices[0].x <= 494.0f) || + iidxhook_util_d3d9_float_equal( + vertices[0].x, 500.0f, 0.1f)) && + vertices[0].y >= 23.9f && vertices[0].y <= 28.0f && + (iidxhook_util_d3d9_float_equal(vertices[1].x, 626.0f, 0.1f) || + (vertices[1].x >= 634.0f && vertices[1].x <= 635.0f)) && + vertices[1].y >= 23.9f && vertices[1].y <= 28.0f && + (iidxhook_util_d3d9_float_equal(vertices[2].x, 626.0f, 0.1f) || + (vertices[2].x >= 634.0f && vertices[2].x <= 635.0f)) && + (iidxhook_util_d3d9_float_equal(vertices[2].y, 192.0f, 0.1f) || + (vertices[2].y >= 212.0f && vertices[2].y <= 216.0f)) && + ((vertices[3].x >= 493.0f && vertices[3].x <= 494.0f) || + iidxhook_util_d3d9_float_equal( + vertices[3].x, 500.0f, 0.1f)) && + (iidxhook_util_d3d9_float_equal(vertices[3].y, 192.0f, 0.1f) || + (vertices[3].y >= 212.0f && vertices[3].y <= 216.0f))) || /* double bottom right */ - ((vertices[0].x >= 493.0f && vertices[0].x <= 500.0f && - vertices[0].y >= 200.0f && vertices[0].y <= 220.0f) && - (vertices[1].x >= 626.0f && vertices[1].x <= 635.0f && - vertices[1].y >= 200.0f && vertices[1].y <= 220.0f) && - (vertices[2].x >= 626.0f && vertices[2].x <= 635.0f && - vertices[2].y >= 368.0f && vertices[2].y <= 408.0f) && - (vertices[3].x >= 493.0f && vertices[3].x <= 500.0f && - vertices[3].y >= 368.0f && vertices[3].y <= 408.0f))) { + (((vertices[0].x >= 493.0f && vertices[0].x <= 494.0f) || + iidxhook_util_d3d9_float_equal( + vertices[0].x, 500.0f, 0.1f)) && + (iidxhook_util_d3d9_float_equal(vertices[0].y, 200.0f, 0.1f) || + iidxhook_util_d3d9_float_equal(vertices[0].y, 206.0f, 0.1f) || + (vertices[0].y >= 216.0f && vertices[0].y <= 220.0f)) && + (iidxhook_util_d3d9_float_equal(vertices[1].x, 626.0f, 0.1f) || + (vertices[1].x >= 634.0f && vertices[1].x <= 635.0f)) && + (iidxhook_util_d3d9_float_equal(vertices[1].y, 200.0f, 0.1f) || + iidxhook_util_d3d9_float_equal(vertices[1].y, 206.0f, 0.1f) || + (vertices[1].y >= 216.0f && vertices[1].y <= 220.0f)) && + (iidxhook_util_d3d9_float_equal(vertices[2].x, 626.0f, 0.1f) || + (vertices[2].x >= 634.0f && vertices[2].x <= 635.0f)) && + (iidxhook_util_d3d9_float_equal(vertices[2].y, 368.0f, 0.1f) || + iidxhook_util_d3d9_float_equal(vertices[2].y, 394.0f, 0.1f) || + (vertices[2].y >= 404.0f && vertices[2].y <= 408.0f)) && + ((vertices[3].x >= 493.0f && vertices[3].x <= 494.0f) || + iidxhook_util_d3d9_float_equal( + vertices[3].x, 500.0f, 0.1f)) && + (iidxhook_util_d3d9_float_equal(vertices[3].y, 368.0f, 0.1f) || + iidxhook_util_d3d9_float_equal(vertices[3].y, 394.0f, 0.1f) || + (vertices[3].y >= 404.0f && vertices[3].y <= 408.0f)))) { /* fix UVs 1.0f / 512 fixes the diagonal seam connecting the two triangles which is visible on some GPUs (why? idk) -- 2.54.0 From ae9c1d3fa7fe140a6d1dfa744a649de0a76abb93 Mon Sep 17 00:00:00 2001 From: Jeffrey Paine Date: Mon, 10 Apr 2023 22:43:04 -0400 Subject: [PATCH 26/26] iidx25: added back accidentally-deleted # --- dist/iidx/iidxhook-25.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/iidx/iidxhook-25.conf b/dist/iidx/iidxhook-25.conf index 7d040e4..f14335a 100644 --- a/dist/iidx/iidxhook-25.conf +++ b/dist/iidx/iidxhook-25.conf @@ -1,4 +1,4 @@ - Run the game in a framed window (requires windowed option) +# Run the game in a framed window (requires windowed option) gfx.framed=false # Software limit the frame rate of the rendering loop in hz, e.g. 60 or 59.95 (0.0 = no software limit) -- 2.54.0