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

Many other gcc fixes

It's now really close to being able to build.

61ef39ad9ce1d8bc16be082029aba15807446b36 authored 12 months ago by brliron <[email protected]>
configure: declare game_result_t.descriptor as IntPtr instead of string

It's an UTF-8 string, but C# string type will marshal it as an ANSI string.
I tried with Unmanag...

bc6d09f301ed7da20336b7974911a7b03fee4ae5 authored about 1 year ago by brliron <[email protected]>
thcrap: add breakpoint to help locate hardcoded strings

5479f4e72f2fba2d750464bd089d99e21cdf8ff6 authored about 1 year ago by brliron <[email protected]>
thcrap: Avoid potential out of bounds read on single 0 address strings

debdbe7c049e5a265d5321e32e5bfcd5d75249f7 authored about 1 year ago by zero318 <[email protected]>
thcrap: Fix bug in new address parsing

f276c7db874cd6d08aa2cbc55697c26ed6caabbd authored about 1 year ago by zero318 <[email protected]>
thcrap_loader: load the icon for our updater window

We're improving ZUN's games, that great, but we should also do the
same improvements to ourselves!

c46c3c900ccb61d91e8374fbb861e639db28b14c authored about 1 year ago by brliron <[email protected]>
thcrap_tsa: properly load game icon in RegisterClass

Most (maybe all) games don't specify their icon in RegisterClassA,
which makes Windows assign a ...

37aef68c9f79f3feb5fa4e5c795d62d5a75d9e25 authored about 1 year ago by brliron <[email protected]>
thcrap: still more gcc fixes

efcd83824ba825c82dd277c98261a024e7fb1e47 authored about 1 year ago by brliron <[email protected]>
gcc: enable sse4.1 and sha extensions

d2dbe89d3055777d28e891c2d32b8d9143b66d29 authored about 1 year ago by brliron <[email protected]>
thcrap: more gcc fixes

23986baea4ec4c34092342120f014db424d1cd34 authored about 1 year ago by brliron <[email protected]>
thcrap: fix use after free when copying icon

843cd1d8809837d09af10412e5e71e7c7b451b9a authored about 1 year ago by brliron <[email protected]>
thcrap: implement working icon copying for exe-based shortcuts

a91657101fa6d6ee43bdf3824236dcf5bb249a58 authored about 1 year ago by brliron <[email protected]>
thcrap: Fix clang/mingw errors

5524297db3cb0a99a9adceee95c0908e4e84cbbc authored about 1 year ago by zero318 <[email protected]>
thcrap: Fix yet another GCC error

5fc0595783bad3fc38424a153e64eb75f0dddca5 authored about 1 year ago by zero318 <[email protected]>
thcrap: Fix more GCC errors

861b8206dd88aab2691b6260a28b85cf4a15077f authored about 1 year ago by zero318 <[email protected]>
thcrap: Fix errors when compiling with GCC

3cdefb517d77238ffcfb893aa4958b12c7740266 authored about 1 year ago by zero318 <[email protected]>
thcrap_tasofro: add vfs files for greedy trial

