diff options
| author | Valentin Popov <valentin@popov.link> | 2025-06-15 01:42:55 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-15 01:42:55 +0300 |
| commit | 2273fd4263b91a877b043dacf4b9311c98d3bcbb (patch) | |
| tree | e2502636adc081c2a71179402774fa90d5be8a9d /libnres/README.md | |
| parent | d4f104cf5ebca5acf4379e5108c635e008c0c82f (diff) | |
| parent | d274602104892e181205725c6b9c9082a9669942 (diff) | |
| download | fparkan-2273fd4263b91a877b043dacf4b9311c98d3bcbb.tar.xz fparkan-2273fd4263b91a877b043dacf4b9311c98d3bcbb.zip | |
Merge pull request #7 from valentineus/nres
Обновление структуры проекта
Diffstat (limited to 'libnres/README.md')
| -rw-r--r-- | libnres/README.md | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/libnres/README.md b/libnres/README.md deleted file mode 100644 index 065bd40..0000000 --- a/libnres/README.md +++ /dev/null @@ -1,25 +0,0 @@ -# Library for NRes files (Deprecated) - -Library for viewing and retrieving game resources of the game **"Parkan: Iron Strategy"**. -All versions of the game are supported: Demo, IS, IS: Part 1, IS: Part 2. -Supports files with `lib`, `trf`, `rlb` extensions. - -The files `gamefont.rlb` and `sprites.lib` are not supported. -This files have an unknown signature. - -## Example - -Example of extracting game resources: - -```rust -fn main() { - let file = std::fs::File::open("./voices.lib").unwrap(); - // Extracting the list of files - let list = libnres::reader::get_list(&file).unwrap(); - - for element in list { - // Extracting the contents of the file - let data = libnres::reader::get_file(&file, &element).unwrap(); - } -} -``` |
