Updating Photomode Pose Packs for 2.2

How to update pose packs for Patch 2.2. and ArchiveXL 1.19

Summary

Published: January 3 by @nutboy Last documented update: January 4 2025 by manavortex

This page is for both modders AND mod users who made or installed pose packs before patch 2.2 released, and want pose packs to be compatible with:

  • new vanilla Photomode NPC

  • modded Photomode NPV added with ArchiveXL

Luckily you only need to edit the .yaml and the .xl file!

You can use python scripts to update all pose packs in your mod folders, or update each pose pack by hand.

By python script

MAKE A BACKUP OF YOUR MOD FILES.

Create a folder on your desktop (or anywhere that isn't your Cyberpunk2077 folder) with a copy of all the .xl files in your archive/pc/mods folder, and also make a copy of your r6/tweaks folder before proceeding.

Tip: The quick and dirty way I do this is by selecting the files or folder I want to make a backup of, and then right clicking and sending it to a zip file. If I mess up, I unzip the backup file and overwrite the files in my mod folders.

  1. Download these two Python Scripts from GitHub using the download button ⬇ on the far right. Save them somewhere in your computer. (I have a dedicated folder for Python scripts now)

  2. If it's your first time, follow the wiki guide for running Python scripts. Setup is fast and easy.

Processing the .xl files

  1. Open the folder containing your Python scripts in Windows Explorer

  2. Type cmd into the address bar, and press enter. This will open a command window.

  3. Type the following and press enter (you can autocomplete with the Tab key) :

python convert_xl_for_photomodeNPV.py
  1. The script will now ask you for the path to your mods folder

  2. Right-click into the command window to paste the path (or press Ctrl+V)

  3. Hit Enter

The script will now process all of your .xl files, adding the necessary scopes. That was it!

Processing the .yaml files

Next, we'll process the .yaml files.

  1. Go back to the command window from the previous section's step 1

  2. Type or paste pip install pyyaml into command prompt and press enter. It will confirm the install.

  3. Type the following and press enter (you can autocomplete with the Tab key):

python convert_yaml_for_photomodeNPV.py
  1. The script will now ask you for the path to your mods folder

    1. Open The Cyberpunk 2077 Game Directory in a Windows Explorer window

    2. Browse to r6/tweaks

    3. Copy the folder path. If you need help, check Copying the folder path

  2. Right-click into the command window to paste the path (or press Ctrl+V)

  3. Hit Enter

Checking the results

Open your game and look for any broken pose packs.

If they don't work correctly in new Photomode even after using the scripts, it's likely there was an issue in the formatting of the original mod file.

You can check over the pose pack's yaml/xl for errors yourself (if you feel comfortable doing this), or ask the modder to revise it.

If you're a modder who makes pose packs, you can also use these scripts on your mod's packed folder (instead of your installed mods folder) to automate updating for patch 2.2 NPCs & ArchiveXL 1.19 Photomode NPVs.

If you already updated your mod for 2.2, you can run the scripts anyway, but they won't (shouldn't) do anything that isn't empty lines.

By hand

Update the .xl file

If your XL already includes the new photomode NPC entities, delete those entries and add the scope only.

  1. If your file already has entries for the new photo mode poses, delete them

  2. Now, go to ArchiveXL: adding Photo Mode Poses -> The .xl file, and follow the steps there.

Update the .yaml

If you don't have any of those sections (because your poses are only for one body gender), you can skip that part of the process.

1. Create a yaml anchor

Find the line photo_mode.character.femalePoses: and change it:

#before
photo_mode.character.femalePoses:
#after
photo_mode.character.femalePoses: &AddPosesF

Find the line photo_mode.character.malePoses: and change it:

#before
photo_mode.character.malePoses:
#after
photo_mode.character.malePoses: &AddPosesM

2. Update NPC poses

  1. If your file already has entries for the new photo mode poses, delete them

  2. Now, add the photo mode poses for NPCs:

You're done! You can now use your pose pack with Photomode NPCs & AXL Photomode NPV.

Last updated