Giter Site home page Giter Site logo

rmmz-dtsmake-run's Introduction

rmmz-dtsmake-run

Run dtsmake for RPG Maker MZ core scripts, to generate TypeScript type definition.

Usage

Following instruction shows how to build, place, and run.

You can also use a binary from Release and skip step 0 and 1.

0. requirement

You have to install RPG Maker MZ.

You have to install .NET Core 3.1.

You have to make dtsmake package installed via npm (node.js).

This software only support windows(x64).

You have to install tern package via npm.

1. build

First open terminal and change current directory to this project directory.

Then run this:

dotnet publish -r win-x64 /p:PublishSingleFile=true --configuration Release

After build, you get a binary ./bin/Release/net5.0/win-x64/publish/dtsmake-run.exe.

2. place

You have to create new project with RPG Maker MZ.

Then place binary built in previous capter to <tkool project folder>/js/.

Your directory contents should looks like:

js 
└ libs/
└ plugins/
└ main.js
└ plugins.js
└ rmmz_core.js
└ rmmz_managers.js
└ rmmz_objects.js
└ rmmz_scenes.js
└ rmmz_sprites.js
└ rmmz_windows.js
└ dtsmake-run.exe

3. run

Finally run dtsmake-run.exe to generate type definition files.

resluting d.ts files are:

js
└ main.d.ts
└ rmmz_core.d.ts
└ rmmz_managers.d.ts
└ rmmz_objects.d.ts
└ rmmz_scenes.d.ts
└ rmmz_sprites.d.ts
└ rmmz_windows.d.ts

Generated type definitions is incomplete to use. Please edit for your plugin development.

rmmz-dtsmake-run's People

Contributors

numanicloud avatar

Watchers

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