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

TSA: ANM: Assert that we have the size of the ANM header.

Ever since f7c8140, all formats are defined at compile time anyway.

Funded by GhostPhanom.

b66765ba6412da4409eceec4beeb99b6f62bdc73 authored about 6 years ago by nmlgc <[email protected]>
TSA: ANM: Verify the THTX magic only once, during initialization.

Funded by GhostPhanom.

f45ac636ca8c9a3128f0097f9511874c0859d3dc authored about 6 years ago by nmlgc <[email protected]>
TSA: ANM: Use C++ references rather than pointers where possible.

Cuts down on some of the parameter validation and even the occasional
unnecessary code path.

Fu...

497fa0dc247bea4de10c4c1d0ba3d9a0fadf5ae8 authored about 6 years ago by nmlgc <[email protected]>
Fix a few comments.

f2d2f82112eb40b16d67f5f021d547f1ca3a7cfb authored about 6 years ago by nmlgc <[email protected]>
TSA: Remove all unnecessary exports.

Ah, back when I still had no idea how PDB files worked…

343b7d5ae2b0af1d74d906461ef8f56a60d3b5f1 authored about 6 years ago by nmlgc <[email protected]>
thcrap: Strings: Free the backing memory in string_mod_exit().

Too bad that we can't completely get rid of memory leaks if we use
globally-scoped STL maps, as ...

e2385f852d09eaeed13280eb087c8e4ed57564a4 authored about 6 years ago by nmlgc <[email protected]>
thcrap: Don't potentially leak memory with invalid binary hacks.

Being able to declare variables anywhere is such a blessing.

1d9414bc9e028a9c6e68d8e5c5a5369469b931e7 authored about 6 years ago by nmlgc <[email protected]>
Update version number

b94f901b2255b71a20035c969e85b3f3fdf45dd8 authored about 6 years ago by brliron <[email protected]>
TSA: Layout: Make sure to create the DC before calculating any text width.

Funded by zorg.

efc5f4007ee0507cbd93a02c279760309d77b251 authored about 6 years ago by nmlgc <[email protected]>
TSA: Layout: Allow fonts from the TH06-TH09 font cache to be accessed via IDs.

Funded by zorg.

972b59b3ce28a3376517ae4f46dc3efb5e871edd authored about 6 years ago by nmlgc <[email protected]>
TSA: Cache fonts for TH06-TH09 rather than re-creating them for every line. [V]

Not only is this necessary to fix misalignment after font changes and at
the beginning of the ga...

2b4264b63ce3be8c3d7df77c81619f00bb1cc50a authored about 6 years ago by nmlgc <[email protected]>
thcrap: Add a Rust-style Option type.

Needed this two times now, time for a template type in thcrap.h.

Funded by zorg.

0d70ca04c3934373605b541b654d72eb1e6990f8 authored about 6 years ago by nmlgc <[email protected]>
TSA: Text images: Verify the game spec union size in Debug builds.

static_assert() would have been nicer, but alas, Visual Studio 2013.

a4f81d7b17e7f475c878d42f04d502706a7c6dd2 authored about 6 years ago by nmlgc <[email protected]>
TSA: Define iteration over all supported games via range-based `for`.

8af256634a1f9f93c7e8f609828ffb4a64954717 authored about 6 years ago by nmlgc <[email protected]>
TSA: Compile as C++ wherever it's not all too awkward.

In view of all the upcoming features, C really should be the exception
rather than the default. ...

16bda455c989b2338cf1fbf76cd05a8b2d74a66f authored about 6 years ago by nmlgc <[email protected]>
TSA: Text images: *Actually* support TH07 correctly.

Whoa, we need some measures against that class of mistakes…

Funded by Splashman.

fad573e89210fd863c036e93c33e11b87d950488 authored about 6 years ago by nmlgc <[email protected]>
Update version number

8b87a46a30c973771ea03ef19734081a59bdae2f authored about 6 years ago by brliron <[email protected]>
thcrap_tasofro: csv: allocate a bigger buffer for th105.

