Releases: thpatch/thcrap
2020-04-08
2020-04-03
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
thcrap_tsa
2019-12-29
Hopefully, this will fix a few more problems with the restructuring update.
thcrap_loader
- Fix 2 buffer overruns. (113d1b2)
2019-12-27
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
2019-12-17
2019-12-14
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
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
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
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