Skip to content

Releases: thpatch/thcrap

2020-04-08

08 Apr 21:29
Compare
Choose a tag to compare
thcrap
  • let codecaves refer to each other (6130c65)
  • Fix allocation size bug in codecaves (278534f)
  • codecaves: allow specifying the memory protection of the codecaves (98675e1)
thcrap-tsa
  • th06: end: detect @ in a correct way (cd6c28d)
  • th06: end: don't rely on @z (a9a707c)

2020-04-03

03 Apr 12:11
Compare
Choose a tag to compare

A few smallish features - base support for replay files renaming, a retry button on JSON parsing error (so that you can fix your JSON file without closing / reopening the whole game), a few fixes for potential memory issues...
And one big feature - support for th06-th09 endings.

thcrap
  • Allow absolute path for patch location (8d1f4e9)
  • Allow changing hardcoded strings for FindFirstFileA calls (469f77a)
  • Allow changing hardcoded stings for CreateFileA calls (a48053e)
  • Retry button for JSON errors (239ca15, 1f0ded3)
thcrap_update
  • In the "disable updates?" popup, tell that we didn't create the bat file yet. (219685a)
thcrap_configure
  • Change advert to UTL (7eb06e0)
  • Add hint to avoid static English patches (5dd735f)
thcrap_tsa

2019-12-29

29 Dec 17:21
Compare
Choose a tag to compare

Hopefully, this will fix a few more problems with the restructuring update.

thcrap_loader

2019-12-27

27 Dec 22:24
Compare
Choose a tag to compare

Hopefully this will help a bit with the crashs people are experiencing since the last big update

thcrap_loader
  • Fix a few memory errors around the run_cfg fn (397cd66)

2019-12-18

18 Dec 23:01
Compare
Choose a tag to compare

This release should fix the last problems for Wine users.

thcrap
  • Log: stack trace now prints \n when mod is null (54f9ea4)
  • Null checks in json_object_foreach (dec4b6f)
thcrap_update
  • Sisabling updates via GUI works again (897ab6c)

2019-12-17

16 Dec 23:44
Compare
Choose a tag to compare
thcrap
thcrap_tasofro
  • Fix bmpfont plugins path (0cd378e)

2019-12-14

14 Dec 16:38
Compare
Choose a tag to compare

Okay, so... You may have noticed the version 2019-07-18 doesn't update automatically to the last release (2019-10-05). That's... because the update code in 2019-07-18 was broken. Actually it have always been broken, it have never been able to create directories, because of a tiny error. But we noticed it only now because that's the 1st time we try to create a directory.
Anyway, because of that, we disabled updates, and spent some time trying to mitigate this issue as much as we could. We can now reenable them. The update should work if you used 2019-07-18.

BUT
If you updated manually to the last version (2019-10-05), the auto-update will NOT work. You need to update manually by unzipping this release over your current thcrap, or to redo a clean thcrap install/

Update
  • unzip: don't fail when creating a new directory. (cbba421)
  • Implemented incremental update (20c2a33)
  • Look for the latest version in thcrap_update.js (01a7faf)
  • Run the self update before updating core patches. (b2a423a)
  • postupdate: Fix the restructuring -> version-resolve -> last release scenario. (774dcca)
  • Run the update code even if repos already exists. (26bd8aa)
  • Add a dummy version-resolve-installed.dat to detect when we went through the version-resolve version (3858111)

2019-12-13 - Version-resolve fix

14 Dec 16:36
Compare
Choose a tag to compare

This version isn't a true version, but an intermediate version used in the process of mitigating the update issues.
See the 2019-12-14 patch notes for more details.

2019-10-05

05 Oct 21:49
Compare
Choose a tag to compare

Clean up the thcrap directory.

We used to dump everything at the root of the thcrap directory. DLLs, repository... This have always bothered me. Now, the root directory contains only thcrap_configure, thcrap_loader, your shortcuts to run the games, and 4 directories containing all the stuff that used to be in the root directory.

Also, if you're updating from an older version, all the files are moved to match the new architecture.

See #100 for more discussion, and 775351d...8411392 for all the commits.

restructuring RC4

22 Sep 09:26
Compare
Choose a tag to compare
restructuring RC4 Pre-release
Pre-release

There have been this big "restructuring" thing in the issue #100, and it's getting ready to be published. It's quite a big change, so we won't apply our usual "hope it works and hotfix if it doesn't", we'll do some more testing (and RC1 had more than 10 bugs, so we definitely needed some more testing). And you're welcome to test with us!

So, basically, the point of all this is to remove a lot of clutter from the thcrap directory, and to put it into subdirectories. It doesn't really change anything, but you'll have a lot less stuff you don't care about (and if you do care about it, it's still in the directories, look there).

How to test:

  • Clean install: just download it, unzip it, and run thcrap_configure, like with a normal release
    Or
  • Update: decompress everything in your thcrap directory, then run a game.

We're mostly interested about testing for updates. Of course clean installs have to be tested as well, but on updates, we try to update the directory structure automatically. It should work. It works on my computer. But we'd like to be sure it works for everyone. And, remember the "more than 10 bugs" from above? They were all in the update process.

One final note: this version can't update to a new version automatically. When we release a new version, you will have to install it automatically (you will have an error message talking about missing signature).

Changes since RC3:

  • Saved postupdate stuff in a log file
  • Fix one million bugs in the file moving code
  • Delete 0-byte files from an old installation