I don't know why it's needed, but it's needed.

769a56e636ede590e2e79468ef35d4a2698a98ef authored about 6 years ago by brliron <[email protected]>
thcrap: Binary hacks: Document the syntax.

Seemed necessary, just from the fact that the +/- sign is mandatory for
float and double literal...

ea87f70513676bc16966c55ffc5657b503a67362 authored about 6 years ago by nmlgc <[email protected]>
thcrap: Binary hacks: Support float and double literals.

Will mostly be used for ANM script patching, but can be used for more
than that.

Funded by Ghos...

3701a444425fb11ba2113fc2013708aff1ece0dd authored about 6 years ago by nmlgc <[email protected]>
thcrap: Expressions: Support conditional operators.

Necessary to hack around the fact that we need to show three separate
text images for each Prism...

18016d1a32f887722fe02b37469d3450c96d2682 authored about 6 years ago by nmlgc <[email protected]>
thcrap: Binary hacks: Prepare for more value types.

Funded by GhostPhanom.

73e46fcad6fde72ac4a514579678926258b24bd7 authored about 6 years ago by nmlgc <[email protected]>
TSA: Add support for putting custom images in place of text sprites. (TH06) [V]

And I thought this would end up being way less than the now biggest
module in thcrap_tsa, becaus...

f0b1d7f5d10d890b496c8154e8cc295efb3ec39a authored about 6 years ago by nmlgc <[email protected]>
TSA: Text images: Add support for TH07. [V]

Funded by Splashman.

3babf7cec27b1cc38c8a80ba5fa943fd3eafb8a1 authored about 6 years ago by nmlgc <[email protected]>
thcrap: Visual C++ also supports the ##__VA_ARGS__ syntax.

No need to #define separate compiler-specific versions of macros just
because of that.

f4994f83131aaf9bc686634634b986cf83ec845a authored about 6 years ago by nmlgc <[email protected]>
thcrap: Remove breakpoint_func_get().

Accidentally was cherry-picked back in in e941e1c, which originally came
from an earlier branch ...

2e3786ba77ac31df285934cd2c6bd4ef2508b0e0 authored about 6 years ago by nmlgc <[email protected]>
Memory patching: Fix a VLA leak in iat_detour_apply().

Realistically, this only leaked in Debug mode, but hey, we do have
_CrtDumpMemoryLeaks() call, a...

0509436c4016bd08e2c30c7067fcc2e6e22aa521 authored about 6 years ago by nmlgc <[email protected]>
TSA: Wrap thcrap_tsa.h with `extern "C"` for C++ code.

d24b72161ea3f46fd099504efe00359c3c2d05e5 authored about 6 years ago by nmlgc <[email protected]>
thcrap: Expressions: Accept whitespace in front of operators.

7f62cce78a3eaf85f2e46808bb6480bc57e5a8af authored about 6 years ago by nmlgc <[email protected]>
bp_mission: fix warning

69dc25cde7cbb88416c9bd7c2fb9fc03ca99571f authored about 6 years ago by Egor <[email protected]>
configure: Warn on close

Apparently some people don't pay attention to the text and close the
configurator halfway through.

6548c599ded5f4f0facdd352158772f834ab49b3 authored about 6 years ago by Egor <[email protected]>
TSA: Add the Steam AppID for th165. [V]

38bcbf3a597359c607135d46b72b08064d3cc6df authored about 6 years ago by nmlgc <[email protected]>
TSA: Font block: Clearly define the "min" and "max" ranges as inclusive.

And make sure that the "index out of bounds" error message gets
displayed accordingly.

6aacf164342ad7876739c0e03b91ae69f7235985 authored about 6 years ago by nmlgc <[email protected]>
Update version number

bb3e76411ca04067a7471c80d48ebf998a469dfc authored about 6 years ago by brliron <[email protected]>
TSA: Add a breakpoint to calculate the widest string in a list of strings. [V]

Yup, I finally did it. The breakpoint that, together with expression
evaluation, would have turn...

