From 4e58d3b9a2160ca1d415eee8c19d6d2acfa170ed Mon Sep 17 00:00:00 2001 From: Dniel97 Date: Sun, 23 Jun 2024 21:04:08 +0200 Subject: [PATCH] added game specific devices documentation --- carolhook/dllmain.c | 28 ++++++++++++++++++++++++++++ chunihook/dllmain.c | 12 ++++++++++++ chusanhook/dllmain.c | 24 ++++++++++++++++++++++++ cmhook/dllmain.c | 13 +++++++++++++ dist/chusan/segatools.ini | 1 + divahook/dllmain.c | 11 +++++++++++ fgohook/dllmain.c | 17 +++++++++++++++++ idachook/dllmain.c | 14 ++++++++++++++ mai2hook/dllmain.c | 21 +++++++++++++++++++++ mercuryhook/dllmain.c | 13 +++++++++++++ mu3hook/dllmain.c | 12 ++++++++++++ swdchook/dllmain.c | 15 +++++++++++++++ 12 files changed, 181 insertions(+) diff --git a/carolhook/dllmain.c b/carolhook/dllmain.c index 3e86f6d..cc422b9 100644 --- a/carolhook/dllmain.c +++ b/carolhook/dllmain.c @@ -1,3 +1,31 @@ +/* + "Wonderland Wars" (carol*) hook + + Devices: + + JVS: 837-14572 "Type 3" I/O Board + + [Satellite] + + USB: "WinTouch" Controller Board + ^ (DIPSW2 ON, Version 5.xx.xx or above) + COM1: 3M Touch Systems 78-0011-2353-4 Touch Controller Board + ^ (DIPSW2 OFF) + COM10: TN32MSEC003S "Gen 1" Aime Reader + OR + 837-15286 "Gen 2" Aime Reader + ^ (Version 1.6x.xx or above) + COM11: 837-15070-02 LED Controller Board + COM12: 837-15312 Pen Controller I/O Board + + [Terminal] + + COM10: 837-15286 "Gen 2" Aime Reader + + *: SEGA's abbreviation for Lewis Carroll, author of Alice's Adventures in + Wonderland. +*/ + #include #include diff --git a/chunihook/dllmain.c b/chunihook/dllmain.c index 1a3fb57..81c8910 100644 --- a/chunihook/dllmain.c +++ b/chunihook/dllmain.c @@ -1,3 +1,15 @@ +/* + "CHUNITHM" (chuni) hook + + Devices + + JVS: 837-14572 "Type 3" I/O Board + COM1: 837-15330 Ground Slider + COM10: 837-15093-06 LED Controller Board + COM11: 837-15093-06 LED Controller Board + COM12: TN32MSEC003S "Gen 1" Aime Reader +*/ + #include #include diff --git a/chusanhook/dllmain.c b/chusanhook/dllmain.c index 136db03..9f59301 100644 --- a/chusanhook/dllmain.c +++ b/chusanhook/dllmain.c @@ -1,3 +1,27 @@ +/* + "CHUNITHM NEW" (chusan) hook + + Devices + + USB: 837-15257-02 "Type 4" I/O Board + COM1: 837-15330 Ground Slider + + [CVT mode (DIPSW2 ON)] + + COM2: 837-15093-06 LED Controller Board + COM3: 837-15093-06 LED Controller Board + COM4: 837-15286 "Gen 2" Aime Reader + + [SP mode (DIPSW2 OFF)] + + USB: 837-15067-02 USB Serial I/F Board + connected to + 837-15093-06 LED Controller Board (COM20) + 837-15093-06 LED Controller Board (COM21) + COM2: 200-6275 VFD GP1232A02A FUTABA Board + COM4: 837-15396 "Gen 3" Aime Reader +*/ + #include #include diff --git a/cmhook/dllmain.c b/cmhook/dllmain.c index 65556da..143ec5a 100644 --- a/cmhook/dllmain.c +++ b/cmhook/dllmain.c @@ -1,3 +1,16 @@ +/* + "Card Maker" (cm) hook + + Devices + + USB: 837-15257-01 "Type 4" I/O Board + USB: 838-20006 "WinTouch" Controller Board + USB: 630-00009 Sinfonia CHC-C310 Printer + COM1: 837-15396 "Gen 3" Aime Reader + COM2: 200-6275 VFD GP1232A02A FUTABA Board + COM3: 220-5872 AS-6DB Coin Selector +*/ + #include #include diff --git a/dist/chusan/segatools.ini b/dist/chusan/segatools.ini index f41f630..c167f26 100644 --- a/dist/chusan/segatools.ini +++ b/dist/chusan/segatools.ini @@ -43,6 +43,7 @@ default=127.0.0.1 ; Chunithm is extremely picky about its LAN environment, so leaving this ; setting enabled is strongly recommended. enable=1 + ; The final octet of the local host's IP address on the virtualized subnet (so, ; if the keychip subnet is `192.168.32.0` and this value is set to `11`, then the ; local host's virtualized LAN IP is `192.168.32.11`). diff --git a/divahook/dllmain.c b/divahook/dllmain.c index 8bd13de..412fe9c 100644 --- a/divahook/dllmain.c +++ b/divahook/dllmain.c @@ -1,3 +1,14 @@ +/* + "Hatsune Miku Project DIVA Arcade " (diva) hook + + Devices + + JVS: 837-14572 "Type 3" I/O Board + COM1: 3M Touch Systems 78-0011-2353-4 Touch Controller Board + COM10: TN32MSEC003S "Gen 1" Aime Reader + COM11: 837-15275 Touch Slider +*/ + #include #include diff --git a/fgohook/dllmain.c b/fgohook/dllmain.c index 43ac26e..dfbbdb5 100644 --- a/fgohook/dllmain.c +++ b/fgohook/dllmain.c @@ -1,3 +1,20 @@ +/* + "Fate Grand/Order Arcade" (fgo) hook + + Devices + + USB: 837-15257 "Type 4" I/O Board + USB: 838-15405 "WinTouch" Controller Board + USB: 630-00008 Sinfonia CHC-C330 Printer + USB: 837-14509-02 USB-SER I/F BD Mini-B FTDI Board + connected to + 837-15093-06 LED Controller Board + COM1: 200-6275 VFD GP1232A02A FUTABA Board + COM2: 837-15345 RFID Deck Reader Noard + COM3: 837-15396 "Gen 3" Aime Reader + COM4: 837-15347 RFID Reader/Writer Board (inside the printer) +*/ + #include #include diff --git a/idachook/dllmain.c b/idachook/dllmain.c index 500e9c5..accc661 100644 --- a/idachook/dllmain.c +++ b/idachook/dllmain.c @@ -1,3 +1,16 @@ +/* + "Initial D THE ARCADE" (idac) hook + + Devices + + USB: 837-15257 "Type 4" I/O Board + COM1: 838-15069 MOTOR DRIVE BD RS232/422 Board + COM2: 837-15070-02 IC BD LED Controller Board + COM3: 837-15286 "Gen 2" Aime Reader (DIPSW2 OFF) + OR + 837-15396 "Gen 3" Aime Reader (DIPSW2 ON) +*/ + #include #include @@ -5,6 +18,7 @@ #include "board/sg-reader.h" #include "board/io4.h" +#include "board/ffb.h" #include "hook/process.h" diff --git a/mai2hook/dllmain.c b/mai2hook/dllmain.c index 1d10c60..02f32a4 100644 --- a/mai2hook/dllmain.c +++ b/mai2hook/dllmain.c @@ -1,3 +1,22 @@ +/* + "maimai DX" (mai2) hook + + Devices + + USB: 837-15257-01 "Type 4" I/O Board + USB: 2 * 601-13216 USB "QR Code" Camera (SDEZ2, SDEZ3) + USB: 601-13249 USB "Player" Camera (SDEZ1) + USB: 837-15067-02 IC BD USB to Serial 232 + connected to + 837-15070-04 LED Board Controller (COM21) + 837-15070-04 LED Board Controller (COM23) + + COM1: 837-15396 "Gen 3" Aime Reader + COM2: 200-6275 VFD GP1232A02A FUTABA Board + COM3: 509-6483 Touch Panel Controller + COM4: 509-6483 Touch Panel Controller +*/ + #include #include "board/io4.h" @@ -5,6 +24,8 @@ #include "board/vfd.h" #include "hook/process.h" +#include "hook/table.h" +#include "hook/iohook.h" #include "hooklib/serial.h" #include "hooklib/spike.h" diff --git a/mercuryhook/dllmain.c b/mercuryhook/dllmain.c index 06b62ad..ea30458 100644 --- a/mercuryhook/dllmain.c +++ b/mercuryhook/dllmain.c @@ -1,3 +1,16 @@ +/* + "WACCA" (mercury) hook + + Devices + + USB: 837-15257-01 "Type 4" I/O Board + USB: 14-1497-R "Elisabeth" LED Board Controller + COM1: 837-15396 "Gen 3" Aime Reader + COM2: 200-6275 VFD GP1232A02A FUTABA Board + COM3: PSS-7135-L02-01 "Left Side" Touch Board + COM4: PSS-7135-L02-01 "Right Sdde" Touch Board +*/ + #include #include "board/io4.h" diff --git a/mu3hook/dllmain.c b/mu3hook/dllmain.c index c4495c1..bab6c0b 100644 --- a/mu3hook/dllmain.c +++ b/mu3hook/dllmain.c @@ -1,3 +1,15 @@ +/* + "O.N.G.E.K.I." (mu3) hook + + Devices + + USB: 837-15257-01 "Type 4" I/O Board + USB: 3 * 601-13216 USB "QR Code" Camera (SDDT1-SDDT3) + COM1: 837-15396 "Gen 3" Aime Reader + COM2: 200-6275 VFD GP1232A02A FUTABA Board + COM3: 837-15093-06 LED Controller Board +*/ + #include #include diff --git a/swdchook/dllmain.c b/swdchook/dllmain.c index 9806123..94d68ea 100644 --- a/swdchook/dllmain.c +++ b/swdchook/dllmain.c @@ -1,3 +1,18 @@ +/* + "SEGA World Drivers Championship" (swdc) hook + + Devices + + USB: 837-15257 "Type 4" I/O Board + USB: 838-15415 Indicator BD Main Board (COM21) + WITH + 838-15416 Indicator BD LED Board + COM1: 838-15069 MOTOR DRIVE BD RS232/422 board + COM2: 837-15396 "Gen 3" Aime reader + COM3: 837-15070-04 IC BD LED controller board + COM4: 200-6275 VFD GP1232A02A FUTABA board +*/ + #include #include