Commit Graph

815 Commits (b8af67377c65482d93c989eb4d1e93f2a93a6dd4)
 

Author SHA1 Message Date
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
Kagamine Haku cef3406691 Add switch for openssl patch in segatools.ini 2024-10-18 13:34:25 +07:00
Kagamine Haku 97d2d6b9bc resolved camelCase and the " :" problem 2024-10-16 15:53:52 +07:00
Kagamine Haku f39b9ce3a0 resolve dniel97 comments 2024-10-16 15:01:39 +07:00
Kagamine Haku 243bb778d1 Add automatically apply OpenSSL patch for Intel Gen 10+ CPUs 2024-10-16 04:08:54 +07:00
Dniel97 66317a0054
bump capnhook rev to include serial fixes 2024-10-11 07:32:22 +02:00
Dniel97 8c24e04900 Merge pull request 'printer: Add setting to configure "printing time"' (#39) from Haruka/segatools:printerdelay into develop
Reviewed-on: https://gitea.tendokyu.moe/Dniel97/segatools/pulls/39
2024-10-04 12:53:26 +00:00
kyoubate-haruka 3bb9404a38 printer: add the default waitTime setting to config 2024-10-04 11:43:34 +02:00
kyoubate-haruka 6819963f06 Merge branch 'refs/heads/develop' into printerdelay 2024-10-03 12:12:59 +02:00
Dniel97 36849bd09a
Merge branch 'feature/ffb' into develop 2024-09-30 23:23:23 +02:00
Dniel97 5f817c8a36
swdc: minor improvements 2024-09-30 23:17:37 +02:00
Dniel97 259b763a13
idz: add ffb and led emulation 2024-09-30 23:10:16 +02:00
Dniel97 2251585ef0
swdc: add ffb and led emulation 2024-09-30 20:23:28 +02:00
Dniel97 c06bb408e7
idac: add ffb emulation 2024-09-30 18:50:46 +02:00
Dniel97 53fb8c28ea Merge pull request 'kemono: only load I/O dll inside amdaemon' (#38) from Haruka/segatools:kemonofr64bit into develop
Reviewed-on: https://gitea.tendokyu.moe/Dniel97/segatools/pulls/38
2024-09-28 13:36:06 +00:00