diff options
| author | milk4sale <53350507+milk4sale@users.noreply.github.com> | 2026-11-24 12:14:04 -0600 |
|---|---|---|
| committer | milk4sale <53350507+milk4sale@users.noreply.github.com> | 2026-11-24 12:14:04 -0600 |
| commit | 48d5a1d42ab32f4b1739f370b5deeec8d4d7785e (patch) | |
| tree | 4d9fa4b57e7d61edf275cf74523974a2fed61657 /docs | |
| parent | 3aa975421d470b76da1aa986a91282c59e20d642 (diff) | |
Ignore rpf9-explorer's index cache when it lands in the checkout
rpf9dump models and rpf9dump textures save a full-scan index through
RecoveryIndexCache in third_party/rpf9-explorer. On Linux, when the local
application-data folder does not exist, .NET returns an empty path for it
and the index is written to RpfPreview/Indexes under the current directory.
The index holds the archive's full path and the names of its recovered
entries, so from the repository root it is untracked game data.
Ignore RpfPreview/ and say in docs/design.md where the index goes.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/design.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/design.md b/docs/design.md index 289c4cd59..6eddee75b 100644 --- a/docs/design.md +++ b/docs/design.md | |||
| @@ -168,6 +168,12 @@ python -I make_game.py --stages assets # everything, in order; skips what is d | |||
| 168 | ``` | 168 | ``` |
| 169 | 169 | ||
| 170 | Full-scan indexes are also saved to `%LOCALAPPDATA%\RpfPreview\Indexes`, so the rpf9-explorer GUI opens these archives with complete listings instead of its 16 MiB preview scan. | 170 | Full-scan indexes are also saved to `%LOCALAPPDATA%\RpfPreview\Indexes`, so the rpf9-explorer GUI opens these archives with complete listings instead of its 16 MiB preview scan. |
| 171 | On Linux that is `RpfPreview/Indexes` under `$XDG_DATA_HOME`, or under `~/.local/share` when the variable is unset. | ||
| 172 | If that data folder does not exist, .NET reports no folder at all and the index is written to `RpfPreview/Indexes` | ||
| 173 | under the current directory instead (`RecoveryIndexCache.CachePath` in `third_party/rpf9-explorer`; measured on | ||
| 174 | Linux with .NET 10.0.14 and a 64 KiB file of zeros as the source). An index holds the archive's full path and the | ||
| 175 | names of its recovered entries, so it is game data: `RpfPreview/` is in `.gitignore`, and creating the data folder | ||
| 176 | before the first run keeps the index out of the checkout. | ||
| 171 | 177 | ||
| 172 | ## Other prepared pieces | 178 | ## Other prepared pieces |
| 173 | 179 | ||