Version Info in PAKs January 22, 2009, 06:10:48 pm in this Thread http://forum.simutrans.com/index.php?topic=1307.15whe speak about a version info in the PAKs.In simutrans (code) you have at the start the version info. At the nightly you have the revision. But in the PAKs there ar no version info. So when you get simutrans and PAKs, unzip then and delete the zips, you know the simutrans-version, but NOT the PAK-Version.Is there a way to put a version info in the PAKs?It would be good for the bug-messages and could be good for the network-mode ...... Quote Selected
Re: Version Info in PAKs Reply #1 – January 22, 2009, 09:19:54 pm I was considering putting anobj=miscname=versioncopyright=revision120into the pak. However, I am not sure how to do this automatically. Quote Selected
Re: Version Info in PAKs Reply #2 – January 22, 2009, 09:42:02 pm But ... where it i shown in the programm?Ore must the User "look" in the PAK? Quote Selected
Re: Version Info in PAKs Reply #3 – January 22, 2009, 09:58:42 pm The user does not need to know; but it could be also shown on the starting splash screen. Quote Selected
Re: Version Info in PAKs Reply #4 – January 22, 2009, 10:18:38 pm That seems quite good idea.Generating files consistently across platforms is a pain, as I can attest... Shades have a few generated files (svn info and build date/time) and getting that to work was no small feat Using some scripting language and letting it overwrite a prepared "null" file could work. Default could be something like "version not entered" Quote Selected
Re: Version Info in PAKs Reply #5 – January 22, 2009, 10:50:06 pm Hmm - the way that it currently works is that each individual type of object has its own version number, which is incremented independently whenever features of that object are changed. Quote Selected
Re: Version Info in PAKs Reply #6 – January 22, 2009, 11:33:15 pm JP - no, that is object of type "misc", which is a general type for any kind of thing related to program rather than game object (goods symbols in stop window), with abused parameter "copyright" for a textual value. Quote Selected
Re: Version Info in PAKs Reply #7 – January 22, 2009, 11:42:27 pm Quote from: VS – on January 22, 2009, 11:33:15 pmJP - no, that is object of type "misc", which is a general type for any kind of thing related to program rather than game object (goods symbols in stop window), with abused parameter "copyright" for a textual value.Yes, I realise that that is the proposed workaround - my point was simply that there is a sort of system for versioning paksets already, but it is one that works on a type by type basis, rather than for whole paksets at a time. Quote Selected
Re: Version Info in PAKs Reply #8 – January 22, 2009, 11:46:03 pm Format and pakset versions are quite different matters... I would not mix these two. Quote Selected
Re: Version Info in PAKs Reply #9 – January 23, 2009, 08:13:17 am But the normal user donĀ“t look in the Version of an objekt. And the problem is to show the user the version for a bug info... Quote Selected
Re: Version Info in PAKs Reply #10 – January 23, 2009, 09:14:15 pm object version (usually in the range between 0 and 9) are displayed during loading. I think the discussion is about pak set revisions. Since there is a splash screen image anyway, the copyright string could be simply revision xxx which is then displayed on screen. Quote Selected
Re: Version Info in PAKs Reply #11 – January 23, 2009, 10:45:11 pm Perhaps it would be help every pakset have a own help-text/help-site!? Quote Selected
Re: Version Info in PAKs Reply #12 – January 25, 2009, 11:14:50 am @prissiit is a good Idea .... but were (in wich File) must whe put the Version-Info of the PAK? Quote Selected
Re: Version Info in PAKs Reply #13 – January 25, 2009, 11:38:01 am The logo is loaded before any other paset. Thus it make sense to put it there in the copyright line (which is not shown anywhere in the game, since it is deleted from memory almost immediately afterwards). FOr pak64 it would be big-logo.dat Quote Selected
Re: Version Info in PAKs Reply #14 – January 25, 2009, 12:19:21 pm But where it is shown in the game?When the splash screen is shown, the PAK is not loading ... ore did I miss understand the simutrans-start?And ... can I change in my PAK64-nightlys the big-logo.dat to the nightly-revision? So it will be easyer for bugreports..(and with VS O.K. I will do the same in the PAK128) Quote Selected
Re: Version Info in PAKs Reply #15 – January 25, 2009, 12:25:22 pm If you have multiple paksets without having a default set in simuconf.tab, you will see the choose pakset menu before the splash screen. Which splash screen is displayed will then depend on which pakset is selected. Based on that observation, I'd conclude that the logos are part of the pakset loading process. Quote Selected
Re: Version Info in PAKs Reply #16 – January 25, 2009, 12:26:06 pm Yes (for pak128), and please tell us how you do it, so we can do it, too Quote Selected
Re: Version Info in PAKs Reply #17 – January 26, 2009, 08:09:25 pm I search .. at the moment there i no PAK-Revision-Info in the PAK64 ... and nothing is shown ... Quote Selected