26 Commits
Author SHA1 Message Date
グローランプ 89bd77e306 IO: Resolve IO DLL paths from environment variables (#119)
## Summary

Adds a unified mechanism for locating third-party IO DLLs through environment
variables, on top of the existing per-game `[xxxio] path=` INI setting.

## Changes

For each IO DLL, the path is resolved in this order:

1. The section-specific INI value, e.g. `[mai2io] path=`.
2. The section-specific environment variable, e.g. `SEGATOOLS_MAI2IO_PATH`.
3. `SEGATOOLS_IO_ROOT` joined with the default IO DLL filename, e.g.
   `%SEGATOOLS_IO_ROOT%\mai2io.dll`.
4. Empty path, which keeps the built-in IO implementation (unchanged default).

INI and environment-variable paths are run through Windows environment-variable
expansion, so values such as `%SEGATOOLS_IO_ROOT%\mai2io.dll` are valid in the
INI directly.

Reviewed-on: https://gitea.tendokyu.moe/TeamTofuShop/segatools/pulls/119
Co-authored-by: グローランプ <130208311+Gl0w1amp@users.noreply.github.com>
Co-committed-by: グローランプ <130208311+Gl0w1amp@users.noreply.github.com>
2026-07-08 20:23:08 +00:00
Dniel97andHaseoSora 1a7a53f328 Update deadzone in wheel center for IDAC/IDZ/SWDC (#93)
Original PR by @HaseoSora :https://gitea.tendokyu.moe/TeamTofuShop/segatools/pulls/82

Co-authored-by: HaseoSora <haseosora@noreply.gitea.tendokyu.moe>
Reviewed-on: https://gitea.tendokyu.moe/TeamTofuShop/segatools/pulls/93
Co-authored-by: Dniel97 <Dniel97@noreply.gitea.tendokyu.moe>
Co-committed-by: Dniel97 <Dniel97@noreply.gitea.tendokyu.moe>
2026-01-09 13:32:35 +00:00
Dniel97 0a27ed2aae idz, swdc: add up/down/left/right DInput button config 2026-01-04 10:11:15 +01:00
Dniel97 03513e7b0c add aime scan button to default segatools.ini 2025-07-16 15:44:05 +02:00
Dniel97 cdb6815c5a add keychip id and pcbid to default segatools.ini 2025-06-19 19:28:10 +02:00
kyoubate-haruka 61f95c3f2e GFX: add dpi-awareness switch for all games (#64)
Pretty simple, adds a new config setting to the gfx category, which defaults to enabled to disable DPI scaling if a scale higher than 100% is used, causing game windows to appear stretched and blurry.

Reviewed-on: https://gitea.tendokyu.moe/TeamTofuShop/segatools/pulls/64
Co-authored-by: kyoubate-haruka <46010460+kyoubate-haruka@users.noreply.github.com>
Co-committed-by: kyoubate-haruka <46010460+kyoubate-haruka@users.noreply.github.com>
2025-03-14 11:53:31 +00:00
Dniel97 e850346b79 renamed start.bat to launch.bat 2025-03-02 00:25:15 +01:00
Dniel97 892eb2b859 idz, idac, swdc: fixed rumble effect 2024-10-29 22:06:07 +01:00
Dniel97 259b763a13 idz: add ffb and led emulation 2024-09-30 23:10:16 +02:00
Dniel97 e40e1dffe3 improved all segatools.ini configs 2024-02-21 21:58:44 +01:00
Dniel97 56e971c6a4 changed default operator buttons to F1, F2 and F3 and fixed subnets 2024-02-06 13:01:26 +01:00
Dniel97 72db08ac93 idz, idac, swdc: added FFB centering spring feature 2023-12-11 19:18:25 +01:00
Dniel97 b9fd59fd70 idz: added fullscreen patch by @Felix (again) 2023-11-20 18:04:45 +01:00
Dniel97 d521eeb43e idz, idac, swdc: Added separate pedals config, better XInput controls
- Configure separate pedals which are not part of the steering wheel (base)
 - It is now possible to have a different steering wheel, pedal and shifter brand all connected to 3 different USB ports
- XInput does not have a deadzone at the end of the max steering anymore and the `restrict` setting works as intended
2023-10-05 00:46:54 +02:00
Dniel97 31203daa09 idz, idac, swdc: fixed restrict config setting 2023-09-05 00:24:43 +02:00
Dniel97 49f729c501 idz, idac, swdc: switched to [xinput] config instead of [io] 2023-09-04 02:03:31 +02:00
Dniel97 ca4a8bd84d idz, idac, swdc: Added deadzone config 2023-08-29 02:22:05 +02:00
Dniel97 f6e961d4f4 Removed -f from start.bat and fixed idz 2023-08-29 00:49:58 +02:00
Dniel97 3dc2ec6e69 idac, idz, swdc: Fixed DInput brake/accel, added cubic steering 2023-08-15 17:20:27 +02:00
Tau 9bbcac6536 Document IO DLL configuration 2021-12-27 20:55:10 -05:00
888be1df7c6f962725a28a172a5394eec3e228e7 e97f6b5d8d platform/vfs.c: add option path redirection
Optional for now, since not all games or configurations may need it.
It may be better eventually to refactor hooklib/path.c to allow for
static path remapping, to minimize boilerplate code around the functions.
2019-12-22 18:27:19 +01:00
Tau 9ac573801a idzio: Adjust and document [io3] restrict= setting 2019-11-24 18:44:39 -05:00
Tau 65eda2a9f1 Uncomment default subnet INI setting
The default value being commented out is no doubt a great source
of confusion whenever somebody attempts to edit it without
realizing that it is a comment.
2019-11-24 12:46:40 -05:00
85be42b2ce67a8e34b32793360824b056c0c2444 5b50824e2f Added more controller options to idzio
Add axis reversal for dinput and single stick steering for xinput.
2019-11-22 00:59:08 +00:00
1b9b20430b7b392400d20de45cf44dc3420cbaef 862dcd224e Update start.bat make it convenient for everyone to run it as Administrator 2019-11-08 10:54:59 +08:00
Tau 391b6f7770 Add sample config files and startup scripts 2019-11-06 22:20:07 -05:00