2af3d0cab50dcc9538ebe625c748d971db73df2f authored about 6 years ago by nmlgc <[email protected]>
Some cleanup

d1bc7a81c23bd0b522074adb1a9007a4ccf95078 authored over 6 years ago by brliron <[email protected]>
thcrap_tasofro: add support for patching subtitles in th155 [V]

Works only in VS mode for now.

e9227a1594b9e29f066afc1fdf291135113fd0fd authored over 6 years ago by brliron <[email protected]>
TSA: TH06: Never skip PNG splitting based on the original PNG's pixel format. [V]

This fixes two problems:

• title04_a.png in the static English patch is a 256-color grayscale
...

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

eb423b05926796281864feaa98a002b3df6df2ac authored over 6 years ago by brliron <[email protected]>
Merge branch 'camera'

a26c4773f761d1dc1491a704d29b8bbf63c1d7b3 authored over 6 years ago by Egor <[email protected]>
update: Work around patch updates not working with games started through wrapper patches. [V]

See #69 for more details.

7e234f79adadcf84c972d9d6d0b67d3df9ee74aa authored over 6 years ago by nmlgc <[email protected]>
Added furigana support in th095 and th125

aa23dcbb9e1f9fde3f8102f2415ccd95482affd4 authored over 6 years ago by Egor <[email protected]>
update: Redownload checksum-less invalid JSON files from different servers. [V]

Previously, there was only a single chance for a files.js download to
return a HTTP 200 OK respo...

b8b6fc7d347a18b46f0fc076072a96d6222c028e authored over 6 years ago by nmlgc <[email protected]>
update: self: Call the servers_t methods directly.

90f1c90f04330b219e1b2263ab85198d651b991b authored over 6 years ago by nmlgc <[email protected]>
update: Add the originating server to the download context structure.

22d84091766c812bf6d3ae4c1c00450786723925 authored over 6 years ago by nmlgc <[email protected]>
update: Return the entire download context structure.

3b1772e46381cc52b2eb4700c963d3ecfd9619b9 authored over 6 years ago by nmlgc <[email protected]>
Merge branch 'master' into camera

7a1070a0cc9a576a0ff14b03f07732247b2558a0 authored over 6 years ago by Egor <[email protected]>
Update version number

caf059b34b597d6d4c6f6e3a619850fe5ccb05dd authored over 6 years ago by brliron <[email protected]>
TSA: Ensure that POV→axis mapping works with Steam's overlay. [V]

Funded by an anonymous person.

3672dc5c89fa970f7de58323e8f0b5baa7d5bf44 authored over 6 years ago by nmlgc <[email protected]>
TSA: Map POV/D-pad inputs to the X/Y axes. (DirectInput mode) [V]

Vastly more complicated than WinMM for all the wrong reasons. Oh well,
at least we don't have to...

3d9f67ed56efad8e2638fd0855f724280437c46d authored over 6 years ago by nmlgc <[email protected]>
TSA: Move the POV→X/Y axis mapping algorithm to a C++ template function.

Funded by an anonymous person.

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

b340ff4a1ead8d10b8b8c3b3eb28f15328d55a89 authored over 6 years ago by brliron <[email protected]>
TSA: Map POV/D-pad inputs to the X/Y axes. (Non-DirectInput mode) [V]

Essentially allowing D-pad controls for all games. The WinMM version
also covers controls in the...

35f16684bf54faf8c18d4e4fbc70505fb04a973f authored over 6 years ago by nmlgc <[email protected]>
thcrap_tasofro: pl: add th155 v1.10 support

323ee564c3e57e50ab3a34561c08174d1cdde818 authored over 6 years ago by brliron <[email protected]>
thcrap: Restore the "old game build" popup accidentally removed in efbc4b9. [V]

And of course, 5f6dd9d didn't provide any rationale for why this seemed
a good idea back then.

...

140abd730cf943072b25ff5c8d35d5a6030a30d7 authored over 6 years ago by nmlgc <[email protected]>
thcrap_tasofro: pl: add an option to split lines before parsing the

