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

Change "Create shortcuts?" message to be more verbose

ye ye, it's not completely correct, but it'll be ok for noobs.

We're going to get rid of shortc...

8a2609d057fd24218b50b221b3d15ab4868d6d9f authored over 6 years ago by Egor <[email protected]>
Fix yet another UTF-8 trunctaion bug

(this time introduced by me)

this also fixes the bug mentioned in previous commit

576393477c62c3665a327bd58a3bbf0e68881272 authored over 6 years ago by Egor <[email protected]>
Made search funcs use wide strings

This had the same problem as SHGetPathFromIdListU, it truncates strings.
Unfortunately this didn...

1b57e75214fe7363d8af114587c51ef2c42e3277 authored over 6 years ago by Egor <[email protected]>
Fix use-after-free bug

439376f7cf4f760cd80f244fb8b737024018788e authored over 6 years ago by Egor <[email protected]>
Load vista functions dynamically

b9a3d146d63fb91da4801f1dbbfe2c6e1732ee0f authored over 6 years ago by Egor <[email protected]>
Add manifest for thcrap_configure

fca55bb0a714ae2fcee728bb79a17a64fe474bd6 authored over 6 years ago by Egor <[email protected]>
Allow to skip the shortcut creation

gotta hate having 1000 shortcuts in my thcrap directory

abad5fd8be0d7e184fb96b50bfa69815edf1064c authored over 6 years ago by Egor <[email protected]>
Progressbar marquee when searching games

04996c6d2dfe1056c7525644e1f6602a8056e024 authored over 6 years ago by Egor <[email protected]>
Clickable selection between multiple versions

c751255bd7a9d12dd5317850ddf97b09b07a2408 authored over 6 years ago by Egor <[email protected]>
Change subsystem to Windows

f6fe5161c77322e2e576b918af3b45d32c098b1d authored over 6 years ago by Egor <[email protected]>
Improve keyboard usability

- pressing up/down in editbox will switch to listbox
- in input mode, typing in listbox will swi...

a3259aebd0f7c0e1bd7ccc3157d297c60875d96d authored over 6 years ago by Egor <[email protected]>
Call SHGetPathFromIDListW directly, not thru UTF-8 wrapper

1) the buffer was allocated as 2 * MAX_PATH, while the maximum codepoint
size is 4 bytes.
2) ...

b17179b2f3fcf0f16877ee0ac7d644e4df24ef14 authored over 6 years ago by Egor <[email protected]>
Use IFileDialog on Vista+

also set owner window for SHBrowseForFolder on XP

9fce512615266302efcc2fe4778636a828a39c83 authored over 6 years ago by Egor <[email protected]>
Add .vs directory to .gitignore

does everyone here use vs2013 or something? :tannedcirno:

5b426b2d57698bcb207f78af7b58cfdb7793dc3a authored over 6 years ago by Egor <[email protected]>
C O M F O R T

- please wait warmly...
- y/n prompts are now in gui
- a/r/k prompt is clickable in listbox
- ic...

09fa02055e12ea011feb103bb018aa6d443bbc06 authored over 6 years ago by Egor <[email protected]>
Use c++11 threads/mutices/promises instead of Win32 ones

b7cee74b806b6e856fceb28931c653ea391754c7 authored over 6 years ago by Egor <[email protected]>
Fixes and optimizations

probably not all of those are nescessary. the main change is
actually creating mutex.

9f767fab0c6f39fa4f7bdcd866d3ace5353f2849 authored over 6 years ago by Egor <[email protected]>
update: Send `Connection: keep-alive` for all HTTP GET requests.

> [2018-02-23 4:54 PM] Nmlgc:
>
> lang_en, keep-alive: 1,297.209 seconds
> lang_en, without: ...

1c5abffb11c7018ebc7333d94d575be34371eb57 authored over 6 years ago by Egor <[email protected]>
Make everything async and clickable

d9fa2d3fba701d049d162fb32cf4439268f76a7f authored over 6 years ago by Egor <[email protected]>
Fix identation

b9945bfcc622abdc6145616dd786bb98b28bee7d authored over 6 years ago by Egor <[email protected]>
Add .editorconfig

077f9a149355b5f83fddc2813c3ec93eb72e86e0 authored over 6 years ago by Egor <[email protected]>
Initial version of configure gui

a8dfb542444206bbb6eb5b526c8f7bb97cd30824 authored over 6 years ago by Egor <[email protected]>
scripts: repo_update: Avoid os.DirEntry for compatibility with Python 3.5.

thpatch.net is still stuck on that, and who knows how many third-party
modders we'd have to anno...

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

0b05e9d610df093b791dddc7c27ef425eff5e311 authored over 6 years ago by brliron <[email protected]>
Fix CJK game paths not being recognized properly on DBCS locales. [V]

