Author Topic: Network Diagram Tool  (Read 20198 times)

0 Members and 1 Guest are viewing this topic.

Offline Vonjo

Re: Network Diagram Tool
« Reply #35 on: March 27, 2012, 05:11:56 PM »
Here is the release test of my previous modification:
http://simutrans-germany.com/files/upload/simuMapViewer0.3.1.vonjo.zip

I did some small update:
- Added save to PNG.
- Automatically load selected savegame file (no need to press Load/Reload button).
- All lines deselected/hidden by default.

Other changes:
- Removed BrowseGUI class and replaced it with shorter code.
- Removed ColorGUI class and replaced it with shorter code.
« Last Edit: March 27, 2012, 05:17:03 PM by Vonjo »

Offline Milko

Re: Network Diagram Tool
« Reply #36 on: April 02, 2012, 10:36:31 AM »
Hello

Beautiful!
 Just an info. The external version will remain or will be abandoned in favor of the integrated one?

Giuseppe
« Last Edit: April 02, 2012, 10:42:15 AM by Milko »

Offline yorkeiser

Re: Network Diagram Tool
« Reply #37 on: April 02, 2012, 11:08:12 AM »
@Milko: it depends on the community's interest. I can always use my programs; if others are interested, I can publish them also for others ;)
And in addiction, you can refer also to Vonjo for the external version, he's already well-worked on it: until no one makes money on the code (and I don't see how to make money with this), everyone is free to modify and compile his version, or ask for changes on the "official" version.
I think external version will stay alive for a while, because actually I don't know if train graph functionality can be implemented internally without affecting performance, but i also think that using only xml savings can seriously affect its usefulness, if you can have an internal version that does the same thing.


 

Offline Fabio

  • Devotee
  • Administrator
  • *
  • Posts: 2898
  • Total likes: 7
  • Helpful: 91
  • The Pak128 Guy
    • Visit me on Facebook
  • Languages: EN, IT, RO, FR
Re: Network Diagram Tool
« Reply #38 on: April 05, 2012, 03:12:09 PM »
I split the posts about integration in Simutrans.

We can continue here: http://forum.simutrans.com/index.php?topic=6760.new

This thread will remain for external tool discussion.

Offline hreintke

Re: Network Diagram Tool
« Reply #39 on: April 24, 2012, 02:01:01 PM »
LS,

The link to the latest (0.3) version is not working. Is the tool relocated to another location or renamed ?

Herman

Offline yorkeiser

Re: Network Diagram Tool
« Reply #40 on: April 24, 2012, 02:11:11 PM »
Maybe the link expired, I uploaded version 0.3.1 from Vonjo (with lines disabled by default, you must enable them by clicking on "toggle lines" button) here:

http://simutrans-germany.com/files/upload/simuMapViewer0.3.1.zip

Offline hreintke

Re: Network Diagram Tool
« Reply #41 on: April 24, 2012, 02:22:25 PM »
yorkeiser,

Thx, The link is working (again). Downloaded the latest version and will use/see this evening.

Herman

Offline yorkeiser

Re: Network Diagram Tool
« Reply #42 on: April 24, 2012, 02:31:14 PM »
Herman, you're welcome.
Before using it, in order to avoid corrupting any savegame, please read carefully instructions here:
http://forum.simutrans.com/index.php?topic=9514.msg88596#msg88596

Cheers

Offline Vonjo

Re: Network Diagram Tool
« Reply #43 on: April 24, 2012, 05:43:03 PM »
Well, I love this tool. I still use this as a sve viewer. So I can see the map and lines without launching simutrans or without installing simutrans/pakset. I also have some ideas to improve this tool.

The problem is, just like yorksier said, the savegame format. The xml format is so large. It can takes several hundred MB or even GB for a heavily developed game. it also takes time to load and save. For example, try to save the current Jamespetts' server game in xml format, you will know what I mean. And there is no easy way to read the ASCII format (or "binary format") of the savegame.

Maybe we should try to compress the xml format with several compression method/format, and find out which one produce the smallest file size. Then we can try to implement the compression in simutrans, so simutrans can load and save it compressed.

Offline Václav

  • Devotee
  • *
  • Posts: 3229
  • Total likes: 14
  • Helpful: 16
  • formerly VaclavMacurek
  • Languages: CZ, EN
Re: Network Diagram Tool
« Reply #44 on: August 06, 2012, 11:13:56 AM »
I would like to ask you for re-uploading this tool somewhere because link seems be empty (broken) - regardless of it is (partly) merged into the game. Or you may send it on my e-mail.

Chybami se člověk učí - ale někteří lidé jsou nepoučitelní

Offline yorkeiser

Re: Network Diagram Tool
« Reply #45 on: August 09, 2012, 12:11:21 AM »
Hi Vaclav, I reupload it with no link expiration:
http://simutrans-germany.com/files/upload/simuMapViewer0.3.1.zip

This WOULD have to be the last version with vonjo's updates and last bug fixes; I don't maintain the external tool since I worked on the internal line plotter, so I hope it runs... On the contrary, tell me and I'll put together another version.

Offline Václav

  • Devotee
  • *
  • Posts: 3229
  • Total likes: 14
  • Helpful: 16
  • formerly VaclavMacurek
  • Languages: CZ, EN
Re: Network Diagram Tool
« Reply #46 on: August 09, 2012, 05:42:30 AM »
Thanks.

Tested - on probably the largest map (I currently play - and with quite huge number of lines). And it runs quite good - but I have few ideas for possible future improves:

1. better handling of character sets
2. only lines selected in toggle lines dialogue will be (automatically) in output form
« Last Edit: August 09, 2012, 06:03:59 AM by VaclavMacurek »

Chybami se člověk učí - ale někteří lidé jsou nepoučitelní

Offline yorkeiser

Re: Network Diagram Tool
« Reply #47 on: August 10, 2012, 11:45:36 PM »
1. better handling of character sets
2. only lines selected in toggle lines dialogue will be (automatically) in output form

Hi Vaclav, you're welcome. Related to your requests:
1. I know internationalization could be a problem, mainly for people not using standard latin characters (as for eastern european people: are you czech, isn't it?). If you upload a savegame where you found the issue I can give it a look; with italian citylists and character set I can't see the problem.
2. I didn't understand, lines selected on the toggle panel would already be the only ones displayed on the map...

Offline Václav

  • Devotee
  • *
  • Posts: 3229
  • Total likes: 14
  • Helpful: 16
  • formerly VaclavMacurek
  • Languages: CZ, EN
Re: Network Diagram Tool
« Reply #48 on: August 11, 2012, 06:56:22 AM »
1. I know internationalization could be a problem, mainly for people not using standard latin characters (as for eastern european people: are you czech, isn't it?). If you upload a savegame where you found the issue I can give it a look; with italian citylists and character set I can't see the problem.
Yes, I am Czech.

Quote
2. I didn't understand, lines selected on the toggle panel would already be the only ones displayed on the map...
Displaying on the map window is OK - but still, all lines are in list of exported lines (below map window).


Here are links to
save
addon graphics

I had to do that in this way due to xml format save was too large (about 910 MB) and something was going wrong. So I hope you will change tool for processing compressed xml saves soon, too.

1. Simply click on Stáhnout, rewrite text from picture to form below and then click on Stáhnout again.
2. I hope that names of files are sufficient for instructions.

... I hope this will help you ... not only with change of tool :)
« Last Edit: August 11, 2012, 07:51:11 AM by VaclavMacurek »

Chybami se člověk učí - ale někteří lidé jsou nepoučitelní