Skip to content
This repository has been archived by the owner on Jul 13, 2019. It is now read-only.
/ XNB2CP Public archive

An automatic XNB to Content Patcher mod converter

Notifications You must be signed in to change notification settings

danvolchek/XNB2CP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

XNB2CP

An automatic XNB mod to Content Patcher mod converter for Stadew Valley mods. XNB2CP reads in XNB mods and generates the equivalent mod in Content Patcher's format.

Discontinued

Work on this project is discontinued. The original goal was to create an automatic conversion tool, but my first efforts resulted in extremely large, unintuive content.json files. The community ended up doing conversions for most files manually, so there isn't need for such a tool anymore.

Features:

  • Automatic mapping detection between the mod's files and SDV's files that supports:
    • A single Content folder that matches SDV's Content folder
    • A collection of individual files, as long as they are unique within SDV's Content folder
  • Conversion of dictionary and image XNB files to Content Patcher's format (fonts and maps coming soon)
  • Automatic creation of manifest.json and assets folder

Known Limitations:

  • Currently images cause large content.json files due to adding only the exact pixels that changed.

Requirements:

  • xnbcli
    • Install as xnbcli/[windows/mac/linux]/[executable, dxt.node] inside the XNB2CP folder, the build process will handle copying it to where it needs to be.

About

An automatic XNB to Content Patcher mod converter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages