# Wolvenkit Search: Finding files

## Summary

This page will show you how to use the Wolvenkit search to find files inside the [Asset Browser](/wolvenkit/wolvenkit-app/editor/asset-browser.md)/[Asset Browser](/wolvenkit/wolvenkit-app/editor/asset-browser.md#mod-browser).&#x20;

### Wait, this is not what I want!

* To find the game files from an item's code (e.g. `Items.Q005_Johnny_Pants`), please check [Spawn Codes (BaseIDs/Hashes)](https://wiki.redmodding.org/cyberpunk-2077-modding/for-mod-creators-theory/references-lists-and-overviews/equipment/spawn-codes-baseids-hashes) on the yellow wiki.

## Wolvenkit's search bar

You can use the search bar at the top of the asset browser to search the game files:

<figure><img src="/files/B9P23QwLPNaT4CCiOh7L" alt=""><figcaption><p>Here, you can search through game files.</p></figcaption></figure>

To search in your currently installed mods instead, switch to Mod Browser:

<figure><img src="/files/bTSqgAJGYmGwGToVXpAs" alt=""><figcaption><p>Your currently installed mods will show up on the left</p></figcaption></figure>

## Operators

You can chain the search operators below with the `>` character, which will run the results of the first search through the second search.

#### Examples:

```
// find all .mesh files in mod archives matching ArchiveXL_Netrunner
archive:ArchiveXL_Netrunner > .mesh

// find all textures with "steel" outside of "Characters"
// (have negative matches last, as they're expensive)
.xbm > steel > !characters
```

Let's get to the meat of the matter.

### By archive

This is mostly useful for the mod browser, as it allows you to e.g. retrieve files from your other mods without switching projects or digging through your mod directory.&#x20;

Use the `archive` switch to show only files in a certain archive (name or path):

```
a:ArchiveXL_Netrunner
archive:ArchiveXL_Netrunner
```

{% hint style="info" %}
This operator **has** to be chained via `>` if you want to refine it.

`a:ArchiveXL_Netrunner .mesh` will show nothing\
`a:ArchiveXL_Netrunner > .mesh` will show all mesh files by archive match `ArchiveXL_Netrunner`.
{% endhint %}

### By full / partial path

#### Full

This is the default search behaviour, and you don't need to include these operators.&#x20;

Search will only show you files under this path.

```
path:base\characters\common\player_base_bodies\player_female_average\t0_000_pwa_base__full.mesh
@base\characters\common\player_base_bodies\player_female_average
```

#### Partial

To limit your search to a certain folder, you can put the folder path **and** the search term:

```
base\characters\common\player_base_bodies\player_female_average t0_000_pwa_base
```

You don't need to include slashes. These search terms below will yield the same results:

```
base\characters\common\player_base_bodies\player_female_average arms
base characters common player_base_bodies player_female_average arms

// or simplify it to
player_base_bodies player_female_average arms
```

### File Extension

You can limit your search to certain file extensions:

```
player_female_average .mesh
player_female_average .xbm
```

### Hash

If you only know a file's hash, you can still search for it:

```
hash:9872775577851133397
```

### Or

You can search for multiple terms by using the `|` operator:&#x20;

```
player_base_bodies\player_female_average > .mesh|.xbm
```

{% hint style="danger" %}
This does **not** like spaces. `word1|word2` will work, `word1 | word2` will not.
{% endhint %}

### Not

You can exclude terms from the search by prefixing them with `!`:

```
player_base_bodies\player_female_average arms > !morphtarget
```

### Regular Expression

Wolvenkit lets you search for regular expressions. The main limitation is that you can't use spaces:

```
regexp:^.*main_npc.*judy.*\.mesh
r:^.*main_npc.*judy.*\.mesh
```

`.*` will work by default.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.redmodding.org/wolvenkit/wolvenkit-app/usage/wolvenkit-search-finding-files.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
