Giter Club home page Giter Club logo

zr-packer's Introduction

zr-packer

An automated Age of Empires 2 Zipped Random Map packer. This tool automatically detects changes in your RMS, SCX or SLP files and packs them into a ZR@ .rms file.

Download

https://github.com/abductedPlatypus/zr-packer/releases/download/0.0.1/zr-packer.zip

Usage

  1. Unzip the zr-packer.exe into your active Script.RM folder.
  2. Create a folder with your prefered mapname (without ZR@ and .rms) in that folder*
  3. Place your RMS and optionally SCX and SLP files in that folder
  4. Run zr-packer.exe
  5. Happy editing and watch your ZR@maps appear in the Script.RM folder automatically.

*You can also make one or several folders to organize your ZR maps a bit better, and place your folders there:

MyZRMaps
  MyMap1
    MyMap1.rms
    MyMap1.scx
    15007.slp
  MyMap2
    MyMap2.rms
    MyMap2.scx
    15007.slp
    15010.slp

Build

  1. Install nodejs (from https://nodejs.org/en/ - version 10.13 LTS was used during development)
  2. Navigate to the folder in your favourite console
  3. Run npm install
  4. Run the application with node index.js to test if everything works.

Then to pack it into a exe file:

  1. Install pkg (npm install -g pkg, https://www.npmjs.com/package/pkg)
  2. Run pkg index.js

Authors

abductedPlatypus - Original Author

zr-packer's People

Contributors

abductedplatypus avatar goto-bus-stop avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

1aegis

zr-packer's Issues

Human readable SLP adding

A config file like:

{
    "slp_replace": {
        "MED_WATER"  : "lava.slp", //replace with file
        "GRASS2": "GRASS3", // replace with default texture
        "DIRT3": "DIRT4" // DIRT4 is an HD texture, but we will allow it here
    },
    "use_grid_textures": true'
}

Auto update Scenario

Could be done with either finding a scenario with the same name or adding a config file.
Latter might be a good idea for auto picking the SLP files.

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.