Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.
/ XNB2CP-py Public archive

A tool to convert XNB mods to Content Patcher

License

Notifications You must be signed in to change notification settings

AnotherPillow/XNB2CP-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XNB2CP-PY

A Python script to convert XNB files to Content Patcher Content Packs for Stardew Valley.

Notes before use

  • Currently windows only, this will change soon.
  • When the instructions say py, this may be python or python3 depending on your system and specific installation.

Usage

  1. Install Python 3.8 or higher.
  2. Download the contents of this repository.
  3. Run py -m pip install requirements.txt in the directory you downloaded the repository to.
  4. Put your XNB mod in input, as if it was the content folder of the game. (e.g. input/Characters/Maru.xnb)
  5. Run py main.py in the directory you downloaded the repository to.
  6. Modify the manifest.json file in output to your liking.
  7. Move the contents of output to a folder in Mods in your Stardew Valley directory.

Credits

  • XNB unpacking is done using xnbcli by leonblade, licensed under LGPL-3.0.

About

A tool to convert XNB mods to Content Patcher

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages