MikiraSora 31c184adf7 unity: support debugging (#99)
User can debug their Unity game with dnspy and other debugger, it needn't patch mono.dll.

most code is copied&modified from [UnityDoorstop](https://github.com/NeighTools/UnityDoorstop/blob/master/src/bootstrap.c#L328)

currently it work on SDEZ/SDDT

<details>
  <summary>How to debug and breakpoint Unity game (For example SDDT)</summary>

1.   Modify segatools.ini and set `enableDebug` and `debugAddress`
![image.png](/attachments/60a681ac-f050-4923-b955-6b3fdd93a75e)

2.   Inject mu3 with hook dll
![image.png](/attachments/b51391e8-92b4-4c6b-b531-f4171f2f4447)

3.   dnspy connect unity
![image.png](/attachments/513906d3-0f14-4e40-be9f-da87928eeaaf)

4.  open Modules tab and double click Assembly-CSharp.dll, yeah, now you can add breakpoints now.
![image.png](/attachments/5e2a1f0b-62fd-4e68-997f-c2c68efee9ef)

</details>

and make unity_config.target_assembly is optional if we just want to debug unity.

Now PR is ready to code review and merge into upstream.

Reviewed-on: https://gitea.tendokyu.moe/TeamTofuShop/segatools/pulls/99
Co-authored-by: MikiraSora <mikirasora0409@126.com>
Co-committed-by: MikiraSora <mikirasora0409@126.com>
2026-08-10 15:42:41 +00:00
2021-08-15 11:11:06 +02:00
2023-09-19 10:33:30 -04:00
2026-08-10 15:42:41 +00:00
2026-08-10 15:42:41 +00:00
2019-11-06 21:02:49 -05:00
2024-12-16 11:09:38 +08:00
2018-10-07 21:58:14 -04:00
2021-12-27 20:56:30 -05:00
2023-02-13 03:08:41 -05:00
2019-11-06 21:02:49 -05:00
2021-12-27 20:55:20 -05:00
2025-04-17 19:40:40 +02:00
2026-02-26 23:26:51 +01:00
2026-04-06 14:25:43 +02:00

Segatools

Version: 2026-04-06

Loaders and hardware emulators for SEGA games that run on the Nu and ALLS platforms.

List of supported games

  • ALL.Net P-ras MULTI Version 3
    • starting from ALL.Net P-ras MULTI Version 3 1.01
  • Card Maker
    • starting from Card Maker
  • CHUNITHM
  • crossbeats REV.
    • up to crossbeats REV. SUNRISE
  • Eiketsu Taisen (英傑大戦)
    • starting from Sanzensekai no Hadou (三千世界の波動)
  • Fate/Grand Order
    • Fate/Grand Order Arcade
  • Hatsune Miku: Project DIVA Arcade
    • up to Future Tone
  • Initial D
  • Kemono Friends
    • Kemono Friends 3: Planet Tours
  • maimai DX
    • starting from maimai DX
  • Mario & Sonic
    • Mario & Sonic at the Tokyo 2020 Olympics Arcade
  • O.N.G.E.K.I.
    • starting from O.N.G.E.K.I.
  • Sangokushi Taisen (三国志大戦)
    • starting from 1.01
  • SEGA World Drivers Championship
    • SEGA World Drivers Championship 2019
  • WACCA
    • starting from WACCA

End-users

For setup and configuration guides, refer to the dedicated documents available for each game, see the links in the previous section.

Contributors

If you are/want to be a contributor of any kind, e.g. new features, bug fixes, documentation improvements, ..., please read the contributing documentation, first.

Developers

For development setup and instructions how to build the project, refer to the dedicated development documentation.

S
Description
No description provided
Readme Unlicense
3.8 MiB
Languages
C 96.6%
Meson 1.8%
Makefile 0.8%
Python 0.3%
Batchfile 0.2%
Other 0.2%