Author Topic: Pak128 toolbox  (Read 6160 times)

0 Members and 1 Guest are viewing this topic.

Offline VS

  • Senior Plumber (Devotee)
  • Devotee
  • *
  • Posts: 4849
  • Total likes: 25
  • Helpful: 63
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
Pak128 toolbox
« 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 recommended) and PyGame (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.
« Last Edit: May 02, 2010, 09:07:16 PM by VS »

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

Offline BudapestTRansport

Re: Pak128 toolbox
« Reply #1 on: March 28, 2009, 09:20:24 PM »
this onto what good and how does it work?

Offline VS

  • Senior Plumber (Devotee)
  • Devotee
  • *
  • Posts: 4849
  • Total likes: 25
  • Helpful: 63
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
Re: Pak128 toolbox
« Reply #2 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...
« Last Edit: April 01, 2009, 07:39:59 PM by VS »

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

Offline VS

  • Senior Plumber (Devotee)
  • Devotee
  • *
  • Posts: 4849
  • Total likes: 25
  • Helpful: 63
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
Re: Pak128 toolbox
« Reply #3 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.

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

Offline VS

  • Senior Plumber (Devotee)
  • Devotee
  • *
  • Posts: 4849
  • Total likes: 25
  • Helpful: 63
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
Re: Pak128 toolbox
« Reply #4 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...

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

Offline gauthier

Re: Pak128 toolbox
« Reply #5 on: May 02, 2010, 09:16:50 PM »
I don't really understand the utility of your tool ...

Offline VS

  • Senior Plumber (Devotee)
  • Devotee
  • *
  • Posts: 4849
  • Total likes: 25
  • Helpful: 63
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
Re: Pak128 toolbox
« Reply #6 on: May 02, 2010, 09:28:55 PM »
If you aren't pakset maintainer, there isn't much to do with them.

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

Offline vilvoh

  • One of the good guys
  • Administrator (Inactive)
  • *
  • Posts: 4504
  • Total likes: 2
  • Helpful: 14
  • I'm the constructor, the architect
    • Escala real
Re: Pak128 toolbox
« Reply #7 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).

Escala Real...a blog about Simutrans in Spanish...

Offline VS

  • Senior Plumber (Devotee)
  • Devotee
  • *
  • Posts: 4849
  • Total likes: 25
  • Helpful: 63
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
Re: Pak128 toolbox
« Reply #8 on: May 03, 2010, 03:23:48 PM »
Isn't it easier to copy the file and click? Instant gui across al platforms ;)

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 8766
  • Total likes: 307
  • Helpful: 229
  • Languages: De,EN,JP
Re: Pak128 toolbox
« Reply #9 on: May 03, 2010, 07:45:42 PM »
Still need some additional code to recognize pak64 images ... otherwise great.

Offline VS

  • Senior Plumber (Devotee)
  • Devotee
  • *
  • Posts: 4849
  • Total likes: 25
  • Helpful: 63
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
Re: Pak128 toolbox
« Reply #10 on: May 03, 2010, 08:43:44 PM »
There's a constant at top of the file...

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!