Code Monkey home page Code Monkey logo

-mod-'s Introduction

侠客风云传MOD修改工具

原理

侠客风云传官方放出了游戏中所用到数据文件,后缀是TXT的文本文件,通过修改这些TxT文件的内容,可以达到对 道具,NPC,剧情等各种游戏内容修改的目的,本工具的原理也是建立在此基础上。

工具采用C#开发,使用最简单暴力的原理,因为游戏文件都是\t分割的数据,所以直接读取到DataTable 修改完毕以后再次从DataTable生成成txt文件。

文件读取

游戏文件的机制貌似是按顺序读取且忽略列名的,所以列名可重复,DataTable不支持列名重复,所以读取文件时候大致分了3种类型 1、列名无重复的 RoutineData.txt 等等 2、列名部分规律重复 如 BattleCondition.txt 和 BattleNeigong.txt 3、列名有重复的 ValleyData.txt 等等

对于1直接原样读取 对于2类因为规律重复的列理论是无限的,所以拆分成了主表(无重复的列)和明细表(规律重复的列) 生成的时候则在组合主表和明细表数据 对于3类对列名增加了$+索引来让列名不重复

注释

因为原来文件的列名都是纯英文而且没有详细注释不方便友好,所以工具可以对列名设置一个简短的缩写+详细的说明 在每个编辑窗口简写会自动替换列名称,详细说明则会显示在下面的详细文本框内,并且可以随时编辑

-mod-'s People

Contributors

2677367787 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.