sims2-4k-ui-patch icon indicating copy to clipboard operation
sims2-4k-ui-patch copied to clipboard

Crashes with IndexError trying to patch repack version of game

Open littlertom opened this issue 1 year ago • 1 comments

Operating System

Windows 11

Patcher Program Version

v0.1.0

Installation Type

Repack or other automated installation

Describe the problem

Opening the patcher and reads C:\Program Files (x86)\EA Games then it crashes with error below

SC

EA Games folder has read/write permissions on users, administators and trustedinstaller I've also tried moving the folder somewhere else but it stays on Checking for patches forever...

Traceback

Traceback (most recent call last):
File
"D:\a\sims2-4k-ui-patch\sims2-4k-ui-patch\venv\Lib\site-packa
ges\cx_Freeze\initscripts\__startup__.py", line 141, in run
File
"D:\a\sims2-4k-ui-patch\sims2-4k-ui-patch\venv\Lib\site-packa
ges\cx_Freeze\initscripts\console.py", line 25, in run
File "sims2_4k_ui_patcher.py", line 503, in <module>
File "sims2_4k_ui_patcher.py", line 161, in __init__
File "sims2_4k_ui_patcher.py", line 261, in
refresh_game_status
File "D:\a\sims2-4k-ui-patch\sims2-4k-ui-patch\gamefile.py",
line 43, in __init__
IndexError: list index out of range
OK

littlertom avatar Jul 24 '24 07:07 littlertom

Please try the latest build (soon to be v0.2.0), this addressed issues reading non-retail versions of the game.

You can download an artifact for the most recent one (at time of writing) here:

  • https://github.com/lah7/sims2-4k-ui-patch/actions/runs/9981904831/artifacts/1712716462
  • (or any one else seeing this in future, build-windows-x64 from the latest workflow build list)

lah7 avatar Jul 24 '24 08:07 lah7

v0.2.0 has been released, which improves support for non-retail versions of the game, and fixes this error.

lah7 avatar Aug 25 '24 17:08 lah7