johnjohto
9ec3ff26d8
Fix launcher crash on non-ASCII picked filenames ( #325 )
...
The Windows pickers shell out to PowerShell, which writes the chosen
path in the console's OEM codepage (CP437 on en-US): a file named
"Pokémon ...zip" came back as Pok\x82mon. The import then failed and
the error notice carrying those bytes hard-crashed the mods panel's
UTF-8-validating text draw.
- All three Windows picker scripts (ROM, mod, save) now force
[Console]::OutputEncoding to UTF-8, so returned paths and any notice
built from them are valid.
- The mod picker also copies the pick to a plain-ASCII temp name and
returns that, so a non-ASCII filename actually imports instead of
failing the io.open (Windows io.open needs ANSI bytes).
2026-07-27 22:08:57 -04:00
..
2026-07-19 16:18:18 -04:00
2026-07-27 13:37:05 -04:00
2026-07-27 22:08:57 -04:00
2026-07-19 16:18:18 -04:00
2026-07-19 16:18:18 -04:00
2026-07-27 07:06:53 -04:00
2026-07-17 20:30:02 -04:00
2026-07-19 16:18:18 -04:00
2026-07-27 10:04:35 -04:00
2026-07-19 16:18:18 -04:00
2026-07-22 12:28:51 -04:00
2026-07-25 12:36:53 -04:00
2026-07-23 15:17:20 -04:00
2026-07-25 12:36:53 -04:00
2026-07-26 14:11:07 -04:00
2026-07-19 16:18:18 -04:00
2026-07-23 16:55:03 -04:00
2026-07-27 08:37:11 -04:00
2026-07-24 10:12:27 -04:00
2026-07-19 16:18:18 -04:00
2026-07-19 16:18:18 -04:00
2026-07-25 12:36:53 -04:00
2026-07-27 13:37:05 -04:00
2026-07-19 16:18:18 -04:00
2026-07-25 12:36:53 -04:00
2026-07-27 10:04:35 -04:00
2026-07-24 09:06:29 -04:00
2026-07-19 16:18:18 -04:00
2026-07-27 13:37:05 -04:00
2026-07-27 13:39:12 -04:00
2026-07-27 13:38:17 -04:00
2026-07-27 10:04:35 -04:00
2026-07-25 12:36:53 -04:00
2026-07-25 12:36:53 -04:00
2026-07-24 09:06:29 -04:00
2026-07-21 05:50:40 -04:00
2026-07-27 13:37:05 -04:00
2026-07-24 09:26:43 -04:00
2026-07-23 15:42:54 -04:00
2026-07-24 09:06:29 -04:00
2026-07-23 16:55:03 -04:00
2026-07-25 12:36:53 -04:00
2026-07-23 15:42:54 -04:00
2026-07-21 14:52:45 -04:00
2026-07-19 16:18:18 -04:00
2026-07-25 12:36:53 -04:00
2026-07-24 09:06:29 -04:00
2026-07-21 05:50:40 -04:00
2026-07-24 09:06:29 -04:00
2026-07-19 16:18:18 -04:00
2026-07-27 13:37:05 -04:00
2026-07-27 13:37:05 -04:00
2026-07-19 16:18:18 -04:00
2026-07-19 16:18:18 -04:00
2026-07-24 09:26:43 -04:00
2026-07-26 13:38:52 -04:00
2026-07-26 13:38:52 -04:00
2026-07-27 13:37:05 -04:00
2026-07-24 09:26:43 -04:00
2026-07-19 16:18:18 -04:00
2026-07-24 09:06:29 -04:00
2026-07-24 09:06:29 -04:00
2026-07-19 16:18:18 -04:00
2026-07-24 09:06:29 -04:00
2026-07-23 16:55:03 -04:00
2026-07-25 12:36:53 -04:00
2026-07-21 05:50:40 -04:00
2026-07-23 16:55:03 -04:00
2026-07-24 09:26:43 -04:00
2026-07-23 16:55:03 -04:00
2026-07-24 09:06:29 -04:00
2026-07-25 12:36:53 -04:00
2026-07-27 13:37:05 -04:00
2026-07-24 09:06:29 -04:00
2026-07-25 12:36:53 -04:00
2026-07-25 12:36:53 -04:00
2026-07-21 05:50:40 -04:00
2026-07-23 16:55:03 -04:00
2026-07-19 16:18:18 -04:00
2026-07-24 09:06:29 -04:00
2026-07-27 13:37:05 -04:00
2026-07-27 13:37:05 -04:00
2026-07-19 16:18:18 -04:00
2026-07-24 09:26:43 -04:00
2026-07-27 13:37:05 -04:00
2026-07-25 12:36:53 -04:00
2026-07-25 12:36:53 -04:00
2026-07-19 16:18:18 -04:00
2026-07-24 09:06:29 -04:00
2026-07-27 09:05:57 -04:00
2026-07-25 12:36:53 -04:00
2026-07-23 16:55:03 -04:00
2026-07-19 16:18:18 -04:00
2026-07-19 16:18:18 -04:00
2026-07-26 13:38:52 -04:00
2026-07-27 08:37:11 -04:00
2026-07-27 10:04:35 -04:00
2026-07-27 10:38:03 -04:00
2026-07-25 12:36:53 -04:00
2026-07-27 10:04:35 -04:00
2026-07-17 20:30:02 -04:00
2026-07-17 20:30:02 -04:00
2026-07-17 20:30:02 -04:00
2026-07-27 07:06:53 -04:00