mirror of
https://github.com/valentderah/totk-pc-recomp.git
synced 2026-11-25 22:15:57 +00:00
Quote paths with spaces on the Ninja command lines of build_game.py
An install folder with a space in its name (or a user name with one) made the compile step fail: clang split -I temp/Игра TotK-<hash>/gen at the space. Include, library and tool paths and the link map path are now quoted when they hold a space. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7880790b91
commit
02158f3f46
2 files changed
+21
-10
No files matched your search
+1
-1
@@ -107,7 +107,7 @@ totk.ini.example, VERSION the default ini; the release string (git describe of
|
||||
- Paths may hold any Unicode characters (a Cyrillic user name puts the temp and install folders under it). Every exe
|
||||
the setup runs or builds reads its arguments and paths as UTF-8 through an `activeCodePage` manifest: hactool
|
||||
(`toolchain/hactool/unicode-patches.diff`), totk.exe (`runtime/totk.rc`), ninja (upstream). The Python steps write
|
||||
their files and logs as UTF-8.
|
||||
their files and logs as UTF-8, and `build_game.py` quotes paths with spaces on its Ninja command lines.
|
||||
- A game file whose data fails its hash checks or ends early stops the setup with `check.input_damaged`, which names
|
||||
the file and asks to copy it again (`extract.DamagedFile`). A failed merge checks the base Program NCA alone to tell
|
||||
which file is damaged.
|
||||
|
||||
Reference in new issue
Block a user