… really, that's how easy it was? Fixes no BGM in TH09 and TH09.5 under
this circumstance, among...

d4eb88ac39b35e5ce3c610368e514c0546bf7d82 authored over 6 years ago by nmlgc <[email protected]>
Update version number

c2953002394df1d9205c941e4241750e6cdd04b7 authored over 6 years ago by brliron <[email protected]>
thcrap: Fix 7794aae8978ec07839dce29c21abc2b3a152207a.

761869121ede0d1a1b3cd6b7b2b6cb958be53d2f authored over 6 years ago by nmlgc <[email protected]>
thcrap_tasofro: th135: add spell comments support.

Also, move a bit towards map files for spell cards. The spellcards
generator code is rather mess...

9524dc74f1e116c583645ced4e2971f9d36840be authored over 6 years ago by brliron <[email protected]>
thcrap: Load plugins only after having scanned the entire directory. [V]

Fixes potential infinite loops after self-updates on some systems. Since
there is no guarantee h...

7794aae8978ec07839dce29c21abc2b3a152207a authored over 6 years ago by nmlgc <[email protected]>
TSA: Fix TH12.8 still crashing with no installed sound devices. [V]

fc484e5eef2b650102913aced38b41a6f96e6366 authored over 6 years ago by nmlgc <[email protected]>
TSA: Fix the ZUN bug of TH09.5+ crashing with no installed sound devices. [V]

f5825b294fed16eba7433abaf64f638e8ab1b8bd authored over 6 years ago by nmlgc <[email protected]>
MSBuild: Make GAS available to all thcrap modules.

fb5942915e2a532602c67bf34bf8637135f87694 authored over 6 years ago by nmlgc <[email protected]>
Memory patching: Support detouring functions that are imported by ordinal.

Such as DirectSoundCreate8(), for example.

95dad3d791ae23a6c1b6bfcb238ccdb97ebbb1e9 authored over 6 years ago by nmlgc <[email protected]>
Memory patching: Merge the "low-level detour API" into iat_detour_func().

That was way too much abstraction, this is much easier to understand.
Also, the detouring strate...

ec4b6416dbbeddb72bf4c4519f9065170f5673df authored over 6 years ago by nmlgc <[email protected]>
thcrap_tasofro: bmpfont_fix_parameters: Simplify the UTF-16 conversion.

479e535ed5372fb1ed6b23ab66357ab0cd481dd7 authored over 6 years ago by nmlgc <[email protected]>
Update version number

570d3d7ece77388e84c09ba4bad564a352b98310 authored over 6 years ago by brliron <[email protected]>
thcrap_tasofro: bmpfont_fix_parameters: ensure our buffer is big enough.

I'll nedd to fix it *properly* later.

bd7b13c49c7de8027fc13fd487e91d459fce73f2 authored over 6 years ago by brliron <[email protected]>
Update version number

4ac0941e7d554fa08677bf910f7d1b02d2a3f699 authored over 6 years ago by brliron <[email protected]>
Update win32_utf8

a057af7ec1cecb5ca0dfea50eaa18e52a754cd4d authored over 6 years ago by brliron <[email protected]>
thcrap_tasofro: add support for nhtex files

51d414e4780f4ede44aba84ab090ffb378b604d8 authored over 6 years ago by brliron <[email protected]>
thcrap_tasofro: th155: allow replacement of bitmap fonts

126407718da894a7eeba0d00412fd6f89878fed7 authored over 6 years ago by brliron <[email protected]>
scripts: repo_update: Rewrite patch file iteration recursively.

Necessary for the upcoming recursive .gitignore-like functionality.

Funded by Splashman.

a24e2480e97b8c4a765813601039156665ac1be3 authored over 6 years ago by nmlgc <[email protected]>
scripts: repo_update: Support .gitignore-style thcrap_ignore.txt files. [V]

For files that shouldn't be downloaded by the client.

Funded by Splashman.

eb0a5a18c3824604545c91865c7f68cd74dda290 authored over 6 years ago by nmlgc <[email protected]>
Update version number

9d480c9533e449d7970ca1005754facb71d26a44 authored over 6 years ago by brliron <[email protected]>
TSA: Loopmod: Decide on a single loops.js file for every game. [V]

Funded by Splashman.

Well, this felt quite controversial. But not only do the trial versions
of...

bf420cd9423c1107b8756a085435085aa22e6403 authored over 6 years ago by nmlgc <[email protected]>
TSA: Support BGM loop patching for TH06. [V]

Funded by Splashman.

3a19d90fe87cec5e2ae11d0f70857de9277af313 authored over 6 years ago by nmlgc <[email protected]>
TSA: Support BGM loop patching for TH07 and later. [V]

Funded by Splashman.

How to use:
• Make sure you got a sample-perfect extraction of the track w...

