The International Simutrans Forum

 

Author Topic: Road files missing  (Read 4532 times)

0 Members and 1 Guest are viewing this topic.

João Paulo

  • Guest
Road files missing
« on: November 22, 2014, 11:31:22 PM »
Hi, I've playing simutrans since 2009 in a same savefile. I updated the pak128 to 2.5.2 ver. and all of the roads were missing. Also, the trolley system was missing to. What I do?

Here a screenshot of the problem: http://bit.ly/1y0mgdm

Thanks.

Offline Isaac.Eiland-Hall us

  • Benevolent Dictator
  • Administrator
  • *
  • Posts: 3594
  • PanamaCityPC.com/support/
    • Facebook Profile
  • Languages: EN
Re: Road files missing
« Reply #1 on: November 22, 2014, 11:38:34 PM »
Just because you're a new user and that URL is supicious - I did check it out and it is legit (so everyone else knows). :)

João Paulo

  • Guest
Re: Road files missing
« Reply #2 on: November 22, 2014, 11:41:14 PM »
It's a Google Drive image. Here is the full-hyperlink: https://drive.google.com/file/d/0B1dyo0OuV6fEMFFRaU5nUEFUMVk/view

Offline gauthier

  • Moderator
  • *
  • Posts: 3618
    • SNFOS'website (in both FR and EN)
  • Languages: FR, EN, JP
Re: Road files missing
« Reply #3 on: November 23, 2014, 04:28:28 PM »
I tried downloading the pak from the link given on the forum, everything is in. How old was the previous version of pak128 you used before updating it ? Have you downloaded it from the forum or from the nightlies ? How old is your savegame ? Keep in mind that compatibility between pak128 before 2.5.0 (like 2.3.0) and pak128 2.5.x is NOT ensured, since one used full slopes and the other uses half slopes.

João Paulo

  • Guest
Re: Road files missing
« Reply #4 on: November 23, 2014, 06:03:36 PM »
The previous version I used was 2.3.0, and my savegame is 5 years old. I downloaded the pak from the forum.

I think the problem looks like the name of the roads. In 2.3.0, the roads were named "road_050", "road_200", etc. and in 2.5.2, the roads were named "Road_050", "Highway 200".

Offline gauthier

  • Moderator
  • *
  • Posts: 3618
    • SNFOS'website (in both FR and EN)
  • Languages: FR, EN, JP
Re: Road files missing
« Reply #5 on: November 23, 2014, 08:19:35 PM »
Well ... as I said, compatibility between 2.3.0 and 2.5.x is not ensured, mostly because of the new soft slopes. If you want to play your old savegame, you will have to keep a pak128 2.3.0.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9284
  • Languages: De,EN,JP
Re: Road files missing
« Reply #6 on: November 25, 2014, 12:09:06 AM »
As said again, a file compat.tab with the most important changes could also allow for loading old games with the new pak. That is the sole purpose of said file.

The best starting point to create it is probably loading a well developed old game into the new pak, and write down (form the log-file) which paks are missing resptive which were replaced. Those are probably the minimum to ensure compatibility.

I think many player would warmly wellcome this relatively small effort.

Offline gauthier

  • Moderator
  • *
  • Posts: 3618
    • SNFOS'website (in both FR and EN)
  • Languages: FR, EN, JP
Re: Road files missing
« Reply #7 on: November 25, 2014, 05:16:58 PM »
As said again, a file compat.tab with the most important changes could also allow for loading old games with the new pak. That is the sole purpose of said file.

The best starting point to create it is probably loading a well developed old game into the new pak, and write down (form the log-file) which paks are missing resptive which were replaced. Those are probably the minimum to ensure compatibility.

I think many player would warmly wellcome this relatively small effort.
You are right, I did not even know about such file. I'm working on it right now so it would in nightly builds soon.

EDIT : well, first of all, I apologize about this compat stuff that I was not aware of, I just did my best as quickly as possible to spot problems related to this and to fix them.

The main problems were :
"rail_track_xxx_x" were renamed to "rail_xxx_x" (soooooooo useful !)
and
"road_xxx_x" where xxx > 100 were renamed to "highway_xxx_x" (he can't be serious -_-' ...)
There were also waterroad changed to canal_xx (at least this one looks more useful).

I found no exact trace of what name was changed between 2.3.0 and pre-2.5.0, and checking them all from old svn releases is too tedious (I did the most obvious after the picture you posted above), so I can't guarantee I have fixed them all, let me know if there are more problems like that.

The new compat.tab is commited in pak128 r1501, I attached it to this post so you can already try it (replace the one in your pak128 directory).
« Last Edit: November 25, 2014, 09:20:38 PM by gauthier »

Offline Fabio

  • Devotee
  • Administrator
  • *
  • Posts: 2898
  • The Pak128 Guy
    • Visit me on Facebook
  • Languages: EN, IT, RO, FR
Re: Road files missing
« Reply #8 on: November 26, 2014, 08:19:37 PM »
Names were changed for a specific reason: so that compat.tab would be able to replace the ways which don't support hard slopes with a hidden (I.e. No icon) compatibility way supporting them. Unfortunately I didn't have the time to get around this. If you could just do it it would be great!


Sent from my iPhone using Tapatalk

Offline gauthier

  • Moderator
  • *
  • Posts: 3618
    • SNFOS'website (in both FR and EN)
  • Languages: FR, EN, JP
Re: Road files missing
« Reply #9 on: November 27, 2014, 01:49:26 PM »
I already checked all ways and way-object (I may have forgotten tram catenaries, I will check again soon) so it should be okay. If there are other such pending changes, please tell me.