Coder Social home page Coder Social logo

taiwu_mods's Introduction

#Taiwu_mods

Build Status


Compile dependencies

  • Visual Studio 2017/2019
  • .NET Framework 3.5/4.x
  • Taiwu game installed
  • Install the latest version of cmake (to support VS2019 please download cmake 3.14.3 or newer) and add cmake to the environment variable PATH
  • The command line runs genvsproj.cmd, which will automatically download the dependent dlls and generate the Visual Studio solution Taiwu_Mods.sln to the build directory.
  • The .cs in the mod directory will be automatically added to the project. The .dll will automatically be used as a dependency. Other files such as .md, .txt, etc. will be automatically copied to the game's Mod path (if you don't want to copy it, add it to the .modignore).
  • cmake will automatically add a post build event for the project. After the build is successful, if there is a mod folder with the same name in the game mod directory, the dll will be automatically copied to the corresponding mod directory in the game mods directory.

New Mod Process

  1. Create a new directory and put your mod's .cs file
  2. Place Info.json (note the case, encoded as utf8 with bom) file in this directory, in a similar format:
{
    "Id": "HerbRecipes",
    "DisplayName": "药引烹饪配方精制材料说明",
    "Author": "phorcys",
    "Version": "2.3.0",
    "AssemblyName": "HerbRecipes.dll",
    "EntryMethod": "HerbRecipes.Main.Load",
    "Requirements": ["BaseResourceMod"]
}
  1. Except for the last line, Requirements is required.
  2. In the Mods folder under the Taiwu game path, create a new folder to store your mod, such as: E:/SteamLibrary/steamapps/common/The Scroll Of Taiwu/Mods/HerbRecipes/
  3. Run genvsproj.cmd to build the project and start mod development.
  4. Windows supports .modignore files, which are used to copy files to the mod directory and ignore some files (the default includes .cs.dll .modignore, these three need to be added) (only * and ? matches are supported, ** matches are not supported) )

Precautions

Mods Development aids repo

https://github.com/phorcys/Taiwu_Mods_Tools.git

taiwu_mods's People

Contributors

ciwei100000 avatar fenghou1st avatar frefreak avatar future-r avatar gdjyhjs avatar herrydai avatar hy-leung avatar ignaz-chou avatar inpayhuang avatar koketsusp avatar laurencee avatar linkaixiang4883 avatar litfal avatar loboho avatar logicor-cn avatar lucky83 avatar paleneutron avatar phorcys avatar redcontritio avatar saharaqie avatar saintcirno9 avatar sisterliu avatar sth4nothing avatar vallind avatar vizv avatar xiaoye97 avatar xyq565861 avatar xyzkljl1 avatar yyuueexxiinngg avatar zqzhang1996 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.