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

MSBuild: Add the libpng headers to the project file.

Makes the contents of these files available to "Go To Declaration" and
searches within the solut...

b717809cd6ee749746cf2e1eb4b439b8c860ffdc authored almost 7 years ago by nmlgc <[email protected]>
thcrap: zip: Don't mix up access and modification time.

What an unintuitive order of parameters. -.-

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

093b5db0d566ee7097693af9050c71b806ae4075 authored almost 7 years ago by brliron <[email protected]>
vfs: clear the replacement string if we can't replace it with its value.

5f161764fd7e5e00d34b1c3fcc2038b9f908fe53 authored almost 7 years ago by brliron <[email protected]>
base_tasofro: th105: load map files for spellcards

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

cce1622f58fd5e3e828b34fbf7c4fce4b44c9be1 authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: cv0: set the textboxes size to 4 lines for endings, and

3 lines for everything else. [V]

aaee70e8fc12ad59d3636834e90308aae73c1c40 authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: cv0: fix various bugs with text patching. [V]

For now, the maximum size of a text box is set to 4 lines, because story
mode can have 3 lines a...

c82535627a74604e31e2ebc641298699386b4729 authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: th105: add a breakpoint to change the offset of the text

from the top of the textbox, and the line spacing. [V]

70c45c389d5881e38ef0066f241427ac0b01ada4 authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: cv0: add ruby support. [V]

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

53018bf591a3d84a87d32871cf75c316f9b75226 authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: cv0: do not end a box with a \ if the patch file ends

with a @.

The @ itself will be the "end of box" marker.

c137e78dd171062e9307f4124b1ef60fcd0e17e4 authored almost 7 years ago by brliron <[email protected]>
thcrap: add functions to detect if a font has a character, and to create

a font supporting a character.
thcrap_tasofro: th105: fallback to another font if the selected fo...

e0495b4351612f24d82f3b927eb909908af5179f authored almost 7 years ago by brliron <[email protected]>
configure: Draw separating lines between available and selected patches. [V]

d4215d9d28a967385fdb9af78cd767359066f717 authored almost 7 years ago by nmlgc <[email protected]>
win32_utf8: Support Unicode strings from .ini files in Unicode paths. [V]

Fixes the SWR/Soku connection if either one of the two is in a path with
characters outside the ...

f2bb56071e81e9c195c1e7f4511de7d36a31390f authored almost 7 years ago by nmlgc <[email protected]>
thcrap: add a way to map values from a json file to keys of a jdiff

file.

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

703d52e28cf8c47bb1cb111f5fc9e8a869b437ac authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: set x and y to 0 in th105 dat files.

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

c674ca9def4fa1c4ace1233a4e3885b3686430b4 authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: cv0: stop reading a text block if a line ends with a \

898ebaf4f11435e14ae6386e7b5fa5e7a9c2bccd authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: cv0: add a way to escape commas.

5cf28cfe3bb8cc4d5302a5655d9ca5dbc0b99c73 authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: th105: ignore commas in quotes.

The game CSV parser has a special case for commas with a test to tell if
it is in a comment and ...

9dd43084657ce6cef7379b6a2b68af0a8c910921 authored almost 7 years ago by brliron <[email protected]>
configure: Show a more accurate welcome text if updates are disabled. [V]

The most important step for a truly useful offline-only mode, though,
would be to only include l...

7b1eb89e67c2b8f81b3689704589e5fe969af9b8 authored almost 7 years ago by nmlgc <[email protected]>
Update wrapper: Add a function returning the thcrap_update.dll module.

490c2d8839738808bbdf9cd9a65f197faab2b18c authored almost 7 years ago by nmlgc <[email protected]>
thcrap_tasofro: patch dat files only when we actually change something

in them.

0e9da8acd385f67e5452e3353a88f363ccf0c626 authored almost 7 years ago by brliron <[email protected]>
thcrap: Add a macro for file names that differ in Debug and Release builds.

