The m4nfo User Manual and Report

Installation

Introduction

As already mentioned in the introduction chapter, m4nfo consists of a set of modules for the GNU M4 macro processor: one module for each of TTD's features (vehicles, stations, houses, industries, ...). I.e., when developing a train newGRF, you will only need the module for trains, but not the modules for houses, stations, etc. This keeps installation lightweight and easy to handle.

Even better, distribution into modules allows to use identical identifiers and names for same methods on different features, keeping the name space small, and avoiding redundancy. This fairly reduces the learning curve.

In addition, m4nfo doesn't generate newGRFs, nor is it involved with the production of graphics, instead it produces nfo code, and it does so in a fast and efficient way. For making graphics, you may use the graphics program of your choice, and for generating newGRFs from nfo code and graphics sprites, grfcodec is used. Depending on the way you like to work, you might probably need some additional programs (see below), but all of them are available on the internet.

Description