Skip to content

Hack46/openttd-tweaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

openttd-tweaker

A collection of tools that makes it easier to programatically create and modify OpenTTD maps and scenarios. No need for deep C++ knowledge or bit skills. Basic JSON knowledge is enough! :-)

This is free software - released as public domain.

Written by Johannes Lundberg.

Getting started

$ git clone https://github.com/Hack46/openttd-tweaker
$ cd openttd-tweaker
$ ./openttd-tweaker debug test.scn

openttd-tweaker.. yay, let's go! :-)

Loading test.scn... done.
Decompresssing.. done.
Parsing chunks.. done.

Scenario statistics
===================

...

Philosophy

Focused has been put on creating completely new scenarios, rather than being an optimal tool to programatically modifiy your legacy scenarios - hence the slow and not feature-complete path going from SCN to JSON and back again to SCN.

Projects

Projects know to be using openttd-tweaker:

OpenTTD-Sweden - Visualisation of public transporation in Sweden

TODO

  • Decompress SCN scenario files with LZMA from OTTX to OTTN
  • Scenario chunk loading
  • Map parsing (MAPT, MAPH, MAPO, M3LO, M3HI, MAP5, MAPE, MAP7)
  • Coordination system translation (from OpenTTD top-SW to JSON top-SE)
  • Debug command
  • Debug statistics
  • Scenario saving
  • Compressed SCN writing
  • Basic JSON specification of an OpenTTD scenario

About

Tools for tweaking OpenTTD maps and scenarios.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published