Giter Site home page Giter Site logo

fuzzyweapon / stardewja2conpat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from scriptsforweirdos/stardewja2conpat

0.0 0.0 0.0 25 KB

Python Converter for Stardew Valley Json Assets to Content Patcher

License: GNU General Public License v3.0

Python 100.00%

stardewja2conpat's Introduction

StardewJA2ConPat

Python Converter for Stardew Valley Json Assets to Content Patcher

Features

  • Creates content.json including new item entries and Gift Prefs
  • Converts translation fields into i18n files for each available language
  • Merges images into spritesheets that correspond to the generated JSON
  • Uses current UniqueID in the manifest as the new ModId in the exported JSON.

This is very preliminary, untested and raw but people have been asking for it since they heard I was involved with the Raffadax Conversion project, so here you go. Any content.json made from this mod should be heavily proofread and tested in-game before release.

Out of scope

Currently this cannot convert clothing (shirts/pants/boots/hats) because it was made to convert Raffadax and that mod does not have Json Assets apparel.

Requires:

  • Python 3
  • pyjson5 For reading human-crafted JSON
  • Pillow for making image spritesheets

Usage

Windows:
python convertja.py --m="MODE" --s="path/to/json/assets/mod/folder/" --d="path/to/output/directory/"

Mac:
python3 convertja.py --m="MODE" --s="path/to/json/assets/mod/folder/" --d="path/to/output/directory/"

Replace "MODE" with any of crops, objects, trees or weapons.

Objects mode handles both BigObjects and Objects.

stardewja2conpat's People

Contributors

scriptsforweirdos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.