mirror of
https://gitea.tendokyu.moe/Hay1tsme/segatools.git
synced 2026-06-01 01:34:52 -05:00
(Yeah, I know the OS may cache disk reads, but that wasn't the concern) The ALLS series of cabs runs EWF to prevent anything from being written to C:\. This PR adds another layer to iohook to redirect specific open/read/write/close operations to a virtual file table to prevent disk activity, and thus simulate the presence of EWF. This was mainly aimed at ALPB's billing files. Seriously, look at this - especially the timestamps, Sega wtf are you doing. This does not affect other path hooks. It's turned off by default and will throw an error if the current executable resides on C:\. Tested with FGO and APMv3. ![22bf755754[1].png](/attachments/31771aee-2e4d-4e4f-85e3-c5eec63c6f78) Reviewed-on: https://gitea.tendokyu.moe/TeamTofuShop/segatools/pulls/84 Co-authored-by: kyoubate-haruka <46010460+kyoubate-haruka@users.noreply.github.com> Co-committed-by: kyoubate-haruka <46010460+kyoubate-haruka@users.noreply.github.com>
86 lines
2.2 KiB
Meson
86 lines
2.2 KiB
Meson
option('log_all',
|
|
type : 'boolean',
|
|
value : false,
|
|
description : 'Enables all of the subsequent debug logging options'
|
|
)
|
|
option('log_jvs',
|
|
type : 'boolean',
|
|
value : false,
|
|
description : 'Enable debug logging for JVS'
|
|
)
|
|
option('log_io3',
|
|
type : 'boolean',
|
|
value : false,
|
|
description : 'Enable debug logging for JVS'
|
|
)
|
|
option('log_led15070',
|
|
type : 'boolean',
|
|
value : false,
|
|
description : 'Enable debug logging for the 15070 LED board emulation'
|
|
)
|
|
option('log_led15093',
|
|
type : 'boolean',
|
|
value : false,
|
|
description : 'Enable debug logging for the 15093 LED board emulation'
|
|
)
|
|
option('log_nfc',
|
|
type : 'boolean',
|
|
value : false,
|
|
description : 'Enable debug logging for NFC'
|
|
)
|
|
option('log_carol_control_bd',
|
|
type : 'boolean',
|
|
value : false,
|
|
description : 'Enable debug logging for the Carlo Control Board'
|
|
)
|
|
option('log_carol_led_bd',
|
|
type : 'boolean',
|
|
value : false,
|
|
description : 'Enable debug logging for the Carlo LED Board'
|
|
)
|
|
option('log_carol_touch',
|
|
type : 'boolean',
|
|
value : false,
|
|
description : 'Enable debug logging for the Carlo Touchscreen'
|
|
)
|
|
option('log_mai2_touch',
|
|
type : 'boolean',
|
|
value : false,
|
|
description : 'Enable debug logging for the mai2 TouchPanel'
|
|
)
|
|
option('log_chuni_slider',
|
|
type : 'boolean',
|
|
value : false,
|
|
description : 'Enable debug logging for the Chunithm Slider'
|
|
)
|
|
option('log_chusan_slider',
|
|
type : 'boolean',
|
|
value : false,
|
|
description : 'Enable debug logging for the Chusan Slider'
|
|
)
|
|
option('log_diva_slider',
|
|
type : 'boolean',
|
|
value : false,
|
|
description : 'Enable debug logging for the Diva Slider'
|
|
)
|
|
option('log_mercury_slider',
|
|
type : 'boolean',
|
|
value : false,
|
|
description : 'Enable debug logging for the WACCA Slider'
|
|
)
|
|
option('log_clock',
|
|
type : 'boolean',
|
|
value : false,
|
|
description : 'Enable debug logging for clock APIs'
|
|
)
|
|
option('log_vfs',
|
|
type : 'boolean',
|
|
value : false,
|
|
description : 'Enable debug logging for file system redirections'
|
|
)
|
|
option('log_ewf',
|
|
type : 'boolean',
|
|
value : false,
|
|
description : 'Enable debug logging for file system virtualization'
|
|
)
|