Commit Graph

90 Commits (develop)

Author SHA1 Message Date
Dniel97 a6126bf290
Merge branch 'feature/thinca_auth' into develop 2025-04-17 19:18:03 +02:00
Haruka 67eda7458b emoney: Add Thinca authentication card stuff (#35)
This PR adds everything that's needed on the segatools side to add E-Money support regarding Thinca authentication cards.

I've also included set-up documentation (with a network side bonus which was as far as I could figure out so far, but I'm pretty certain no more changes to segatools will be needed)

Due to the nature of a custom protcol called TCAP that Thinca uses for networking (see docs), I can't fully test that everything works as I haven't yet bothered to figure that protocol out.

Tested with both APMv3 and FGO.

![https://puu.sh/KeqVj/ccf4bcccbb.png](https://puu.sh/KeqVj/ccf4bcccbb.png)

Reviewed-on: https://gitea.tendokyu.moe/TeamTofuShop/segatools/pulls/35
Co-authored-by: Haruka <haruka@noreply.gitea.tendokyu.moe>
Co-committed-by: Haruka <haruka@noreply.gitea.tendokyu.moe>
2025-04-17 17:01:38 +00:00
Hay1tsme b37e1105d0 misc: added a showcursor counter to more accuratly replicate actual function behavior 2025-04-16 22:10:19 -04:00
Dniel97 4d0ef54279
system: add dip switch label configurations 2025-03-02 00:23:53 +01:00
Dniel97 b8af67377c
Merge branch 'feature/mai2-touch-led' into develop 2025-03-02 00:04:00 +01:00
kyoubate-haruka efe01d92a6 Fix MSVC build again, add support for standalone MSVC compiler (#59)
After switching away from VS, I realized the buildscript wouldn't detect the standalone MSVC compiler, because for whatever genius reason, MS installs that in the x86 program files directory...

Also fixes some duplicate definitions and a missing library that MSVC doesn't like
ah compilers...

Reviewed-on: https://gitea.tendokyu.moe/TeamTofuShop/segatools/pulls/59
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-02-24 18:49:22 +00:00
Mahuyo a1611afffc Mai2: Add touch and led15070 hook (#55)
In this PR, I have added the `mai2` touch and `led15070` hooks to provide an example for handling custom peripherals. This change allows users to implement the touch and `led15070` logic by writing appropriate `mai2io` scripts.

#### **Touch Hook**:
- The touch hook simulates touch points based on keyboard combinations. For example, to trigger the A1 touch point, the user must press the A and 1 keys on the keyboard. Input for the 1p requires Caps Lock to be off, while 2p requires Caps Lock to be on.
- The hook allows for independent control of whether device simulation is enabled for "1p" and "2p" and whether keyboard input mapping is enabled.
- **Note**: The current touch hook is not yet functional as it requires modifications to the `capnhook` for proper completion of the `sinmai` hook.

#### **LED15070 Hook**:
- This hook implements basic device simulation. Peripherals requiring lighting data should complete the logic as needed.
- **Note**: The LED data refresh can flood the console logs, so I’ve added a `DEBUG` flag to control whether the debug logging is enabled or not.

#### **Other Changes**:
- In certain versions of `sinmai`, key inputs for 1p and 2p can be directly read from the keyboard without requiring simulation via the `amdaemon io4` hook. I’ve added a switch to control this behavior to prevent redundant input.
- **Benefit**: This ensures that key input is only read when `sinmai` is in the foreground.

If you'd like to learn more about the touch and `led15070` features, my research findings are available here:
[Mai2Touch](https://github.com/Sucareto/Mai2Touch)

Co-authored-by: Sucareto <28331534+Sucareto@users.noreply.github.com>
Reviewed-on: https://gitea.tendokyu.moe/TeamTofuShop/segatools/pulls/55
Co-authored-by: Mahuyo <mahuyo@noreply.gitea.tendokyu.moe>
Co-committed-by: Mahuyo <mahuyo@noreply.gitea.tendokyu.moe>
2025-02-16 12:49:58 +00:00
Dniel97 80d4902cfc
remove 5gb wasted space by removing precompiled headers 2024-12-23 21:04:51 +01:00
r0x5a d8202e1df4 dns: add port overriding support 2024-12-12 02:28:02 +08:00
kyoubate-haruka 2069b1ea85 dns: fix msvc build 2024-11-14 13:03:13 +01:00
GEEKiDoS c80f903cf8 Fix build with Microsoft Visual C++, Fix gfxhook and felica issue (#48)
I just wanna say that It is a SHAME that a Windows ONLY project was not able to build without MINGW
Also where's the missing `3mpxsc.h` in diva hook?

This also fixes the window size issue from hook_CreateWindowExA in gfxhook
And Fixes felica issue as described in #45

Reviewed-on: https://gitea.tendokyu.moe/Dniel97/segatools/pulls/48
Reviewed-by: Dniel97 <dniel97@noreply.gitea.tendokyu.moe>
Co-authored-by: GEEKiDoS <geek_ds@foxmail.com>
Co-committed-by: GEEKiDoS <geek_ds@foxmail.com>
2024-11-11 16:28:24 +00:00
Sanhei ceb2b63e8b Modify host header in HTTP requests to bypass domain censorship in China. (#34)
Co-authored-by: Sanheiii <35133371+Sanheiii@users.noreply.github.com>
Reviewed-on: https://gitea.tendokyu.moe/Dniel97/segatools/pulls/34
Co-authored-by: Sanhei <sanhei@noreply.gitea.tendokyu.moe>
Co-committed-by: Sanhei <sanhei@noreply.gitea.tendokyu.moe>
2024-11-11 16:24:33 +00:00
kyoubate-haruka 6819963f06 Merge branch 'refs/heads/develop' into printerdelay 2024-10-03 12:12:59 +02:00
Dniel97 c06bb408e7
idac: add ffb emulation 2024-09-30 18:50:46 +02:00
kyoubate-haruka 4fa9abffe8 printer: add ability to delay printing 2024-09-27 11:06:18 +02:00
kyoubate-haruka 79592514ba fgo: fix printer 2024-09-20 11:14:41 +02:00
kyoubate-haruka f6c12fd230 kemono: Pre-generate printer firmware files 2024-09-19 13:46:49 +02:00
kyoubate-haruka 9de48dd6ce kemono: flip declarations 2024-09-13 16:52:55 +02:00
kyoubate-haruka 068651b6fa kemono: add support 2024-09-11 13:31:23 +02:00
Dniel97 0061158188
printer: changed filename for holo cards 2024-08-20 13:40:47 +02:00
Dniel97 5abc593b46
cm: added printer support 2024-08-05 20:53:56 +02:00
Dniel97 517469a60c
switched to new capnhook, updated unityhook, added LED 15093 to MU3 2024-05-12 19:37:30 +02:00
arcfox 04fcd0d09a
dns: amlog hook & subdomain wildcard parse 2024-05-09 15:02:22 +08:00
Dniel97 097b74d849
cxb: server support added, bugfixes, thanks @Midorica 2024-03-13 21:40:25 +01:00
Dniel97 9c66488906
added Move/Replace/Delete hooks
- fixes FGO not correctly switching `START UP MODE`
- fixes SWDC not correctly switching `CABINET SETTING`
2024-02-27 16:54:12 +01:00
Dniel97 629ded4018 added AimePay, E-MONEY DNS redirects 2024-02-25 19:03:05 +01:00
Dniel97 3dd6054a1e
chusan, fgo, mu3: fixed LED 15093 board 2023-12-03 21:34:38 +01:00
Dniel97 a3fd2fb926
Merge branch 'master' into develop 2023-11-29 23:07:24 +01:00
Kevin Trocolli 4dcf01f643 carol: somewhat-working touch board?? 2023-11-27 23:23:00 -05:00
Dniel97 d86baab852
fgo: working FTDI hook by @OLEG
from: 88a0026f0b
2023-11-22 21:43:42 +01:00
Dniel97 a2db39c58c
fgo: fgohook finally added
Credits:
- Coburn
- domeori
- Mitsuhide
- OLEG
- rakisaionji
2023-11-11 23:05:11 +01:00
Dniel97 6c45d0995b
fix cursor being annoying by @OLEG
95273ccecb
2023-10-05 00:37:25 +02:00
Dniel97 37793fc051
Merge branch 'master' into develop 2023-10-05 00:30:24 +02:00
Kevin Trocolli 528ec4379c createprocess: add replace_all flag 2023-09-15 19:57:11 -04:00
Dniel97 5ef0cf6181
Merge branch 'master' into develop 2023-09-15 19:56:48 +02:00
Kevin Trocolli 157f52da4c platform: add epay hook 2023-09-15 01:35:33 -04:00
Kevin Trocolli 0d83977073 hooklib: fill out my_CreateProcessA 2023-09-13 20:23:40 -04:00
Kevin Trocolli dca84e08d0 hooklib: fix createprocess imports 2023-09-13 19:57:10 -04:00
Kevin Trocolli 2dbb4aec8c hooklib: add createprocess to meson 2023-09-13 19:54:22 -04:00
Hay1tsme 3d7d9fcaa5 hooklib: add createprocess hook skeleton 2023-09-13 17:54:40 -04:00
Dniel97 608c9ac1a6
chusan, cm, mai2, mu3: Added dipSw support and highBaudrate AiMe 2023-08-15 17:28:19 +02:00
Dniel97 01be6ee33c
cardmaker: hook, touch screen hook added
Thanks @domeori https://dev.s-ul.net/domeori/segatools/-/tree/mr-imports
2023-07-14 00:59:24 +02:00
Kevin Trocolli 02201dfba5 path: add hooks for PathFileExistsA/W 2023-05-24 01:08:08 -04:00
Kevin Trocolli f0b307e120 add hooklib for external functions loaded via getprocaddress 2023-02-13 03:08:41 -05:00
Kevin Trocolli 5f51699c78 mercury: fix coin counter (thanks Raki!) 2023-02-13 03:08:40 -05:00
Felix db5b264155 gfxhook: Fix some clang-tidy warnings 2023-02-13 03:07:37 -05:00
Felix 0443a985bd wip: move gfx to gfxhook, some borderless window stuff 2023-02-13 03:07:37 -05:00
Felix dc85ee3d29 Draft: hooklib/gfx/dxgi.c: Delegate IDXGIFactory hook selection to helper method 2023-02-13 03:07:37 -05:00
Felix 4854170817 Draft: hooklib/gfx/dxgi.c: Add CreateDXGIFactory2 hook 2023-02-13 03:07:37 -05:00
Felix b6f1ca6437 hooklib: Add D3D11 and DXGI graphics hooks
IDZ only supports D3D11 and Ongeki/Unity uses D3D11 by default.

This also includes a window hook and fullscreen fix for problematic
games (I am looking at you IDZ).
2023-02-13 03:07:37 -05:00