Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/thpatch/thcrap

Touhou Community Reliant Automatic Patcher
https://github.com/thpatch/thcrap

File breakpoints: Merge BP_file_name() and BP_file_size() into BP_file_load().

If BP_file_load() now also started calling BP_file_size(), which also
calls BP_file_name(), the ...

d6107b201fe779183b25ccc46ee91b3f875771ab authored almost 7 years ago by nmlgc <[email protected]>
Thcrap_tasofro: include a dump of the files list if dat_dump != false.

88ebb4811cb698ab31d16fe71d8c1f1a5a875ac1 authored almost 7 years ago by brliron <[email protected]>
Thcrap_tasofro: read the fileslist in json format

6a7b53295b7a191373772188d8cd864055db9c9e authored almost 7 years ago by brliron <[email protected]>
Update version number

f0778da5e6117d4bd89123710979cf185868aa42 authored almost 7 years ago by brliron <[email protected]>
File breakpoints: Clear the game_buffer pointer in file_rep_clear().

Holy… That omission might have complicated some breakpoints.

d736ebc3598f01e0cdc82dfb5b93126feddbae62 authored almost 7 years ago by nmlgc <[email protected]>
Fragmented file reading: do not clear the file_rep if we need to run the

hook later.

6e5cb4c9851f3ff210cdce48f0b4df70cc41e13b authored almost 7 years ago by brliron <[email protected]>
Update version number

407acbad2b7a258f918d3f532fa9ae95f2fde0c9 authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: nsml: add cv2 support. [V]

thcrap_tasofro: move the th135+-specific code to another file.

e6378ff0f818b113286fd809b0c79db23cefce9b authored almost 7 years ago by brliron <[email protected]>
patchhooks: add a meaning to the hooks return value (>0 if they changed

something, <=0 otherwise).

7cfd132fb19824d42f829a8745bac50f99dc3ac0 authored almost 7 years ago by brliron <[email protected]>
patchhook: add a filename parameter to hook functions.

fc6e06ee2a05521c99c0b8e707fc832bd0edbc21 authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: add nsml support [V]

764c8340e310692b9f42b38c0149061253cab01f authored almost 7 years ago by brliron <[email protected]>
thcrap: add DumpDatFile for fragmented file loading.

da11c065e12a5a42e2849a097172222a0e30a0ee authored almost 7 years ago by brliron <[email protected]>
file_rep_init: use the correct lenght for the jdiff buffer path.

f1aba7f4ffb9dfc854f09f515d19f2baacde6a10 authored almost 7 years ago by brliron <[email protected]>
Update version number

c20497623774864f00d77ffddb906900fe7588e9 authored almost 7 years ago by brliron <[email protected]>
breakpoint: fix a potential buffer overflow in reg

f866a9233e079a1cae1ce95b35764aa5fc841d81 authored almost 7 years ago by brliron <[email protected]>
Rework thcrap_tasofro file patching, and move a big part of it to the

thcrap core, adding a support for fragmented file loading (based on
ReadFile calls patching).

2f5c63ddd998796ed282c3a3b6895ecd63025d64 authored almost 7 years ago by brliron <[email protected]>
Expressions: fix reg and numbers support when not at the end of the

string.

22fdbe0cc5da79417ad792b7409bc0f6a763888e authored almost 7 years ago by brliron <[email protected]>
update: Show a clearer message if an old game version is definitely not supported. [V]

That won't quite cut it for the historic mess of TSA game support, but
solves the problem nicely...

ba7b7fb8cb9e32693a6964facb76cf405a1ccfba authored about 7 years ago by nmlgc <[email protected]>
update: Use slot-based string building for the old version message box.

Also improve the wording a bit. And oh look, it actually does share
zero text with the self-upda...

10dfea12392236545a4a8af055720b5f9c2d3877 authored about 7 years ago by nmlgc <[email protected]>
thcrap: Use the immediate/pointer naming scheme for the expression functions.

gentext currently is the only user of either function, and it really was
meant to get expression...

1609f2ade62f64168f6f9bc435882923ca0eb8df authored about 7 years ago by nmlgc <[email protected]>
thcrap: Use str_address_value() for converting addresses in eval_expr().

