28 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
Dniel97 1c7531e45e ekt: add gfx hook, misc: bugfixes 2026-02-26 23:26:51 +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 8fc24503c8 diva, fgo: added gfx, close #46 2024-11-03 23:00:43 +01:00
kyoubate-haruka 26624f25b1 hide default vfd ports from configs 2024-08-24 11:14:13 +02:00
kyoubate-haruka 54cbbffae9 add almost full vfd implementation 2024-08-23 16:30:22 +02:00
Dniel97 ac0f9f0587 aime firmware fix, mu3 keybinding fix 2024-08-21 15:13:09 +02:00
Dniel97 c91c7db3c7 renamed [gpio] dipsw settings to [system] 2024-08-20 10:48:08 +02:00
Dniel97 9fe98b227b mu3: added lights hook 2024-05-12 22:06:37 +02:00
Dniel97 517469a60c switched to new capnhook, updated unityhook, added LED 15093 to MU3 2024-05-12 19:37:30 +02:00
beerpsi 4041844ea9 mai2/mu3/cm: Integrate UnityDoorstop with segatools (#11)
[UnityDoorstop](https://github.com/NeighTools/UnityDoorstop) is a tool to execute managed code (.NET DLLs) before Unity does, useful for modding frameworks such as BepInEx.

This PR integrates parts of its code into segatools, so loading BepInEx is as simple as adding 2 lines to `segatools.ini`:
```ini
[unity]
targetAssembly=BepInEx\core\BepInEx.Preloader.dll
```

This PR also factors out the Unity path redirection hooks to its own module.

Reviewed-on: https://gitea.tendokyu.moe/Dniel97/segatools/pulls/11
Co-authored-by: beerpsi <beerpsi@duck.com>
Co-committed-by: beerpsi <beerpsi@duck.com>
2024-04-15 19:30:28 +00:00
Dniel97 2590e749ca config bugfixes 2024-03-07 15:46:43 +01:00
Dniel97 ca36a879cb updated README and added "AM Daemon" window name 2024-02-22 19:12:18 +01: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 451a7ec49d added VFD toggle to config 2024-02-06 12:34:11 +01:00
Dniel97 4ffcf25555 added freeplay setting to ALLS games 2023-12-03 22:22:17 +01:00
Dniel97 a3fd2fb926 Merge branch 'master' into develop 2023-11-29 23:07:24 +01:00
Kevin Trocolli 962e14dc9b ongeki: fix start.bat and segatools.ini 2023-11-05 21:51:36 -05:00
Dniel97 a4bd570cfc chusan, mai2, mu3, swdc: removed emoney config 2023-10-05 00:35:55 +02:00
Dniel97 51b11469d0 added aimeGen as default instead of feliciaGen 2023-08-29 22:57:04 +02:00
Dniel97 97234f26d7 cm, chusan, mai2, mu3, swdc: added emoney config 2023-08-15 22:02:38 +02:00
Dniel97 608c9ac1a6 chusan, cm, mai2, mu3: Added dipSw support and highBaudrate AiMe 2023-08-15 17:28:19 +02:00
Dniel97 90a6f1be7c mu3: coin input added 2023-07-14 00:54:30 +02:00
Kevin Trocolli 5f4b3a0fe5 added ongeki build 2023-02-13 03:07:38 -05:00