28 Commits
Author SHA1 Message Date
はやしうめ 9aedb90fc6 Set the console codepage to ensure correct text display regardless of encoding (#1337) 2026-06-09 17:07:44 +02:00
js6pak 5dce49007e ConsoleOut workaround isn't needed anymore 2022-08-14 17:18:58 +03:00
js6pak 3538abf277 Support macos 2022-08-14 17:18:58 +03:00
js6pak 12079aeb09 Improve ConsoleWindow exceptions 2022-08-14 17:18:58 +03:00
js6pak 1315427acd Fix console on wine 2022-08-14 17:18:58 +03:00
ghorsington a1c7f5c4b1 ConsoleManager: refactor useWinApiEncoder -> useManagedEncoder 2022-08-14 17:18:58 +03:00
ghorsington 57658bdbb7 BepInEx.IL2CPP: retarget to net6.0, switch to Il2CppInterop 2022-08-14 17:18:58 +03:00
ghorsington 6b7405e46b WindowsConsoleDriver: Don't quit if console cannot be allocated 2022-06-05 17:16:51 +03:00
Bepis 5686f6a003 Create .NET Core platform project 2022-01-25 21:11:55 +11:00
ghorsington 82538d8ed1 Fix crash when logging some strings with long multi-byte characters 2022-01-01 11:13:18 +02:00
ghorsington 4bb48c502e Reformat project; apply code style 2021-12-21 18:55:05 +02:00
ghorsington 325e0df14b Use C# 10, reformat project 2021-12-21 16:09:39 +02:00
ghorsington 1128b5f6c7 WindowsConsoleDriver: Fix console size checking 2021-11-02 20:17:24 +02:00
ghorsington 556cb5fba4 ConsoleEncoding: fix buffer size computation
Instead of approximating with GetMaxByteCount and GetMaxCharCount, compute actual buffer size which is needed for variable-length characters (e.g. utf-8)
2021-10-31 19:53:59 +02:00
ghorsington a16d0fecfc WindowsConsoleDriver: check that Console.WindowWidth and WindowHeight exist 2021-10-31 19:52:37 +02:00
js6pak a6b2c1fc92 Fix WindowsConsoleDriver 2021-10-24 12:35:05 +02:00
js6pak c44ff9e7b4 Move the check into WindowsConsoleDriver 2021-10-24 12:11:35 +02:00
ghorsington 3d1effa48d Fix console window delegate resolving 2021-10-03 18:16:33 +03:00
ghorsington 72e1e2c2f6 ConsoleWindow: always resolve user32 from system folder
Some games (e.g. Outer Wilds) include their own user32.dll which is missing some methods. With this fix we always pull the menu functions from correct user32.dll
2021-10-03 16:25:35 +03:00
Bepis 64a75b8513 Fix .NET launcher console not working 2021-05-31 23:21:36 +10:00
ghorsington c874d4f6b3 Apply style 2021-04-11 14:10:00 +03:00
ghorsington d3240c3361 Port important fixes from v5-lts
Only fixes are ported, no main feature changes
2021-04-11 13:25:14 +03:00
Ash 117a553820 Update WindowsConsoleDriver to reuse Utility.UTF8NoBom 2021-04-07 17:16:09 -05:00
ghorsington ff4e1b7c7f Reformat code after last commits 2021-01-26 20:47:02 +02:00
Bepis cdc8ec560b Fix strange build issue 2021-01-25 02:43:09 +11:00
ghorsington ecb61f60d8 Apply code style 2021-01-23 22:04:11 +02:00
ghorsington 54aa943247 Add .NET Standard 2.1 target to core libraries 2020-12-29 22:03:56 +02:00
Bepis 1c32115fa2 Implement cross-platform improvements from master
Contains fixes rebased from d2afe06 ... 9f4dcb6
2020-11-05 23:18:52 +11:00