a123b081fd130904f871a62d313274d832486e1f authored almost 7 years ago by nmlgc <[email protected]>
Merge branch 'master' into Update_UI

f3e8973362160f346bb104d231833d162c6b5f27 authored almost 7 years ago by nmlgc <[email protected]>
thcrap_tasofro: th105: add cv0 support. [V]

Patching support have not been tested yet, but at least it can parse and
recreate the files with...

12a452ca700621918c8c4d9d4735b59c0a700e35 authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: png: display the correct file name in the logs.

0118cdc8a23b87eec106af204a940db0dd0a2fc1 authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: th123: enter the critical section before patching the

original th123 file.

31d166cb30675e3515f7ab0870cbc075a4e15be3 authored almost 7 years ago by brliron <[email protected]>
Update our dependent libraries.

948b05dd7d966816d79d571bead77f5b84677cf4 authored almost 7 years ago by nmlgc <[email protected]>
thcrap: strings_lookup: Return the length without the terminating \0.

Only two places need this functionality right now: strings_strcat() and
thcrap_tsa's layout_proc...

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

778a619ffcf99096abb7631a53bd8701bf6bcb04 authored almost 7 years ago by brliron <[email protected]>
thcrap_tas_fro: BP_nsml_read_file: make a deep copy of the bp_info

instead of a swallow copy.

29521b72d90aa5bc11b4d9b715fc2c8710733eb3 authored almost 7 years ago by brliron <[email protected]>
thcrap: Log: Always display message boxes on top of the foreground window.

Which has never been a problem because we've never had our own windows
on-screen when a message ...

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

bbeeec1be9a945367fbc19ce9c729f3ed721b737 authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: use a theme_id <=> theme_line map for th123 [V]

8b76bf4e5db6ae115e50540657868dc0503afdf6 authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: th105: add music room support [V]

26c2d7bc94c26041148de499d597539cf906f735 authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: th105: add csv support.

thcrap_tasofro: fix the csv parser.

d791e3a35b523b2d6214c25b3ea498b89da11341 authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: decrypt cv0 and cv1 files.

e7753a78dc4df92d9c0f3d9fba1df9f0a146776e authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: tweak the th105 csv parser, adding a way to escape

quotes.

831420cbf9de2a866c29c3ad178c57cee8bc17fe authored almost 7 years ago by brliron <[email protected]>
thcrap: Dialogs: Patch `MS Shell Dlg` to `MS Shell Dlg 2` for correct width calculation.

Not that anyone ever complained about this, but it was taking up space
in my Todo list.

2d8c003b1fb9ec8905251770d882554d98e9e083 authored almost 7 years ago by nmlgc <[email protected]>
thcrap: Dialogs: Use stringref_t instead of json_t for replaceable strings.

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

0e280ee3a88d2318cd878f85a09adbc1c3006ea4 authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: th105: adjust the width/height in dat files to fit the

related PNGs.

c78ff8d0eb776e807d3c72f4e40a48144c099e0f authored almost 7 years ago by brliron <[email protected]>
thcrap: Expressions: Support parentheses.

Who needs operator precedence anyway, right?

3bf8a5801a91580dde9e9e4d0d32e41cddec82ee authored almost 7 years ago by nmlgc <[email protected]>
base_tasofro: th123: provide a list of files to *not* inherit from

th105.

98530e195f40291f6a705cdbf57dce612b055fb5 authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: move images patching functions to another file (removes

some clutter from nsml.cpp)

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

7785efeb9c50c34888cf2f4a868cd85ef13bdd6a authored almost 7 years ago by brliron <[email protected]>
bp_file and nsml: add a few critical sections, so that parallel file

reading stops breaking th105 and th123.

a4f1270c0828c5a53c7d5b2933c7e9ff4d68646f authored almost 7 years ago by brliron <[email protected]>
thcrap: Expressions: Support dereferencing of 8-bit and 16-bit values.