0ed1df4d3e8d1f3940ededb32cb38dea5d322e26 authored over 6 years ago by nmlgc <[email protected]>
Update version number

52a84167ca78b04a8b032405728e3993d37e6e5c authored over 6 years ago by brliron <[email protected]>
thcrap_tasofro: Add support for th155 win messages. [V]

9d7ec644cac3db9cf6a57e1ce5bf1d0adacb101e authored over 6 years ago by brliron <[email protected]>
Update version number

d72b0844047f9eeae93ed8533e0eef95231d0ebf authored over 6 years ago by brliron <[email protected]>
TSA: Move trial detection into its own function.

84d03a7cb7ae392ee2e628e87f11349affedb8a3 authored over 6 years ago by nmlgc <[email protected]>
Fix a479ec9

9a9d0a63c923772c11e4590ab574f2edca464d57 authored over 6 years ago by brliron <[email protected]>
scripts: repo_update: Show a friendlier error if pathspec isn't installed.

22c48b6619fbd941805126fddc98d1ca96cc5ace authored over 6 years ago by nmlgc <[email protected]>
thcrap_tasofro: load map file for th155 staffroll themes. [V]

a479ec9efc0d17c60a1a5d3ee09825db959adceb authored over 6 years ago by brliron <[email protected]>
update: Make sure that wininet uses UTF-8 internally on DBCS locales. [V]

