aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
* fix: close stage 0-2 synthetic gatesValentin Popov4 days24-342/+937
|
* feat: close stage 0-2 audit groundworkValentin Popov4 days16-608/+2654
| | | | | | | | | | | | Remove legacy SDL/OpenGL adapters from the workspace and introduce winit/Vulkan adapter boundaries for the rendered composition root. Add reproducible toolchain and xtask CI coverage for formatting, tests, clippy, docs, policy, deny, acceptance auditing, and hosted OS matrix evidence. Strengthen Stage 1 data contracts with byte-first paths, VFS hardening, structured diagnostics, RsLi writer/edit scaffolding, corpus reporting, and resource error classification. Advance Stage 2 asset preparation by moving mission loading through assets/runtime boundaries, materializing prototype graph data, preserving provenance, and adding inspection/viewer integration. Record the Stage 0-2 audit input, acceptance roadmap, coverage updates, and documentation notes for follow-up evidence.
* fix: trace runtime scheduler phasesValentin Popov6 days1-6/+172
|
* fix: require manifests for licensed gatesValentin Popov6 days14-135/+223
|
* fix: use canonical sha256 world hashesValentin Popov6 days2-21/+142
|
* fix: harden render command validationValentin Popov6 days1-17/+421
|
* fix: cap fixed-step catch-upValentin Popov6 days1-12/+74
|
* fix: expose configurable rsli read profilesValentin Popov6 days1-11/+165
|
* fix: preserve nres gaps during editsValentin Popov6 days1-46/+208
|
* fix: make corpus reports explicit and fallibleValentin Popov6 days2-92/+318
|
* fix: make core error displays actionableValentin Popov6 days4-4/+132
|
* fix: decode payloads outside resource lockValentin Popov6 days1-19/+40
|
* fix: cap decoded payload cache bytesValentin Popov6 days1-13/+137
|
* fix: strengthen resource fingerprintsValentin Popov6 days7-76/+311
|
* fix: harden path lookup and mark gl backend gapValentin Popov6 days2-15/+149
|
* docs: mark stage 4 runtime gaps explicitValentin Popov6 days2-11/+22
|
* fix: harden resource and world state correctnessValentin Popov6 days4-63/+313
|
* fix: make ci locked and isolate licensed testsValentin Popov6 days14-0/+34
|
* feat: implement FParkan architecture foundationValentin Popov6 days96-12133/+23103
| | | | Add the modular fparkan workspace, domain crates, adapters, apps, xtask policy/CI, acceptance evidence, and licensed corpus gates for the macOS-focused roadmap foundation.
* fix(deps): update rust crate glow to 0.17renovate[bot]2026-03-081-1/+1
|
* fix(deps): update rust crate toml to v1renovate[bot]2026-02-261-1/+1
|
* fix(deps): update all digest updatesrenovate[bot]2026-02-252-3/+3
|
* feat: add terrain-core, tma, and unitdat crates with parsing functionalityValentin Popov2026-02-199-0/+2814
| | | | | | | | - Introduced `terrain-core` crate for loading and processing terrain mesh data. - Added `tma` crate for parsing mission files, including footer and object records. - Created `unitdat` crate for reading unit data files with validation of structure. - Implemented error handling and tests for all new crates. - Documented object registry format and rendering pipeline in specifications.
* feat(resource-viewer): добавить новый ресурсный ↵Valentin Popov2026-02-193-34/+171
| | | | | | | просмотрщик с базовой функциональностью feat(nres): улучшить структуру архива с добавлением заголовка и информации о записях feat(rsli): добавить поддержку заголовка библиотеки и улучшить обработку записей
* feat(render-demo): добавить отображение FPS в ↵Valentin Popov2026-02-192-4/+29
| | | | заголовок окна и stdout в интерактивном режиме
* feat(render-demo): обновить поддержку OpenGL с ↵Valentin Popov2026-02-193-55/+190
| | | | добавлением выбора между GLES2 и Core 3.3
* feat: Refactor code structure and enhance functionality across multiple cratesValentin Popov2026-02-1915-120/+232
|
* feat(render-core): add default UV scale and refactor UV mapping logicValentin Popov2026-02-1917-299/+800
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Introduced a constant `DEFAULT_UV_SCALE` for UV scaling. - Refactored UV mapping in `build_render_mesh` to use the new constant. - Simplified `compute_bounds` functions by extracting common logic into `compute_bounds_impl`. test(render-core): add tests for rendering with empty and multi-node models - Added tests to verify behavior when building render meshes from models with no slots and multiple nodes. - Ensured UV scaling is correctly applied in tests. feat(render-demo): add FOV argument and improve error handling - Added a `--fov` command-line argument to set the field of view. - Enhanced error messages for texture resolution failures. - Updated MVP computation to use the new FOV parameter. fix(rsli): improve error handling in LZH decompression - Added checks to prevent out-of-bounds access in LZH decoding logic. refactor(texm): streamline texture parsing and decoding tests - Created a helper function `build_texm_payload` for constructing test payloads. - Added tests for various texture formats including RGB565, RGB556, ARGB4444, and Luminance Alpha. - Improved error handling for invalid TEXM headers and mip bounds.
* feat: Enhance model and texture loading with improved error handling and new ↵Valentin Popov2026-02-1910-28/+963
| | | | | | | | | | | | features - Introduced `LoadedModel` and `LoadedTexture` structs for better encapsulation of model and texture data. - Added functions to load models and textures from archives, including support for resolving textures based on materials and wear entries. - Implemented error handling for missing textures, materials, and wear entries. - Updated the rendering pipeline to support texture loading and binding, including command-line arguments for texture customization. - Enhanced the `texm` crate with new decoding capabilities for various pixel formats, including indexed textures. - Added tests for texture decoding and loading to ensure reliability and correctness. - Updated documentation to reflect changes in the material and texture resolution process.
* feat(render-parity): add deterministic frame comparison toolValentin Popov2026-02-197-63/+972
| | | | | | | | | - Introduced `render-parity` crate for comparing rendered frames against reference images. - Added command-line options for specifying manifest and output directory. - Implemented image comparison metrics: mean absolute difference, maximum absolute difference, and changed pixel ratio. - Created a configuration file `cases.toml` for defining test cases with global defaults and specific parameters. - Added functionality to capture frames from `render-demo` and save diff images on discrepancies. - Updated documentation to include usage instructions and CI model for automated testing.
* Refactor documentation structure and add new specificationsValentin Popov2026-02-1919-0/+2005
| | | | | | | | - Updated MSH documentation to reflect changes in material, wear, and texture specifications. - Introduced new `render.md` file detailing the render pipeline process. - Removed outdated sections from `runtime-pipeline.md` and redirected to `render.md`. - Added detailed specifications for `Texm` texture format and `WEAR` wear table. - Updated navigation in `mkdocs.yml` to align with new documentation structure.
* fix(deps): update all digest updatesrenovate[bot]2026-02-121-1/+1
|
* feat: добавить поддержку атомарной замены ↵Valentin Popov2026-02-124-12/+171
| | | | файлов для Windows и тесты на максимальную длину имени
* feat: обновить методы обработки данных и ↵Valentin Popov2026-02-127-31/+215
| | | | улучшить обработку ошибок в библиотеке
* feat: добавить тесты для проверки ↵Valentin Popov2026-02-123-1/+355
| | | | структурных инвариантов и корректности сортировки в RsLi
* fix: обработка выхода за пределы индекса ↵Valentin Popov2026-02-104-21/+116
| | | | сортировки в архиве и улучшение декодирования LZSS с поддержкой XOR
* Implement LZSS decompression with optional XOR decryptionValentin Popov2026-02-109-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 Popov2026-02-109-97/+208
| | | | буферами вывода; обновить зависимости в nres и rsli
* feat: добавить новые тесты для обработки ↵Valentin Popov2026-02-101-0/+205
| | | | не-NRes байтов и минимальной структуры архива
* fix: добавить проверку на наличие архивов в ↵Valentin Popov2026-02-102-3/+14
| | | | тестах для nres и rsli
* feat: добавить README для библиотеки nres с ↵Valentin Popov2026-02-102-0/+100
| | | | описанием функционала и тестирования
* Refactor tests and move them to a dedicated moduleValentin Popov2026-02-104-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 Popov2026-02-108-0/+2353
- 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.