Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/thpatch/thtk

Touhou Toolkit
https://github.com/thpatch/thtk

thecl: Fix tab spaces

2e73a85ebc7547515351cf181764f81f772c36a0 authored over 5 years ago by ManDude <[email protected]>
thanm: th17 opcode support

3e5f2316c00101420deca08d852bceaaa372df83 authored over 5 years ago by 32th System <[email protected]>
thstd: th17 support

c48db6d5788b2b3e22e7cafed0af0ad7f5e416eb authored over 5 years ago by 32th System <[email protected]>
thmsg: th17 ending support

Which took incredibly long because I don't even know how to use thtk.
Truly qualified for this^

5ad6ed32ff04e8ea165591fdcb8120c92cfef294 authored over 5 years ago by 32th System <[email protected]>
thecl: th17 support

bdaf2e306b8838106e98b1341386eff72cde0a1d authored over 5 years ago by 32th System <[email protected]>
th17: fix file creation

Add more th17 references that make file creation work

5054d8d998db2b68f1475284c7834550b9c0fbf4 authored over 5 years ago by 32th System <[email protected]>
thdat08: reorder crypt_params

964b2f70009da165fbfd4ab615dbc404431241bf authored over 5 years ago by Egor <[email protected]>
thdat08: add the '*' key

a5decdfe7074c7673b5e5f1893da3a93c2b149e9 authored over 5 years ago by Egor <[email protected]>
Merge pull request #56 from Priw8/master

& and | operators, escaping quotes/backslashes, other small things

609f7338259a91edd564efbe1dd5e1aa5c31d662 authored over 5 years ago by 32th System <[email protected]>
thecl: Add escaping quotes and backslashes in strings

0784031380394981337cbacac1daa8ad0d240c91 authored over 5 years ago by Priw8 <[email protected]>
Update README

19b04b198a1ef1a76255fca8b9402c64f53bb8dd authored over 5 years ago by 32th System <[email protected]>
Merge pull request #55 from 32th-System/master

ZUN changed absolutely nothing, let\'s wait for the full release

34306ec532fc3e0ac1d4f4fa78c0c639be87a162 authored over 5 years ago by Egor <[email protected]>
Update thmsg.c

14b853fe9a83e3ad4b04f4841a30c5278f2daf20 authored over 5 years ago by 32th System <[email protected]>
Update thstd.c

70c3ae4bb72dedebda425c75630a6c8676eeb0b0 authored over 5 years ago by 32th System <[email protected]>
Update thdat.c

e07896ecad8a7135218d4e2c97e05326b4db30b8 authored over 5 years ago by 32th System <[email protected]>
lining up code

22359e51535e16726c4ff51664762e322fb02a75 authored over 5 years ago by 32th System <[email protected]>
ZUN changed absolutely nothing, let\'s wait for the full release

6a50a7a6ebaafbbd94eb917ca9e62bdfb001b7e2 authored over 5 years ago by 32th <[email protected]>
thecl: Fix argument type for ins430 in th13_fmts

09632bb0fd7278045d25de5d921bd5ab969b8b5b authored over 5 years ago by Priw8 <[email protected]>
thecl: Fix argument types for ins 408 and 410 in th13_fmts

471df60c1d0d389e8fe688c1c4484c35426d90cd authored over 5 years ago by Priw8 <[email protected]>
thecl: Add bitwise operators

71f9b6896b722b4a60f871d57fd07aaf42e8c519 authored over 5 years ago by Priw8 <[email protected]>
thecl: grr tabs

9fa565db11c702761b832a1a2537ffeca779883c authored over 5 years ago by ManDude <[email protected]>
thecl: Add DDC max opcode

67291feead6190d76c9570f54c295f7e0fb9ab4d authored over 5 years ago by ManDude <[email protected]>
thecl: Change some th12 formats (color stuff)

55f969d49614173b93da3431dd255bec2514d39a authored over 5 years ago by ManDude <[email protected]>
thecl: Fix ins_127

81adec61126e678be2f837f4aeaae4c3cc7d5c2e authored almost 6 years ago by ManDude <[email protected]>
thecl: Fix th06 ins_51

9d7e239638fab49dc8c847e03ee0664f5cd9aa53 authored almost 6 years ago by ManDude <[email protected]>
thecl: (thecl06) Check if an instruction's opcode is higher than the max usable by the game.

Although I'm pretty sure there's a default case in all of the games to prevent this, it's still ...

797809264c6d8dacaf3a79613bc5befe7d210ed1 authored almost 6 years ago by ManDude <[email protected]>
thecl: Adding missing + fixing all EoSD instructions.