Because address parsing should be consistent everywhere. We could then
even scope addresses to a...

58f9f29686c6719dcf883a2d650245868daac86b authored about 7 years ago by nmlgc <[email protected]>
thcrap: Add a strtol()-style endptr parameter to str_address_value().

faa511ec5f389b4644dbeb6f701c120664242d0c authored about 7 years ago by nmlgc <[email protected]>
thcrap_tasofro: use the new expressions syntax

f9b8b74cda1e39ac2e9d1cf5ce35df25b30c1cab authored about 7 years ago by brliron <[email protected]>
thcrap: add support for expressions in breakpoint parameters

e321cfbee46e4c84b94b10b749500a99eb78f701 authored about 7 years ago by brliron <[email protected]>
thcrap_tasofro: update Act/Nut lib, and do not crash when the act/nut

parsing fails.

a2f1fbff7e548c288aec3b967eb7925dbc879b66 authored about 7 years ago by brliron <[email protected]>
TSA: ANM: Use the new Touhou type library.

Oh look, and I even copy-pasted an outdated version of the structures in
f7c8140d15bc749c688aefb...

71f590312ffafa7dc42b2d034a7e963270377319 authored about 7 years ago by nmlgc <[email protected]>
Nuke the specs module.

No more pointless abstraction of the parts of a game format that we
think *might* change \o/

8273ae30e4a5f5df856c962ec52000c7e488ce76 authored about 7 years ago by nmlgc <[email protected]>
thcrap_configure: return TRUE instead of 0 in the progress callback (in

the Update_UI branch, FALSE is used to cancel the download)

9aa5fdd00be51aa30c11be79f03b00bbf0d99719 authored about 7 years ago by brliron <[email protected]>
TSA: ANM: Hardcode the game-specific formats.

I kinda feel bad about copy-pasting the structures from thtk though.
Let's see if we can split o...

f7c8140d15bc749c688aefb3fe8e248778906c1b authored about 7 years ago by nmlgc <[email protected]>
Update version number

8268ce2cdce3638689b9b86891a2348831bb16e5 authored about 7 years ago by brliron <[email protected]>
Use a better error message for nonexistent breakpoint/binhack functions.

With separate text for developers and users. Feels quite revolutionary.

72296ee22246d0bd2ce41d289a3c9d1873abeea2 authored about 7 years ago by nmlgc <[email protected]>
Only set up a breakpoint if we actually have its function.

64d5c9772289ceb76acd054c890b1ce5a1ff84d0 authored about 7 years ago by nmlgc <[email protected]>
Merge branch 'devicelost'

aeae72e12a3f7958bde7ab5034de818442aaf0c3 authored about 7 years ago by nmlgc <[email protected]>
thcrap_tasofro: add music room support

0dff86a8ff78e9173d66cf9af18809567f4cdfaa authored about 7 years ago by brliron <[email protected]>
Update UI: Don't accidentally a second HWND* in the (hMap != nullptr) scope.

83ebead136ef0966f31ca19ac49f66b44fb2d336 authored about 7 years ago by nmlgc <[email protected]>
thcrap_loader UI: update the thcrap engine.

7c98e8e00f6fd6220b696160649e356d8d9b7556 authored about 7 years ago by brliron <[email protected]>
thcrap_update UI: add a button to manually check for updates.

fbfd599d2a6d8d48297e1c912f6bef120c00589f authored about 7 years ago by brliron <[email protected]>
thcrap_loader: run the game even if thcrap_update have been removed.

3a6052382d7adfb69f0113c1118a37adb37202c1 authored about 7 years ago by brliron <[email protected]>
thcrap_update UI: At launch, close existing instances of the loader UI.

48cf19361434dfd376e1b6846af85906226cf2b7 authored about 7 years ago by brliron <[email protected]>
self: Try to use a non-random name for the backup directory first.

Prettier names for the vast majority of cases, and a clear
differentiation between the first att...

8875efc6d1106ea98c8f8d33418170cdd09a2ad3 authored about 7 years ago by nmlgc <[email protected]>
thcrap_update UI: load/save the settings from/to a config file.

31a75842b9deb6088858a9558d9dc99088a67cb4 authored about 7 years ago by brliron <[email protected]>
thcrap_update: UI: if background updates are enabled, after updating the

