Commit graph

263 commits

Author SHA1 Message Date
goaaats
168a334756 Injector: remove custom DllImports, replace with CsWin32 2025-10-15 22:58:26 +02:00
goaaats
95ec633cc5 merge 2025-06-22 21:39:38 +02:00
Haselnussbomber
33605e3ace
Move AntiDebug to xivfixes (#2264)
* Move AntiDebug to xivfixes

* Update BootEnabledGameFixes

* Check BootEnabledGameFixes

* Apply suggestions from code review

Co-authored-by: KazWolfe <KazWolfe@users.noreply.github.com>

---------

Co-authored-by: KazWolfe <KazWolfe@users.noreply.github.com>
2025-05-09 13:53:44 -07:00
goaaats
b2fd7cc9e1 revert accidental injector changes 2025-04-13 20:48:31 +02:00
goaaats
0690cce995 wip bindings upgrade 2025-04-06 20:59:23 +02:00
goaaats
2951dc93ec Merge master 2025-04-03 21:14:12 +02:00
goaaats
fb61d72fae Remove legacy corrupted state exceptions entirely 2025-03-28 00:52:06 +01:00
marzent
abb5cf5dd1
fix wine_get_host_version calling convention (#2206) 2025-03-25 18:43:18 +01:00
goaaats
24358f5af6 Fix warning in injector 2025-03-24 21:41:55 +01:00
Kaz Wolfe
30cadef34b
fix: support XL_PLATFORM as well (hopefully) 2025-03-24 09:12:13 -07:00
marzent
7cac19ce81
Implement dalamud-platform launch argument (#1452)
* implement dalamud platform launch arg
* implement cross-platform gamePath fallback
* refactor platform detection heuristic
* add cross platform dalamud runtime detection
2025-03-24 08:42:24 -07:00
goaaats
b21a0c9298 Add console argument/env var to disable legacy corrupted state exceptions policy 2025-03-09 19:34:26 +01:00
goaaats
6604678050 merge from master 2025-03-08 16:10:25 +01:00
goat
cac76f045b remove useless PathMap in c# projects 2025-01-02 15:10:15 +01:00
goat
9d4bc95f7d initial net9 port 2024-11-14 01:08:07 +01:00
Soreepeong
3c4b9f96ff Merge remote-tracking branch 'upstream/master' into imguiscene-inside 2024-07-27 23:38:12 +09:00
goat
25cf7fde10 logging: limit main log file size to 100mb 2024-07-19 18:50:15 +02:00
Soreepeong
6bf264acf0 Support DirectX debugging injector cmdline 2024-07-19 18:13:37 +09:00
srkizer
8ff4662f1f
boot: implement --unhandled-exception=stalldebug (#1690)
Using this option will stall the crashed thread until the debugger
attaches, so that the newly attached debugger can be handed over the
exception, enabling breaking at correct stack location.

`--no-exception-handlers` injector option controlled whether Dalamud
Crash Handler would intercept exceptions before. Those are now either
`default` or `none` option for `--unhandled-exception`.
2024-04-20 21:20:11 -07:00
github-actions[bot]
b68da56e74 Merge remote-tracking branch 'origin/master' into net8-rollup 2024-02-29 23:15:23 +00:00
srkizer
3d59fa3da0
Sanitize PDB root name from loaded modules (#1687) 2024-02-29 15:13:33 -08:00
srkizer
94cf1c82c4
Synchronize DalamudStartInfo between cpp and cs (#1679)
Dalamud Boot was using BootLogPath in place of LogPath, resulting in
wrong log path.
2024-02-22 20:27:07 -08:00
marzent
f4af8e509b make Dalamud handle top-level SEH 2024-02-15 10:05:36 +01:00
Soreepeong
7e78b6293b Make RewriteRemoteEntryPointW report IErrorInfo, VirtualProtectEx before WriteProcessMemory 2024-02-13 08:35:51 +09:00
github-actions[bot]
a2cc9ffe34 Merge remote-tracking branch 'origin/master' into net8-rollup 2024-02-11 21:01:52 +00:00
marzent
386e5f245c
Make the crash handler work on wine properly (#1636)
* add LoadMethod to DalamudStartInfo
* add to_wstring utility function
* append full injector launch args for VEH
* remove usage of std::chrono::zoned_time
* fix injector arguments in crash handler restart
* enable VEH on wine
* remove dead wine detection code
* write out tspack with std::fstream
* fix off-by-one error in get_window_string()
* remove usage of std::chrono when writing tspack
* do not deadlock on crashing DalamudCrashHandler
2024-02-11 13:01:34 -08:00
github-actions[bot]
c993be9c97 Merge remote-tracking branch 'origin/master' into net8-rollup 2023-12-16 20:06:06 +00:00
srkizer
5777745ab3
Add injector option to not apply any exception handlers (#1541)
* Add injector option to not apply any exception handlers

* Log as warning if NoExceptionHandlers is set
2023-12-07 05:06:39 +00:00
goat
8a2ba70cc3
chore: upgrade projects to net8 2023-11-14 20:23:02 +01:00
goat
f44c6794e7
chore: tidy-up, move files shared between dalamud and injector into separate assembly 2023-09-30 16:11:52 +02:00
goat
4a1b220d4a
fix: register interfaces for provided services 2023-09-30 01:09:25 +02:00
goat
a47ea54452
chore: disable non-functional xivfix 2023-08-03 12:41:27 +02:00
goat
221bef8df8
fix: don't adjust boot log path in release mode 2023-06-23 21:30:04 +02:00
goat
10276a651d
fix: don't always override logPath in release mode 2023-06-19 19:57:15 +02:00
goat
2e380b10d5
feat: allow specifying logging path via --logpath, make sure serilog can always write to injector log 2023-06-19 19:53:06 +02:00
goat
aa2cd47ef3
fix warnings in injector 2023-06-09 23:38:15 +02:00
goat
166301f56f
fix warnings in Dalamud 2023-06-09 23:38:13 +02:00
Ava Chaney
95b0565976
Fix devplugins again & bump CS (#1221)
* reapply devplugins directory removal, without breaking everything

Revert "Revert "Remove support for legacy devplugins directory (#1219)" (#1220)"

This reverts commit 681cda91a4.

* bump CS
2023-05-27 01:40:51 +00:00
goat
681cda91a4
Revert "Remove support for legacy devplugins directory (#1219)" (#1220)
This reverts commit 845a3fba4f.
2023-05-26 12:02:01 +02:00
Ava Chaney
845a3fba4f
Remove support for legacy devplugins directory (#1219)
* remove support for legacy devPlugins directory

* bump CS

* fix copy

* remove legacy helptext
2023-05-26 01:37:04 -07:00
goat
66f955c87c
increase GameStart max tries to 1200(1min) 2023-04-24 21:47:44 +02:00
marzent
9169063e04 add prevent_icmphandle_crashes xivfix 2023-03-25 22:17:08 +01:00
Aireil
d8ad2a8863
chore: load log level from config on debug builds 2023-02-20 20:13:13 +01:00
goat
d81f218155
chore: cleanup warnings, always load banned dev plugins 2023-01-23 23:53:18 +01:00
goat
cc4a0652c2
feat: configurable log path 2023-01-11 18:37:33 +01:00
goaaats
e225f4df0e
fix: consistent CLI arg naming scheme 2023-01-08 00:47:15 +01:00
goat
4f74b7401a
deps: bump Newtonsoft.JSON to 13.0.2 2022-12-10 13:17:56 +01:00
goat
05e3330789
chore: upgrade all projects to .NET 7 2022-12-07 22:59:44 +01:00
Soreepeong
8718de6121 Offer to generate .tspack from crash handler 2022-09-14 13:36:29 +09:00
goat
3f76a70425
chore: always respect the manifest name 2022-08-21 15:41:53 +02:00