kotiq

Results 15 comments of kotiq

I have a prototype of a codec of the new blk format, restored using a public algorithm. It builds an intermediate representation of the tree as a multi-dictionary of names...

i5-4670 @ 1 core in: tmpfs, out: hdd ``` pytest -vvs --durations=0 test_unpack_dir.py ========================================================================================================================== test session starts ========================================================================================================================== platform linux -- Python 3.9.6, pytest-6.2.4, py-1.10.0, pluggy-0.13.1 -- /home/kotiq/.virtualenvs/blk/bin/python cachedir: .pytest_cache...

aces.vromfs.bin v 2.7.0.46 under the same conditions: ``` time python3 -m blk_unpack --format=strict_blk aces.vromfs.bin_u/ ... real 0m41.039s user 0m38.300s sys 0m0.823s ```

I will need to simulate the interfaces so that your scripts at a higher level work as before. If you write the wrappers yourself, I will publish the library. There...

@AidenTKZ ``` pytest -vvs --no-header --durations=0 test_unpack_dir.py::test_unpack_slim_dir[char.vromfs.bin_u] ============================================================================ test session starts ============================================================================ collected 1 item test_unpack_dir.py::test_unpack_slim_dir[char.vromfs.bin_u] PASSED ============================================================================= slowest durations ============================================================================= 13.76s call tests/test_blk/test_binary/test_constructor/test_unpack_dir.py::test_unpack_slim_dir[char.vromfs.bin_u] 0.00s setup tests/test_blk/test_binary/test_constructor/test_unpack_dir.py::test_unpack_slim_dir[char.vromfs.bin_u] 0.00s teardown tests/test_blk/test_binary/test_constructor/test_unpack_dir.py::test_unpack_slim_dir[char.vromfs.bin_u]...

Для ознакомления с новым форматом [repo](https://github.com/kotiq/blk). Оцените указанные риски при возможной смене порядка в текстах, если будете их заливать в свои репозитории. По-хорошему, гляньте код, если пост на `reddit` был...

@gszabi99 [1](https://github.com/klensy/wt-tools/issues/64#issuecomment-879295136) [2](https://github.com/klensy/wt-tools/issues/71#issue-954216875) I used 5_000_000 for unpacking. @AidenTKZ wt_tools/blk_unpack.py:123,126,131. The specified lines contain `ensure_ascii=False`.

The scheme for the Color was changed. Now RGBA color is stored as BGRA for raw bytes in a binary file ``` b'AABBCCDD' -> [0xCC, 0xBB, 0xAA, 0xDD] ```

@Lord-Mustang The file contains lines in Russian. I didn't explicitly specify utf8 encoding for all text writer's instances. Fixed. Please, update the file.

@MuhAbroomz Not before I set up the CI/CD pipeline parts on my VM. I'm new to this. Firstly, that demo script is not a full-fledged unpacker. Secondly, I don't see...