current stack for the current game, update all the known stacks for all
the known games. Repeat e...

6e53ce91c50770eea36d719a0a086c457266e08f authored about 7 years ago by brliron <[email protected]>
thcrap_update UI: add code behind the "Keep running in background"

checkbox and the "check updates every N minutes" edit.

c7a0bed39eff13f1685eee38631dc18c55734a25 authored about 7 years ago by brliron <[email protected]>
thcrap_update: - allow update callbacks to cancel the update.

- UI: add code behind the "Run the game" button.

af5bdb0ee54d422c774a1bf598864cb7ce00f4a7 authored about 7 years ago by brliron <[email protected]>
Update UI: Initialize the stack before trying to identify the game.

For now, patch directory names are relative to the run configuration
directory. If thcrap is poi...

dd41cf92d433e04c2cd9e60f28f3ba800c3de95b authored about 7 years ago by nmlgc <[email protected]>
Update UI: move it back to thcrap_update, add some UI elements, add the

update code and make it work in the thcrap_loader context.

315823e110e2b707e8747e65b72ade02922e2716 authored about 7 years ago by brliron <[email protected]>
- Remove stack_update_with_UI_progress from thcrap_wrapper_update.

- Add some compile-time checks to ensure I won't forget something like
that in the future.

7754bcd7cb32b9928dc1e03fd274995a26a8f1b4 authored about 7 years ago by brliron <[email protected]>
Move the update UI from thcrap_update to thcrap_loader

a330e4e394a2a3f9fb6475146505989936913b17 authored about 7 years ago by brliron <[email protected]>
Loader: compile as C++

616f10ab9ca71d21aaed2d77484b5b45472bd255 authored about 7 years ago by brliron <[email protected]>
Merge remote-tracking branch 'origin/master' into devicelost

8a98bf8ba5bfceb32de36119237bda880cfff322 authored about 7 years ago by Egor <[email protected]>
devicelost: fixed device not reseting when no reset is required

Should fix switching the fullscreen mode

b853b62763a051f29ebc5ff9841f0960503b6ee3 authored about 7 years ago by Egor <[email protected]>
thcrap_update: in the patch_update progress callback, remove the server

part of the URL - keeping only the filename part.

57d813a2d5864adec2b9776b6b8b00b7892c4a79 authored about 7 years ago by brliron <[email protected]>
thcrap_update UI: update the UI when the download progresses.

89cdb95d86a5bee77c23c0745d8361247e84b634 authored about 7 years ago by brliron <[email protected]>
Add a window to display update progress.

For now, this window has a static content.

99ac4c14116553a223464e19d9c76aabf30e8c6c authored about 7 years ago by brliron <[email protected]>
TSA: TH10: Work around the Game Over theme being No. 8 in trial versions. [V]

Previously, thcrap_tsa showed the translations for the Stage 4 theme in
its place.
This is kind ...

017e5d5f23aac726c7f98d1976a8bc25c9f34863 authored about 7 years ago by nmlgc <[email protected]>
thcrap_configure: display file download progress. [V]

9f726363b2773a280aec402990400f2b70d59a18 authored about 7 years ago by brliron <[email protected]>
thcrap_update: add a callback parameter to download functions.

These callbacks are called each time the corresponding function
progresses.

fa5a8cd22f2a59e7ef021440e4803e5a63bb550a authored about 7 years ago by brliron <[email protected]>
util: Add a more idiomatic C++ constructor for stringref_t.

The strlen() is not too pretty, but VS2013 doesn't seem to support
constexpr there. But it's get...

27747c4c69bf40ee7ef0793f4e12e7e8076fbba9 authored about 7 years ago by nmlgc <[email protected]>
Update version number

f93754c6811f230006595a3cec3c4b5e9844333d authored about 7 years ago by brliron <[email protected]>
thcrap_tasofro: - Fix every balloons being skipped (instead of *only*

the last one of ending files).
- Fix 2 other endings-related bugs.

662751da6ba0c7555e6c63eb74dabfaf2f1f4b95 authored about 7 years ago by brliron <[email protected]>
Update version number

b46fdbd4157c3bdc34940c032ab162c2f5a43f9d authored about 7 years ago by brliron <[email protected]>
update: Send the operating system version in the User-Agent. [V]

