Skip to content

Releases: thpatch/thcrap

2013-08-25

25 Aug 21:19
Compare
Choose a tag to compare

Win32 dialog patching, and a couple of smaller fixes for bigger problems.

thcrap
thcrap_tsa
  • Fix window placement bugs in the original games. (71c1dca)
  • Do string lookup in GetTextExtent(), not in GetTextExtentBase(). (cc018b3)
  • Add the custom.exe bug fix for Western systems. (b1f8031)
thcrap_configure
  • Maximize the height of the console window. (af3f982)
win32_utf8
  • Add CreateDialogParam and DialogBoxParam. (609e844)
  • Add DrawText. (78d562c)

2013-08-20

20 Aug 08:21
Compare
Choose a tag to compare

Music Room and proper ruby. 'nuff said.

thcrap
  • stack_game_file_resolve(): Fix build-specific files to actually work as expected. (75889b5)
thcrap_tsa
  • Add ruby layout. (ac3e47b)
  • GetTextExtent: Take layout markup into account. (089896a)
  • Add Music Room comment patching. (324159a, d73613d)
  • Add Music Room title patching. (cc50311)

2013-08-15

15 Aug 14:30
Compare
Choose a tag to compare

Another three small things: two in the updater, and one in the build configuration.

thcrap_update
  • Don't download 0-byte files. (cbaa123)
  • Ignore Internet Explorer's "work offline" setting. (84aeb66)
Build configuration
  • Include zlib in the libpng DLL... apparently, this is necessary on some systems.

2013-08-12

12 Aug 04:44
Compare
Choose a tag to compare

Three small things - one of that actually being a rather important improvement - before th14 comes out. Nothing relevant.

thcrap_configure
  • Well, it's the th14 full version release and still no GUI... (cb49224)
  • Disable console by default in new run configurations. (9b27784)
thcrap_update
  • Actually verify the CRC32 of downloaded files. (25759eb)

2013-08-08

08 Aug 14:19
Compare
Choose a tag to compare

Hardcoded string translation... and comparatively many bug fixes.

thcrap
  • Use thread-local storage for the global file_rep_t object. (File patching is thread-safe now.) (35e8c1d)
  • IsLatestBuild: Fix a crash if latest is neither array nor string.(8facb6a)
  • Include build-specific files in the patch stack resolving functions. (1e07240)
  • Add basic translation of hardcoded strings via dictionary lookup. (e51a8e1)
  • Add a safe and persistent vsprintf handler. (06089df)
  • CreateFontA: Check hardcoded strings for a replacement font. (9de60fc)
thcrap_tsa
  • Layout command 't': Choose the longest string out of all given parameters. (Fixes a logic flaw in ending text alignment.) (e874005)
win32_utf8
  • Add GetEnvironmentVariable. (Necessary to run th125 and later with user names that contain non-ASCII characters.) (afa4a21)

2013-08-05

05 Aug 03:36
Compare
Choose a tag to compare

A text layout parser, and bug fixes in the UTF-8 wrappers.

Changelog:

win32_utf8
  • StringToUTF16: Actually observe input and output widths correctly. (c230ad4)
  • TextOutU/GetTextExtentPoint32U: Clear out the wchar_t buffer before writing. (dd0712e)
thcrap_tsa

2013-07-29

29 Jul 20:23
Compare
Choose a tag to compare

Images! (and probably Endings!, too)

thcrap
  • Remove the th11 English patch assist font width kludge. (f869d73)
  • Fix the infinite loop on failed plug-in loading. (64915c6)
  • Move logging for file breakpoint down to the resolving functions. (09db994)
thcrap_update
  • Fix the server number comparison. (3db5748)
thcrap_tsa
  • Add basic ANM patching for all formats. (4257d53, 7cce33e, fd056c7, cd4905b)
  • Add patching support for multiple textures in one image, starting at custom positions (d231f3a)
  • Add ANM sprite boundary dumping, invoked by dat_dump. (276c8f4b0b1c1cba94be909ce31b4d668fc51495)

2013-07-16

16 Jul 22:55
Compare
Choose a tag to compare

Answers to a couple of smaller problems that came up with doing spell cards.

thcrap
  • Thread-safe ESP manipulation in the breakpoint handler
  • Add GetTextExtentForFont.
thcrap_configure
  • Use a custom pausing function instead of system("pause").

2013-07-14

16 Jul 22:52
Compare
Choose a tag to compare

Spell cards!

thcrap
  • Automatically look up breakpoint functions using the runconfig key.
  • Remove manual breakpoint registration.
  • Add support for multi-slot breakpoints.
  • Refactor stack file resolving to include support for game-local JSON files.
  • Run patch hooks even without a dedicated patch file.
thcrap_tsa
  • Add spell card patching.
  • Add spell comment patching.

2013-07-06

06 Jul 18:49
Compare
Choose a tag to compare

Mostly a maintenance build, preparing for the move to open-source development.

thcrap
  • Log file now includes the build date and Windows username of the builder
  • JSON loading now skips over UTF-8 byte order marks
  • Split off the Unicode wrappers to the Win32 API into its own module (win32_utf8)
thcrap_configure