Skip to content

Commit

Permalink
Rename project to "sims2-4k-ui-patch"
Browse files Browse the repository at this point in the history
To be more accurate that this is a patcher program, and not a "mod" you
can just download and install to a folder.
  • Loading branch information
lah7 committed Jun 1, 2024
1 parent 43246b1 commit 2faa5d2
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- name: Download Test File
run: |
wget https://github.com/lah7/sims2-4k-ui-mod/files/10831338/ui.package.zip
wget https://github.com/lah7/sims2-4k-ui-patch/files/10831338/ui.package.zip
mkdir -p tests/files/
mv ui.package.zip tests/files/ui.package.xz
xz -d tests/files/ui.package.xz
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# The Sims 2 4K UI Mod
# 4K UI Patch for The Sims 2

A patch utility to upscale The Sims 2's user interface for 4K (HiDPI) displays.

Expand All @@ -23,9 +23,9 @@ Yes, but there's [few visual UI glitches] that may degrade the gameplay experien

If you've like to **get involved**, [check out the issues] or [report any issues]. Some things are still misaligned or could be improved.

[few visual UI glitches]: https://github.com/lah7/sims2-4k-ui-mod/issues?q=is%3Aissue+is%3Aopen+label%3A%22visual+bug%22
[check out the issues]: https://github.com/lah7/sims2-4k-ui-mod/issues?q=is%3Aissue+is%3Aopen+label%3A%22visual+bug%22
[report any bugs]: https://github.com/lah7/sims2-4k-ui-mod/issues/new/choose
[few visual UI glitches]: https://github.com/lah7/sims2-4k-ui-patch/issues?q=is%3Aissue+is%3Aopen+label%3A%22visual+bug%22
[check out the issues]: https://github.com/lah7/sims2-4k-ui-patch/issues?q=is%3Aissue+is%3Aopen+label%3A%22visual+bug%22
[report any issues]: https://github.com/lah7/sims2-4k-ui-patch/issues/new/choose


## Instructions
Expand Down Expand Up @@ -57,7 +57,7 @@ The program automatically checks this repository for an update, to ensure you ha
[The Sims 2 is playable under Wine!] For the best patching performance,
run this patch program natively under Python.

1. Download the [latest ZIP of this repository](https://github.com/lah7/sims2-4k-ui-mod/archive/refs/heads/master.zip).
1. Download the [latest ZIP of this repository](https://github.com/lah7/sims2-4k-ui-patch/archive/refs/heads/master.zip).

2. Extract the contents and run:

Expand All @@ -68,7 +68,7 @@ run this patch program natively under Python.

Ironically, the patcher interface (built with TK) may not scale well on a 4K display.

[Releases]: https://github.com/lah7/sims2-4k-ui-mod/releases/latest
[Releases]: https://github.com/lah7/sims2-4k-ui-patch/releases/latest
[The Sims 2 is playable under Wine!]: https://github.com/lah7/sims-2-wine-patches


Expand Down Expand Up @@ -139,4 +139,4 @@ Thank you to these wiki pages for documenting the UI files and DBPF format:
* <https://simswiki.info/index.php?title=DBPF_Compression>
* <https://simswiki.info/index.php?title=E86B1EEF>

Thank you to [contributors](https://github.com/lah7/sims2-4k-ui-mod/graphs/contributors) who committed fixes!
Thank you to [contributors](https://github.com/lah7/sims2-4k-ui-patch/graphs/contributors) who committed fixes!
2 changes: 1 addition & 1 deletion gamefile.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def write_meta_file(self):
raise RuntimeError("Not patched or backup file missing!")

with open(self.meta_path, "w", encoding="utf-8") as f:
f.write("# This file was patched by lah7/sims2-4k-ui-mod.\n")
f.write("# This file was patched by lah7/sims2-4k-ui-patch.\n")
f.write("# It is recommended to keep this file (and the .bak) so you can update the patches or revert without reinstalling the game.\n")
f.write("# Do not change the contents of this file!\n")
f.write("\n")
Expand Down
4 changes: 2 additions & 2 deletions sims2_4k_ui_patcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"EA GAMES",
]

PROJECT_URL = "https://github.com/lah7/sims2-4k-ui-mod"
PROJECT_URL = "https://github.com/lah7/sims2-4k-ui-patch"


class PatcherApplication(tk.Tk):
Expand Down Expand Up @@ -161,7 +161,7 @@ def _check_for_updates(self):
Check the GitHub repository for a newer version and quietly inform the user.
"""
try:
r = requests.get("https://raw.githubusercontent.com/lah7/sims2-4k-ui-mod/master/version.txt", timeout=3)
r = requests.get("https://raw.githubusercontent.com/lah7/sims2-4k-ui-patch/master/version.txt", timeout=3)
except (requests.exceptions.RequestException, requests.exceptions.Timeout):
return

Expand Down

0 comments on commit 2faa5d2

Please sign in to comment.