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

update: Refactor the per-server download code into its own method.

67137516aae294d4df6b0f955eb6dc81919113bf authored over 7 years ago by nmlgc <[email protected]>
update: Improve error handling and reporting.

Including fixes for some logic errors.

2ed05c7e28435e43e92e0332b84a666909694370 authored over 7 years ago by nmlgc <[email protected]>
update: Allow downloads from multiple threads at once.

d999b5fb726e478f2d11279e22ec82597204b7ab authored over 7 years ago by nmlgc <[email protected]>
self: Generate the temporary file name for the downloaded .zip from its hash.

…rather than at random, if possible. Next time we're running into
another bug in the self-updati...

70a5568ad9e4930de4f7f2b1b05b8208d3121fd8 authored over 7 years ago by nmlgc <[email protected]>
update: Use a dedicated structure for the internal server connection state.

There are going to be more members in this structure, and I'm finding
both my 2013 lack of type-...

b00a2d8bba187813a08192bc7fa3eceb413faa34 authored over 7 years ago by nmlgc <[email protected]>
update: Compile as C++.

341204d9eba9b56955ff650e1db73a5eb363003c authored over 7 years ago by nmlgc <[email protected]>
Move CreateLink and CreateShortcuts from thcrap_configure to the thcrap

core

0d1799c8cc7e218750a7661af0923f3c0d68b542 authored over 7 years ago by brliron <[email protected]>
thcrap_update_wrapper: Load thcrap_update_d.dll in a Debug build.

9b715f7e34daf4df5cd1724a15f076a274990f84 authored over 7 years ago by nmlgc <[email protected]>
update: Automatically initialize HTTP.

Goes back to 2013, so there never really was a reason why this should be
called separately.

e17a496b48983bf02ca219c81b5fe7e286a7c98f authored over 7 years ago by nmlgc <[email protected]>
Move SearchForGames from thcrap_configure to the thcrap core.

f7de70fb1d00e59c6749d7467ad9e830013bad1c authored over 7 years ago by brliron <[email protected]>
Move patch_build from thcrap_configure to the thcrap core, and move

thcrap_bootstrap from thcrap_configure to thcrap_update

50aaeea432db63623413eeb145561b8e8b71bded authored over 7 years ago by brliron <[email protected]>
BP_file_size(): Only write a value if we have a file name.

Small improvement for th08, to not needlessly increase buffer sizes when
hitting the file_size#f...

3f1401fae0e1842d39b6f101b6350bac06261871 authored over 7 years ago by nmlgc <[email protected]>
Remove the erroneously copy-pasted configure.h #include from thcrap's repo.cpp.

Didn't compile.

8aa797bec2a235d0e96ec3dc6369a205e58ae769 authored over 7 years ago by nmlgc <[email protected]>
Move repo.c from thcrap_configure to thcrap and thcrap_update

a150ffc365562d93b5ac2853ab6af090867c2980 authored over 7 years ago by brliron <[email protected]>
Also check for a build-specific JSON file and a game directory before deeming a patch unneeded. [V]

Nothing wrong with the concept, just needed some additional checks to
cover all possible indicat...

f2c06bbced70438b4aae6321303b3b48bc9222d3 authored over 7 years ago by nmlgc <[email protected]>
Update version number

0fd10603ab57ca55bcf12ad81350233ff956c88f authored over 7 years ago by brliron <[email protected]>
zip: Iterate over extra fields correctly. [V]

Instead, it was my embarrassing 2014 insistence on avoiding any
allocations in this code, no mat...

d70c10140409deb653272324c06ab3bafefa77b5 authored over 7 years ago by nmlgc <[email protected]>
Add a thcrap_update wrapper, providing offline versions when

thcrap_update.dll have been removed.

103f3433594cb48ef099d28be6c8c223230a49fc authored over 7 years ago by brliron <[email protected]>
Update our dependent libraries.

Might have fixed the zipfile bug that was made apparent with the
2017-04-01 build package, but d...

03ff3f8edbd091cbc87d4e8a97ea0839dc03bfe8 authored over 7 years ago by nmlgc <[email protected]>
Update version number

d9ad10285b0a4b534415470fe28d67466b76deff authored over 7 years ago by brliron <[email protected]>
thcrap_init(): Dump the run configuration at the very end of the function.

