Jennifer Taylor
f6a9aa69fd
Make black do 120 character lines instead of 80.
2024-01-02 02:46:24 +00:00
Jennifer Taylor
a2ae886d73
Remove unnecessary if statements in some cases.
2023-03-19 05:40:52 +00:00
Jennifer Taylor
25e162042a
Format code with black, include wrapper script to handle that, update linter checks to accomodate, fix a few miscelaneous type errors.
2022-10-15 18:56:30 +00:00
Bottersnike
224ed0e2a8
Add decopmressed encoding; add decompressed test cases
2022-09-18 23:24:34 -04:00
Bottersnike
036bf1ce20
Implement decompressed kbinxml decoding
2022-09-18 23:24:34 -04:00
Jennifer Taylor
495466f4e4
Fix weird filename edgecase with some ifs file.
2021-10-24 17:12:06 +00:00
Jennifer Taylor
d26d5f56c8
Remove some unnecessary null checks in protocol.
2021-08-28 19:01:50 +00:00
Jennifer Taylor
de3f9107cd
Address newest crop of lint issue with new flake8 tool.
2021-07-06 22:29:41 +00:00
seth
061ff796f6
Fix compatibility with python < 3.8 by switching from typing.Final to typing_extensions.Final
2021-06-07 23:07:36 -04:00
Jennifer Taylor
b1b8b67fe3
Fix a few more optional type errors.
2021-05-31 18:14:51 +00:00
Jennifer Taylor
83495f44af
Additional typing fixes for safety and to be able to compile more code with mypyc.
2021-05-31 18:09:40 +00:00
Jennifer Taylor
4a1579b099
Some type hint fixes for protocol necessary to compile with mypyc.
2021-05-31 18:08:31 +00:00
Jennifer Taylor
b864148c3e
Refactor/reorganization of C++ modules.
2021-05-29 22:11:15 +00:00
Jennifer Taylor
f47a4782da
Another attempted fix for CLANG on OSX.
2021-05-19 20:16:51 +00:00
Jennifer Taylor
f8f32ef082
Possible fix for clang OSX compile.
2021-05-19 20:01:32 +00:00
Jennifer Taylor
68feebc78e
Fix missing ctypes definition for compression in Lz77 module.
2021-05-16 00:19:20 +00:00
Jennifer Taylor
a3f247f422
Clean up node a little bit:
...
- Remove redundant attribute creation function.
- Remove redundant len field.
- Add the rest of the missing types to the constructor array.
- Reorganize a bit.
2021-04-08 01:05:20 +00:00
Jennifer Taylor
c7e739c6e2
Support BINXML data with no property bodies.
2021-04-05 00:50:30 +00:00
Jennifer Taylor
5adb36d5b2
Fix a few comments in old XML parser.
2021-04-05 00:50:08 +00:00
Jennifer Taylor
e70b74f21a
Slight optimization of python lz77 code.
2020-12-20 04:06:41 +00:00
Jennifer Taylor
c431e30d3b
Remove a few redundant code paths in LZ77 C++ implementation, fix a bug preventing us from finding the optimal compression.
2020-12-20 03:38:34 +00:00
Jennifer Taylor
37e01e0a3e
Rewrite LZ77 compressor in C++ (like decompressor) for another massive speed boost.
2020-12-14 22:15:20 +00:00
Jennifer Taylor
fd3868073f
Add a few more known node types.
2020-11-30 22:57:46 +00:00
Jennifer Taylor
31ad2856fd
Add a much faster C++ implementation of Lz77 decompress. We can achieve approximately a 10x speedup decompressing with this enabled.
2020-11-28 19:05:27 +00:00
Jennifer Taylor
41ea293897
Faster, but less than ideal, large file compression as well as start byte GC.
2020-11-12 05:03:33 +00:00
Jennifer Taylor
42c3362a3c
Fix off-by-one error in LZ77 implementation rarely resulting in truncated files on inflate.
2020-11-12 05:02:37 +00:00
Jennifer Taylor
786676fd26
Initial code for The*BishiBashi graphics file unpacker.
2020-11-06 02:08:21 +00:00
Jennifer Taylor
c694157c51
Fix cython issue and compile the rest of protocol.
2020-04-04 20:08:33 +00:00
Jennifer Taylor
509cb4f0d9
Convert most of the format() string calls to f-strings using libcst.
...
Exact commands run were:
python3 -m libcst.tool codemod convert_format_to_fstring.ConvertFormatStringCommand . --no-format
python3 setup.py build_ext --inplace
2020-01-07 21:29:07 +00:00
Jennifer Taylor
c89c12062d
Upgrade to latest flake8, address new flake issues.
2019-12-10 01:10:14 +00:00
Jennifer Taylor
74c0407173
Initial commit of BEMANI Utilities to GitHub.
2019-12-08 21:43:49 +00:00