The International Simutrans Forum

PakSets and Customization => General Resources and Tools => Tools => Topic started by: VS on March 28, 2009, 06:22:14 PM

Title: Pak128 toolbox
Post by: VS on March 28, 2009, 06:22:14 PM
Hello, here is the pak128 toolbox - various crazy scripts for all purposes.

Most of the tools can load all dat files in all subfolders and then deal with them as they need. Usually, you can stop them from looking into a folder by adding file statsignore.conf (it looks just for the name).

Output is either files, or text directly to command line. Most of the interesting tools don't change existing files - but be careful anyway.

It mostly needs Python (2.6 line (http://www.python.org/download/releases/2.6.4/) recommended) and PyGame (http://www.pygame.org/download.shtml) (recommended latest for 2.6). But there are some other things, too.




In most cases you will copy
1) the one script you want to use
2) and simutools.py
to the top folder of tree that you want to analyze. Then edit the files (configuration is usually at the top) and finally run.
Title: Re: Pak128 toolbox
Post by: BudapestTRansport on March 28, 2009, 09:20:24 PM
this onto what good and how does it work?
Title: Re: Pak128 toolbox
Post by: VS on March 28, 2009, 11:24:58 PM
...read the text?

edit: Updated the spectrogram thingy. It had a bug where all house types had to have at least one object or it crashed.

edit: updated again...
Title: Re: Pak128 toolbox
Post by: VS on January 04, 2010, 09:12:08 PM
Updated with current version. Some new tools and some improvements to the library... Find out eventually yourself.
Title: Re: Pak128 toolbox
Post by: VS on May 02, 2010, 09:00:39 PM
Updated with a few new tools - most notably timeline-chart.py which produces overviews of vehicle timeline.

Download from first post...
Title: Re: Pak128 toolbox
Post by: gauthier on May 02, 2010, 09:16:50 PM
I don't really understand the utility of your tool ...
Title: Re: Pak128 toolbox
Post by: VS on May 02, 2010, 09:28:55 PM
If you aren't pakset maintainer, there isn't much to do with them.
Title: Re: Pak128 toolbox
Post by: vilvoh on May 03, 2010, 08:42:53 AM
I've been playing a little bit with Python and I was wondering if wouldn't be possible to create an executable for Windows systems, with a little menu (in command line mode).
Title: Re: Pak128 toolbox
Post by: VS on May 03, 2010, 03:23:48 PM
Isn't it easier to copy the file and click? Instant gui across al platforms ;)
Title: Re: Pak128 toolbox
Post by: prissi on May 03, 2010, 07:45:42 PM
Still need some additional code to recognize pak64 images ... otherwise great.
Title: Re: Pak128 toolbox
Post by: VS on May 03, 2010, 08:43:44 PM
There's a constant at top of the file...