Finding files: AMM NPCs

How to find an AMM NPC in the files

Summary

Published: Dec 31 2024 by manavortex Last documented update: Dec 31 2024 by manavortex

This page will show you how to find an AMM NPC's files.

Difficulty: You know how to read

Wait, this isn't what I want!

In this guide, we'll go looking for nurse_wa_nurse_wa_01.

We do that by tracking her through AMM's database — an sqlite3 file. Don't worry, this guide will help you navigate it.

Step 1: Find and open the database file

  1. Open https://sqliteviewer.app/ in a webbrowser

  2. Navigate to the subfolder bin\x64\plugins\cyber_engine_tweaks\mods\AppearanceMenuMod

  3. Find the file db.sqlite3

  4. Drag and drop it on the sqliteviewer website

You will now see something like this:

Step 2: Find the entity ID

Variant 1: Copy it from AMM

  1. Open AMM's Scan tab

  2. Find the Target Info section at the bottom

  3. Find the ID field

  4. Click the Copy button

Variant 2: Finding it in the database

Find the current appearance

  1. Open AMM's Scan tab

  2. Find the Target Info section at the bottom

  3. Find the Current Appearance under the ID field and write it down:

Find the ID in the database

  1. Switch to the sqliteviewer website.

  2. In the left column, Tables, click on appearances to select the table

  3. Optional: Resize the app_name column

  4. Type the name into the search field at the top of the column

  5. Find the entity ID in the first column, and write it down (green box in the screenshot below)

Step 3: Find the .ent file

Complete the following steps on the sqliteviewer website.

  1. In the left column, Tables, click on entities to select the table.

  2. Type the entity ID from step 2 into the search field at the top of the first column, entity_id. This should give you one (1) row of data.

  3. Optional: Resize fields until you can see the entire entity_path column

  4. Find the entity path, and write it down (green box in the screenshot below)

Step 4 (Optional): TweakDBId to entity path

If you already have a file name here, skip to Step 5: Read the root entity

In the entity path column, you will either find a file path (for modded NPCs), or a TweakDB ID (for base game characters).

  1. Pull it wide to make the right panel appear

  2. In the search field at the top, search for your TweakDB ID (e.g. Character.NurseFemale)

  3. In the property panel at the left, find the entityTemplatePath (the NPC's root entity)

Step 5: Read the root entity

  1. Right-click on the file and open it in WolvenKit (you don't need to add it to your project)

  2. Find your NPC's appearance in the list:

  1. Note down the appearanceName (green box in the screenshot)

  2. Open the .app file by clicking the turquoise button

Reading the .app file

  1. In the appearances list at the top of the file, find the entry with the name from the .ent file

  2. Expand the appearance's components array. These are all of your NPV's parts!

  3. Enjoy!

Last updated