Turns out we *really* want to stop support for Windows XP now. We'd like
to switch the patch dat...

deae76982be1c7c0f7289c801bd8dd975bb6fa83 authored about 7 years ago by nmlgc <[email protected]>
update: Report non-string values in a server object.

assert()ing here is exactly the wrong thing to do, since it's user
input. Internally, we don't g...

a0ce361dd57d72b82d380d6c2542511cc13ea2ca authored about 7 years ago by nmlgc <[email protected]>
Thcrap_tasofro: update the pNumberOfBytesRead parameter of ReadFile and

the file pointer to match the number of bytes actually read.

213bb1d70afb373c93f0a017227fab7c29436dd4 authored about 7 years ago by brliron <[email protected]>
Thcrap_tasofro: tfcs: write all balloons in their own columns for win

quotes (instead of writing all balloons in the column of the 1st
balloon)

e87eef2eea9c97eeb69b4b426451167df679cb75 authored about 7 years ago by brliron <[email protected]>
Thcrap_tasofro: TFCS: give the patched file size instead of the buffer

size to deflate.
Another one of those "how could it work 95% of the time until now?" bug.

b9e371788f24d266f20ee23fd009ceaeff159046 authored about 7 years ago by brliron <[email protected]>
update: Format the User-Agent according to RFC 7231, section 5.5.3.

731b8ee02cac9f03b05cbecf35ac288c5c56ea07 authored about 7 years ago by nmlgc <[email protected]>
Thcrap_tasofro: pl: pass the line by reference instead of passing it by copy.

Fixes the "list emplace iterator outside range" exception. Actually, I
don't even know how the c...

ba3acf52a8d99b3366a7bb1d47b30006229f1580 authored about 7 years ago by brliron <[email protected]>
TSA: MSG: Improve log readability of speech bubble shifts and cutoffs. [V]

34acd03cde0cd2242ab040405de13018ef296983 authored about 7 years ago by nmlgc <[email protected]>
TSA: MSG: Change the speech bubble side *after* terminating the previous box. [V]

In the TH16 Extra Stage, ZUN actually does the sane thing he should have
been doing in TH14 inst...

246c8e5bee98996b7ac192e6213826a29b62c2bd authored about 7 years ago by nmlgc <[email protected]>
MSBuild: Add thcrap_tasofro to the dependencies of thcrap_loader.

38c391c3f3c7eb4ec05b59e1f2e025367a5bd957 authored about 7 years ago by nmlgc <[email protected]>
MSBuild: Use backslashes in the .vcxproj file names.

Visual Studio insists on them, and I'm getting tired of skipping those
hunks in `git add -p`.

7e5cecb5a9a9a9739b18b769d92570bb7017eadf authored about 7 years ago by nmlgc <[email protected]>
configure: Only accept ENTER to finish patch selection. [V]

Not numbers out of range, nor non-numeric inputs.

a3d3d9d5cccfa436ec17a44705bc7c7876ff049e authored about 7 years ago by nmlgc <[email protected]>
Update version number

9f998df94c9811396f2f2814d4234ee06cdc3db1 authored about 7 years ago by brliron <[email protected]>
Merge branch 'master' into devicelost

985262d14fb3e112b6047fe5af5e9daaea658620 authored about 7 years ago by nmlgc <[email protected]>
update: Go back to storing the required thcrap build as a per-patch setting. [V]

The original reason for not just keeping it like this were… multiple
possible download URLs for ...

3ac82192f8bcce651453c8ecf8ca378a856e0c32 authored about 7 years ago by nmlgc <[email protected]>
Tasofro: Don't crash when running on unknown games (or vpatch). [V]

Better to fix this not just in one place, but everywhere where that code
could be copy-pasted ou...

ff4926893ac7014a7b63df5d636fdbe5b014f1ee authored about 7 years ago by nmlgc <[email protected]>
Update version number

825029a09ccb93edd1fe222663d4e47e4c69bab2 authored about 7 years ago by brliron <[email protected]>
exception: Only report selected exceptions.

Unfortunately, we tend to get way more than we want, particularly with
wininet. Using AddVectore...

