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
e36ce6421248ec5a24764f8876679e728241cefa authored over 7 years ago
700c08513b4c1d422473055f75534f394cc41a6e authored over 7 years ago
flexible, and I wanted to use some parts of the PL parser in win
messages patcher).
- Add win quo...
when computing the file pointer from before the ReadFile call.
f59bdc7b4615b2252125adce3428eaeb6a3bd9b7 authored over 7 years agoc807a61ba06684cc7772b8f4c1d667d480119784 authored over 7 years ago
Turns out I also need it for debugging the hopefully last ZUN bug in
TH06, and with multiple fun...
Our n is still way to small for this to actually make a difference. With
TH14.5, the heaviest us...
There will be more symbols, and this would be getting a bit unwieldy…
a6713ca2ade909090c073f5c4131747cac813ca0 authored over 7 years ago1bb7e16cbfe89c6d3c2681a0c89bba59f150d497 authored over 7 years ago
Apparently my original fix only worked for me, because there are
multiple sets of Reset calls, a...
0ecafb0582e0bec467dc2c37cadda5372b62f93c authored over 7 years ago
5bc72dd65ccd49bb7345e6bb89eb56a65e11308e authored over 7 years ago
5858f8964517972ec655474c9b1e92928be69435 authored over 7 years ago
51071c7c58beb7f3691a1953881c28924d66005a authored over 7 years ago
4bad69c6eb48dd3dd21ecf07950c578163167cae authored over 7 years ago
e732264beffc6841707f97b9d48325eb48bc41cb authored over 7 years ago
For now, only strings can be replaced.
5601eba5f80e9028e6062f525a92a97e0410dda1 authored over 7 years ago
Since x86_64 has R8 and R9, and this is called by an expression parser
now.
0537b0b988053e794d362db847b4732ea7e50b8f authored over 7 years ago
743662a7b13e7493dca75335c8b5b10d8b8bf833 authored over 7 years ago
73d46da10218154d690a3f0a57c1d9659ee87f03 authored over 7 years ago
warnings in the logs when the buffers are too smalls.
879a9b51cefdd341a3e600a5da2c7ac6bc515162 authored over 7 years ago9a7d29ff3c368fdb8fa3e87747fcf3d3fed77102 authored over 7 years ago
b0fb53676363b837107843d90afcc4a78b0aa881 authored over 7 years ago
13c775944c617ee99a2102f65b599e64b5b6847b authored over 7 years ago
7ee177daf94b685867e74b16099187b66ff07d31 authored over 7 years ago
1db34eef74e4bf5414fd6b3236e574c30b49c423 authored over 7 years ago
e1218ac71d9e3581da2a26f3776a1f0c60899c35 authored over 7 years ago
b702a463adaa3a15044bde39e90dd880198cc60f authored over 7 years ago
01f57f1c5374f4d8ab329cf2ddbe35cf6b1cea1f authored over 7 years ago
D3D9, like most of the Microsoft APIs, uses stdcall calling convention.
In particular, this mean...
b613f7112f1eefd78c058548823c34fce57bf55f authored over 7 years ago
Previously, it was repeatedly calculating the hash of the empty string
on every line break.
e19114a1039c50343f60326e9bb037f1cd3e8ff0 authored over 7 years ago
6a26baba34dff049d4fccd7b3f3ac5f63fcf595a authored over 7 years ago
e50728e7e479e71eea56709107ca296cdc1ff726 authored over 7 years ago
116ec5445be07a8fe8eb496a2a9845190ac471cc authored over 7 years ago
0f53dea9f82c29529d5c9d9f024f52998cf367b2 authored over 7 years ago
Turns out we need this for the TH14.3 title messages as well.
b7b49ae368bc647f8eefc68a20f2f85b91a518e4 authored over 7 years ago
Haha, seriously, how stupid was I? We don't care about any reference
counts above 0 or 1 to deci...
e89a670955e0476d8924f2bdbe077e1d639e8b0b authored over 7 years ago
…right, because it's actually declared in the .cpp file.
46509cbf5617e618f43a75a10d716cdad201d212 authored over 7 years ago
Oh look, something that MinGW/GCC would have actually done for us, with
its support of the _Thre...
62b762e2fdfbdda15b3c40305e9aaff3d076ee0e authored over 7 years ago
Apparently, no one on the Internet has ever wanted to enforce a calling
convention for a lambda ...
It started to appear garbled in the 2017-05-31 build, maybe because the
non-Unicode codepage on ...
…and correctly work around that bug. Fixes #67.
a44ac1815dc55a9a7a8bf7c1cbaec11bf35557d4 authored over 7 years ago11de5fa077000408ffd793be616b1904bef0b731 authored over 7 years ago
cef2cfe9e4d1717d00d3bb369b3eaf64efd420f3 authored over 7 years ago
b839a93f5727e52c77afd9beadb4f35b19f095a4 authored over 7 years ago
28439b445dfd3e95eafc1d67d7c12a593e27af01 authored over 7 years ago
The main benefit of json_immediate_value() (the former
json_register_value() from thcrap_tsa's g...
>stumble upon one comment that doesn't make sense anymore
>decide to fix them all
Opting *out* of a hackpoint is quite straightforward, you simply null
out any of the vital param...
bbd39e96581f5d8f1cb759330d2af85e97494400 authored over 7 years ago
Because "confirmed to work" signals perfect support.
The *actual* truth is that we support the ...
922242403cd4a7f0fc3836f60bddeb6136dfdaf5 authored over 7 years agoff9308c586292b9d287ad87ae6bfecd65f0b3f84 authored over 7 years ago
1ea26530bfbfd6b1607f65276688b6ab64b18b31 authored over 7 years ago
Turns out I didn't test this with the rarely used strings_strcat()
function, and subsequently br...
e97fe9c9815569d74f289401f25c03122340e3c6 authored over 7 years ago
difficulties with translations of lower difficulties.
75b383017dc28df6f2368cac15f7fb9c1ddbbe6a authored over 7 years ago5c443406f8b65d58dc2b44b995939ddb59ac9e2a authored over 7 years ago
0-based IDs for player spellcards.
f9de3ddc10fe6737abee6789aeeb8b7372bdabb6 authored over 7 years ago
It sure was tempting to change the DLL reference counter to a
std::unordered_map as well… until ...
there are four steps, not two
57d3cec4d6a237ed2ad2783efaf0cdb74ca9a44d authored over 7 years ago55e294f3c4b3be9524e0525f6cc68b993cf8bc18 authored over 7 years ago
643bc95d85b1af2de83fdc5abd65e8f151e51031 authored over 7 years ago
1e4a3329d7eeb7fe7afc0f477165417dc7f7b18e authored over 7 years ago
Another ~2.3× performance increase compared to using Jansson.
15441f13925db4aa0b2062b45e1576aff0c33a8e authored over 7 years ago77216c37ce71ec07a7933b120b7c46dad5fef911 authored over 7 years ago
db1741fde7353cc341ef5bc0472ef8a04f8d57f7 authored over 7 years ago
fb02cceba422b96927c80b06acb1236c30f55c47 authored over 7 years ago
acdc60bcfd20e5ae926d385629cf0980aba03848 authored over 7 years ago
991ba11e7b97dfe8091e3d689d10212bc9da272a authored over 7 years ago
Yup, trying to check for NULL pointers inside strcmp() is a bad idea
after all.
Also removing a few unnecessary includes.
2b6b0791ef5bee9b1ba3335a5b9dd8c6fb6bdf35 authored over 7 years ago
Which effectively saves us… a grand total of 1 binary hack per
game, because it only works as in...
3cbb68f909e83415fb0b3bac727143b500095158 authored over 7 years ago
1e9121e64419187f6ca90af042bd6749be0c625f authored over 7 years ago
27e8a01c6f869115a5406dc32b231fdf15ef31bf authored over 7 years ago
size read from a registry or from the JSON file, and allow getting the
file buffer from a registry.
AoFC demo doesn't have the header in a register when I call this
breakpoint, so I go with EBP-re...
56809c5888bdacc7494bab191587e86ddd7f4399 authored almost 8 years ago
88352cb16c9830a572ca0e0bb685cb86c120d026 authored almost 8 years ago
53c865d2052327a8cc7958c6dbc475382e454e77 authored almost 8 years ago
Seems to matter for XP, at least.
e1851fa484d386f21770346dad6ff9f719412da6 authored almost 8 years ago
Doesn't consume 100% CPU while downloading a large file, provides a hook
for a future GUI callba...
e2ccd6522ee41d0897ed806b4acdea08b06df140 authored almost 8 years ago
9ca2c3bba10485331c7cacc87ad4b8423ceef36b authored almost 8 years ago
So, rather than depending on thcrap's specs module, and thcrap's
jsondata module, and thcrap's j...
OK, so rather than rewriting pretty much all of the parsing code in
some other language, we'll s...
And no, we'd better not sneakingly overwrite the run configuration .js
file automatically, since...
da7f467dd73879c5888662410919f1e211197ad1 authored almost 8 years ago
Turns out that the feature of renaming thcrap_update.dll actually comes
up quite regularly in di...
This isn't handled by DefDlgProc() either. So, the correct, idiomatic
order for GUI shutdown is:...
Well, that's just how things have to be done in Windows USER. Not that
it mattered because you c...
At least in my test case, this (very arbitrary) value provided enough of
a buffer against the pi...
With patches typically consisting of lots of small files, ping becomes
the most crucial metric.
Mandatory for asynchronous events anyway.
be308b824857f8e4600c2687c53bdcc23f9ec434 authored almost 8 years agoaa3c3ff50f3daba5d95d3b55e4a2462ea7c91e5f authored almost 8 years ago