ADDED:
- ins_7 (set_rand2)
- ins_11 (get_y)
- ins_12 (get_z)
- ins_19 (dec)
- ins_22 (mulf)
- in...

a553d2cece9112d949bd7f460f0171ddb69a81f6 authored almost 6 years ago by ManDude <[email protected]>
thecl: fix list beeing freed twice on sub call

8c7b05573367a2826321d40cda0f79f93624dc30 authored almost 6 years ago by nutzer <[email protected]>
Merge pull request #54 from Nutzer/master

Improve some of thecl's little inconveniences

7338d93bc6c66d4b10e8e5a4c0119624c2e65645 authored almost 6 years ago by ManDude <[email protected]>
thecl: update list node after switch block

7a1104942ae5c9f779a748271044b15e2283db1d authored almost 6 years ago by Nutzer <[email protected]>
thecl: remove list_free_nodes for block_stack

ea3305d717a49c4207ca6a6a2e48d5423e224e04 authored almost 6 years ago by Nutzer <[email protected]>
thecl: free everything

28805ad7cf6c485fe17da1176e132041499cb6d9 authored almost 6 years ago by Nutzer <[email protected]>
thecl: always use yyerror() to report errors

7cd9db5033dad974018f3e6f5dc43eb8fd692e15 authored almost 6 years ago by Nutzer <[email protected]>
thecl: add global definitions

these allow referencing constant values and adresses by name.
define with "global[NAME] = value ...

0b69ec528e2781806dc09a89c793ae5e85506fb2 authored almost 6 years ago by Nutzer <[email protected]>
thecl: add while and (simple) switch blocks

9ad1edfef0b3691c4437f0350aac38e4a9a480ec authored almost 6 years ago by Nutzer <[email protected]>
thecl: add proper if-else blocks

only for creating.

6288d46c075cd7bfc12bcae867eea9686166b306 authored almost 6 years ago by Nutzer <[email protected]>
thecl: allow sub calls by name with paramers casted by type

517cda28c2d678dbf9ec5218476ef93404b72afc authored almost 6 years ago by Nutzer <[email protected]>
thecl: return 1 on some errors

there should be some feedback for errors that have unintended effects.

10d2149cfa354fa92cf04b0caf4fad9bd2c64e50 authored almost 6 years ago by Nutzer <[email protected]>
thecl: add sin, cos and sqrt expressions

58e24b73f3bdc84a5ee7c7a9ad8d2187d551281c authored almost 6 years ago by Nutzer <[email protected]>
thecl: also allow floats in the form 1.f

bee74860ee097f1e8025734918f47369fe11bf8f authored almost 6 years ago by Nutzer <[email protected]>
thecl: print error and quit if expressions contain invalid types

instead of crashing.

710b4a3b2cc8d40645715a722d8ab11134c05284 authored almost 6 years ago by Nutzer <[email protected]>
thecl: remove some trailing whitespace

46cc813c9d4ae0814e0ecf565ce436b191b129d4 authored almost 6 years ago by Nutzer <[email protected]>
thecl10: Add neqf to format table

a8040a0fca5f977cbb9a8f0cecb8a2709a039513 authored almost 6 years ago by ManDude <[email protected]>
thecl: Print the total parameter size for unknown ≥th10 instructions.

Should save a few minutes on Day 1 for new games.

Funded by zorg.

d2702dc6d6344409a93ff17501176df9491bc006 authored almost 6 years ago by nmlgc <[email protected]>
thecl: Look up ≥th10 instruction formats even if they have no parameters.

Because as seen in 06269fb, not showing that error when dumping an
unknown instruction only defe...

072f2abe46c01878252cb8710870b4007d6d0f2d authored almost 6 years ago by nmlgc <[email protected]>
thecl: Complete support for th165.

So apparently, thecl's dumper just decompiles unknown instructions
without parameters, since the...

