GithubHelp home page GithubHelp logo

Comments (3)

VladimirMakeev avatar VladimirMakeev commented on September 21, 2024

So you are saying that Lua is not good enough for the project and tech stack you don't know anything about and could not even build?

As stated in readme, you can build the project using Miscosoft Visual Studio solution file.

from d2moddingtoolset.

Haikyo-sama avatar Haikyo-sama commented on September 21, 2024

I only said working with source code have much more facilities than current lua scripting. Why should you view it in point of me? Yes, I have no experience in cpp, however, does it invalidate the fact?

could not even build

Do you really supposed building a project is the most easiest thing in programming?
I could figure it out by myself, but it thought it could be better to ask here because of 2 reasons:

  1. It is much more rational to share knowledge than rediscover it
  2. Other developers could just read the tutorial instead of asking again or trying by themselves

Nevertheless, I understand your position, thank you!

from d2moddingtoolset.

VladimirMakeev avatar VladimirMakeev commented on September 21, 2024

Sorry, I did not have an intent to be rude.
This project while related to the 20 yers old computer game is not simple as it may seem. It uses some of not widely used technologies such as: hooks, proxy-dll and low-level programming. Also, there is reverse engineering involved and unfortunately there is no simple way or tutorial to follow to grasp most of what is going on and why. You will probably need to know C or C++ with its pointers and structure layout in memory, then calling conventions, OS ABI and other low-level stuff. For the game itself you "just" need to reverse-engineer its logic and data structures to understand what the game does, when and how.
Project setup consists of cloning this git repo with all its submodules, installing aforementioned Visual Studio and clicking 'Build' inside of it. After the build you will have proxy-dll that you place in a game folder along with renamed original dll (thats how proxy-dll works).
There is also game community that involved in the process of decision making: modders that use this dll as well as content (scenario map) makers are mostly non-programmers. There is need for wide customization and simplicity. Both can be achieved using Lua scripts. Most of the scripts are less than 20 lines of straightforward code. Nothing more than simple 'if, else, for-loop', but of course experienced people can have their OOP, lambdas and maybe even better toys.
Lua is fast enough (and this project can still invprove performance using compilation to bytecode and caching) and easy to integrate into the old game even when you don't have its source code. It is also a language that I know used for scripting in other games and the last reason: I somewhat know and understand Lua (compared to python or js).

from d2moddingtoolset.

Related Issues (20)

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.