Giter Site home page Giter Site logo

taiwu_mods's Introduction

#Taiwu_mods #太吾绘卷游戏Mod

Build Status


编译依赖

  • Visual Studio 2017/2019
  • .NET Framework 3.5/4.x
  • 游戏本体
  • 修改genvsproj.cmd,将里面的STEAMDIR设置为本机太吾绘卷安装目录
  • 如果没有cmake,安装 cmake最新版本 (若要支持VS2019请下载cmake 3.14.3或更新版本)并将cmake加入环境变量PATH
  • 命令行运行 genvsproj.cmd, 会自动下载依赖的dlls,并生成Visual Studio的解决方案Taiwu_Mods.sln到build目录下
  • mod目录下的.cs会自动加入工程,.dll会自动作为依赖,其他的文件如 .md,.txt等会自动拷贝到游戏的Mod路径(如果不想复制,则在.modignore中添加忽略)
  • cmake会自动为工程添加post build事件,build成功后,如果游戏mod目录下存在mod同名文件夹,则自动复制dll到 游戏mods目录下对应mod目录内

新建 Mod流程

  1. 新建目录,将你的mod的 .cs文件放入
  2. 在此目录下放入 Info.json (注意大小写,编码为utf8 with bom)文件,格式类似:
{
    "Id": "HerbRecipes",
    "DisplayName": "药引烹饪配方精制材料说明",
    "Author": "phorcys",
    "Version": "2.3.0",
    "AssemblyName": "HerbRecipes.dll",
    "EntryMethod": "HerbRecipes.Main.Load",
    "Requirements": ["BaseResourceMod"]
}
  1. 除 最后一行 Requirements 外,其他为必填
  2. 在太吾游戏路径下的Mods文件夹中,新建一个文件夹存放你的mod,如:E:/SteamLibrary/steamapps/common/The Scroll Of Taiwu/Mods/HerbRecipes/
  3. 运行genvsproj.cmd 生成工程,开始mod开发
  4. Windows下支持.modignore文件,用于拷贝文件到mod目录时忽略一些文件(默认包括.cs .dll .modignore,这三个毋需添加) (只支持 * 和 ? 匹配,不支持 ** 匹配)

注意事项

##Mods 开发辅助工具 repo:

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

taiwu_mods's People

Contributors

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