Since plugins will now manipulate the patch stack.

fabf0dd76f5f83d6388f9d46d96934918e637377 authored over 7 years ago by nmlgc <[email protected]>
Additionally remove base patches from the stack if they're deemed unnecessary.

Not [V] since it's purely a performance optimization. Although it
declutters the log file a bit…

e9f126a03e2bc96d85b2ed09ae738d9177fbffab authored over 7 years ago by nmlgc <[email protected]>
Add a mechanism for plugins to disable themselves for unsupported games. [V]

Yup, deleting thcrap_tsa.dll is no longer necessary. And that's how easy
it would have been all ...

91ba2bec5641f4ea25f87e02f006311ed96db886 authored over 7 years ago by nmlgc <[email protected]>
TSA: ANM: Enforce const-correctness for the blitting functions.

056dd9fee8229c55a140ade4aaad64aa76d1916f authored over 7 years ago by nmlgc <[email protected]>
Fix the immediate game crash when using the "ignore" functionality. [V]

Yep, because I deleted one "= 0" too many in
d930a9eb5473efe9a30678a137a8c7f1dfa5e63a, this feat...

80adf8550a8a7f498913b2f4697eaf3bf95fd3b9 authored over 7 years ago by nmlgc <[email protected]>
BP_file_size(): Remove the conditions around the file size assignment.

th09 needs the POST_JSON_SIZE to be unconditionally written out to a
scratch register inside its...

21e948c1c2ffd8e093a9cfb421e1c7dccc4db346 authored over 7 years ago by nmlgc <[email protected]>
Remove the _DEBUG define in thcrap_tasofro/src/csv.c

32ed8fa7984a9f8889d6bb1d2218afbbc172df33 authored over 7 years ago by brliron <[email protected]>
Tasofro: add support for some plaintext CSV files [V]

A lot of CSV files won't be fully supported by this because the game
parses them with a different...

b94b4c9c696d5685ba192c45f0b032413aaea6dd authored over 7 years ago by brliron <[email protected]>
Update version number

1c7d3e4226e52be3918e3d962d7359fd73c0afa8 authored over 7 years ago by brliron <[email protected]>
tasofro: apply the balloon expanding after retrieving the user-defined

balloon.

c07c37fa9f426c5a24fb9d792efde1d999002924 authored over 7 years ago by brliron <[email protected]>
tasofro: add new balloons supports in endings

9f4ddfac3eeb2c1aa5564391e7b67950ec9c6b89 authored over 7 years ago by brliron <[email protected]>
tasofro: change the way quotes are parsed in pl files. [V]

I thought the game supports quotes only when they are at the beginning or
at the end of a field, ...

a2d96f9a9c36ebbea3665e13923c4622671ce6cc authored over 7 years ago by brliron <[email protected]>
Update version number

240826894a09291316455ba92eabdd2e2059530e authored over 7 years ago by brliron <[email protected]>
Update win32_utf8.

bb1a0d700b7494623c524abad0daf5d239b5d17e authored over 7 years ago by brliron <[email protected]>
thcrap_tasofro: pl: automatically use a bigger balloon if we try to display

too many lines in it.

a09356ea61f0e7be870b295b5594c160e7b9a1e8 authored over 7 years ago by brliron <[email protected]>
Update version number

1c41afd9e47c7f760b1c13a151326ea02bcd6ead authored over 7 years ago by brliron <[email protected]>
thcrap_tasofro: add ruby support in pl parser [V]

85bf9f1425d912bb24f122bfb9065650d10e9dcf authored over 7 years ago by brliron <[email protected]>
thcrap_tasofro: add quotes escaping in the pl parser [V]

ba3f4c31633f681b12d41a4e4b69ff59e2d3295b authored over 7 years ago by brliron <[email protected]>
thcrap_tasofro: Fix the pl parser by skipping lines of text ONLY in the

