Commit Graph

829 Commits (develop)
 

Author SHA1 Message Date
Dniel97 a6126bf290
Merge branch 'feature/thinca_auth' into develop 2025-04-17 19:18:03 +02:00
Dniel97 015097972a
emoney: improce doc and add python script 2025-04-17 19:17:42 +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
Hay1tsme 9a6c4939c2 system: fix sysfile patches not applying when compiling with msvc 2025-04-16 22:09:48 -04:00
kyoubate-haruka 39711a994a FGO: add keyboard input (#61)
Probably self-explanatory :p

Reviewed-on: https://gitea.tendokyu.moe/TeamTofuShop/segatools/pulls/61
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-04-05 15:22:14 +00: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
kyoubate-haruka 70c3e2fe0f FGO: fix printer hook always being enabled (#60)
that moment when the printer says OK but it absolutely isn't supposed to be OK lmao

edit: I'm not sure why the msvc commits are also in all of these PRs, they have no effect though...
Reviewed-on: https://gitea.tendokyu.moe/TeamTofuShop/segatools/pulls/60
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-09 16:05:03 +00:00
Hay1tsme 369fe28687 disable excess logging for carol touchscreen hook 2025-03-02 04:10:35 -05:00
Hay1tsme 3371f3f437 fix msvc build by removing ntstatus include from platform/system.c 2025-03-02 01:45:23 -05:00
Dniel97 a57542c2d2
Merge branch 'feature/code-cleanup' into develop 2025-03-02 00:36:27 +01:00
Dniel97 27116a7a41
idac, tokyo: improve dipsw cabinet id config 2025-03-02 00:36:13 +01:00
Dniel97 e850346b79
renamed start.bat to launch.bat 2025-03-02 00:25:15 +01: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
Dniel97 4cb76dd1ee
mai2: update all LED boards to use two boards 2025-03-02 00:01:45 +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
Hay1tsme 004a2f6dcd docs: fix playformID and billingType config docs 2025-02-21 19:37:54 -05: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
Hay1tsme 1d63ab24d3 Move capnhook to TeamTofuShop fork, update revision 2025-02-09 04:52:27 -05:00
Hay1tsme 2f54183636 bump capnhook rev 2025-02-04 11:09:23 -05:00
Hay1tsme 402bf0f247 nusec: add full IOCTL list without handlers 2025-01-28 01:41:03 -05:00
Hay1tsme 4c20deb60a bump capnhook ver 2025-01-27 02:09:14 -05:00
Dniel97 96ee1afc2f Merge pull request 'Revert: Add automatically apply OpenSSL patch for Intel Gen 10+ CPUs' (#54) from Bottersnike/segatools:develop into develop
Reviewed-on: https://gitea.tendokyu.moe/TeamTofuShop/segatools/pulls/54
2024-12-27 14:18:27 +00:00
Bottersnike 0c28765bdd
Revert: Add automatically apply OpenSSL patch for Intel Gen 10+ CPUs 2024-12-27 14:12:58 +00:00
Dniel97 96bf8cab81
aime: add `portNo` to config 2024-12-23 21:49:24 +01:00
Dniel97 a3120181be
replace hardcoded enums with #define CTL_CODEs 2024-12-23 21:48:30 +01:00
Dniel97 80d4902cfc
remove 5gb wasted space by removing precompiled headers 2024-12-23 21:04:51 +01:00
Dniel97 b4f5cdbe59 Merge pull request 'Add automatically apply OpenSSL patch for Intel Gen 10+ CPUs' (#43) from kagaminehaku/segatools:develop into develop
Reviewed-on: https://gitea.tendokyu.moe/Dniel97/segatools/pulls/43
2024-12-23 19:43:47 +00:00
KagamineHaku 25431a9db1 Add "openssl" config key doc 2024-12-24 02:34:44 +07:00
Dniel97 a705ae8748 Merge pull request 'Add changeable config path' (#53) from GEEKiDoS/segatools:develop into develop
Reviewed-on: https://gitea.tendokyu.moe/Dniel97/segatools/pulls/53
2024-12-23 18:04:12 +00:00
Dniel97 b52455339f Merge pull request 'dns: add port overriding support' (#52) from t12i/segatools:develop into develop
Reviewed-on: https://gitea.tendokyu.moe/Dniel97/segatools/pulls/52
2024-12-23 17:54:38 +00:00
kagaminehaku ff21223f06 Removed the unused lines 2024-12-17 10:06:41 +07:00
GEEKi 047733d122 format code 2024-12-16 11:18:00 +08:00
GEEKi 21bb965382 typo 2024-12-16 11:14:14 +08:00
GEEKi 11556a1332 add changeable config path 2024-12-16 11:09:38 +08:00
r0x5a d8202e1df4 dns: add port overriding support 2024-12-12 02:28:02 +08:00
KagamineHaku 2d3d6fc2bb Skip the patch when already patched 2024-11-26 01:40:57 +07:00
Dniel97 6d8ffb46ef Merge pull request 'dns: fix msvc build' (#50) from Haruka/segatools:fixmsvc into develop
Reviewed-on: https://gitea.tendokyu.moe/Dniel97/segatools/pulls/50
2024-11-17 13:42:53 +00: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
zaphkito 83840e0a87 dns: add new WAHLAP url blocked (#49)
Reviewed-on: https://gitea.tendokyu.moe/Dniel97/segatools/pulls/49
Co-authored-by: zaphkito <zaphkito@noreply.gitea.tendokyu.moe>
Co-committed-by: zaphkito <zaphkito@noreply.gitea.tendokyu.moe>
2024-11-10 20:47:40 +00:00
Dniel97 e50d6d8ebc Merge pull request 'Throw fatal when vfs option configured but invalid' (#47) from Bottersnike/segatools:feat/vfs-validation into develop
Reviewed-on: https://gitea.tendokyu.moe/Dniel97/segatools/pulls/47
2024-11-05 16:36:43 +00:00
Bottersnike e1a47cf365 Throw fatal when vfs option configured but invalid 2024-11-04 22:55:15 +00:00
KagamineHaku 8aef1cfa79 Change method set environment variable to current process only using "SetEnvironmentVariableW" 2024-11-05 00:48:21 +07:00
Dniel97 8fc24503c8
diva, fgo: added gfx, close #46 2024-11-03 23:00:43 +01:00
KagamineHaku ebf0f0b428 Develop a new/better method to detect cpu using intrinsic functions (__cpuid and __cpuidex) 2024-11-02 00:26:31 +07:00
Dniel97 892eb2b859
idz, idac, swdc: fixed rumble effect 2024-10-29 22:06:07 +01:00
Kagamine Haku b80b9fbc19 Delete useless comment 2024-10-18 13:44:47 +07:00