Skip to content

Releases: thpatch/thcrap

2023-11-29

29 Nov 11:09
Compare
Choose a tag to compare

Fixes a crash in Touhou 16.5, and do some improvements on both the games' icons and our own icons (and by "improvements", I mean having them actually work when they didn't).

thcrap
thcrap_tsa
  • Properly load game icon in RegisterClass (37aef68)
thcrap_loader
  • Load the icon for our updater window (c46c3c9)

2023-11-14

14 Nov 00:01
Compare
Choose a tag to compare

New binhacks features, and a small thing for th175 greedy trial translation.

thcrap
  • Removed errno/locale BS from str->address parsing (eb1fd29)
  • Tweaks to CPU features (ad91f48)
  • First attempt at a functioning constpool (d717405)
  • Added symbol for current address (43977c5)
  • Improve constpool implementation (796d057)
  • Move ntdll functions to dedicated header (caa6cfe)
  • Reverted a formatting change that's no longer necessary (5c5ef88)
  • Make regular jansson functions available to binhacks (088a8fc)
  • Add more th_ functions so that patches won't need to import as many things, particularly for math (d9b337f)
  • Move internal windows structs and comment things (b3ec9cc)
  • Tweak constpool implementation to work better with eventual x64 support (70d4d3b)
  • Fix build errors from non-C++ files in thcrap_tsa (12ced3c)
  • Fix ntdll.h parse error on non-MSVC compilers (a408df1)
thcrap_tasofro
  • th175: add vfs files for greedy trial (fd10f94)

2023-10-30

30 Oct 22:25
Compare
Choose a tag to compare
thcrap_tsa
  • Add ascii_vpatch for th7/8 (bb0f080)
  • Add more th08 strings to ascii_vpatch (75ecb17)
  • Change to array-based alignment method (e611336)
  • bgm: detour CreateFileW (604c7a8)
thcrap_configure_v3
  • Display version number (b087e61)
  • New parameter: use_wininet (73d4dff)
  • Game search: s/fs::filesystem_error/std::system_error (cccbcf6)
thcrap_update
  • Log download error message for files.js (51ac34a)

2023-08-30

29 Aug 23:32
Compare
Choose a tag to compare

th19 image patching.
And also a fix for a th155 bug that was reported one year ago.

thcrap
  • Fix undefined value usage in expression.cpp (e3895c2)
thcrap_tsa
thcrap_tasofro
  • thcrap_tasofro: fix encoding error in bmpfont generation (ffda608)

2023-08-17

17 Aug 19:56
Compare
Choose a tag to compare

A decent number of improvements and new features, read the list below if you want to know more, the one everyone cares about is "Add support for th19 msg" which means story mode and vs mode patching now works for the new Touhou game.
Still no images, this one requires more work and will come later.

thcrap
  • Factor out patch option typename parsing into function (e006ce2)
  • Breakpoints: add json_typed_value and json_object_get_typed (ffc4277, 9522a27, 6500742, a62b104)
  • Add basic dictionary translation functionality (dec6e6e)
thcrap_configure
  • Remove fixed heights in settings (6717b5f)
  • Fix encoding error when creating shortcuts in the game's directory (a619a75)
  • Make the default discovery URL configurable from a build parameter (3eca111)
thcrap_tsa
  • Upgrade spell_id breakpoint (d45c37d)
  • Apply font and layout to W functions (c90e5df)
  • Add support for th19 msg (62f29d3)
  • Ignore anm patching for th19 (fdc1a2f)
thcrap_tasofro
thcrap_update
  • Handle games started through wrapper patches (#213) (9f9f95c)
  • Change default value for backgrounds_updates to false (5421869)

2023-05-08

08 May 20:57
Compare
Choose a tag to compare

Improvements to the configure tool, and a few fixes.
This version hopefully fixes the recent issue with wine described in #215 and #216.

thcrap
  • Use utf8_to_utf[16/32]_masking as general string conversion function (d7af05b)
  • Fix fn_for_build (6b47a26)
thcrap_configure
  • Add a --skip-search-games command line switch (7ee615b)
  • Remove old command line parsing (66cbcd8)
  • Add support for using wrapper instead of shortcuts (48412cf)
  • Use thcrap.dll wrappers for thcrap_update.dll (91ba9e6)
  • Log crashes with global exception handler (a1b6969)
  • Marshal repo ID and title as UTF8 (d3ac24b)
  • Add a settings GUI outside the loader (b78ff87)
  • Add presets for exception detail (62c8d84)
  • Add Remove All button for searching games (abb9b90)
thcrap_tsa
  • CFG: Don't do anything if custom.exe is run (dc1d2a3)

2023-01-21

21 Jan 10:30
Compare
Choose a tag to compare
thcrap
  • Fix patch stack being loaded twice (bfe8088)
  • Add a setting to dump files after patching them. (16d4e08)
thcrap_configure
  • Fix a bug where 2 radio buttons were checked at once on wine (2d57623)
  • Use relative paths in config file (715d10f)
thcrap_tasofro
  • th175: add maps for nut files (3363d0f)
  • Add support for th175 json files (0084408)
win32_utf8

2022-12-05

06 Dec 07:05
7bbbe7b
Compare
Choose a tag to compare

A fix for Windows XP support, and some other minor changes and bugfixes

thcrap
  • Minor updates to JSON handling (73b38e8)
  • Improve options API (d84c3c5)
  • Don't use RegGetValueW because it doesn't exist on Windows XP 32-bit (1687a20)

2022-08-17

17 Aug 06:45
Compare
Choose a tag to compare

Some more fixes and other things for th185

thcrap
  • Properly handle all types in json_immediate_value (2d1883b)
thcrap
  • Add th185 world*.msg hook (dce1c1e)
  • Add patchhook for turtrial.msg (d541dca)

2022-08-16

16 Aug 21:10
Compare
Choose a tag to compare

Add a few more features needed for th185

thcrap
  • Add cave_exec evaluation function that allows expressions (509610e)
thcrap_tsa
  • Add some much needed featues to gentext (d50dc2a)
  • Allow negative numbers in gentext (b7ff9f4)
  • gentext: determine cave exec flag before writing to registers (fb0fdf6)