06269fb201ace7b914f40238ca9c4d9d8b21c2d5 authored almost 6 years ago by nmlgc <[email protected]>
Scan and parse negative (-val) function (which doesn't work in-game apparently?)

it's entirely possible it's not a negate function at all but we'll see.

34a56ccf4a3d5292e35d626fae3fb1b08ac90722 authored almost 6 years ago by ManDude <[email protected]>
Update .gitignore

Add bin (directory) because I am a fool

add0ec23242970ba168950f6f7e88656a457b59d authored almost 6 years ago by ManDude <[email protected]>
thtk release 11

6825664c9e9dd495f8499544dcb69b9d8bc68939 authored about 6 years ago by nmlgc <[email protected]>
thstd: Add to release script.

e9c4bb9a3e513e49fe7c357213d6201005bb75cd authored about 6 years ago by nmlgc <[email protected]>
thanm: Change the script instruction time fields to be signed.

Funded by GhostPhanom.

df46b8ae18071f86509214822e5832150d1bd28b authored about 6 years ago by nmlgc <[email protected]>
thanm: Add instruction numbers to the dump output.

Minor convenience for thcrap's upcoming ANM script patching feature.
And hey, is that some error...

92f49468b8869ad267e335ccfc2e35289ae1dc70 authored about 6 years ago by nmlgc <[email protected]>
thanm: Add entry index numbers to the dump output.

Those are the only guaranteed way to uniquely identify a specific entry,
as ANM archives often c...

0a9e891b1c9c1ed5e6ce234b32e7096cdc0c78ec authored about 6 years ago by nmlgc <[email protected]>
thstd: Add more instructions

d9804eab5fd35cdb5cec5fa9ad58737ef447f43b authored about 6 years ago by Nutzer <[email protected]>
thstd: Delete unnecessary loop

12de35a1b05bf08dabb549022226818af3461c98 authored about 6 years ago by Nutzer <[email protected]>
thstd: Add STD support

4895311e967fcc838d31e110bb276da4500c4853 authored about 6 years ago by Nutzer <[email protected]>
thstd: Represent colors as #RRGGBBAA

60ac0e7832b55971066d36ea65c7278127a82692 authored about 6 years ago by Nutzer <[email protected]>
thanm: Identify unknown2 as the TH14+ low-res scaling flag.

Since the ANM version number has been at 8 since TH13, we also output
the flag for this game, de...

a0ab67bf7b1a9ab2c567ccb96ef582a14fd9138c authored about 6 years ago by nmlgc <[email protected]>
thanm: Identify unknown1 as the Direct3D texture resource priority.

Funded by GhostPhanom.

0450335c60076f1b0963ce839b9858b974425a16 authored about 6 years ago by nmlgc <[email protected]>
thanm: hasdata == 0 and a file name starting with '@' have the same effect.

Funded by GhostPhanom.

d485af00a9ce952e60cd17698c70a0be43a538ce authored about 6 years ago by nmlgc <[email protected]>
thanm: Identify zero2 as the color key.

Funded by GhostPhanom.

67141b0316140e947bf4c139e18dfffba5b76bd6 authored over 6 years ago by nmlgc <[email protected]>
thanm: Identify zero1 as the run-time texture slot.

Funded by GhostPhanom.

6b9e5a57f3cc7fbd9a955acbad8413a0f872114a authored over 6 years ago by nmlgc <[email protected]>
thecl: th165 changes the parameter for ins_1002 to a float.

3fe5da13b4a662c564c2ae5bb85ca8ccc85e942d authored over 6 years ago by nmlgc <[email protected]>
thanm: Add support for th165.

cc73cbf9d972547cdca60d53c95ffcfabbefc1a3 authored over 6 years ago by nmlgc <[email protected]>
thecl: Add support for th165

A few new instructions. And yes, I remembered to add the ECL creation
fix this time. :P

8c2bcc4eab18f7c3640f3965e700ee856fabf107 authored over 6 years ago by nmlgc <[email protected]>
thmsg: Add "support" for th165

No new opcodes.

0650a049ab34c5453be7d3eeceae4de0a2028676 authored over 6 years ago by nmlgc <[email protected]>
Fix documentation error

c07c8e0996e0d21a2fa30c5c41bd7989d0927344 authored over 6 years ago by Egor <[email protected]>
Update release script for VS2017

6504d43866736a66e1e13e95ae3c256dc0775f79 authored over 6 years ago by Egor <[email protected]>
thtk release 10

f18c8bedb423f4d777858ad4eeb7f1fe5855d070 authored over 6 years ago by Egor <[email protected]>
[thdat] Detect for -l

b1d335bc0ecff507493f76bb6e70e3a0d20e4a3b authored over 6 years ago by Egor <[email protected]>
[thdat] fix crash when listing archive with wrong version

4454197c001b20891351408ad541e3e743fa7aa1 authored over 6 years ago by Egor <[email protected]>
Resolve game abbriviations to version numbers

no more 10.3 alcostg :^)

757618e768a5c4579bd6b721907877ecdf5053ca authored over 6 years ago by Egor <[email protected]>
Add version detection to thdat

ff4a97815b2797359d3666d3a6c3bece961c8dac authored over 6 years ago by Egor <[email protected]>
[thdat] fix -x and -d using wrong arguments

a9e8f32636fae7dccc0731ad648980fb82f90a3b authored over 6 years ago by Egor <[email protected]>
[thdat] remove defaulting to latest game