cells.

Because that's how th155 1.10 seem to do it, and I *have* to do the same
because they for...

f87d8ea12fa634c9ed3c199672b3bef3c502199e authored over 6 years ago by brliron <[email protected]>
thcrap_tasofro: th155: add a few map files hooks

7807c2d9ae8ec9b454a34a05cef2746995bb9f3c authored over 6 years ago by brliron <[email protected]>
thcrap_update: don't re-run the game after an update

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

4e0c781b7dff42446a5cc5c914cf359ae0c00bd6 authored over 6 years ago by brliron <[email protected]>
thcrap_tasofro: cache the bitmap fonts on disk. [V]

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

225f9ce3fc3ed00542b54403e18e7f894e4fa09c authored over 6 years ago by brliron <[email protected]>
thcrap_tasofro: bmp_font: add matching every js file in every patch.

4b2d4d3e9b9f2a57ba62662a1d12a2701d73513f authored over 6 years ago by brliron <[email protected]>
thcrap_tasofro: TFCS: replace a <= with a >=.

9c191576c23876c6cf864e4be03264e5593af58d authored over 6 years ago by brliron <[email protected]>
thcrap_update UI: add a "Update other games and patches" checkbox. [V]

ea68b82ef84e9781e0e875e7f42bf26972fadffd authored over 6 years ago by brliron <[email protected]>
thcrap_tasofro: pl: use a different way to regroup lines by balloons.

mamizou/ed.pl has an empty line between 2 lines, and the old way didn't
support that.

19ec08d6a18ca0bfefdd68f0ffa4d9e7dccc96fe authored over 6 years ago by brliron <[email protected]>
thcrap_update UI: progress_bars_set_marquee: add a clear_text parameter.

7370f422c2a694907c892fd5d1df2a4a5e778bf6 authored over 6 years ago by brliron <[email protected]>
thcrap_update UI: set the main window as the message boxes owner.

7fb7a78943ad3f4ee7bd6026710dcb985f72fecb authored over 6 years ago by brliron <[email protected]>
thcrap_update UI: add PBS_MARQUEE to progress bars when we don't have

any progress to show.

b4f93776699c3c7bcca862411dbca849b157461e authored over 6 years ago by brliron <[email protected]>
thcrap_update: remove the text limit for the logs. [V]

ac44cd8c65d4791c7eb138b28c4709f01d388b3d authored over 6 years ago by brliron <[email protected]>
thcrap_loader: add unicode support to the log window.

6e8557ced26329c6663dc3153d25e31958ecf931 authored over 6 years ago by brliron <[email protected]>
thcrap_tasofro: TFCS: fix some buffer overflow checks.

209ab5b17920e42dd45fce40502e3d6434df919a authored over 6 years ago by brliron <[email protected]>
thcrap_tasofro: TFCS: add ruby support.

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

cfec925fbc33a9dcbeef9eb759ce87516b7565b9 authored over 6 years ago by brliron <[email protected]>
thcrap_tasofro: th155: generate the bitmap fonts on the fly. [V]

f5aece2b52940400080def05ff4ab375de69d1e0 authored over 6 years ago by brliron <[email protected]>
thcrap_tasofro: add more space for TFCS files.

Fixes a crash with lang_ru, lang_uk and some other languages.

34171838beacbda36dcf2449358f73ebc1684e61 authored over 6 years ago by brliron <[email protected]>
README: Update the module descriptions to match recent developments.

And also mention thcrap_tasofro, because that's how old this section
was.

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

ebf399ab8b122d1f22f731c54e7c488621350435 authored over 6 years ago by brliron <[email protected]>
thcrap_update: run the game even if we don't know it.

Fixes vpatch not working.

ea13930b496a77852985b5464c03a1b638e0322b authored over 6 years ago by brliron <[email protected]>
update: Remove plugin code.

With a separate updater process, configurable update check times and a
clickable "Force update c...

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

461f22c733e5e6f14d6d4cec4c350d4178d69e5f authored over 6 years ago by brliron <[email protected]>
thcrap_loader: Add a scrollbar to the logs window. [V]