one case where it makes sense, and fix the endings by handling that one
case (which is the last t...

6505d2a5bd9328d88d9f04f49a366a1ab2f826e0 authored over 7 years ago by brliron <[email protected]>
Update version number (should have been comitted for the last release...)

a93fde3c5a564c78cabd3f0dd38f5ab7da22808a authored over 7 years ago by brliron <[email protected]>
thcrap_tasofro: add endings support [V]

09e2b7e070ef41228fe7a26d85ac2e08a30e9ad0 authored over 7 years ago by brliron <[email protected]>
thcrap_tasofro: fix some dumb compil errors

cb45e4acf1206d2ef0b53e451e6c084fb2a4a7bc authored over 7 years ago by brliron <[email protected]>
Tasofro: Add support for TFCS files [V]

7051047cb5fa4c413050edf4118b430b53d6bf24 authored over 7 years ago by brliron <[email protected]>
update: Don't automatically update patches under revision control.

Sorry, patch developers, for not having added this condition three years
ago, and probably havin...

6e24220b740cff6b919e3e482edabf1e4d0451a1 authored almost 8 years ago by nmlgc <[email protected]>
Tasofro: when we have a patch file but no replacement file, wait until the

game tries to load it, then uncrypt it and patch it. [V]

9a575bfcbe2bd1f01823cae4558c2c8ae6169127 authored almost 8 years ago by brliron <[email protected]>
thcrap_tasofro: fully redo replace_file to fix crashes when the game reads

2 files concurrently. [V]

093f3cda65277aa1d79932ef4894910aa7256295 authored almost 8 years ago by brliron <[email protected]>
util: Add a string reference type.

Yay for NIHing C++17's std::string_view. Maybe in a few years…

45d738ce2558e259248eaf3d08cb10747c774f77 authored almost 8 years ago by nmlgc <[email protected]>
Exclusively use #pragma pack outside structs for packing.

It's simply the only thing that reliably works anywhere. Yes, even on
GCC and Clang where I've a...

24d78be335fbc9e4d37fb62dab2bf3c5eafb2b49 authored almost 8 years ago by nmlgc <[email protected]>
thcrap_tasofro: implement balloons handling (add a syntax to insert a new

textbox, and to change the displayed balloon) [V]

567aeb3b0e67050c0c0328013730f6a41a5b8ee5 authored almost 8 years ago by brliron <[email protected]>
Fix compilation on VS2015 (see http://stackoverflow.com/questions/31738796/using-macro-with-string-fails-on-vc-2015)

75577ccdecd3002395169ab531532efa6fa82007 authored almost 8 years ago by brliron <[email protected]>
TSA: ANM: Clamp width and height of sprites to the actual texture. [V]

So not only can ZUN specify the sprite X and Y coordinates to be outside
of the actual texture, ...

4f77d8aec1466b6351e430ccf6a3263994a32462 authored almost 8 years ago by nmlgc <[email protected]>
thcrap_tsa: attempt to fix devicelost crash

42e7b152b4060ff1749a69c514846555aebce0f2 authored almost 8 years ago by Egor <[email protected]>
TSA: Add an enum for game IDs.

We might also want to do numeric comparisons of game IDs.

cf98a5af35ada72178eacf260e8b6c64faf0ab27 authored almost 8 years ago by nmlgc <[email protected]>
Implement the Vista Slim Reader/Writer Lock API for Windows XP.

Whelp, 54 SLOC. I thought we didn't want to do this anymore if it
reaches that amount of code?

...

a2e744081d5bca56bcad7c1dd77982102c82930d authored almost 8 years ago by nmlgc <[email protected]>
Re-added license section to README.md

09ba38f98938e526814186cda7273106db662228 authored almost 8 years ago by MuffinPimp <[email protected]>
win32_utf8 now globally #includes assert.h.

19c153f4c9fed0c6f35442b688882268d37ba379 authored almost 8 years ago by nmlgc <[email protected]>
Add optional error reporting to str_address_value().

397d51b5c942063af2badb643f609782f4248a69 authored almost 8 years ago by nmlgc <[email protected]>
Move stringified address parsing from json_hex_value() to a separate function.

f015b3b89cef3321c9240ac1114939377a90f2be authored almost 8 years ago by nmlgc <[email protected]>
Tell people to post unknown executables on Discord instead of Gitter.

f52dd73c4ae6c0033a872fd196ef425f64979fa5 authored almost 8 years ago by nmlgc <[email protected]>
README: Change the raw Discord link to thpatch's redirect.

That way if for whatever reason the discord link is deleted we can
change the redirect and leave...

d6aa35be87e38f0d75684492b5e87919a3c89afe authored almost 8 years ago by nmlgc <[email protected]>
Changed badges

01406bea76135337ba91a82336b0bc1a9bf6ab84 authored almost 8 years ago by MuffinPimp <[email protected]>
Compile the thcrap core as C++.

1506adeb42416e5088f0f77e06a837402e6a8577 authored almost 8 years ago by nmlgc <[email protected]>
- thcrap: Move the core of BP_file_name into a new function file_rep_init,

to be able to use it outside of a breakpoint.
- thcrap_tasofro: Add partial hooks support (for ...

be964bc09de23fc7b4802311b4a29fa4f363281d authored almost 8 years ago by brliron <[email protected]>
spell.c: fixed spell_owner using wrong json key

For some reason I thought it worked when I tested it (I probably
looked at player name, instead ...

66e6c827759a4b975b3ab60967e6683c57e4e7ff authored almost 8 years ago by Egor <[email protected]>
spells.c: Added BP_spell_owner

3d5c311713df435eab9240aa11cc1f256282ba6b authored almost 8 years ago by Egor <[email protected]>
Merge remote-tracking branch 'DankRank/master'

5d71dfeb9a4575ee17171e5c740fcbf66e4b9a44 authored almost 8 years ago by nmlgc <[email protected]>
Replace FARPROC with the correct type for each function.

64f00a353dc1462693034e21ad09824b3ff22ade authored almost 8 years ago by nmlgc <[email protected]>
Add all necessary type casts to compile the thcrap core as C++.

5fd4b5a874bc22495a8e9ad459008e53ece40c2a authored almost 8 years ago by nmlgc <[email protected]>
ThreadWaitUntil: Don't re-protect the memory before the final write call.

bec19e6401e45267520af4bc197103620351a998 authored almost 8 years ago by Egor <[email protected]>
.gitignore: added VS2015 cache files to gitignore

Apparently this is the new IntelliSense database file.

4fd43561001443504d2ed54fd0a4f97683244ae3 authored almost 8 years ago by Egor <[email protected]>
thcrap_tasofro.c: fixed a silly mistype

10110227477fa19638d574ffd00557bf04cd97c4 authored almost 8 years ago by Egor <[email protected]>
log.c: fixed potential security issue in log_print

b8eaf8d0c257b05d2777c5e068ab675f22ec541e authored almost 8 years ago by Egor <[email protected]>
layout.c: fixed a silly bug in ruby_offset

!str_offset_end[1] == ',' will always be zero, because ! operator
emits either 0 or 1, and neith...

dc81e41875f9d41897aac65c90ff21c9fe8ddc35 authored almost 8 years ago by Egor <[email protected]>
Implement log file rotation.

Thanks to a recent change to Jansson that preserves the insertion order
of JSON objects, diffing...

c388d8f85fafc9cb3e1f758805f54d514f244070 authored almost 8 years ago by nmlgc <[email protected]>
Update our dependent libraries.

Including an important change to Jansson that (finally) preserves the
insertion order of JSON ob...

c4636f15fabf28f14a267121f96f4280110f9f9b authored almost 8 years ago by nmlgc <[email protected]>
Use a cleaner method of linking stdout to the on-screen console.

That magical sequence copy-pasted from Stack Overflow (which in turn was
copy-pasted from a Wind...

9e70b329eea360dfcfc0abeda192a00a8434bfaa authored about 8 years ago by nmlgc <[email protected]>
Update version number

1faaaf2cd5fb004658e9a05af3c7477921291ad0 authored about 8 years ago by brliron <[email protected]>
tasofro: with full paths, ensure the path contains "data/" (fixes a crash

in story mode).

2ef15b3534f8523114ee38a9c77b4c382c69f751 authored about 8 years ago by brliron <[email protected]>
thcrap_tasofro: when the game loads a DSS file and no DDS replacement file

is provided, look for a PNG replacement file.

d34fbb45938b4bcb51ff07c56135edf482ae68f8 authored about 8 years ago by brliron <[email protected]>
Always set file_size to 0 for stack file resolution in empty stacks.

Fixes a crash with the combination of thcrap_tasofro and empty patch
stacks.

thcrap_tasofro doe...

d930a9eb5473efe9a30678a137a8c7f1dfa5e63a authored about 8 years ago by nmlgc <[email protected]>
Update version number

5317f2aa9743961ee1515278d2d7e4e9cab3a063 authored about 8 years ago by brliron <[email protected]>
1st step of tasofro games support: adding file replacement support in

ULiL.

37e91c5eb04af2d43fbc5a9c76cfba688f62d17b authored about 8 years ago by brliron <[email protected]>
Merge branch 'master' of https://github.com/thpatch/thcrap

7fa63f24a461bd8ecfd4d934c52daf759ce30aee authored about 8 years ago by brliron <[email protected]>
inject: Reference the correct KB in the condition variable.

KB2269637 is more of a descriptive security advisory that only lists the
actual KB article with ...

1ba6bfbd18c4c24c8b2d498d30323c282ee03b20 authored about 8 years ago by nmlgc <[email protected]>
Tell people to post unknown executables on Gitter or IRC.

The submissions email address has been broken ever since MuffinPimp took
over the server, I thin...

f194ceec86aabc3da1afea8a0d6945f08f601d87 authored about 8 years ago by nmlgc <[email protected]>
TSA: MSG: Correctly insert new >251/255 byte lines that need to be cut off.

5f719969dd6253108bd5cfe9e23db5245d8d57f4 authored about 8 years ago by nmlgc <[email protected]>
Update our dependent libraries.

ab52663e5ae880b832d981e7ec9a94c9e78c1e43 authored about 8 years ago by nmlgc <[email protected]>
Support custom fallback codepages as an optional 4th element in version arrays.

db483800ff74537fa0bd10724cad84376e70a351 authored about 8 years ago by nmlgc <[email protected]>
configure: Write run configuration files and games.js in text mode.

Note that I don't use Jansson's json_dump_file(), because it calls fopen(),
which is something y...

455ec057e8fdc9e54c22655d63db17266d14594f authored about 8 years ago by nmlgc <[email protected]>
thcrap_loader: Show an error message if the run configuration was not found.

df4d86f96b307f2205ba6c55ef4371c99c282cd2 authored about 8 years ago by nmlgc <[email protected]>
Make bp_entry.asm SAFESEH-compliant.

Strangely, thcrap did link without this for a while, but then it didn't
anymore, and it breaks f...

7223fae4a5a65474d172653b41b4205544da3e8d authored about 8 years ago by nmlgc <[email protected]>
inject: Reference the correct KB in the condition variable.

KB2269637 is more of a descriptive security advisory that only lists the
actual KB article with ...

f20054e91e2decf6e9bc8ea13f8e291dd97e0b1f authored about 8 years ago by nmlgc <[email protected]>
TSA: MSG: Correctly insert new >251/255 byte lines that need to be cut off.

4cde95ee56a3171f03ecd1823bb0ef4af1144531 authored over 8 years ago by nmlgc <[email protected]>
Update our dependent libraries.

e0a7686600f630b90dcaa867061ebea1ada4ca6c authored over 8 years ago by nmlgc <[email protected]>
Tell people to post unknown executables on Gitter or IRC.

The submissions email address has been broken ever since MuffinPimp took
over the server, I thin...

f80de974210639478d77fe15c67d6ccbeca218ff authored over 8 years ago by nmlgc <[email protected]>
Support custom fallback codepages as an optional 4th element in version arrays.

1dbf8635bf98bdf7111c914151e6ce727972156a authored over 8 years ago by nmlgc <[email protected]>
thcrap_loader: Show an error message if the run configuration was not found.

c3b458e2755b5fc84382a4b7b47459a33302088c authored over 8 years ago by nmlgc <[email protected]>
configure: Write run configuration files and games.js in text mode.

Note that I don't use Jansson's json_dump_file(), because it calls fopen(),
which is something y...

920c68b55f9f1915c1e68ae4d60de9e95718c9a1 authored over 8 years ago by nmlgc <[email protected]>
Update version number

65660110bd20e60939b3c179b39da271b2a8aea5 authored over 8 years ago by brliron <[email protected]>
th06: add support for in-games music titles.

90575e7b0fa5a0b2ba3940606948994a9a321a93 authored over 8 years ago by brliron <[email protected]>