Commit graph

81 commits

Author SHA1 Message Date
kizer
8b09449501
Exclusively use wstring/wchar_t for filesystem::path (#960) 2022-08-20 19:03:32 +02:00
kizer
1f1f0aaa20
Show DLL description and version into xivfixes dll load list (#958) 2022-08-18 21:20:45 +02:00
kizer
e9147387c7
Fix error message on import hook fail (#957) 2022-08-18 08:47:38 +02:00
goat
951118ceb6
fix: use global for VEH mutex
attempts to fix stack overflow when debugging in VS
2022-08-17 20:22:21 +02:00
kizer
58ceb1dc87
Offer to restart game from VEH exception handler (#936) 2022-07-26 21:14:48 +02:00
goat
d2ecddbf35
feat: optional CTD reports to gauge stability 2022-07-24 21:23:20 +02:00
goat
805a887f2e
feat: add minidump writer 2022-07-24 18:49:46 +02:00
goat
548100d9ea
deps: update Reloaded.Hooks to fork v2, fixes openprocess calls 2022-07-23 21:32:21 +02:00
goat
8bc4d362ad
feat: new VEH experience 2022-07-23 20:25:05 +02:00
kizer
379c52f5d4
Show error messagebox outside CLR from VEH (#933) 2022-07-23 17:36:37 +02:00
marzent
78172f06d1
Change Dalamud.Boot abort behaviour on detach (#925) 2022-07-23 15:26:46 +02:00
goat
4dc48285c4
feat: add RaiseFailFastException hook prototype 2022-07-16 00:38:33 +02:00
kizer
716736f022
Improvements (#903) 2022-06-29 11:51:40 +02:00
kizer
ac7f3ea5d8
Add import hooks and ditch wndproc hooks (#902) 2022-06-27 20:19:44 +02:00
kizer
8e7f370ddd
Load services asynchronously whenever possible (#893) 2022-06-24 22:12:51 +02:00
goaaats
8744e82979
feat: make ETW configurable, doesn't actually do anything yet because we're stuck on .NET 5 2022-06-22 16:58:53 +02:00
kizer
496e38baf6
fix (#891) 2022-06-21 16:24:58 +02:00
goaaats
72b18dd2b5
chore: don't wait for game window in Dalamud.Boot 2022-06-20 22:25:15 +02:00
goaaats
92518e22b0
chore: indicate which messagebox we are waiting for 2022-06-20 18:21:09 +02:00
goaaats
192396abdc
feat: set boot defaults via json 2022-06-19 12:24:18 +02:00
goaaats
5c3c22490d
feat: get boot log path from DalamudStartInfo 2022-06-19 12:17:37 +02:00
kizer
ce49874935
Write Dalamud.Boot log to TEMP, then CWD (#886) 2022-06-19 11:42:41 +02:00
kizer
04cdd3338f
Make more stuff loggable (#885) 2022-06-17 21:06:38 +02:00
goaaats
1ad222a4b8
chore: annotate __try workaround 2022-06-17 19:05:47 +02:00
kizer
d3c230f9e0
Attempt to fix for alex compat (#884) 2022-06-17 19:01:38 +02:00
kizer
2f4c0bbc97
Update logging to reflect msvc updates on std::format (#883) 2022-06-17 10:28:10 +02:00
kizer
71f3680388
Fix nullptr problems (#878) 2022-06-04 13:45:22 +02:00
kizer
3231d5b0d1
Fix bad span boundary check (#877) 2022-06-03 19:55:19 +02:00
goaaats
7d49ebfc3c
fix: continue main thread on C++ side again, circumvents a race condition - we should fix this for good! 2022-06-03 17:45:54 +02:00
kizer
c5f84eb27d
Add option to use global import hook instead of MinHook for OpenProcess (#860) 2022-05-30 17:54:29 +02:00
goaaats
d0213ebcfd
chore: more logging 2022-05-29 20:08:21 +02:00
kizer
b6237267ce
Workaround nuke not autoaddling dep lib (#859)
* #pragma comment(lib, <minhook lib>)

* Fix logging path, and make common files not use pch

* Move lib import to vcproj from pragma

* a

* Make copy of vcxproj for minhook from submodule to lib dir

* nuke it

* .
2022-05-29 19:18:00 +02:00
kizer
dbb0cb3d56
Use MinHook on cpp side too (#858)
Co-authored-by: goaaats <goatsdev@protonmail.com>
2022-05-29 17:33:57 +02:00
goaaats
a7540d0fef
feat: write Dalamud.Boot logs to dalamud.boot.log 2022-05-29 17:25:29 +02:00
kizer
75de126c9d
Implement xiv fixes into Dalamud.Boot (#857) 2022-05-28 19:11:03 +02:00
goaaats
d2335274ee
feat: delay main thread continuation until GameFixes are applied
This is a temporary workaround until we have infrastructure to intercept winapi in C++
2022-05-27 14:12:15 +02:00
goaaats
3cf47f7ec4
chore: make DALAMUD_WAIT_DEBUGGER actually freeze process 2022-05-26 00:46:58 +02:00
goaaats
524d100bdc
chore: change VEH env var, add var to enable full dumps 2022-05-18 18:33:34 +02:00
kizer
9a38a9470c
Fix inject problems (#820)
* CoreCLR: resolve and load nethost on demand instead of requiring it on load

* Remove nethost loading from C# side

* Added option to not chain Process.Dispose; see for last error only if result is empty
2022-04-25 10:13:32 +02:00
Soreepeong
dffca6eb50 Disable normalizing to dos path and workaround no support for GetMappedImagePath on WINE 2022-03-10 18:59:49 +09:00
goaaats
cac814905e
Revert "chore: turn VEH back on for everyone"
This reverts commit ffaf0febb3.
2021-12-25 03:36:38 +01:00
goaaats
ffaf0febb3
chore: turn VEH back on for everyone 2021-12-24 13:06:19 +01:00
goaaats
b612711ef6
chore: only enable VEH on staging 2021-12-24 05:00:57 +01:00
Soreepeong
e64cc7e687 Print dotnet stack trace on veh error msgbox, and use precompiled headers. 2021-12-24 12:23:23 +09:00
goaaats
97cf742819
feat: DALAMUD_HAVE_VEH env var, disable by default 2021-12-23 16:11:46 +01:00
goaaats
4d6c494e3f
chore: change VEH error message 2021-12-23 16:00:06 +01:00
goaaats
78efd885b7
fix: add is_veh_enabled func 2021-12-23 15:57:26 +01:00
goaaats
ca1f5baee4
fix: use GetEnvironmentVariableW instead of getenv 2021-12-23 15:48:04 +01:00
goaaats
04bf21af78
chore: turn VEH back on, add DALAMUD_NO_VEH env var 2021-12-23 15:39:37 +01:00
Soreepeong
d0680bf1f7 Add RewriteRemoteEntryPointW and deprecate RewriteRemoteEntryPoint 2021-12-09 10:08:31 +09:00