Commit Graph

21 Commits

Author SHA1 Message Date
kyoubate-haruka
9c67f53902 Add support for Sangokushi Taisen and Eiketsu Taisen (#85)
This adds full support for the Taisen series of games, namely Sangokushi Taisen and Eiketsu Taisen.

Games added:
* Sangokushi Taisen (SDDD)
* Eiketsu Taisen (SDGY)

Devices added:
* CHC-320 printer (SGT)
* "Printer camera" (SGT, unsure what this actually really is)
* CX-7000 printer (EKT)
* Y3CR BD SIE F720MM (SGT, EKT)

Notable changes in the codebase:

* Renamed everything printer specific to seperate between CHC and CX.
* Many new function and registry hooks were added across the board.
* An error is now logged when segatools.ini (or the path in `SEGATOOLS_CONFIG_PATH`) cannot be found.
* Netenv now redirects UDP broadcasts targeted at the subnet that is specified in the keychip configuration. The terminal announces it's presence by broadcasting UDP to 192.168.189.255, this will be redirected to 255.255.255.255.
* Vfs now seperates between absolute and relative paths in `vfs_fixup_path` via an environment variable called `SEGATOOLS_VFS_RELATIVE_PATH`. This is needed because amcapture accesses files as workingdirectory-relative.
* The Y3 board emulation has support for external Y3 I/O dlls. The default implementation (y3ws) that comes with this is a websocket implementation. The docs are available under `doc\y3ws.txt` and a sample card player .html file is under `dist\ekt\card_player.html`. I already know one person that is hosting a massively improved version of it.
  * For websockets, my own websocket implementation is used as a subproject (MIT license): https://github.com/akechi-haruka/cwinwebsocket
  * For JSON, cJSON was embedded (MIT license): https://github.com/DaveGamble/cJSON
  * y3ws reads all printed cards from `DEVICE\print` by default including card back sides. It's up to the client to merge or skip them.

Remarks:
* SGT takes ~8 minutes to load. This seems to be intentional.
* SGT uses some weird TCP network implementation like IDZ. I have not bothered reversing that yet and I have confirmed everything working from the test menu.
* EKT will throw a network error if no terminal is found. You must run the terminal on another computer to be able to launch the satellite.
* EKT has a very bizzare speed glitch that will speed up the ingame unit movement by several 1000% and also slows down cutscene animations by 90%. When this effect is active, you also take a ton more damage than usual. I do not know what causes this and it seems PC specific.
* EKT is very stutter sensitive and will throw error 6401 (I/O timeout) at random when trying to alt+tab or have other things running.
* EKT features a livestream system called Enbu (or "Dojo Upload"). While you are in a match, regardless of vs. AI or another player, the game will record your screen and live-stream it to the Enbu server as defined by the game server's startup response. The application responsible for that, "AM Capture" will not limit it's recording to the game window, but also anything that overlays the game window (notifications, popups, alt+tabbed windows, web browsers, etc). Since this is live-streamed, killing the process will have no effect afterwards, as the frames showing unwanted things will already have been transmitted. To make people aware of this, a one-time dialog message will pop up when starting EKT. The flag for that is stored in the DEVICE folder.

Closes #25.

Co-authored-by: Dniel97 <Dniel97@noreply.gitea.tendokyu.moe>
Reviewed-on: https://gitea.tendokyu.moe/TeamTofuShop/segatools/pulls/85
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-26 19:31:45 +00:00
Dniel97
af8d0bab7d
update readme version 2025-11-04 11:06:16 +01:00
Dniel97
bb0b023ec0
[apm3] hook video loading, bug fixes 2025-07-27 19:22:57 +02:00
Dniel97
e974a76fe6
[apm3] add DInput and XInput support 2025-07-20 18:13:29 +02:00
Dniel97
36849bd09a
Merge branch 'feature/ffb' into develop 2024-09-30 23:23:23 +02:00
kyoubate-haruka
6bd1bce419 kemono: mention in readme 2024-09-12 12:50:51 +02:00
Dniel97
c535f18e40
added support for tokyo 2024-08-20 13:32:35 +02:00
Dniel97
097b74d849
cxb: server support added, bugfixes, thanks @Midorica 2024-03-13 21:40:25 +01:00
Dniel97
f570869946
fixed AMFS path redirect with no E:/ drive present 2024-02-27 16:49:27 +01:00
Dniel97
ca36a879cb
updated README and added "AM Daemon" window name 2024-02-22 19:12:18 +01:00
Dniel97
d86baab852
fgo: working FTDI hook by @OLEG
from: 88a0026f0b
2023-11-22 21:43:42 +01:00
Dniel97
0ee081ca1b
mai2: segatools added 2023-07-14 01:00:28 +02:00
Dniel97
ec072667b3
swdc: first segatools added 2023-07-14 00:52:50 +02:00
Hay1tsme
9cecd08f26 Update README.md 2023-02-13 03:07:36 -05:00
icex2
cb91d4adeb Add development.md documentation
Move stuff from root README and add a few more things that I took
from BT5.
2021-08-13 23:55:12 +02:00
6cb1008cabfc0d4485696f6df7431a5e27604e1b
0b4fab9045 doc: fixed missing link to idz docs in readme 2021-06-18 23:45:02 +02:00
icex2
c1242f1f45 Add another build option for Windows using Docker Desktop to README 2021-05-28 22:40:15 +02:00
icex2
aecd7aa749 Add instructions to build on Windows using WSL2 and docker 2021-05-28 21:39:37 +02:00
icex2
76dbbdd665 Overhaul root readme
Provide a more user/developer-friendly entry point to the project
2021-04-10 15:04:28 +02:00
9c2a94eb294ac460ccbd019f5f01f45fffff7759
11a656ef9d Fix instructions in README.md 2020-06-06 15:56:35 -04:00
Tau
898476432c Add a sorry excuse for a README 2019-11-06 22:20:07 -05:00