getopt already hinders this, because it would only work if you do this:
thdat th16.dat -x
If you...

a2607103a238b3cb150c0b6eae5664201116cbc1 authored over 6 years ago by Egor <[email protected]>
Merge pull request #42 from thpatch/getopt

Better argument parsing

63556b32e628c26bc6419d8e8ad7dedf8b6177d7 authored over 6 years ago by Egor <[email protected]>
Remove mention of removed feature from thdat.1

3ae45defc1677c0fc5af3d0f445ab2bb7e8d4a6c authored over 6 years ago by Egor <[email protected]>
Updated usage with new syntax

2ded0a3e14055b8cd1fcbbf5404b5633923158c0 authored almost 7 years ago by Egor <[email protected]>
Changed thecl description

182581a653decf6fce7bcf6294044879f76660de authored almost 7 years ago by Egor <[email protected]>
Updated manpages with new syntax

178cf366cdde66708e07122affaa5d132a0943b1 authored almost 7 years ago by Egor <[email protected]>
Restore argv0 shortname behaviour

6ec0c7170a61ad4d38f3fc034820ca033a398bad authored almost 7 years ago by Egor <[email protected]>
Move common portion of arg handling into util

also deleted old parse_args

bfbfbe0f3df6bb71f775ef92fa47cadd42b0f5b3 authored almost 7 years ago by Egor <[email protected]>
[thmsg] Use getopt

d67b5095de6f0578c4a89035f6937c662e7a4879 authored almost 7 years ago by Egor <[email protected]>
[thanm] Use getopt

69f81dfc08d8fc98e21be48f6c758f4970965c76 authored almost 7 years ago by Egor <[email protected]>
[thecl] Use getopt

15f592dd927602f0b0c1c39da5151f63db420de1 authored almost 7 years ago by Egor <[email protected]>
[thdat] Use getopt

9827f01853da924a11058963b0d52f51bde35697 authored almost 7 years ago by Egor <[email protected]>
[util] Add an implementation of getopt

Why unlicense? Because if I wanted a BSD getopt, I'd just copy-paste it
from elsewhere :P

Why n...

6b31d8afb01a72794db3d411f1729edcf2ab12bb authored almost 7 years ago by Egor <[email protected]>
Merge pull request #41 from thpatch/detect

Detect functionality for thdat

4a3982182786419104f4c663e4349ded049f31d9 authored almost 7 years ago by Egor <[email protected]>
remove wchar.h include from util

not needed anymore, since I decided to move basename into detect.c

8666631790d7cd4b2d1f3e37aac9529e4d46bbac authored almost 7 years ago by Egor <[email protected]>
Fix tabs and trailing whitespace

2a946c27fd6f812acc696632224ace993348c43f authored almost 7 years ago by Egor <[email protected]>
Comment formatting

1f784eb1b374daf8bfa3590f84786efc46fbda74 authored almost 7 years ago by Egor <[email protected]>
Disable contrib plugins by default

There's precisely one person who's intrested in building them.

1ca298951afc5362267082585d46b6a626c36d60 authored almost 7 years ago by Egor <[email protected]>
fix UB buffer overrun

06cbc717e1312ca78ac3ccd2e5656c9f75d16071 authored almost 7 years ago by Egor <[email protected]>
[wcthdat] load thtk.dll from the same directory

too lazy to figure out delayloading, so I just did an ugly hack.

46c5e1388c81a617ad37ffbfc403364a85a4d4b5 authored almost 7 years ago by Egor <[email protected]>
tfw you commit without compiling on windows

d41433432c2a291808cc2d32f29f4e25e89faff6 authored almost 7 years ago by Egor <[email protected]>
Refactor wcthdat and basename

68511b1b1436d02e3c16c6ea1497187a2b7f1ede authored almost 7 years ago by Egor <[email protected]>
Add .editorconfig

because visual studio is dumb

2e501464e4a2f24ab6f359321da838dec34d3c1e authored almost 7 years ago by Egor <[email protected]>
Add totalcmd plugin "wcthdat"

Also added function to thtk_io for opening files with wide filenames.

0db376d354e0e01d30a0f6503aa3315a53c8c650 authored almost 7 years ago by Egor <[email protected]>
Set input and execution character sets to utf-8

This is so that utf-8 strings in source stay utf-8.
Without this, msvc interprets characters in ...

643d3346aeb91dd3fdf45ddb9d29830b3ee7c8f8 authored almost 7 years ago by Egor <[email protected]>
[detect] fix th03 sjis filename

misstyped :tannedcirno:

060f127bb43f601a2fb7d14dccaeada8a8008383 authored almost 7 years ago by Egor <[email protected]>