Skip to content

@Blisto91 [util] Add Package Installer and catch all to Sims 2 pile - #6034

Draft
Blisto91 wants to merge 1 commit into
doitsujin:masterfrom
Blisto91:more-sims2
Draft

Blisto91 wants to merge 1 commit into
doitsujin:masterfrom
Blisto91:more-sims2

Conversation

@Blisto91

@Blisto91 Blisto91 commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #6029

d3d9.memoryTrackTest = True is likely the only interesting part here, but adding to the current pile instead of making a whole separate entry.

Needs a test that it works correctly and also doesn't break the other exe's

Edit: The above only talks about the original Package Installer addition. A catch all for exe's with "Sims 2" in the name has also been added along with TS2ContentManager.

@Blisto91
Blisto91 marked this pull request as draft November 11, 2026 13:31
@Blisto91
Blisto91 marked this pull request as draft November 11, 2026 13:31
@Blayer98

Blayer98 commented Nov 15, 2026 •

Copy link
Copy Markdown

Hey, I just wanted to confirm that the build does indeed work and doesn't break anything to my knowledge. I replaced the files in Proton 11's dxvk folder with the build's files, and PackageInstaller.exe did indeed launch. :)

Please ignore this right now, I've just attempted this again, but with these 2 programs:
HomeCrafter Plus
Content Manager

All of a sudden, these 2 apps are hard freezing my Steam Deck due to high memory usage.
I've replaced the dxvk files with this build, but for some reason, opening the programs via "protontricks-launch" .desktop files, these 2 apps hard freeze my Steam Deck.