8dcc24fb248ba24c76be94ea39e737cc4e31b270 authored over 6 years ago by brliron <[email protected]>
- thcrap_loader: implement the "Update when the game exits" checkbox [V]

- thcrap: add 2 parameters to thcrap_inject_into_new, to return the
handles to the caller if he w...

3351d714f499e6dd15669c50eb82302b6aff83de authored over 6 years ago by brliron <[email protected]>
thcrap_update: display the progress texts over the progress bars, remove

the background color of static controls, increase the buttons size, add
and implement a button to...

eb764678088c551467fa712d1beaa05a97e67767 authored over 6 years ago by brliron <[email protected]>
thcrap_loader: Fix a division by zero.

Didn't I fix that one a while ago?

38b07ec713512d3da8c0473eb1a5bf5b9a4bf092 authored over 6 years ago by brliron <[email protected]>
thcrap_loader: add some styles to the main window. [V]

Okay, I don't support resizing (WS_THICKFRAME and WS_MAXIMIZEBOX), but I
still want a close button.

d0b47612aa9bf0a4274d4d22333437c2810ba03d authored over 6 years ago by brliron <[email protected]>
thcrap_loader: implement the "hide logs" button. [V]

4a51f0bbc9c46a933bab20cdc29c8b1cc52c3603 authored over 6 years ago by brliron <[email protected]>
Remove some debug code

98279dc1e6054c13c7d66e7638a6200ba7edfed0 authored over 6 years ago by brliron <[email protected]>
thcrap_loader: add a log box, and display a clean state when the update

is finished. [V]

I think I can ship that after implementing the "show/hide logs" button.
Also fi...

ec85644b2f6ac46dd4f011a8f02941c57d683a22 authored over 6 years ago by brliron <[email protected]>
thcrap_loader: fix a crash when decrefing run_cfg

a35ba982cebe346a338c20e574749f84d3357bb1 authored over 6 years ago by brliron <[email protected]>
Merge branch 'master' into Update_UI

b30fce56b734d0d6c9cbeb82550cc47bb1c675a0 authored over 6 years ago by brliron <[email protected]>
log: use a window from the current processus for the message boxes.

Instead of just stealing the foreground window from another process.

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

b4a2b1a4c5e395e9b9f7db7b4cee0355ccff52b6 authored over 6 years ago by brliron <[email protected]>
Use absolute paths for shortcuts

Documentation on IPersistFile::Save[1] says it takes an absolute path
as an argument.

CShellLin...

0c9fbf321003a8c729b7ea124f11e08a4cb7dcd8 authored over 6 years ago by Egor <[email protected]>
[sswconf] remove console support

wineconsole hacks were present in the ssw version, so if it was broken
on wine, it should be fix...

3deec00adff92b574b506eaf3bb025431c282229 authored over 6 years ago by Egor <[email protected]>
Make PrettyPrintPatch not pretty

who thought this was a good idea in the first place :thonk:

434dfda10ce7a63e486c1cc4c6629510e945996a authored over 6 years ago by Egor <[email protected]>
[sswconf] Fix left margin of editbox/progress

04b5006ab17a6f71b1613513ddcb0d1f7f759ac2 authored over 6 years ago by Egor <[email protected]>
Don't claim Win8+ compatibility

that breaks shortcut creation somehow

73cb9112afdb4657e5c9674cb8b819d6c55a2ee5 authored over 6 years ago by Egor <[email protected]>
Update version number

58aeb8ab958f75c93ddf7ef89a9ce74bc71f8ed1 authored over 6 years ago by brliron <[email protected]>
Merge branch 'sswconf'

ca178b57daa6129f5a24568d24e8aed5554a220d authored over 6 years ago by Egor <[email protected]>
thcrap: Plugins: #include <string>, which would be missing on MinGW/GCC.

83c00cdd1b9f4297b7786c487e1547d480185bbd authored over 6 years ago by nmlgc <[email protected]>