lah7 / sims2-4k-ui-patch

Work in progress patch program to upscale The Sims 2's UI for 4K displays
GNU General Public License v3.0
30 stars 2 forks source link

Crashes with IndexError trying to patch repack version of game #43

Closed littlertom closed 2 weeks ago

littlertom commented 1 month ago

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
lah7 commented 1 month ago

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:

lah7 commented 2 weeks ago

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