PackageInstaller and Body Shop open just fine.

   { R"(\\(Sims2.*|TS2BodyShop|SimsLS|SimsPS|SimsCS)"

I believe this should be altered as this:

   { R"(\\(Sims2.*|TS2BodyShop|SimsLS|SimsPS|SimsCS|TS2HomeCrafterPlus|TS2ContentManager)"

CSBin\PackageInstaller.exe can be connected to it as well

@Blisto91

Copy link
Copy Markdown
Collaborator Author

All of a sudden, these 2 apps are hard freezing my Steam Deck due to high memory usage.

Are you saying they don't work with this PR but did before?

@Blayer98

Blayer98 commented Nov 16, 2026 •

Copy link
Copy Markdown

All of a sudden, these 2 apps are hard freezing my Steam Deck due to high memory usage.

Are you saying they don't work with this PR but did before?

Apologies, it's I think a random bug with Protontricks when I'm using the files from your DXVK build instead of the ones that come with Proton 11, since I have no issues using protontricks-launch on those 2 apps with the Proton 11 DXVK, but with this build, the apps become unresponsive after appearing for a second, or they just crash to desktop, again using protontricks-launch.

They do launch fine in Steam however on both builds, I think it's just an unintentional thing of your and my DXVK builds either being intended for windows or something else and Protontricks not liking it? I presume once the config.cpp is merged into the main repo, and DXVK is included with those changes into Proton, there won't be any issues at all.

The only change I will now suggest as on the issue page for PackageInstaller from my findings on Content Manager is doing this:

    { R"(\\(Sims2.*|TS2BodyShop|SimsLS|SimsPS|SimsCS)"
      R"(|TS2ContentManager|The Sims 2 Content Manager|TS2HomeCrafterPlus)"
      R"(|CSBin\\PackageInstaller)\.exe$)", {{

#6029 (comment)

I've just tested my own build and that piece of code works in my build :)

@Blisto91

Copy link
Copy Markdown
Collaborator Author

How are you using Protontricks with these files? I'm not sure i understand as i haven't used it much.

@Blayer98

Blayer98 commented Nov 16, 2026 •

Copy link
Copy Markdown

How are you using Protontricks with these files? I'm not sure i understand as i haven't used it much.

What I did was go to Steam/steamapps/common/Proton 11.0/files/lib/wine/dxvk and replaced the files in the i386 and x86_64 folder (except for the vr dll) with the ones from both your build and my build.

Both my and your builds had the same issue with Protontricks, but I presume that's because replacing the original dlls broke some links possibly since Proton I think gets built with all dependencies available? That's my guess anyway, but the fact that it works on Steam regardless, makes me think that once this config.cpp gets merged, and DXVK with these changes gets added into the next Proton Experimental version, that the issue won't occur.

    { R"(\\(Sims2.*|TS2BodyShop|SimsLS|SimsPS|SimsCS)"
      R"(|TS2ContentManager|TS2HomeCrafterPlus)"
      R"(|The Sims 2 Content Manager|CSBin\\PackageInstaller)\.exe$)", {{

Putting this in my dxvk build's config.cpp fixed the issue of Content Manager (US Version's named exe) not launching if using the US version of it.

#6029 (comment)
Regarding your comment, I was wondering how that would work in config.cpp, as there's a Sims2.*| entry and was wondering how that works with the exes named Sims2EP3.exe/Sims2SP6.exe for instance.
There's other files included with Sims 2 on disc installs (Double Deluxe) or Ultimate Collection as well, such as:
Modding Tools:

  • PackageInstaller (Should always be in CSBin)
  • TS2BodyShop
  • TS2HomeCrafterPlus
  • TS2ContentManager
  • The Sims 2 Content Manager
  • The Sims 2 -kohteidenhallinta
  • Sprˇvce obsahu hry The Sims 2
  • De Sims 2 MateriaalManager
  • Die Sims 2 ContentManager
  • Les Sims 2 Gestionnaire de Contenu
  • Administrador de contenido de Los Sims 2
    (Taiwan's exe, as mentioned in the PackageInstaller issue, shows up as garbled characters on non-thai language systems)

Game executables:

  • Sims2
  • Sims2EP1
  • Sims2EP2
  • Sims2EP3
  • Sims2EP4
  • Sims2EP5
  • Sims2EP6
  • Sims2EP7
  • Sims2EP8
  • Sims2EP9
  • Sims2SP1
  • Sims2SP2
  • Sims2SP4
  • Sims2SP5
  • Sims2SP6
  • Sims2SP7
  • Sims2SP8

I'll attempt to do a config where Sims 2*/Sims2*/TS2* are added instead of all of the exe names. (Except for PackageInstaller, and the Stories titles.)

@Blisto91

Blisto91 commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator Author

The .* part in Sims2.* means 0 or more of any character, in regex. The dot is the any character part and the asterisk is the 0 or more part.
Said more directly it will match any exe that starts Sims2 and does or doesn't have any more characters behind it.

If we remove the other entries that regex would boil down to just (\\Sims2.*\.exe)$ with \\ meaning we want to look inside a folder and \.exe meaning we want it to end with .exe.
The extra backslash in both is to escape the character that appears immediately after since both \ and . have special meaning in regex and we want to literally look for those two characters as part of the path.

See this example on regex101.com. The green highlight is a match

@Blayer98

Blayer98 commented Nov 16, 2026 •

Copy link
Copy Markdown

I've attempted to fix this in my build by doing this:

    { R"(\\(Sims2.*|TS2.*|Sims 2.*|SimsLS|SimsPS|SimsCS)"
      R"(|CSBin\\PackageInstaller)\.exe$)", {{

All exes starting with TS2 or Sims2 started up correctly with this, but any program starting with The Sims 2/The Sims 2 Content Manager in it (the Content Manager exes with different languages including UK English) would not start up and instead start using too much memory than is needed as mentioned in the issue page.

So I attempted to fix this by including a wildcard before "Sims 2" but this, for me, resulted in kernelbase crashing right after Xalia displaying it's log in the proton log, so I fixed that by doing the .* regex inside the round brackets.

    { R"(\\(Sims2.*|TS2.*|(.*)?Sims 2.*|SimsLS|SimsPS|SimsCS)"
      R"(|CSBin\\PackageInstaller)\.exe$)", {{

This fixed "The Sims 2 Content Manager.exe" not opening under DXVK, and then I tested two of the other language versions of Content Manager, and tested the Spanish and Czechia versions under their exe names, and I can confirm that both exe names worked and DXVK was able to load the built-in config for them.

Successful launch of The Sims 2 Content Manager under DXVK.zip
Czechia Content Manager Successful Launch.zip
Spanish Content Manager Successful Launch.zip

Only one I can't exactly fix atm is the Taiwan version of Content Manager, which shows up as this in English:
°mº“¿¿•´•¡ 2°n§∫Æe∫fi≤z§∂≠±

It's supposed to be this: 《模擬市民2》™ 內容管理器 and from the actual proper download from TS2's website from Archive.org, it's displayed in English as this:
ím╝╥└└ѽÑ┴ 2ínñ║«e║▐▓zñ╢¡▒/ím╝╥└└ѽÑ┴ 2ínñ║«e║▐▓zñ╢¡▒

The downloads from SimFileShare are not the original "CM_XX.zip" files btw, and I'm pretty certain the original downloads did contain exes for every CM version. (** being the language code, TW for Taiwan or CN for China) SOme of the SimFileShare exe names in other languages are not the original names either, but most of them should work as from my own findings, they should have "Sims 2" in the name.
Only ones that don't are China, Taiwan, and Korea.

The above config that has |(.*)?Sims 2.*| in it can simply be added into your config.cpp and then hopefully this should be able to be merged, I seriously doubt any issues will occur with any other games since it's still looking for "Sims 2" in the title.

@Blisto91

Blisto91 commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator Author

@WinterSnowfall came up with this latest eyesore.
Now besides adding Package Installer we also have a catch all for exe's with "Sims 2" in the name. Also TS2ContentManager

@Blisto91 Blisto91 changed the title [util] Add Package Installer to Sims 2 pile @Blisto91 [util] Add Package Installer and catch all to Sims 2 pile Nov 16, 2026
@Blayer98

Blayer98 commented Nov 16, 2026 •

Copy link
Copy Markdown

@WinterSnowfall came up with this latest eyesore. Now besides adding Package Installer we also have a catch all for exe's with "Sims 2" in the name. Also TS2ContentManager

I didn't even realise, but PackageInstaller is located in TSBin for all 3 Sims Stories games! Sorry, I only just re-installed them and noticed that they moved PackageInstaller out of CSBin since that folder is gone on those 3 games for some reason... Body Shop is gone from the stories games as well.

|(TS|CS)?Bin\\PackageInstaller)\

This should fix that for the Stories games and then that should be everything done to my knowledge.

I just confirmed on my build that the changes in this commit are indeed working, all of the below are working:

Content Manager (TSContentManager, and all different language versions of it except for Taiwan, China, and Korea due to different encoding, they can simply be renamed.)
HomeCrafter Plus
Body Shop
PackageInstaller (TS2 only, Stories games moved this into TSBin)
The Sims 2 (plus all EPs and SPs)
The Sims Life Stories
The Sims Pet Stories
The Sims Castaway Stories

@WinterSnowfall

Copy link
Copy Markdown
Contributor

@WinterSnowfall came up with this latest eyesore. Now besides adding Package Installer we also have a catch all for exe's with "Sims 2" in the name. Also TS2ContentManager

I didn't even realise, but PackageInstaller is located in TSBin for all 3 Sims Stories games! Sorry, I only just re-installed them and noticed that they moved PackageInstaller out of CSBin since that folder is gone on those 3 games for some reason... Body Shop is gone from the stories games as well.

Should just be |(TS|CS)Bin\\PackageInstaller)\ then, otherwise it would also match just Bin\\. But yeah, sounds like a final correction to make before it's good to go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The Sims 2 - PackageInstaller.exe using a ton of memory and then freezing Steam Deck.

3 participants