ParadoxGameConverters / Vic3ToHoI4

Converts Victoria 3 games to Hearts of Iron 4 mods
MIT License
42 stars 19 forks source link

Error and Garbled Text in Error Message #608

Closed tategotoazarasi closed 6 months ago

tategotoazarasi commented 6 months ago

I encountered an error and garbled text in the error message when using the Vic3 to HoI4 converter. The process did not complete successfully.

The converter stopped working and displayed an error message that was not readable due to garbled text. Here is log.txt:

2024-04-13 19:17:33     [INFO] 
2024-04-13 19:17:33     [INFO] 
2024-04-13 19:17:33     [INFO] ************ -= The Paradox Game Converters Group =- *****************
2024-04-13 19:17:33     [INFO] * Converter version 0.4.15 "TBD"
2024-04-13 19:17:33     [INFO] * Compatible with Vic3 [v1.3-v1.6] and HoI4 [v1.14]
2024-04-13 19:17:33     [INFO] * Built on Tue Apr  9 19:43:42 2024
2024-04-13 19:17:33     [INFO] ************************** + Vic3 To HoI4 + **************************
2024-04-13 19:17:33     [INFO] 
2024-04-13 19:17:33     [INFO]  Hearts of Iron 4 install path is C:\SteamLibrary\steamapps\common\Hearts of Iron IV
2024-04-13 19:17:33     [INFO]  Victoria 3 Steam mod path is C:\SteamLibrary\steamapps\common\Victoria 3/../../workshop/content/529340
2024-04-13 19:17:33     [INFO]  Victoria 3 install path is C:\SteamLibrary\steamapps\common\Victoria 3
2024-04-13 19:17:33     [INFO]  Victoria 3 mod path is C:\Users\tategotoazarasi\OneDrive\文档\Paradox Interactive\Victoria 3\mod
2024-04-13 19:17:33     [INFO]  Hearts of Iron 4 mod path is C:\Users\tategotoazarasi\OneDrive\文档\Paradox Interactive\Hearts of Iron IV\mod
2024-04-13 19:17:33     [INFO]  Save game is C:\Users\tategotoazarasi\OneDrive\文档\Paradox Interactive\Victoria 3\save games\observer_1936_01_01.v3
2024-04-13 19:17:33     [INFO]  Debug is not active
2024-04-13 19:17:33     [INFO]  Output name is 
2024-04-13 19:17:33     [INFO]  Dynamic resources is active
2024-04-13 19:17:33     [INFO] Using output name observer_1936_01_01
2024-04-13 19:17:33 [PROGRESS] 0%
2024-04-13 19:17:33     [INFO] *** Hello Vic3, loading World. ***
2024-04-13 19:17:33     [INFO]  Importing original strategic regions
2024-04-13 19:17:36 [PROGRESS] 1 %
2024-04-13 19:17:39 [PROGRESS] 2 %
2024-04-13 19:17:43 [PROGRESS] 3 %
2024-04-13 19:17:47 [PROGRESS] 4 %
2024-04-13 19:17:51 [PROGRESS] 5 %
2024-04-13 19:17:55 [PROGRESS] 6 %
2024-04-13 19:17:59 [PROGRESS] 7 %
2024-04-13 19:18:03 [PROGRESS] 8 %
2024-04-13 19:18:07 [PROGRESS] 9 %
2024-04-13 19:18:21     [INFO]  Initializing coastal provinces
2024-04-13 19:18:29     [INFO] Converter exited at: 56 seconds.
2024-04-13 19:18:29    [ERROR] file_size: ϵͳ Ҳ   ָ    ·    : "C:\Users\tategotoazarasi\OneDrive\文档\Paradox Interactive\Victoria 3\save games\observer_1936_01_01.v3"
2024-04-13 19:18:29    [ERROR] Converter Error! See log.txt for details.
2024-04-13 19:18:29    [ERROR] If you require assistance please upload log.txt to forums for a detailed post-mortem.

I am using Windows with Simplified Chinese as the system language, and the game language are set to English.

Idhrendur commented 6 months ago

Unfortunately the tool we use to decode saves from binary doesn't properly handle paths with non-ascii characters in the path. Try moving the save to a path without any chinese.

Also note that hoi4 has problems with those paths as well. It's likely you'll see the conversion mod in the launcher but the game itself will ignore it. If that happens, you can upload it to the Steam workshop, subscribe, then remove the original copy.