All the characters have the same dialogues in greedy trial (actually the files were
copy-pasted ...

fd10f94d867fde403ef9008e3534a2b2e3d16274 authored about 1 year ago by brliron <[email protected]>
Fix ntdll.h parse error on non-MSVC compilers

Language linkage specifications placed directly on declarations imply extern
storage class in a...

a408df1b9a45cbc85c78ee3e2f162d234bee9331 authored about 1 year ago by zero318 <[email protected]>
Merge pull request #233 from thpatch/expr_features

New binhack/expression features

840376c6c58e4721dcd1666e58538e7fd19e30cc authored about 1 year ago by zero318 <[email protected]>
bgm: detour CreateFileW

th19 uses CreateFileW to load thbgm.dat

604c7a8d236d97b62fa4e2b9e7ffb3609bc2badf authored about 1 year ago by brliron <[email protected]>
Merge branch 'master' into expr_features

60acac0b16e899154e9772244e01e45b7ba7d0fd authored about 1 year ago by zero318 <[email protected]>
thcrap: s/fs::filesystem_error/std::system_error

cccbcf68fd18ecdacd2e30f8de65ed840f8b017c authored about 1 year ago by 32th-System <[email protected]>
Fix build errors from non-C++ files in thcrap_tsa

12ced3c2de328211e5421df6262953483a800b07 authored about 1 year ago by zero318 <[email protected]>
Tweak constpool implementation to work better with eventual x64 support

70d4d3b435a58b25fe6c00402d7e58ffdf49aa15 authored about 1 year ago by zero318 <[email protected]>
Move internal windows structs and comment things

b3ec9ccb6bbf0a5fae546923fc6374473cd10e53 authored about 1 year ago by zero318 <[email protected]>
update: log download error message for files.js

51ac34aba0e478f101541bb24a8e0c12d57c9c86 authored about 1 year ago by brliron <[email protected]>
thcrap_configure_v3: use_wininet

73d4dff32293c42c3775be1aa1278c2ec9916b70 authored about 1 year ago by 32th-System <[email protected]>
Add more th_ functions so that patches won't need to import as many things, particularly for math

d9b337fb8a1d284987550a1b063c9e579352efda authored over 1 year ago by zero318 <[email protected]>
thcrap: Make regular jansson functions available to binhacks

This is primarily intended for use with codecaves being used as breakpoints.

088a8fc966c2c7e7ab7f30f076dba87c40b50dca authored over 1 year ago by zero318 <[email protected]>
Merge pull request #236 from TRDario/master

Add ascii_vpatch for PCB and IN for centering in-game ASCII strings

beb32924fc0034c46c848f1bcc8788f1f4d4e561 authored over 1 year ago by brliron <[email protected]>
Change to array-based alignment method

e6113367379f87e3d9659f1f5972eae6b027b28b authored over 1 year ago by TRDario <[email protected]>
Add more th08 strings to ascii_vpatch

75ecb17918dec2fa742f50df1621142343e2d21a authored over 1 year ago by TRDario <[email protected]>
Add ascii_vpatch for th7/8

bb0f080dc8d4583a6f78ee73ea96a2cce597bb80 authored over 1 year ago by TRDario <[email protected]>
Reverted a formatting change that's no longer necessary

5c5ef88272841d033daf48ba4a8e3fbe03fd8720 authored over 1 year ago by zero318 <[email protected]>
thcrap: Move ntdll functions to dedicated header

caa6cfedfa5e6973e23d3249eeafd05899dc3972 authored over 1 year ago by zero318 <[email protected]>
thcrap: Improve constpool implementation

796d0577792cc660db1fdad862ccfb82e82bac6d authored over 1 year ago by zero318 <[email protected]>
configure: display version number

b087e6121a55245d5ead6f64d84605b7af80bf34 authored over 1 year ago by 32th-System <[email protected]>
thcrap: Added symbol for current address

43977c59fc2d8a2aa4e219da57628639e437ffdd authored over 1 year ago by zero318 <[email protected]>
thcrap: First attempt at a functioning constpool

d71740524ee29ecc4c6573b919b12ab777e1d8b4 authored over 1 year ago by zero318 <[email protected]>
thcrap: Tweaks to CPU features

ad91f487c560afce7d746e461ff0efa3df61ed51 authored over 1 year ago by zero318 <[email protected]>
TSA: fix warnings

55cc8898a628c16fa0e92ab4aee2bf2f9ddd3a7a authored over 1 year ago by 32th-System <[email protected]>
ANM: check for thtk's -u filenames

c21e5da27ecf0f51b4f9a6ea3f9795215d31123b authored over 1 year ago by 32th-System <[email protected]>
thcrap_tasofro: fix encoding error in bmpfont generation

When generating bmpfont, we would use json_load_file (which then uses fopen)
with an UTF-8 path ...

ffda608cb261e7ae6eb4f92a52a0bc5f58489bf8 authored over 1 year ago by brliron <[email protected]>
Removed errno/locale BS from str->address parsing

eb1fd29d38e322f0f86f7ea9a3e65f8d019437e8 authored over 1 year ago by zero318 <[email protected]>
Fix undefined value usage in expression.cpp

Somehow this worked despite a copy/paste error.

e3895c2ec8ec35f6b7d894fd9030f8da144073e5 authored over 1 year ago by zero318 <[email protected]>
Merge pull request #230 from thpatch/th19-images

Th19 images

78f18e9a6a2bedf16754fa3d45672f458ee7b506 authored over 1 year ago by 32th System <[email protected]>
ANM: update function signatures in anm.hpp

f4f448deb3db4de0388378f8d76486935756eee8 authored over 1 year ago by 32th-System <[email protected]>
ANM: correctness fixes

50e2b73a3e0626355e4ad9a1b0368be14e12e098 authored over 1 year ago by 32th-System <[email protected]>
ANM: small optimizations

f5e52d032dacea0ec6ad4d636f512909c306fe1c authored over 1 year ago by 32th-System <[email protected]>
ANM: these are also unused

310a1a1d61a2559954249c64d68ddf0143ac72ce authored over 1 year ago by 32th-System <[email protected]>
ANM: keep track of if an image was encoded or not

3b9bc322468e53172427b625686687a7a75c1f16 authored over 1 year ago by 32th-System <[email protected]>
ANM: use an std::pair return value and a structured binding for AnmGdiplus::Encode

86392bf6a56eab1125c6b1bc2408da7b001611b6 authored over 1 year ago by 32th-System <[email protected]>
ANM: remove unused stuff

22308613b3bbb0fb528e932d4fae2b7f586f6fbf authored over 1 year ago by 32th-System <[email protected]>
ANM: don't hardcode game addresses

8c74f5d9a0210762bc0acb41e79c0726d06e995e authored over 1 year ago by 32th-System <[email protected]>
thcrap: better document file hack

8d7b2b585f7b42502072a4ed43d63fdfede39716 authored over 1 year ago by 32th-System <[email protected]>
ANM: don't encode to JPEG

625725ecabb0d40eed2ae7d0fb7f20476edc4eda authored over 1 year ago by 32th-System <[email protected]>
ANM: fix memory leak

155b190a1bb7174758f1d26ebebf801373dc50a4 authored over 1 year ago by 32th-System <[email protected]>
ANM: support image patching in TH19

There is still some work to do:

- The game looks like TV static in full screen mode
- Images ge...

a8b080ee9a4a6dcc553e1dffc69f2fe4482e346c authored over 1 year ago by 32th-System <[email protected]>
ANM: integrate GDI+

4e52834547689b17906f9ea80ea0c68f3b55d6c3 authored over 1 year ago by 32th-System <[email protected]>
ANM: split the construction of img_patch_t into it's own function

463157859856d96d8510b51cfea558d0ae28b693 authored over 1 year ago by 32th-System <[email protected]>
ANM: separate input an output buffers

The idea is to then construct img_patch_t differently for th19 (and also
use it to put different...

ebaf6cdb049dba2977cf98628255051015e7681e authored over 1 year ago by 32th-System <[email protected]>
thcrap_tsa: ignore anm patching for th19

Workaround because anm patching doesn't work yet.
Will be reverted when we implement it properly.

fdc1a2f69d3f59f28c5e6ad28e4855c6cf6820a5 authored over 1 year ago by brliron <[email protected]>
thcrap_tsa: add support for th19 msg

62f29d344cf5b4d19e5c18554bb9d4e444fb97af authored over 1 year ago by brliron <[email protected]>
thcrap: add basic dictionary translation functionality

dec6e6e4d3e505feb55353f78dc1d5d9e770b6ee authored over 1 year ago by 32th-System <[email protected]>
update: change default value for backgrounds_updates to false

As discussed on Discord, it's probably what most people want

5421869cc56b45a899ab86d6b3ea6efe89e62ebf authored over 1 year ago by brliron <[email protected]>
configure: make the default discovery URL configurable from a build parameter

3eca1115aa350ceb26a23e5fea9bee177916e8e9 authored over 1 year ago by brliron <[email protected]>
th175: add trophies

32e23f0a0a1d04c009e26d36ea09189f0727d737 authored over 1 year ago by brliron <[email protected]>
Update submodule win32_utf8

c569e99ed1c0c47956ad071a32cf2fa145756583 authored over 1 year ago by 32th-System <[email protected]>
thcrap/TSA: apply font and layout to W functions

c90e5df2a9cba1e24cb4ce5efd921832e2b92443 authored over 1 year ago by 32th-System <[email protected]>
thcrap: fix json_typed_value always using PVT_UNKNOWN

a62b104cc3826cd2101fd57176d46ca5c92be37a authored over 1 year ago by 32th-System <[email protected]>
thcrap_update: handle games started through wrapper patches (#213)

* thcrap_update: handle games started through wrapper patches

This fixes issue #69

* thcra...

9f9f95c905229e24a984d7f356565e1b0a0ba1d0 authored over 1 year ago by 32th System <[email protected]>
configure: fix encoding error when creating shortcuts in the game's directory

a619a7580a2124d92a399e9069a0ca6d85a6e196 authored over 1 year ago by brliron <[email protected]>
configure: remove fixed heights in settings

The 2 textboxes had a fixed height in pixels. For Windows 10, it's useless
because that fixed he...

6717b5f8c0065be69e30c02eb7f5a7f344761bd5 authored over 1 year ago by brliron <[email protected]>
thcrap: hopefully fixed reworked patch value handling

6500742ed2c3b04ba4194a047294ebf7daf6a6d8 authored over 1 year ago by zero318 <[email protected]>
thcrap: consistency correction for json_typed_value

9522a27680ed948c9b1276b229370cf51a890f7c authored over 1 year ago by 32th-System <[email protected]>
fix warnings

d353a5a75e0a5404ce90df1307d272c41fc16091 authored over 1 year ago by 32th-System <[email protected]>
TSA: upgrade spell_id breakpoint

d45c37defaf1c8b4ebf060915812fa4abb1ddc1c authored over 1 year ago by 32th-System <[email protected]>
thcrap: add nullptr check to patch_parse_type

13248353f32002a360e926aa25059ee98b7c7f0d authored over 1 year ago by 32th-System <[email protected]>
thcrap: (breakpoints) add json_typed_value and json_object_get_typed

ffc4277150946c8a33695b44cd272855e47dd9b6 authored over 1 year ago by 32th-System <[email protected]>
thcrap: factor out patch option typename parsing into function

e006ce2f89d54a23cd30ed12abc5b6282d61216d authored over 1 year ago by 32th-System <[email protected]>
configure: add Remove All button for searching games

abb9b90d4cabf57021be155024a6bf05559ac48d authored over 1 year ago by 32th-System <[email protected]>
Merge branch 'master' of github.com:thpatch/thcrap

2138408d7538ba0d32ea34e4902e85f6bc28a2c6 authored over 1 year ago by brliron <[email protected]>
settings: add presets for exception detail

62c8d844f778833e7baefde606b9630817498293 authored over 1 year ago by 32th-System <[email protected]>
thcrap_configure_v3: add a settings GUI outside the loader

If you have a setting like "disable background updates" enabled, then
the loader UI will disappe...

b78ff87736c61f5900ffa0f06e3a74d01506d0bb authored over 1 year ago by 32th-System <[email protected]>
thcrap: fix fn_for_build

6b47a26800559312c66279377802ea3af3ce18d8 authored over 1 year ago by 32th-System <[email protected]>
thcrap: fallthroughs

c1ba2c464ecd2cdca5201ae332cd1312ea756cad authored over 1 year ago by 32th-System <[email protected]>
Use utf8_to_utf[16/32]_masking as general string conversion function

I am not really sure why 3 different ways were added to convert UTF-8
strings to UTF-16 strings....

d7af05bbb421886bfd1e6adb5657ba640897a376 authored over 1 year ago by 32th-System <[email protected]>
configure: marshal repo ID and title as UTF8

fixes #199

d3ac24b4d03c6a48a9aee3d3c27943bb52866d7d authored almost 2 years ago by 32th-System <[email protected]>
configure: log crashes with global exception handler

fixes #205

a1b6969914339d39ab7650af3e47eaaa52c0fab0 authored almost 2 years ago by 32th-System <[email protected]>
configure: use thcrap.dll wrappers for thcrap_update.dll

This fixes #210

91ba9e6ce6c958ed98ba2b45b0405ff309c671cb authored almost 2 years ago by 32th-System <[email protected]>
s/PyCrypto/PyCryptodome

6cb64d3ded8347cc83b502ab7b5cb23cfd52a178 authored almost 2 years ago by 32th System <[email protected]>
Merge branch 'master' of github.com:thpatch/thcrap

54e1f2fdb335c4c9903f95cd267cec83f6fbcf1a authored almost 2 years ago by brliron <[email protected]>
configure: add support for using wrapper instead of shortcuts

No UI yet, I'm not sure how we want to present the setting for that, and it's
not completely rea...

48412cf522d9fedc81c1f44b802f1e498df30979 authored almost 2 years ago by brliron <[email protected]>
TSA: CFG: Don't do anything if custom.exe is run

dc1d2a3797a99518091d9c5766f0b5c697c52a5b authored almost 2 years ago by 32th-System <[email protected]>
configure: remove old command line parsing

66cbcd88e33ac07a668a70b3b618e2f3ce5129a2 authored almost 2 years ago by 32th-System <[email protected]>
configure: Add a --skip-search-games command line switch

I mainly did this for
https://github.com/major-gnuisance/thcrap-linux-ez, which handles
searchin...

7ee615b4306999b23c3baa726d9a79e2e556cbfb authored almost 2 years ago by 32th-System <[email protected]>
Fix build error

0e96d887b8e0d99900882c080bb3f9853432d714 authored almost 2 years ago by 32th-System <[email protected]>
scripts: fix warning in release_sign.py

0a0cb6a5f65c6b56ad5c3b1908161d01ea921f7f authored almost 2 years ago by brliron <[email protected]>
Remove outdated comment

ff748625c51de95103df1289961db254992cbf01 authored almost 2 years ago by brliron <[email protected]>
configure_v3: use relative paths in config file

The old config tool was using them without any problem, having them absolute in
the new tool was...

715d10f4b99664e5e601ad257b8f01477a3af99d authored almost 2 years ago by brliron <[email protected]>