File Listing: DF PHP Macro Translator | ||||||||||||||||||||
Last Updated: Sep 06, 2009, 02:44:23 am
Author: Pearnamer
Download Now |
||||||||||||||||||||
Description
This PHP script takes a quickfort .csv layout, and translates it into the macro form used by the DF interface.txt files in df_28_181_40d13 and later. This allows for simple layout of complicated (multi-floor) digging plans in a spreadsheet. (requires PHP to do the translation) This script allows Linux, OS X, and Windows DF players to take the existing library of .csv layouts, and use (many of) them on their system, without needing a utility like Autohotkey. The macroizer was written in PHP to make it cross-platform and easy for people to extend it to include additional functionality. As of v1, it will reject certain dubiously-formatted CSV files, and only supports digging (and stairs, ramps, channels, etc). It does not, as of v1, support room designations, furniture placement, or stockpile designation. Running this script on a CSV file results in the grid form of the plan being printed in macro instructions. These lines need to go into the "\data\init\interface.txt" file, with a unique header to label the macro, such as: [BIND:MACRO0] See the wiki macro discussion for further details about the needs of the built-in macros. Two simple examples (multi-floor stairs, and the layout for one floor of a cave river system) are included for demonstration purposes. |
||||||||||||||||||||
Checksum / Hash | ||||||||||||||||||||
SHA-256: 5aba8fcf44398c87a19ea52f5de28e1e5f21e0530f3b56e141ff9bd4281b7254 | ||||||||||||||||||||
IP: logged Commands |
||||||||||||||||||||
More From This Author |