segatools/common
kyoubate-haruka a3ac466dba Vfs: Add ability to redirect arbitary paths (= serial ports) (#62)
As someone running several games on the same cabinet that share most of the hardware (like KCA and FGO), it's a bit of a hassle switching the COM ports of the hardware around all the time.

This commit adds the ability to place arbitary path redirections in segatools.ini, which is mostly useful for hardcoded serial ports.
Technically this would also allow you to redirect arbitary paths, but I haven't tested that yet.

An example that I personally use is:
```
[vfs]
amfs=amfs
appdata=.
option=option

; aime reader
redirection0from=\\.\COM10
redirection0to=\\.\COM3
; rfid reader
redirection1from=\\.\COM12
redirection1to=\\.\COM2
; POP led begone
redirection2from=\\.\COM9
redirection2to=\\.\COM90
; partition to pop
redirection3from=\\.\COM11
redirection3to=\\.\COM9
```

Reviewed-on: https://gitea.tendokyu.moe/TeamTofuShop/segatools/pulls/62
Co-authored-by: kyoubate-haruka <46010460+kyoubate-haruka@users.noreply.github.com>
Co-committed-by: kyoubate-haruka <46010460+kyoubate-haruka@users.noreply.github.com>
2026-02-08 11:12:02 +00:00
..
aimeio aimeio: Implement full aime reader function in aimeio (#94) 2026-02-08 11:01:01 +00:00
amex Add setting to only allow game input in foreground (#83) 2025-11-12 22:33:32 +00:00
board aimeio: Implement full aime reader function in aimeio (#94) 2026-02-08 11:01:01 +00:00
gfxhook refactor all common parts and games 2025-04-17 19:40:40 +02:00
hooklib idac: improve DNS hooking 2026-01-09 15:34:30 +01:00
iccard refactor all common parts and games 2025-04-17 19:40:40 +02:00
jvs refactor all common parts and games 2025-04-17 19:40:40 +02:00
platform Vfs: Add ability to redirect arbitary paths (= serial ports) (#62) 2026-02-08 11:12:02 +00:00
unityhook [apm3] hook video loading, bug fixes 2025-07-27 19:22:57 +02:00
util mercury: update mystery cmds, add fg detect, cleanup 2026-01-19 19:51:48 +01:00