Thcrap Versions Save

Touhou Community Reliant Automatic Patcher

2024-05-12

5 days ago

Improve breakpoints, and add binhacks features for patches developers

thcrap
  • Add codecave alignment field and xsave info (430e2f9a7af5f510bc38a1abd33523b97bd78ce3)
  • Allow breakpoints to preserve FPU state and change handling of stack modification (8db70173da5e25166c13b067ba5cb05b3f0315af)
  • Allow constpools to directly use options without passing them through the expression parser (0d931c55d78f74e5f6cd92a832c65978f462b5cf)
  • Add more plugin functions (940dcb3612fb1013fa360ab64ca22ffd331df14f)

2024-04-17

1 month ago

After all this time, we finally have some progress on th105 and th123.

thcrap_configure_v3
  • Update to .NET Framework 4.8 (#253) (95e8cd22b4b820acb02d07464b53fbc923f7b201)
  • Change default value for background_updates to false (e8d36a038a102c49fbcb8c4c812fb27ee4db91be)
thcrap_update
  • Download th105 files for th123 (ed96fefe81fd5f5ac1aee533404917b959532f37)
thcrap_tasofro
  • Ignore tlnotes for all games (34ee839a9e4059406ab1476cf4d03fd4316ad35e)
  • Add spell comments for th105 and th123 (4742dad40f9b7df835cf538b6c564c01d920dd75, 9e333b2e9d6f0c51ffa38bd9734e4c3a54ffa957, b56873a95e3355794278bdbde039723ff93cd68d)

2024-02-29

2 months ago
thcrap_configure
  • Fix a crash when the repo list is empty (226afd8c56d87ecce6af8b68c2b9087f7fa0bbb9)

2024-02-26

2 months ago
thcrap_configure_v3
  • Fix a crash when the description field in versions.js have non-ascii characters (bc6d09f301ed7da20336b7974911a7b03fee4ae5)
thcrap_update
  • Make the discovery and engine update URLs configurable (ca97ef2ac41b247cd8e3979ffdb0f2524ed4f1a7, cfde6862820152dc6972b2c29a3fdace145d797e)

2023-12-09

5 months ago

A very small release with a small feature that lets people translate error messages, which should help with support.

thcrap
  • Add breakpoint to help locate hardcoded strings (5479f4e72f2fba2d750464bd089d99e21cdf8ff6)

2023-11-29

5 months ago

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
  • Implement working icon copying for exe-based shortcuts (a91657101fa6d6ee43bdf3824236dcf5bb249a58, 843cd1d8809837d09af10412e5e71e7c7b451b9a)
  • Fix bug in new address parsing (f276c7db874cd6d08aa2cbc55697c26ed6caabbd, debdbe7c049e5a265d5321e32e5bfcd5d75249f7)
thcrap_tsa
  • Properly load game icon in RegisterClass (37aef68c9f79f3feb5fa4e5c795d62d5a75d9e25)
thcrap_loader
  • Load the icon for our updater window (c46c3c900ccb61d91e8374fbb861e639db28b14c)

2023-11-14

6 months ago

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

thcrap
  • Removed errno/locale BS from str->address parsing (eb1fd29d38e322f0f86f7ea9a3e65f8d019437e8)
  • Tweaks to CPU features (ad91f487c560afce7d746e461ff0efa3df61ed51)
  • First attempt at a functioning constpool (d71740524ee29ecc4c6573b919b12ab777e1d8b4)
  • Added symbol for current address (43977c59fc2d8a2aa4e219da57628639e437ffdd)
  • Improve constpool implementation (796d0577792cc660db1fdad862ccfb82e82bac6d)
  • Move ntdll functions to dedicated header (caa6cfedfa5e6973e23d3249eeafd05899dc3972)
  • Reverted a formatting change that's no longer necessary (5c5ef88272841d033daf48ba4a8e3fbe03fd8720)
  • Make regular jansson functions available to binhacks (088a8fc966c2c7e7ab7f30f076dba87c40b50dca)
  • Add more th_ functions so that patches won't need to import as many things, particularly for math (d9b337fb8a1d284987550a1b063c9e579352efda)
  • Move internal windows structs and comment things (b3ec9ccb6bbf0a5fae546923fc6374473cd10e53)
  • Tweak constpool implementation to work better with eventual x64 support (70d4d3b435a58b25fe6c00402d7e58ffdf49aa15)
  • Fix build errors from non-C++ files in thcrap_tsa (12ced3c2de328211e5421df6262953483a800b07)
  • Fix ntdll.h parse error on non-MSVC compilers (a408df1b9a45cbc85c78ee3e2f162d234bee9331)
thcrap_tasofro
  • th175: add vfs files for greedy trial (fd10f94d867fde403ef9008e3534a2b2e3d16274)

2023-10-30

6 months ago
thcrap_tsa
  • Add ascii_vpatch for th7/8 (bb0f080dc8d4583a6f78ee73ea96a2cce597bb80)
  • Add more th08 strings to ascii_vpatch (75ecb17918dec2fa742f50df1621142343e2d21a)
  • Change to array-based alignment method (e6113367379f87e3d9659f1f5972eae6b027b28b)
  • bgm: detour CreateFileW (604c7a8d236d97b62fa4e2b9e7ffb3609bc2badf)
thcrap_configure_v3
  • Display version number (b087e6121a55245d5ead6f64d84605b7af80bf34)
  • New parameter: use_wininet (73d4dff32293c42c3775be1aa1278c2ec9916b70)
  • Game search: s/fs::filesystem_error/std::system_error (cccbcf68fd18ecdacd2e30f8de65ed840f8b017c)
thcrap_update
  • Log download error message for files.js (51ac34aba0e478f101541bb24a8e0c12d57c9c86)

2023-08-30

8 months ago

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 (e3895c2ec8ec35f6b7d894fd9030f8da144073e5)
thcrap_tsa
  • ANM: support image patching in TH19 (ebaf6cdb049dba2977cf98628255051015e7681e, 463157859856d96d8510b51cfea558d0ae28b693, 4e52834547689b17906f9ea80ea0c68f3b55d6c3, a8b080ee9a4a6dcc553e1dffc69f2fe4482e346c, 155b190a1bb7174758f1d26ebebf801373dc50a4, 625725ecabb0d40eed2ae7d0fb7f20476edc4eda, 8d7b2b585f7b42502072a4ed43d63fdfede39716, 8c74f5d9a0210762bc0acb41e79c0726d06e995e, 22308613b3bbb0fb528e932d4fae2b7f586f6fbf, 86392bf6a56eab1125c6b1bc2408da7b001611b6, 3b9bc322468e53172427b625686687a7a75c1f16, 310a1a1d61a2559954249c64d68ddf0143ac72ce, f5e52d032dacea0ec6ad4d636f512909c306fe1c, 50e2b73a3e0626355e4ad9a1b0368be14e12e098, f4f448deb3db4de0388378f8d76486935756eee8, c21e5da27ecf0f51b4f9a6ea3f9795215d31123b, 55cc8898a628c16fa0e92ab4aee2bf2f9ddd3a7a)
thcrap_tasofro
  • thcrap_tasofro: fix encoding error in bmpfont generation (ffda608cb261e7ae6eb4f92a52a0bc5f58489bf8)

2023-08-17

9 months ago

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 (e006ce2f89d54a23cd30ed12abc5b6282d61216d)
  • Breakpoints: add json_typed_value and json_object_get_typed (ffc4277150946c8a33695b44cd272855e47dd9b6, 9522a27680ed948c9b1276b229370cf51a890f7c, 6500742ed2c3b04ba4194a047294ebf7daf6a6d8, a62b104cc3826cd2101fd57176d46ca5c92be37a)
  • Add basic dictionary translation functionality (dec6e6e4d3e505feb55353f78dc1d5d9e770b6ee)
thcrap_configure
  • Remove fixed heights in settings (6717b5f8c0065be69e30c02eb7f5a7f344761bd5)
  • Fix encoding error when creating shortcuts in the game's directory (a619a7580a2124d92a399e9069a0ca6d85a6e196)
  • Make the default discovery URL configurable from a build parameter (3eca1115aa350ceb26a23e5fea9bee177916e8e9)
thcrap_tsa
  • Upgrade spell_id breakpoint (d45c37defaf1c8b4ebf060915812fa4abb1ddc1c)
  • Apply font and layout to W functions (c90e5df2a9cba1e24cb4ce5efd921832e2b92443)
  • Add support for th19 msg (62f29d344cf5b4d19e5c18554bb9d4e444fb97af)
  • Ignore anm patching for th19 (fdc1a2f69d3f59f28c5e6ad28e4855c6cf6820a5)
thcrap_tasofro
  • th175: add trophies (32e23f0a0a1d04c009e26d36ea09189f0727d737)
thcrap_update
  • Handle games started through wrapper patches (#213) (9f9f95c905229e24a984d7f356565e1b0a0ba1d0)
  • Change default value for backgrounds_updates to false (5421869cc56b45a899ab86d6b3ea6efe89e62ebf)