mirror of
https://github.com/djhackersdev/bemanitools.git
synced 2026-09-15 03:45:09 -05:00
refact(iidxhook2): Use sdk-hook and support new config api
Summary: Test Plan:
This commit is contained in:
7
dist/iidx/gamestart-13.bat
vendored
7
dist/iidx/gamestart-13.bat
vendored
@@ -54,8 +54,5 @@ if not exist e\avs_conf\CONF\NVRAM mkdir e\avs_conf\CONF\NVRAM
|
||||
if not exist e\avs_conf\CONF\RAW mkdir e\avs_conf\CONF\RAW
|
||||
|
||||
%BEMANITOOLS_DIR%\inject.exe^
|
||||
%BEMANITOOLS_DIR%\iidxhook2.dll^
|
||||
%REVISION_DIR%\bm2dx.exe^
|
||||
-D^
|
||||
--config %BEMANITOOLS_DIR%\iidxhook-13.conf^
|
||||
%*
|
||||
%BEMANITOOLS_DIR%\inject-13.xml^
|
||||
%*
|
||||
74
dist/iidx/iidxhook-13.conf
vendored
74
dist/iidx/iidxhook-13.conf
vendored
@@ -1,74 +0,0 @@
|
||||
# Magnetic card type, format XXX, 3 digit string (supports: C02, D01, E11, ECO)
|
||||
eamuse.card_type=C02
|
||||
|
||||
# URL (e.g. http://my.eamuse.server:80/whatever) or IPV4 (e.g. 127.0.0.1:80) of the target eamuse server. The port is optional but defaults to 80.
|
||||
eamuse.server=localhost:80
|
||||
|
||||
# PCBID
|
||||
eamuse.pcbid=0101020304050607086F
|
||||
|
||||
# EAMID
|
||||
eamuse.eamid=0101020304050607086F
|
||||
|
||||
# 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)
|
||||
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
|
||||
|
||||
# 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
|
||||
|
||||
# Enable monitoring of ezusb.dll calls by logging call traces. Only works on 9th and 10th style!
|
||||
ezusb.api_call_monitoring=false
|
||||
|
||||
# Set the type of ezusb IO board. 0 = C02, 1 = D01. Note: Impacts security settings!
|
||||
ezusb.io_board_type=1
|
||||
|
||||
# Fix broken 3D background on DistorteD's music select (if appearing completely black)
|
||||
misc.distorted_ms_bg_fix=false
|
||||
|
||||
# Disable operator clock setting system clock time
|
||||
misc.disable_clock_set=false
|
||||
|
||||
# Stub calls to rteffect.dll (10th to DistorteD)
|
||||
misc.rteffect_stub=true
|
||||
|
||||
# Path to store the settings, e.g. bookkeeping, operator settings. d:, e: and f: drive configuration/settings data
|
||||
misc.settings_path=.\
|
||||
|
||||
# Security boot version (e.g. GEC02).
|
||||
sec.boot_version=GEC02
|
||||
|
||||
# Security boot seeds for ezusb, format: X:X:X where X is a number of 0-9 (e.g. 0:0:0).
|
||||
sec.boot_seeds=0:4:4
|
||||
|
||||
# Security black plug mcode id string (e.g. GQC02JAA).
|
||||
sec.black_plug_mcode=GQFDDJAA
|
||||
105
dist/iidx/inject-13.xml
vendored
Normal file
105
dist/iidx/inject-13.xml
vendored
Normal file
@@ -0,0 +1,105 @@
|
||||
<?xml version="1.0" encoding="Shift-JIS"?>
|
||||
<inject>
|
||||
<version __type="u32">1</version>
|
||||
<debugger>
|
||||
<app>
|
||||
<path __type="str">bm2dx.exe</path>
|
||||
<args __type="str"></args>
|
||||
</app>
|
||||
<attach_type __type="str">inject</attach_type>
|
||||
</debugger>
|
||||
<hooks>
|
||||
<hook>
|
||||
<enable __type="bool">1</enable>
|
||||
<path __type="str">iidxhook2.dll</path>
|
||||
<config kind="inline">
|
||||
<hook>
|
||||
<eamuse>
|
||||
<!-- URL (e.g. http://my.eamuse.server:80/whatever) or IPV4 (e.g. 127.0.0.1:80) of the target eamuse server. The port is optional but defaults to 80. -->
|
||||
<server __type="str">localhost:80</server>
|
||||
<pcbid __type="bin">0101020304050607086F</pcbid>
|
||||
<eamid __type="bin">0101020304050607086F</eamid>
|
||||
</eamuse>
|
||||
<gfx>
|
||||
<device>
|
||||
<!-- D3D9 device adapter (monitor), -1 to use default, 0, 1, 2 etc. to use specified adapter -->
|
||||
<adapter __type="s8">-1</adapter>
|
||||
<!-- Forced refresh rate, -1 to not force any (try 59 or 60 if monitor check fails to lock on high refresh rate monitors) -->
|
||||
<forced_refresh_rate __type="s16">-1</forced_refresh_rate>
|
||||
<!-- Software limit the frame rate of the rendering loop in hz, e.g. 60 or 59.95 (0.0 = no software limit) -->
|
||||
<frame_rate_limit __type="float">0.0</frame_rate_limit>
|
||||
</device>
|
||||
<window>
|
||||
<windowed __type="bool">1</windowed>
|
||||
<framed __type="bool">1</framed>
|
||||
<!-- Windowed height, 0 for default size -->
|
||||
<width __type="u16">0</width>
|
||||
<height __type="u16">0</height>
|
||||
</window>
|
||||
<back_buffer_scale>
|
||||
<!-- 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. -->
|
||||
<width __type="u16">0</width>
|
||||
<height __type="u16">0</height>
|
||||
<!-- 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). -->
|
||||
<filter __type="str">none</filter>
|
||||
</back_buffer_scale>
|
||||
<game>
|
||||
<!-- 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!!! -->
|
||||
<monitor_check __type="float">-1.000000</monitor_check>
|
||||
<!-- 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) -->
|
||||
<bgvideo_uv_fix __type="bool">1</bgvideo_uv_fix>
|
||||
<!-- Fix broken 3D background on DistorteD's music select (if appearing completely black) -->
|
||||
<distorted_ms_bg_fix __type="bool">0</distorted_ms_bg_fix>
|
||||
</game>
|
||||
</gfx>
|
||||
<ezusb>
|
||||
<type __type="str">D01</type>
|
||||
<security>
|
||||
<boot>
|
||||
<version __type="str">GEC02</version>
|
||||
<seed __type="str">0:4:4</seed>
|
||||
</boot>
|
||||
<plug_black_mcode __type="str">GQFDDJAA</plug_black_mcode>
|
||||
</security>
|
||||
<debug>
|
||||
<api_call_monitoring __type="bool">0</api_call_monitoring>
|
||||
</debug>
|
||||
</ezusb>
|
||||
<misc>
|
||||
<!-- Path to store the settings, e.g. bookkeeping, operator settings. d:, e: and f: drive configuration/settings data -->
|
||||
<settings_path __type="str">.\</settings_path>
|
||||
<rteffect_stub __type="bool">1</rteffect_stub>
|
||||
<disable_clock_set __type="bool">1</disable_clock_set>
|
||||
</misc>
|
||||
</hook>
|
||||
</config>
|
||||
</hook>
|
||||
</hooks>
|
||||
<logger>
|
||||
<enable __type="bool">1</enable>
|
||||
<level __type="str">misc</level>
|
||||
<msg_buffer_size_bytes __type="u32">8192</msg_buffer_size_bytes>
|
||||
<sinks>
|
||||
<async>
|
||||
<enable __type="bool">0</enable>
|
||||
<queue_length __type="u8">64</queue_length>
|
||||
<overflow_policy __type="str">discard_new</overflow_policy>
|
||||
</async>
|
||||
<console>
|
||||
<enable __type="bool">1</enable>
|
||||
<color __type="bool">1</color>
|
||||
</console>
|
||||
<file>
|
||||
<enable __type="bool">1</enable>
|
||||
<path __type="str">inject.log</path>
|
||||
<append __type="bool">0</append>
|
||||
<rotate __type="bool">0</rotate>
|
||||
<max_rotations __type="u8">1</max_rotations>
|
||||
</file>
|
||||
</sinks>
|
||||
</logger>
|
||||
<debug>
|
||||
<property_configs_log __type="bool">1</property_configs_log>
|
||||
<property_api_trace_log __type="bool">0</property_api_trace_log>
|
||||
</debug>
|
||||
</inject>
|
||||
Reference in New Issue
Block a user