aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Добавлены спецификации для сетевой ↵Valentin Popov22 hours17-1412/+1511
| | | | подсистемы, системы звука, загрузки ландшафта, интерфейса пользователя и пайплайна выполнения. Обновлен файл навигации mkdocs.yml для включения новых документов.
* Add MSH geometry export and preview rendering toolsValentin Popov44 hours8-370/+3245
| | | | | | - Implemented msh_export_obj.py for exporting NGI MSH geometry to Wavefront OBJ format, including model selection and geometry extraction. - Added msh_preview_renderer.py for rendering NGI MSH models to binary PPM images, featuring a primitive software renderer with customizable parameters. - Both tools utilize the same NRes parsing logic and provide command-line interfaces for listing models and exporting or rendering geometry.
* fix: обработка выхода за пределы индекса ↵Valentin Popov2 days4-21/+116
| | | | сортировки в архиве и улучшение декодирования LZSS с поддержкой XOR
* Implement LZSS decompression with optional XOR decryptionValentin Popov2 days9-681/+700
| | | | | | | | | - Added `lzss_decompress_simple` function for LZSS decompression in `lzss.rs`. - Introduced `XorState` struct and `xor_stream` function for XOR decryption in `xor.rs`. - Updated `mod.rs` to include new LZSS and XOR modules. - Refactored `parse_library` function in `parse.rs` to utilize the new XOR decryption functionality. - Cleaned up and organized code in `lib.rs` by removing redundant functions and structures. - Added tests for new functionality in `tests.rs`.
* feat: добавить библиотеку common с ресурсами и ↵Valentin Popov2 days9-97/+208
| | | | буферами вывода; обновить зависимости в nres и rsli
* feat: добавить новые тесты для обработки ↵Valentin Popov3 days1-0/+205
| | | | не-NRes байтов и минимальной структуры архива
* fix: добавить проверку на наличие архивов в ↵Valentin Popov3 days2-3/+14
| | | | тестах для nres и rsli
* fix: исправить ссылки на репозитории в ↵Valentin Popov3 days1-2/+2
| | | | разделе Contributing & Support
* feat: добавить начальный README с описанием ↵Valentin Popov3 days1-0/+55
| | | | проекта и инструкциями
* feat: добавить README для библиотеки nres с ↵Valentin Popov3 days2-0/+100
| | | | описанием функционала и тестирования
* Refactor tests and move them to a dedicated moduleValentin Popov3 days4-428/+1397
| | | | | | | | | - Moved the test suite from `lib.rs` to a new `tests.rs` file for better organization. - Added a `SyntheticRsliEntry` struct to facilitate synthetic test cases. - Introduced `RsliBuildOptions` struct to manage options for building RsLi byte arrays. - Implemented various utility functions for file handling, data compression, and bit manipulation. - Enhanced the `rsli_read_unpack_and_repack_all_files` test to validate all RsLi archives. - Added new tests for synthetic entries covering all packing methods, overlay handling, and validation error cases.
* feat: add initial implementation of rsli crateValentin Popov3 days9-1/+2354
| | | | | | | | | | - Created Cargo.toml for the rsli crate with flate2 dependency. - Implemented ResourceData enum for handling borrowed and owned byte slices. - Added OutputBuffer trait and its Vec<u8> implementation for writing data. - Defined a comprehensive Error enum for error handling in the library. - Developed the Library struct to manage resource entries and provide methods for loading and unpacking resources. - Implemented various packing methods and decompression algorithms, including LZSS and Deflate. - Added tests for validating the functionality of the rsli library against sample data.
* feat: удалить файл конфигурации dependabotValentin Popov3 days1-14/+0
|
* feat: обновить конфигурацию CI для ↵Valentin Popov3 days2-6/+17
| | | | тестирования и линтинга кода
* feat: добавить скрипты для инициализации ↵Valentin Popov3 days6-0/+261
| | | | тестовых данных и настройки окружения
* feat: удалить устаревшие файлы и директории ↵Valentin Popov3 days7-23/+0
| | | | из проекта
* feat: изменить язык документации на русскийValentin Popov3 days1-1/+1
|
* Add .gitignore for Python and project-specific files; implement archive ↵Valentin Popov3 days4-6/+1172
| | | | | | | | | roundtrip validator - Updated .gitignore to include common Python artifacts and project-specific files. - Added `archive_roundtrip_validator.py` script for validating NRes and RsLi formats against real game data. - Created README.md for the tools directory, detailing usage and supported signatures. - Enhanced nres.md with practical nuances and empirical checks for game data.
* feat: обновление навигации в документации, ↵Valentin Popov3 days1-0/+3
| | | | добавление разделов для 3D моделей, текстур и эффектов
* feat: добавление документации по эффектам и ↵Valentin Popov3 days1-0/+69
| | | | частицам
* feat: добавление документации по модели ↵Valentin Popov3 days1-0/+314
| | | | ресурсов MSH/AniMesh
* feat: добавление документации по текстурам ↵Valentin Popov3 days1-0/+90
| | | | и материалам
* Add detailed documentation for NRes and RsLi resource formatsValentin Popov3 days6-1626/+720
| | | | | - Introduced a comprehensive markdown file `nres.md` detailing the structure, header, and operations of the NRes and RsLi formats. - Updated `mkdocs.yml` to reflect the new documentation structure, consolidating NRes and RsLi under a single entry.
* feat: обновление документации по ↵Valentin Popov8 days5-190/+203
| | | | алгоритмам декомпрессии и добавление файлов .gitkeep в директории libs и tools
* feat: добавление файлов .gitkeep в директории ↵Valentin Popov8 days2-0/+0
| | | | libs и tools
* feat: добавление файлов конфигурации Zig и ↵Valentin Popov8 days3-0/+84
| | | | обновление .gitignore
* Add NRes format documentation and decompression algorithmsValentin Popov8 days4-0/+1612
| | | | | | - Created `huffman_decompression.md` detailing the Huffman decompression algorithm used in NRes, including context structure, block modes, and decoding methods. - Created `overview.md` for the NRes format, outlining file structure, header details, file entries, and packing algorithms. - Updated `mkdocs.yml` to include new documentation files in the navigation structure.
* feat: remove Rust projectValentin Popov8 days21-2735/+0
|
* chore(deps): update actions/checkout action to v6renovate[bot]13 days1-1/+1
|
* chore: update renovate workflow to include GITHUB_COM_TOKENValentin Popov13 days1-1/+2
|
* chore: wire RENOVATE_LOG_LEVELValentin Popov14 days1-1/+3
|
* migrate renovate config to giteaValentin Popov14 days3-0/+31
|
* Move CI to Gitea ActionsValentin Popov14 days2-15/+1
|
* Update dependencies and fix clippy warningsValentin Popov14 days3-24/+33
|
* chore: update dependencies and fix clippy warningsValentin Popov2026-01-193-427/+351
| | | | | | - refresh Cargo.lock to latest compatible crates - simplify u32->u64 conversion in libnres - use is_multiple_of in unpacker list validation
* Update Rust crate console to v0.16.1 (#48)renovate[bot]2025-09-081-80/+22
| | | Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Update Rust crate log to v0.4.28 (#47)renovate[bot]2025-09-041-2/+2
| | | Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Update Rust crate image to v0.25.8 (#46)renovate[bot]2025-09-031-22/+53
| | | Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Update Rust crate clap to v4.5.47 (#45)renovate[bot]2025-09-031-6/+6
| | | Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Update all digest updates (#41)renovate[bot]2025-08-272-32/+18
| | | Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Update Rust crate thiserror to v2.0.15 (#39)renovate[bot]2025-08-171-6/+6
| | | Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Merge pull request #33 from valentineus/renovate/all-digestValentin Popov2025-08-131-14/+14
|\ | | | | Update all digest updates
| * Update all digest updatesrenovate[bot]2025-08-131-14/+14
|/
* Update Rust crate clap to v4.5.41 (#32)renovate[bot]2025-07-101-35/+121
| | | Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Merge pull request #29 from valentineus/renovate/all-digestValentin Popov2025-07-091-2/+2
|\ | | | | Update all digest updates
| * Update all digest updatesrenovate[bot]2025-07-081-2/+2
|/
* Update dependencies in Cargo.lockValentin Popov2025-06-151-143/+177
|
* Merge pull request #7 from valentineus/nresValentin Popov2025-06-1519-79/+27
|\ | | | | Обновление структуры проекта
* | Update Rust crate clap to v4.5.40 (#28)renovate[bot]2025-06-101-6/+6
| | | | | | Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* | Update all digest updates (#27)renovate[bot]2025-05-281-4/+4
| | | | | | Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>