OpenGFX+ Industries ------------------- This version: OpenGFX+ Industries 0.3.2 Contents: 1 About 2 Compatibility 3 Building from source 4 License 5 Credits ------- 1 About ------- OpenGFX+ Industries slightly extends the existing OpenTTD industries and fixes issues like certain industries never closing so that one will not end up with tons of those industries on the map. Name of this Repo: OpenGFX+ Industries 0.3.2 Repository version: 100 GRF_ID: "OGX0" MD5 sum: 8bae1b9e939c80f78237369fa06dba7f ogfx-industries.grf --------------- 2 Compatibility --------------- OpenGFX is basically incompatible with all known industry sets as it re-defines most industries; thus it will de-activate itself when the presence of another known industry NewGRF is detected. 2. 1 Total Town Replacement Set ------------------------------- The Total Town Replacement Set defines the banks as industries as well and has no option to actually disable them. Thus OpenGFX+ Industries takes this into account and disables its own modification of the banking sector. None of the changes to the bank chain and its related cargo availability (valuables, gold, diamonds) will take effect. ---------------------- 3 Building from source ---------------------- This Makefile system is easiest to setup if you employ a certain directory structure for your NewGRF project. Clone this project and fill in your NewGRF content. Make sure to adopt Makefile.config to your needs. Requirements for running this Makefile successfully: grfcodec (only nfo-stylee project) nforenum (only nfo-stylee project) NML (only nml-style project) gcc md5sum (or md5 on Mac) make mercurial (recommended) python (recommended) If you want to bundle the grf, you'll need additionally tar zip bzip2 unix2dos (optional) Windows only: On Windows systems this means that you'll need to install MinGW and MSys in order to obtain a posix compatible environment. Then the makefile can be called the very same way as it is on linux and mac systems. MinGW/MSys contain the above mentioned programmes (except renum and grfcodec of course) and can be obtained from http://www.mingw.org/ That site also features an excellent walk-through o how to install it. If you use for OpenTTD data folder a non-default path or Windows with a non-English localization make sure to copy Makefile.local.sample to Makefile.local and edit the line with INSTALLDIR = accordingly so that it shows the full path to your OpenTTD / TTDP data directory. The Makefile offers different targets. A brief overview is given here: all: This is the default target, if also no parameter is given to make. It will simply build the grf file, if it needs building depend: Re-run the dependency check. Usually not manually needed. docs: Build the documentation files bundle: This target will create a directory called "-nightly" and copy the grf file there and the documentation files, readme.txt, changelog.txt and license.txt bundle_zip This will zip the bundle directory into one zip for distribution bundle_tar This will tar the bundle directory into a tar archive for distribution or upload to bananas bundle_src Creates a source bundle install: This will create a tar archive (like bundle_tar) and copy it into the INSTALLDIR as specified in Makefile.local (or the default dir, if that isn't defined). Don't rely on a good detection of the default installation directory. It's especially bound to fail on windows machines. distclean: This phony target cleans everything from a source bundle which wasn't shipped. clean: This phony target will delete all files which this Makefile will create mrproper: This phony target will delete also all directories created by different Makefile targets remake: It's a shortcut for first cleaning the dir and then making the grf anew. addcheck: Check whether there are some files required but not part of the repository. check: Check the md5sum of the built newgrf against the supplied md5sum (Intended to be used when building from tar balls) --------- 4 License --------- This NewGRF was written by the authors as listed in the credits section and is free to use for anyone under the terms of the GNU Pulic License version 2 or higher. See license.txt. The source code can be obtained from the #openttdcoop DevZone at http://dev.openttdcoop.org/projects/ogfx-industries or via mercurial checkout hg clone http://hg.openttdcoop.org/ogfx-industries --------- 5 Credits --------- Authors: Ingo von Borstel (aka planetmaker) José Ángel Soler Ortiz (aka Terkhen) Graphics: Snowy oil well ground tile: 2006TTD Gold mine sprites: Zephyris (modified by planetmaker) Diamond mine sprites: Zephyris (modified by planetmaker) Iron ore mine sprites: Zephyris (modified by planetmaker) Shop sprites: Irwe (modified by andythenorth)