46 Commits

Author SHA1 Message Date
beerpiss
6df3e8b351 prevent max path length limit when updating 2024-06-30 03:15:33 +07:00
beerpiss
a55c2bdd55 streamline section-searching code 2024-06-30 02:48:34 +07:00
beerpiss
62764997ce cargo fmt 2024-06-29 00:42:42 +07:00
beerpiss
3c938c7ef3 fix: remove the null_mut assignments on structs
the struct is already zero-initialized and adding nulls seem pointless
and make it harder to comb through than it already is.
2024-06-29 00:35:48 +07:00
beerpiss
44104e0562 fix: handle case where import is polled wayy too fast 2024-06-28 13:34:53 +07:00
beerpiss
fc04a5ee01 feat: parse userPlayDate as NaiveDateTime directly 2024-06-27 10:37:37 +07:00
beerpiss
ccb747cd33 fix: actually allow classEmblemBase and classEmblemMedal to not exist 2024-06-27 09:57:52 +07:00
beerpiss
cd7a966d7d log 2024-06-27 09:54:55 +07:00
beerpiss
fe3807da7f build release with size optimizations 2024-06-27 09:41:31 +07:00
beerpiss
cd3c1a9fcd add a special case for when I screw up signing a release 2024-06-27 02:17:18 +07:00
beerpiss
4133301373 chore: switch back to using ptr::null{_mut} 2024-06-27 02:10:39 +07:00
beerpiss
852e27d47d fix: address clippy warnings 2024-06-27 02:06:18 +07:00
beerpiss
47bb748b3b fix: free WinVerifyTrust state data
working with Win32 APIs is actually miserable as shit
2024-06-27 01:55:44 +07:00
beerpiss
2abbd7b79d fix: actually respect the auto-update configuration 2024-06-27 00:49:00 +07:00
beerpiss
8a0507f03c some log movearounds 2024-06-27 00:38:49 +07:00
beerpiss
9105491454 more update logging 2024-06-27 00:37:38 +07:00
beerpiss
ee849ca846 feat: create a pre-commented config file if possible 2024-06-27 00:13:01 +07:00
beerpiss
30b00c242e fix: pretty-print failed score imports 2024-06-27 00:13:01 +07:00
beerpiss
19a579bebf fix: log start of import 2024-06-27 00:13:01 +07:00
beerpiss
e08af6069c fix: nicer error messages for network errors 2024-06-27 00:13:01 +07:00
beerpiss
275b18ae4f feat: wait for the thread loading us to unload
nicer log messages
2024-06-27 00:13:01 +07:00
beerpiss
6b624dc264 fix: properly clear out old config file before writing new one 2024-06-27 00:13:01 +07:00
beerpiss
c3f85c7397 fix: make Tachi types camelCase 2024-06-27 00:13:01 +07:00
beerpiss
d352266759 saekawa 0.4.0: rewrite boogaloo 2024-06-27 00:12:58 +07:00
beerpiss
cac66f0afe Switch to crochet for hooking 2024-03-23 16:54:58 +07:00
beerpiss
d2a276923c Fix ICF decoding bugs (again) 2024-03-23 16:54:11 +07:00
beerpiss
9cf8803035 Fix some bugs with ICF decoding 2024-03-20 09:22:04 +07:00
beerpiss
cae70b031d feat: sun+ support (probably?)
in sun+, there are more than 2 clear lamps now, so isClear has been changed into an integer
instead of a boolean. since kamaitachi doesn't care about the new clear lamps, we are taking
the lazy route and deserializing anything larger than 0 to true.
2023-12-16 16:37:56 +07:00
beerpiss
8ac19ef595 feat: all the logs are output now 2023-11-26 16:23:16 +07:00
beerpiss
8bcb664378 feat: overhaul + pb import 2023-11-18 23:10:50 +07:00
beerpiss
96253e13bc use hex string for printing out request body 2023-11-17 15:44:21 +07:00
beerpiss
975a168ebb use outputdebugstringA for logging to the console
I have fuck all idea if this works. This doesn't work on my machine. Any hooks outside of chusanhook can't output shit.
2023-11-17 13:55:14 +07:00
beerpiss
18a60e1811 feat: massive feature pack
* support for salt-less encrypted configs on paradise lost and older
* json serializing to concrete types
* poll imports for status updates
* fire off imports in a separate thread
2023-11-16 21:55:50 +07:00
beerpiss
fea7790e53 add back in a console
seems like chunitachi also had this fun c2s c2s c2s spam issue
2023-11-16 08:47:15 +07:00
beerpiss
5540d28b7a how did this get here? 2023-11-16 03:56:29 +07:00
beerpiss
292e62ba3c fix: fallback to default CryptoConfiguration
Smoother upgrade experience.
2023-11-16 03:56:08 +07:00
beerpiss
e96d7e9d01 fix: Don't expect 0x prefix from title server keys 2023-11-16 03:47:21 +07:00
beerpsi
4ce49973a5
feat: Allow requests to title server to stay encrypted (#1)
* initial encryption work

still need to figure out how to decrypt the requests. i don't even have an idea how long the key is.

* feat: encryption support
2023-11-16 03:37:42 +07:00
beerpiss
183995a002 feat: verify API key have proper permissions 2023-11-15 21:54:37 +07:00
beerpiss
07028d9dc7 fix: less dumb zlib decoder
there are a bunch of zlib headers, so letting the zlib library deal with it is probably safer
2023-11-15 19:10:01 +07:00
beerpiss
a445d87c6e feat: no more stringly typed difficulties 2023-11-15 18:51:58 +07:00
beerpiss
6c3fbe3378 feat: add feature to allow FAILED to take precedence over lamps
I don't know why you would want this, but an ALL JUSTICE showing as FAILED is funny.
2023-11-15 18:39:13 +07:00
beerpiss
94f972a593 fix: exit early if there is nothing to import 2023-11-15 01:13:29 +07:00
beerpiss
054641203d fix: check that Tachi API is up and user is logged in 2023-11-15 00:57:37 +07:00
beerpiss
b686840237 remove console logging
enabling console logging also flooded the cmd window with a lot of chunithm bullshit.
2023-11-15 00:16:36 +07:00
beerpiss
c970b2cbb8 initial commit 2023-11-14 23:57:44 +07:00