7f4367cc430ce4ae64f27c2fb77ce1a07aead09c authored almost 7 years ago by nmlgc <[email protected]>
Loader: compile as C++

b2dccb0020472a122bdb4fb24492a21505e9ba6d authored almost 7 years ago by brliron <[email protected]>
thcrap: Shortcuts: Don't assume that the current .exe file name is longer than the loader file name.

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

2a03dd5a2c298c7687fe5c337c8f3b87f1435d27 authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: add th123 support. [V]

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

fa6073b4d37d3819bbf14bb864173f561cc9bc3b authored almost 7 years ago by brliron <[email protected]>
thcrap: patchhooks_register: add an optional function to compute the

size needed for the patch file.
thcrap_tasofro: TFCS: add some more bytes to *all* TFCS files (be...

8e878f72482e47d6f9f838148e5928a1b7d228ef authored almost 7 years ago by brliron <[email protected]>
thcrap: file_rep_init: Move the jdiff file initialisation to

patchhooks.cpp

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

116b0c1e9873b3c94ae26a36dffd7b093668b2ec authored almost 7 years ago by brliron <[email protected]>
thcrap: Support custom base addresses for the hackpoints of init stages. [V]

Will eventually fix compatibility with Kaldaien's SpecialK mod,
SteamStub DRM, and thcrap. Not o...

6a526a3cbe160007d7861693cb51cf8622937887 authored almost 7 years ago by nmlgc <[email protected]>
Breakpoints: Allow custom modules for relative addresses.

Not that we need them now, but this inconsistency compared to
breakpoints did look slightly odd.

f75feaa904ec03b55b3c621bf609e6aae44ac14f authored almost 7 years ago by nmlgc <[email protected]>
thcrap_tasofro: ignore case when patching files. [V]

8abf9bf4de7c73c8188ea517bf6ad54296ba9546 authored almost 7 years ago by brliron <[email protected]>
thcrap: file_rep_get_by_object: improves performances by:

- using the search algorithm of std::map instead of a linear one;
- and searching only among the ...

4fbb7b112668efb5483508c4568aeb9bb558b87b authored almost 7 years ago by brliron <[email protected]>
Remove some compiler warnings

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

f62c9b0a3b47480df55ebfef1bab36774721f83a authored almost 7 years ago by brliron <[email protected]>
thcrap: Support multiple stages of binary hacks and breakpoints. [V]

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

391e47ac325a0ca5348233e2e0c5810e6eaaf365 authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: add th105 support

c9b328ac006bd4f665bc3a9f39084764835e4291 authored almost 7 years ago by brliron <[email protected]>
thcrap: bp_file: add some support for replacing files using the file

object address.

e540e7420fed6feb9d66c65f127bbc4726833de7 authored almost 7 years ago by brliron <[email protected]>
thcrap: Return the number of failed breakpoints and binary hacks.

3c4decfd6131aba7be46615439cdce8820a2430f authored almost 7 years ago by nmlgc <[email protected]>
thcrap: Memory patching: Fail on pages with disabled access.

f4a744a6dd9467a9aef734a73da3fa88f9dac1f5 authored almost 7 years ago by nmlgc <[email protected]>
Breakpoints: Check the target address before applying a breakpoint.

3fbb8db99049dd4dd5bbec7615c1d54d228af3ac authored almost 7 years ago by nmlgc <[email protected]>
Breakpoints: Allow multiple sets of breakpoints to be applied simultaneously.

d565f8e123e79ec03380777b948e13f2c424d3b1 authored almost 7 years ago by nmlgc <[email protected]>
Breakpoints: Move breakpoint_local_t to the header file.

About to become part of another global structure.

8402fc763d423a4d8164208f68ccda96a63ec334 authored almost 7 years ago by nmlgc <[email protected]>
Breakpoints: Dummy out removal for now.

With multiple sets, you *kinda* expect this to work. So let's not
pretend it does.

026452e333195fa4921c97c768ce711c1aac4a1d authored almost 7 years ago by nmlgc <[email protected]>
thcrap: Move all binary modifications from thcrap_init() to their own function.

DRM schemes require their unpacking and decryption code to run before
that.

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

145cff0764bad19bd6dc17f4dc8eec6e946c2b32 authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: nsml_file_header: add a fn_size parameter

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

680adf5d2e2a085abb2cccc5cbb7f611e025fbe3 authored almost 7 years ago by brliron <[email protected]>
TSA: MSG: Correctly align TH13's Parallel Ending explanation. [V]

Since TH13 repurposes opcode 9 for this type of "ZUN message", centering
would have been really ...

bead4d4634c932aad6ec691da4583b509036e1b2 authored almost 7 years ago by nmlgc <[email protected]>
thcrap: fontrules: initialize lfQuality in the replacement rules.

It is the only field we use where a default value of 0 doesn't work.

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

1774ad54b80e7c25590e5e4ca24c91ea2f4fe813 authored almost 7 years ago by brliron <[email protected]>
TSA: Add the Steam AppIDs for the TH16 full and trial versions. [V]

59ff5133769d4bdf696f0cb533c09a86a25a7683 authored almost 7 years ago by nmlgc <[email protected]>
thcrap: Add Steam integration for games without. [V]

Because y'know, ZUN might have been lazy enough to not link to that DLL
and call a single functi...

3faaaef546699abb642f7e9b371415f770418f9a authored almost 7 years ago by nmlgc <[email protected]>
thcrap: Add a post-init hook.

39eea0cc47de00b510252bca8a295fef3abb255d authored almost 7 years ago by nmlgc <[email protected]>
util: Make stringref_t available to C++ only.

All upcoming code that uses it is C++ anyway, and this allows us to get
rid of that one assert().

2b724ee49c0aff57ac49792caf42a86afd7f0b29 authored almost 7 years ago by nmlgc <[email protected]>
util: Add a constructor from JSON strings to stringref_t.

7cb4bd6a7f692b14fadad99b38b60e7eb825ea14 authored almost 7 years ago by nmlgc <[email protected]>
thcrap_tasofro: update Act-Nut lib, and print a message if the jdiff

file for an act or nut files references a key missing from the file.

abef8885e6b07c79736e2f1145066c7a4ec68622 authored almost 7 years ago by brliron <[email protected]>
TSA: Use expressions and pointers for spell card and Music Room translations.

All those silly binary hacks we had to write… No need for them anymore.

Also, turns out that th...

33dffd2898f32f858aef2b10344477841fffd3ef authored almost 7 years ago by nmlgc <[email protected]>
thcrap_tasofro: fix BP_th153_file_name

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

71f91619ed472a73a0c7378da2f8ccf18e5206a7 authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: add png->bmp conversion

af8e3f881851fd505fafeeab47becebfdc1a8d3c authored almost 7 years ago by brliron <[email protected]>
thcrap_tasofro: - ass megamari support

- Move the png-reading part of patch_cv2 into its own function

af239e3ca77ed927a579d139a83822756e3fab96 authored almost 7 years ago by brliron <[email protected]>
thcrap_configure: fix a crash in case of a download error.

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

0fd354888727cad15a02bd46e289f24c97e790e5 authored almost 7 years ago by brliron <[email protected]>
Patchhooks and vfs: force forwatd slashes

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

14892f62223d012a18b6c557039ee33bcf8bf030 authored almost 7 years ago by brliron <[email protected]>
Allow patches to display a customizable message on startup. [V]

62995b444f9476df0257fb1a6544a64641553584 authored almost 7 years ago by nmlgc <[email protected]>
File breakpoints: Allow pointer expressions for previous register parameters.

e3a5bf95759eb994273cbfe177c2ff4843a284e8 authored almost 7 years ago by nmlgc <[email protected]>
thcrap_tasofro: actually export BP_file_name. And fix a crash.

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