Skip to content

Releases: lah7/sims2-4k-ui-patch

v0.3.0

21 Apr 14:21
819e587
Compare
Choose a tag to compare

✅ The game is considered playable, with mostly minor bugs. With the UI data now accurately upscaled, many visual bugs and gameplay breaking issues since the last release have been fixed!

The patcher program now makes efficient use of the CPU cores. Up to 78%* quicker!

Changes since v0.2.0

  • New project icon.
  • New GUI toolkit (PyQt6)
  • Optimise the patching process by using multiple CPU cores.
  • Improve support for different releases of the game (Ultimate Collection, Life Stories)
  • Improve automatic detection of default installation directory.
  • Fix in-game keyboard accelerators when using uncompressed option.
  • Fix in-game UI debugger not appearing.

Technical changes since v0.2.0

  • Graphics in objects.package are patched into the "Overrides" folder.
  • Skip specific graphics for better results (such as dialog backgrounds)
  • Optimise speed when reading packages.
  • Improve handling when a package lies about what is compressed.
  • Improve memory management when decompressing files.
  • Add serialisation for UI scripts, including its quirks (duplicate attributes, multiline)
  • Prevent compression of files above 16 MiB.

Also releasing: a UI inspector!

Home grown and spun off from this project, S2UI Inspector allows you to inspect the scripts, elements and attributes that make up the UI for The Sims 2. It's been invaluable for analysing the UI to help fix bugs. Who knows, maybe it will even allow for easy UI editing in future!

https://github.com/lah7/sims2-ui-inspector

Screenshot of S2UI Inspector v0.2.0

Known Issues

  • Pie menus purposefully don't show the Sim head and may overlap when there is a lot of options (#20)
  • The loading screens is still small (#47)
  • Sim portraits when using the phonebook are small (#60)
  • Cursor is truncated while panning the camera (#56)
  • UI mods are not supported yet, but it may be possible to hack the program[1] in the meantime.

* Based on a i5-13600K CPU. Patched without compression. Comparing v0.2.0 limited to a single thread (127 seconds) and v0.3.0 using 20 threads (27 seconds). v0.3.0 processes more files then v0.2.0.

v0.2.0

25 Aug 17:06
8c0ab9f
Compare
Choose a tag to compare

This is a preview release for keen players to try out The Sims 2 in 2K/4K if don't mind UI interface issues or potential gameplay regressions.

For example, you can't currently see the 📞 phonebook, who's furious 😠 with your Sim, and some things may appear small and squishy 📐.

Changes since v0.1.0

  • Add support for The Sims 2 Ultimate Collection (Origin)
  • Add support for The Sims 2 Starter Pack
  • Add option to choose scaling (for 2K or 4K display)
  • Add option to choose upscale filter (experimental)
  • Update patcher interface layout and colours (experimental)
  • Prevent unnecessary disk scanning if game folder input was left blank
  • New project icon!

Technical changes since v0.1.0

  • Optimise lookup for compressed packages
  • Add compatibility for DBPF index 7.2
  • Correct erroneous DBPF version for patched packages
    • Game files patched with v0.1.0 were incorrectly written as DBPF v1.2 (instead of v1.1), although the game didn't complain.
  • Internal refactoring to improve code readability

Upgrade notes

  • ❌ This release doesn't introduce any new patches or fixes to the game experience.
  • ⚠️ Running v0.2.0 will prompt to "update" (re-patch) everything due to structural changes to our metadata.
    • Apart from 1 byte, the patched packages are identical to v0.1.0.
  • 🍃 To conserve energy/time, consider skipping this release to avoid re-patching for the same results as v0.1.0.

v0.1.0

13 Jun 07:53
000ad59
Compare
Choose a tag to compare

This is a preview release for keen players to try out The Sims 2 in 4K if don't mind UI interface issues or potential gameplay regressions.

For example, you can't currently see the 📞 phonebook, who's furious 😠 with your Sim, and some things may appear small and squishy 📐

If you see something new that don't happen under 1920x1080 (unpatched), please take a screenshot in a new issue so we can keep track as we make progress on this project.

⚠️ Ultimate Collection users need to use the alternate zip folder. This version of the game hasn't been tested. At the moment, the patcher is designed around the retail discs file structure.