Reasons why wininet is trash:
• Poorly defined initialization and shutdown (98ac5d3a11823a1c53ea...

7e40fd4b494667397c0317948aec7066c6c76b9a authored almost 7 years ago by nmlgc <[email protected]>
Update version number

cd1594d1c796e6a9058997bf6df0a6a22b554901 authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: add spellcards hooks for th155

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

8611fa08b049996f22638efffdf5491de6d0fb4c authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: pl: don't decrease the remaining file size when it's 0. [V]

It's a size_t, so decreasing it sets it to 4294967295

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

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

a9b192503c7585d89ed22b56f78e78bc4aa0ccdd authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: Add the Steam AppID for th155. [V]

Could have just been a char* array, but who knows if they do add trial
versions later, so let's ...

762fa76c1cac4b63a7e235f90dfe365cce242f8a authored almost 7 years ago by nmlgc <[email protected]>
Act/Nut lib: add a nice syntax to edit a whole extension. [V]

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

1e3dd0acffe9a6d0c1a8e14087f11a219fb1e7f1 authored almost 7 years ago by brliron <[email protected]>
win32_utf8: Fix URL construction with non-ASCII characters. [V]

Thanks to @IkuTronHD for creating this situation by extending the Mima
patch to Tasofro games.

1604d8ed2f9878c7a78e9c52f9fef6c20e8189fa authored almost 7 years ago by nmlgc <[email protected]>
configure: Turn the two game location questions into a single clearer one. [V]

6b2f51be31caa470c4024b2cf36c267af2bf9af6 authored almost 7 years ago by nmlgc <[email protected]>
configure: Extend questions to support default answers.

e32c9e41a2bd6c3c21f9d9a1c9a37cd11c210e39 authored almost 7 years ago by nmlgc <[email protected]>
configure: Extend Y/N questions to accept multiple and customizable answers.

Hey look, a use case for std::array! Too bad it still means that the
function has to be a templa...

d042d4138508cc75b785d63cbd812792daf36d4f authored almost 7 years ago by nmlgc <[email protected]>
thcrap_tasofro: pl: bugfix: put a parenthesis at the right place

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

6c38c88a789ce31aba3ed0e1763caf052b3f2e2e authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: pl: fix th155 support. [V]

1dd4fa13a6037f382c545edb575c80110496b6a4 authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: add the patchhook for th155 ending files. [V]

311b424750f422093ddf9a2ce67bcdd6f8b670f1 authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: pl: redesign the Text class to use inheritance.

Because I got tired of all these if everywhere, and working th155
support wouldn't make things b...

1ae06e6264b8173ec01fbd7430baf4549390e80b authored almost 7 years ago by brliron <[email protected]>
update: Move wininet initialization and cleanup out of DllMain. [V]

Haha, no, e17a496b48983bf02ca219c81b5fe7e286a7c98f, *this* was the
reason! Fixes rare hangs when...

98ac5d3a11823a1c53ea02547e702d1887a5cbf7 authored almost 7 years ago by nmlgc <[email protected]>
Update version number

2e7bc6fd34d25fada31856b97db4527cdd3658e7 authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: update the PL parser for th155 support. [V]

e187e7f6d19444a8427ee6cdbff0d086fee8ce78 authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: nsml: keep the lock for the whole game patching. [V]

Th105 still crashes without that. I don't know where it comes from, but
for now, that will be en...

4254541d3054086f4071d4d6fd152202017b52c9 authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: add th155 and fix th155 BGM indexes. [V]

e0d93e1ba70727f249d80157500c0ac54270481d authored almost 7 years ago by brliron <[email protected]>
thcrap: Log: Show an error message if thcrap_log.txt can't be written to. [V]

The challenge here was avoiding a second message box if the user decides
to continue and uses vp...

390379642356db6abdf60fb016eb4cce15f86773 authored almost 7 years ago by nmlgc <[email protected]>
thcrap: Plugins: Load DLL dependencies from the DLL's own directory first. [V]

The long overdue fix for the rare plugin initialization bug! Turns out
that some other random ap...

88e84e6b762282a618dbafe90c29f0a14f98ed68 authored almost 7 years ago by nmlgc <[email protected]>
thcrap: Plugins: Add more initialization log messages.

Seems as if I've solved that rare loading issue now, but let's better
leave some of the logging ...

c466ccf5eaf9d9f806c426db64da69f05a2fb8c5 authored almost 7 years ago by nmlgc <[email protected]>
configure: Compile as C++.

We'll need something to parse Steam's .vdf files, and that something
sure ain't gonna be written...

30c83806edac09a2bebce72c39c8c3816d84598c authored almost 7 years ago by nmlgc <[email protected]>
Update version number

de182c25453ba7308dfd68048a9898e48062a2a3 authored almost 7 years ago by brliron <[email protected]>
Move objects association from thcrap_tasofro to fragmented file reading,

and add support for fragmented file reading without using a header
first.

ae0fe00ce5aace690efc4e5d297978c2a2182c93 authored almost 7 years ago by brliron <[email protected]>
Nuke json_array_from_wchar_array().

bbba7521bdaf65bce1c946c1bab3ff3261668023 authored almost 7 years ago by nmlgc <[email protected]>
VFS: while creating the patch object for a map, use a new object instead

of updating a copy of the map in place.

Updating the map while we're iterating on it may not be ...

f55cd0820655fd1d0f604cfc5021834c032dbca7 authored almost 7 years ago by brliron <[email protected]>
Use win32_utf8's wrappers for UTF-8 command-line parameters.

d54ae5216e264d86687618ae67222339a10c7f2e authored almost 7 years ago by nmlgc <[email protected]>
win32_utf8: Finally move win32_utf8.h out of the src/ directory.

9f7bb76de7c14f6ef89c9753e8f6263f3b5ef7e4 authored almost 7 years ago by nmlgc <[email protected]>
Update version number

a2d300d453401d442a4cd63859e2f89642926086 authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: th123: load spells.js from th105 as well

15c59b04c3ec4b8d2e4641d9d8f385ee7c3c1e67 authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: png: display the correct file name in the logs (part 2).

3c8f5a22742a1a03203102a5c56704430d01df07 authored almost 7 years ago by brliron <[email protected]>
resolve_chain and resolve_chain_game: allow replacement of the function

generating the chain.
thcrap_tasofro: for th123, replace resolve_chain_game with a version
that a...

465a72ed8c4f25e78326f79dbe8d840863431f77 authored almost 7 years ago by brliron <[email protected]>
thcrap: Pass absolute paths to LoadLibrary().

be9d4278f240bf45c52aaf76befc7d606d51d8d8 authored almost 7 years ago by nmlgc <[email protected]>
win32_utf8: Remove the nonsensical WCHAR_T_VLA() macro.

3aa8768ea9e7163d50a122f68891d135a08032f8 authored almost 7 years ago by nmlgc <[email protected]>
Update version number

bb81a7092d43b07c5f59362bb6b0ada652815e43 authored almost 7 years ago by brliron <[email protected]>
update: Print a specific error message for unknown protocols.

e1b2ab27d109095069b7b049bd10a2b68b2014b3 authored almost 7 years ago by nmlgc <[email protected]>
update: Ignore servers without an URI scheme.

Might have been nicer to check the errors returned from
InternetCombineUrl() or InternetCrackUrl...

0a546f6e5ac77db3b0476b794e7988ff8556ea99 authored almost 7 years ago by nmlgc <[email protected]>
util: Change the type of stringref_t lengths to int.

And that's why everyone else uses `int` for these types, because it's
way more important to be a...

899b90a70059dd30f1bef0bb6132e74c9553e84c authored almost 7 years ago by nmlgc <[email protected]>
BP_file_header: the rep_buffer will be used as the game buffer, so it

needs to be big enough to contain the patch.

53309353e1056e33f7082a61a467c66e93e11d7d authored almost 7 years ago by brliron <[email protected]>
- Fragmented file reading: use the correct input file size when patching

a replaced file.
- thcrap_tasofro: png: decref the chain only when we're done using it.
- thcrap_...

3df44cf91874d25b66d7e439daeac97d17bbf0fb authored almost 7 years ago by brliron <[email protected]>