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: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ work/
!/assets/logo.png
!/assets/logo.svg
carve/
# rpf9-explorer's index cache (archive paths and entry names); see "Full-scan indexes" in docs/design.md
RpfPreview/
*.rpf
*.ttpf
*.xvd
Expand Down
6 changes: 6 additions & 0 deletions docs/design.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,12 @@ python -I make_game.py --stages assets # everything, in order; skips what is d
```

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.
On Linux that is `RpfPreview/Indexes` under `$XDG_DATA_HOME`, or under `~/.local/share` when the variable is unset.
If that data folder does not exist, .NET reports no folder at all and the index is written to `RpfPreview/Indexes`
under the current directory instead (`RecoveryIndexCache.CachePath` in `third_party/rpf9-explorer`; measured on
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
names of its recovered entries, so it is game data: `RpfPreview/` is in `.gitignore`, and creating the data folder
before the first run keeps the index out of the checkout.

## Other prepared pieces

Expand Down
Loading