mirror of
https://github.com/nestriness/nestri.git
synced 2026-11-03 14:12:39 +02:00
Guest image fixes from #401, plus the dev changes that had not reached prod yet. - **OpenGL games render** (Dome Keeper, confirmed on an AMD host). The guest's Mesa gains its EGL/GLX frontends, and `vm.overcommit_memory=1` stops a large reservation being refused before it is used. - **Chromium / NW.js games get past their first frame** (Sheepy). nescope answers every commit, and paces Xwayland windows too. - **Proton patch step.** `build/patches/proton/` and the `-nN` tag. Nothing uses it until hosts are pointed at the new tag. - Also included: the pixelforge update already on dev. It is in the image tested today. **Versions kept, not downgraded.** Dev still had host agent 0.2.13 and desktop 0.1.0. The last commit restores prod's 0.2.16 and 0.1.2, so this merge changes no install versions. **After merge.** `make push` from this prod commit publishes the guest image. The host agent release that raises LAYOUT to 6 makes hosts pull it. --------- Co-authored-by: DatCaptainHorse <DatCaptainHorse@users.noreply.github.com>
15 lines
707 B
Diff
15 lines
707 B
Diff
--- a/dlls/ntdll/unix/env.c
|
|
+++ b/dlls/ntdll/unix/env.c
|
|
@@ -286,6 +286,11 @@
|
|
|
|
if (!(ctype = setlocale( LC_CTYPE, "" ))) name = "UTF-8";
|
|
else if (!(name = nl_langinfo( CODESET ))) return;
|
|
+ /* The C and POSIX locales name plain ASCII, in which a non-ASCII file
|
|
+ * name cannot be created at all. Steam starts games with LC_ALL=C, so
|
|
+ * under it every such name failed; ASCII is a subset of UTF-8, so
|
|
+ * reading it as UTF-8 changes nothing that worked before. */
|
|
+ if (!strcmp( name, "ANSI_X3.4-1968" )) name = "UTF-8";
|
|
TRACE_(nls)( "Unix LC_CTYPE %s, using %s codeset\n", debugstr_a(ctype), debugstr_a(name) );
|
|
|
|
/* remove punctuation characters from charset name */
|