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

Can't find game files for The Sims 2 Starter Pack #40

Closed maxizz04 closed 2 months ago

maxizz04 commented 2 months ago

Operating System

Windows 11

Patcher Program Version

v0.1.0

Python Version

No response

Describe the problem

Hey, first of all amazing idea! So i have the Sims 2 Starter Pack and it's a different Path then the original UC Version. It's C:\Program Files (x86)\The Sims 2 Starter Pack. It can't find it automatically which i understand but then i put it in manually and it still couldn't find it. Am i doing something wrong is it a bug?

Traceback

No response

lah7 commented 2 months ago

Hi, are you using the alternate sims2-4k-ui-patch-v0.1.0-windows-x64-for-ultimate-collection.zip version? The main patcher at the moment expects a folder structure for retail discs.

This alternate v0.1.0 patcher version tweaked the code to find any folder named *Sims 2*, so picking C:\Program Files (x86) as the "EA GAMES" folder should recognise the game files, assuming the files are laid out in the same way as the Ultimate Collection. This is just until I properly fix #39.

Since I've not used this unofficial Starter Pack, please could you show me a screenshot of how this folder is laid out?

maxizz04 commented 2 months ago

Hey thanks for replying! So i figured it kinda out. Looks like it only recognizes it if the path is exactly called C:\Program Files (x86)\EA Games\The Sims 2 Ultimate Collection. I renamed the folder from The Sims 2 Starter Pack to The Sims 2 Ultimate Collection and put it in a EA Games Folder. I have a 2k screen, so i thought i'd give it a try. Doesn't really work for me what'd make sense since this fix is desigend for 4k monitors but still nice work! Btw at first i tried to just put the Starter Pack folder in a EA folder and it didn't recognised it until i renamed it how i already said and i've got an error message. Maybe it can help you if you attend to work on this or adjust something. Screenshot 2024-06-24 205758

lah7 commented 2 months ago

Thanks! Everything is a work in progress, and it is an imperfect 'preview/alpha' state at the moment.

Please could you show me the file structure of The Sims 2 Starter Pack? Is it anything like the Ultimate Collection?

'Best of Business'  'Double Deluxe'  'Glamour Life Stuff'  'University Life'
'Bon Voyage'        'Fun with Pets'   Seasons

They store each expansion/stuff pack in folders like so:

EP3  SP5  SP7  VP6

The error could be that the file structure are different again to retail discs and the Ultimate Collection. Once I fix #39, it won't matter where the files are. For now, I can hack a build together if you let me know the structure. We could also try 2K if you like.

maxizz04 commented 2 months ago

It's layed out like that. A fix for 2K if it's something you'd consider would be awesome but you know don't stress yourself for anyone. Screenshot 2024-06-24 222224 Screenshot 2024-06-24 222228

lah7 commented 2 months ago

Good to know! 📂 🔍

Don't worry, hacking the code to make it work a certain way is easy. Doing it properly (#37) needs more time.

I've created two commits. Both should recognise The Sims 2 Starter Pack by selecting the folder.

They're built by the CI system, so need to be logged in to GitHub to download. I briefly tried 2K and it seems to scale as expected, which is good, but consider it experimental and likely to have the same visual glitches as 4K.

maxizz04 commented 2 months ago

Thanks a lot. I forgot to answer. As you said, there's some visual glitches ofc, but the resolution fits.

lah7 commented 2 months ago

Good news! The next version (v0.2.0) of the patcher added support for selecting 2K from the list, as well as correctly detecting The Sims 2 Starter pack.