# Wolvenkit Search: Finding files

## Summary

This page will show you how to use the Wolvenkit search to find files inside the [asset-browser](https://wiki.redmodding.org/wolvenkit/wolvenkit-app/editor/asset-browser "mention")/[#mod-browser](https://wiki.redmodding.org/wolvenkit/editor/asset-browser#mod-browser "mention").&#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://app.gitbook.com/s/4gzcGtLrr90pVjAWVdTc/for-mod-creators-theory/references-lists-and-overviews/equipment/spawn-codes-baseids-hashes "mention") 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="https://4106170459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MP_ozZVx2gRZUPXkd4r%2Fuploads%2FafiRylahXUdEpVTWxMG5%2Fasset_browser_search_bar.png?alt=media&#x26;token=db0b19f5-c246-4701-9522-ba0f036f609b" 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="https://4106170459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MP_ozZVx2gRZUPXkd4r%2Fuploads%2FrszRiQ8TCK2oeGBWTEHh%2Fasset_browser_mod_browser.png?alt=media&#x26;token=297626aa-c8eb-45a5-9c0f-92f4400d733c" 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.
