mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-16 13:59:56 -04:00
windres (binutils) opens its files and starts its preprocessor through the system's ANSI code page. A build or user folder whose name holds a character outside that code page (Victor with an accent on a Cyrillic Windows, a Japanese user name, a folder named with a full-width colon) failed the Compile step with "Invalid argument" or "Cannot create temporary file". make_game.py now writes runtime/nx2navi.rc's two resources as a .res file itself (resource_file) and hands it to lld, which builds the resource section from it and opens paths as Unicode. The resources come out as windres made them: the manifest as 24/1, the icon's images as RT_ICON 1..7 and their group as RT_GROUP_ICON 1, US English. Without lld the windres path stays. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
84 KiB
84 KiB