Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion wiki/BIF-File-Format.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ The *Resource ID* in the *BIF* file matches the *Resource ID* in the [KEY File](

- [KEY-File-Format](KEY-File-Format) -- *BIF* indexing and resource resolution
- [ERF-File-Format](ERF-File-Format) -- *ERF/MOD* containers; [GFF-File-Format](GFF-File-Format) -- *GFF* resources in *BIF*
- [RIM-File-Format](RIM-File-Format) -- RIM (Resource Index Manifest) containers
- [RIM-File-Format](RIM-File-Format) -- RIM (Resource Image) containers
- [Bioware-Aurora-KeyBIF](Bioware-Aurora-KeyBIF) -- *Aurora* *KEY/BIF* specification

---
Expand Down
2 changes: 1 addition & 1 deletion wiki/ERF-File-Format.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ Contrary to popular belief, the engine does **not** identify Save Games based on
- [BIF File Format](BIF-File-Format) - Container format used with [KEY](KEY-File-Format) files
- [KEY File Format](KEY-File-Format) - Index for [BIF containers](BIF-File-Format) and resource resolution
- [GFF File Format](GFF-File-Format) - Common content type stored in ERF containers
- [RIM-File-Format](RIM-File-Format) - RIM (Resource Index Manifest) container format; similar structure to ERF for area resources
- [RIM-File-Format](RIM-File-Format) - RIM (Resource Image) container format; similar structure to ERF for area resources

---

Expand Down
2 changes: 1 addition & 1 deletion wiki/Home.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ This language ID usually is represented as an enum. It is equivalent within all
- [LYT File Format](LYT-File-Format) ← Layout format
- [NCS File Format](NCS-File-Format) ← NwScript Compiled Script format
- [NSS File Format](NSS-File-Format) ← NwScript Source format (nwscript.nss, function/constant definitions)
- [RIM File Format](ERF-File-Format) ← Resource Index Manifest format
- [RIM File Format](ERF-File-Format) ← Resource Image format
- [SSF File Format](SSF-File-Format) ← [sound set files](SSF-File-Format) format
- [TLK File Format](TLK-File-Format) ← [Talk Table](TLK-File-Format) format
- [TPC File Format](TPC-File-Format) ← [texture](TPC-File-Format) Pack Container format
Expand Down
4 changes: 2 additions & 2 deletions wiki/reverse_engineering_findings.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@ The engine uses `CExoResMan` as the central resource management system supportin
- `FIXED` (0x00000000): KEY/BIF files (chitin.key + data/*.bif)
- `DIRECTORY` (0x80000000): Loose files in directories
- `ERF` (0x40000000): ERF/RIM containers (modules/*.rim, modules/*.erf)
- `RIM` (0x20000000): RIM (Resource Index Manifest) containers (e.g. texture packs; naming per MacOS symbols, see [PyKotor#47](https://github.com/OldRepublicDevs/PyKotor/issues/47))
- `RIM` (0x20000000): RIM (Resource Image) containers (e.g. texture packs; naming per MacOS symbols / `AddResourceImageFile()`, see [PyKotor#47](https://github.com/OldRepublicDevs/PyKotor/issues/47))

**Key Functions:**

- `CExoResMan::AddKeyTable()`: Loads container tables with type flags
- `CExoResMan::ReadResource()`: Loads resources from containers
- `AddResourceImageFile()` calls `AddKeyTable(..., RIM, 0)` for texture packs (RIM = Resource Index Manifest)
- `AddResourceImageFile()` calls `AddKeyTable(..., RIM, 0)` for texture packs (RIM = Resource Image)

**GFF Structure (from CResGFF analysis):**

Expand Down
Loading