2014-01-26
8 bugfixes of varying intensity, multi-address breakpoints, the most proper Ruby annotation patching we will ever have, and finally, a script to create your own custom patch server! Global Touhou Patch Network, here we come!
scripts
- Add a script to build and update a patch repository.
thcrap
- Support breakpoints with multiple addresses.
- Eliminate crashes when an "archive" object is no string.
- Tell the user to download KB2533623 if DLL injection failed.
- Only use the
LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR
flag if KB2533623 is installed. - Fall back to IAT detouring by pointer if OriginalFirstThunk is not available.
- Introduce a global run configuration file at the bottom of the hierarchy.
binhacks_apply()
: Fix a logic flaw in the log counting.thcrap_detour()
: Show the name of the module the detours are applied to.
thcrap_configure
- Display a repository's contact e-mail address.
thcrap_tsa
- Fix a potential buffer overflow when determining the .msg.jdiff slot key.
- MSG patching: Don't patch in invalid TSA ruby syntax due to utter plebbery.
- Music Room patching: Don't print "@" for untranslated music titles.
- Add a breakpoint to calculate the X offset for variable-width Ruby annotations.
thcrap_update
ServerDownloadFile()
: Fix potential memory leaks.- Ensure graceful termination while an update is in progress.
win32_utf8
- Add
IsDBCSLeadByteFB()
.