aed5feb7ca0bf5d543c85448f71119623a92014c authored about 7 years ago by nmlgc <[email protected]>
Tasofro: tweak a few things to support HM story mode.

ddc45e96cb5653334f03bfb63cfc52f70ba0860e authored about 7 years ago by brliron <[email protected]>
tasofro: fix spellcards support for data/csv/story/*, and add an enum for game IDs (as cf98a5a for thcrap-tsa). [V]

33c56d9f9d1c1c86611b53d6d8e87525bbc33898 authored about 7 years ago by brliron <[email protected]>
tasofro: Add spellcards support for th135.

531f090aa7e285113bdff3168335714c4eaf1607 authored about 7 years ago by brliron <[email protected]>
TSA: ANM: Don't try to initialize sprites for entries without textures. [V]

Fixes more or less random crashes for some people, particularly in
TH14.3. Thanks to Masaki Kagu...

a49c124d6af8d555e7931e4a73732801f628ec2b authored about 7 years ago by nmlgc <[email protected]>
exception: Print a stack trace.

ac35ad02732c5cac8d50aee05fecfbce69286edb authored about 7 years ago by nmlgc <[email protected]>
exception: Move RVA + module printing into a separate function.

f41d2e0feb602210a90f4419ff0545f3d544dcfb authored about 7 years ago by nmlgc <[email protected]>
Add a wrapper for GetModuleHandleEx(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS).

Now about to be used a fourth time.

3c140c7601da9907ba8203878fe3e8548bdecac3 authored about 7 years ago by nmlgc <[email protected]>
Change our unhandled exception filter to a vectored exception handler.

That is, *one that actually works*. That's how easy it would have been.

ef129a5f9f74d8338faa52183a127ba820c7ae76 authored about 7 years ago by nmlgc <[email protected]>
Add an inline char* version of memcpy_advance_dst to util.h.

46f3033485c17236a679f384a34b93762ddc2e39 authored about 7 years ago by nmlgc <[email protected]>
TSA: Generic text: Fix a silly chars/bytes confusion.

90240d4403659eac480af08ae7a73265cd3e9971 authored about 7 years ago by nmlgc <[email protected]>
Update version number

8e1735e2c30867ad485b15683cc6cc3eee707d17 authored about 7 years ago by brliron <[email protected]>
Tasofro: add support for th135 encryption and memory objects.

7b3273696bf86dab3f1041d0a460780eecd7a575 authored about 7 years ago by brliron <[email protected]>
TSA: MSG: Support TH14's new speech bubble shape/direction command. [V]

As of TH16, this is only used in the TH14 Extra Stage for the pre-
midboss dialog, to make Benbe...

7d1f5219ca1e56db9afbb994e8bbe99823db03b4 authored about 7 years ago by nmlgc <[email protected]>
Update version number

e5950bce5c0f78c6be08e046ca982258a50da0f5 authored about 7 years ago by brliron <[email protected]>
TSA: Shift speech bubbles to make room for longer lines, if necessary. [V]

This always was somewhat of an issue, but with the two bosses in TH16's
Stage 5, it really becam...

3bd3efa1eedb87b2e7984eda7a00361a140afe30 authored about 7 years ago by nmlgc <[email protected]>
TSA: MSG: Move OP_AUTO_END to a separate function.

fdb4aa3fd799c96c373a56dd9145a97571d982be authored about 7 years ago by nmlgc <[email protected]>
Update version number

5fc66a6d96aafc36638a936c580f7a12dee4f3d9 authored about 7 years ago by brliron <[email protected]>
Tasofro: plaintext: quote patched lines, and escape the quotes inside them.

3d6a28275300f66f249be1f2fb0dc9f680417fa3 authored about 7 years ago by brliron <[email protected]>
Update version number

e0b3612dad7bf813e8cbbd0bb9d9a48d68e895b9 authored about 7 years ago by brliron <[email protected]>
Tasofro: add plaintext files support.

3eeea8e0e4a900fdf62abcc7ee3a3d5d53ed11e7 authored about 7 years ago by brliron <[email protected]>
update: Tell people to report CRC32 mismatches. [V]

c42b09a413e64cd9541d35e7a1596574e082b19a authored about 7 years ago by nmlgc <[email protected]>