统一指挥2

统一指挥2

查看统计:
DoomBTL 9 月 22 日 上午 7:17
crash at the end of "march to leningrad"
hello,

was playing that szenario mission and shortly before the end game crashed with python error.
Now game crashes when i try to continue my savegame.
I already verified the gamefiles and completely re-installed the game.

Hopefully someone can help me fix the issue.

Cheers

Log:
ERR 2025-09-22 16:15:21,575 uoc2-exe:24 Traceback (most recent call last):
ERR 2025-09-22 16:15:21,575 uoc2-exe:24 File "uoc2-exe.py", line 17, in <module>
ERR 2025-09-22 16:15:21,575 uoc2-exe:24 File "C:\Code\uoc2\uoc2\main.py", line 311, in main
ERR 2025-09-22 16:15:21,575 uoc2-exe:24 File "C:\Code\uoc2\engine\ui\system.py", line 690, in main_loop
ERR 2025-09-22 16:15:21,575 uoc2-exe:24 File "C:\Code\uoc2\engine\ui\system.py", line 1051, in _run_coroutines_and_signals
ERR 2025-09-22 16:15:21,575 uoc2-exe:24 File "C:\Code\uoc2\tools\coroutine.py", line 107, in cr_switch
ERR 2025-09-22 16:15:21,575 uoc2-exe:24 File "C:\Code\uoc2\tools\coroutine.py", line 137, in switch
ERR 2025-09-22 16:15:21,575 uoc2-exe:24 File "C:\Code\uoc2\uoc2\main_screen\ctrl.py", line 1840, in _cr_setup_world
ERR 2025-09-22 16:15:21,575 uoc2-exe:24 File "C:\Code\uoc2\engine\ui\state.py", line 110, in _switch_state
ERR 2025-09-22 16:15:21,575 uoc2-exe:24 File "C:\Code\uoc2\engine\ui\state.py", line 121, in _switcher_gen
ERR 2025-09-22 16:15:21,575 uoc2-exe:24 File "C:\Code\uoc2\engine\ui\state.py", line 186, in dispatch_internal_event
ERR 2025-09-22 16:15:21,575 uoc2-exe:24 File "C:\Env\Py311\Lib\site-packages\pydispatch\robustapply.py", line 55, in robustApply
ERR 2025-09-22 16:15:21,575 uoc2-exe:24 File "C:\Code\uoc2\uoc2\main_screen\ctrl.py", line 385, in on_leave__campaign
ERR 2025-09-22 16:15:21,575 uoc2-exe:24 File "C:\Code\uoc2\engine\ui\ctrl.py", line 30, in deactivate
ERR 2025-09-22 16:15:21,575 uoc2-exe:24 File "C:\Code\uoc2\engine\ui\state.py", line 110, in _switch_state
ERR 2025-09-22 16:15:21,576 uoc2-exe:24 File "C:\Code\uoc2\engine\ui\state.py", line 121, in _switcher_gen
ERR 2025-09-22 16:15:21,576 uoc2-exe:24 File "C:\Code\uoc2\engine\ui\state.py", line 186, in dispatch_internal_event
ERR 2025-09-22 16:15:21,576 uoc2-exe:24 File "C:\Env\Py311\Lib\site-packages\pydispatch\robustapply.py", line 55, in robustApply
ERR 2025-09-22 16:15:21,576 uoc2-exe:24 File "C:\Code\uoc2\uoc2\main_screen\campaign_ctrl.py", line 158, in on_leave__active
ERR 2025-09-22 16:15:21,576 uoc2-exe:24 File "C:\Code\uoc2\uoc2\state\campaign\campaign.py", line 260, in save
ERR 2025-09-22 16:15:21,576 uoc2-exe:24 File "C:\Code\uoc2\tools\serialization.py", line 300, in __exit__
ERR 2025-09-22 16:15:21,576 uoc2-exe:24 File "C:\Code\uoc2\tools\serialization.py", line 571, in _rebuild_zip
ERR 2025-09-22 16:15:21,576 uoc2-exe:24 File "C:\Programs\Python311\Lib\zipfile.py", line 1508, in read
ERR 2025-09-22 16:15:21,576 uoc2-exe:24 File "C:\Programs\Python311\Lib\zipfile.py", line 937, in read
ERR 2025-09-22 16:15:21,576 uoc2-exe:24 File "C:\Programs\Python311\Lib\zipfile.py", line 1041, in _read1
ERR 2025-09-22 16:15:21,576 uoc2-exe:24 File "C:\Programs\Python311\Lib\zipfile.py", line 969, in _update_crc
ERR 2025-09-22 16:15:21,576 uoc2-exe:24 zipfile.BadZipFile: Bad CRC-32 for file 'games/smolensk/archive'
最后由 DoomBTL 编辑于; 9 月 22 日 上午 7:19
< >
正在显示第 1 - 6 条,共 6 条留言
一不小心把比例调整了,调不回去了怎么办?😭
tomislav.uzelac  [开发者] 9 月 22 日 下午 12:26 
@DoomBTL: I got your email - your saved game file is corrupted. I am still looking into how it got there and if it can be "fixed" so you can continue.
tomislav.uzelac  [开发者] 9 月 22 日 下午 12:27 
@1590922090: go to the ".uoc2" folder as described in this guide:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2913490529

In that folder, delete the file "settings.yml".

Restart the game.
DoomBTL 9 月 22 日 下午 1:12 
引用自 tomislav.uzelac
@DoomBTL: I got your email - your saved game file is corrupted. I am still looking into how it got there and if it can be "fixed" so you can continue.

thank you very much!
DoomBTL 9 月 23 日 上午 9:17 
引用自 tomislav.uzelac
@DoomBTL: I got your email - your saved game file is corrupted. I am still looking into how it got there and if it can be "fixed" so you can continue.

hello Sir. looks like i was able to fix the crc error in my savegame. used 7zip to fix the crc of games/smolensk/archive.

cheers
tomislav.uzelac  [开发者] 9 月 26 日 上午 2:25 
That's great to hear.

I am moving the discussion to "tech support".

Cheers!
< >
正在显示第 1 - 6 条,共 6 条留言
每页显示数: 1530 50