Elvas Tower: New Route Editor for Open Rails - Elvas Tower

Jump to content

  • 208 Pages +
  • « First
  • 26
  • 27
  • 28
  • 29
  • 30
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

New Route Editor for Open Rails Build routes without msts Rate Topic: -----

#271 User is offline   Goku 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,785
  • Joined: 12-December 13
  • Gender:Male
  • Simulator:my own
  • Country:

Posted 10 October 2015 - 06:47 AM

New version with experimental compressed world .w files support:

http://koniec.org/ts...SRE5_v0.604.zip


Does anyone tried terrain tools?

 roeter, on 10 October 2015 - 05:24 AM, said:

When I select an existing signal, the program crashes without any hint of what it's doing.

Try new version: http://koniec.org/ts...SRE5_v0.604.zip It has limit for max signal subobjs showing. I need to make new window for signals subobjs.

#272 User is offline   Kazareh 

  • Conductor
  • Group: Status: Active Member
  • Posts: 471
  • Joined: 21-December 12
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 10 October 2015 - 07:50 AM

Going to be experimenting with this a bit; however a error that has happened already is the route editor doesn't even want to recognize the PRR Eastern Region being in my Routes folder.

#273 User is offline   Goku 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,785
  • Joined: 12-December 13
  • Gender:Male
  • Simulator:my own
  • Country:

Posted 10 October 2015 - 08:00 AM

 Kazareh, on 10 October 2015 - 07:50 AM, said:

however a error that has happened already is the route editor doesn't even want to recognize the PRR Eastern Region being in my Routes folder.

See this post: http://www.elvastowe...899#entry190899

If it is good that .trk file and route folder have different names, I will change this.

#274 User is offline   disc 

  • Foreman Of Engines
  • Group: Private - Open Rails Developer
  • Posts: 818
  • Joined: 07-October 12
  • Gender:Male
  • Simulator:OpenRails
  • Country:

Posted 10 October 2015 - 08:04 AM

 Goku, on 10 October 2015 - 06:47 AM, said:

New version with experimental compressed world .w files support:

http://koniec.org/ts...SRE5_v0.604.zip


Does anyone tried terrain tools?


Try new version: http://koniec.org/ts...SRE5_v0.604.zip It has limit for max signal subobjs showing. I need to make new window for signals subobjs.


Nice, now compressed route is loaded.

I've tried terrain tools, the painting looks good. However somehow i managed to make some spots (few cm or m size) that impossible to overwrite with new texture, the terrain painting simply leaves it as is.

The heightmapping tool works well (however an indicator which shows if it's in lower or raise mode would be nice but probably the UI will be improved later). But i couldn't use flatten mode, as it doesn't do anything.

#275 User is offline   slipperman 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 761
  • Joined: 09-February 12
  • Gender:Male
  • Location:North Nottinghamshire
  • Simulator:MSTS & ORTS
  • Country:

Posted 10 October 2015 - 08:53 AM

Hi Goku,

Quote

If it is good that .trk file and route folder have different names, I will change this.

Kazareh reported he has problems with the PRR Eastern Region route. I can confirm that the route folder and the .trk file have the same name - PRR East Reg - which means that is not the cause of his troubles!

Incidentally, in all the testing I have done, the .trk file name has always been the same as the route folder name, although they might be in a different case. It is the .tdb file which sometimes has a name different to that of the route folder.

Cheers,
Ged

#276 User is offline   Kazareh 

  • Conductor
  • Group: Status: Active Member
  • Posts: 471
  • Joined: 21-December 12
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 10 October 2015 - 08:55 AM

Yep, names all match and everything. Route Editor just doesn't want to acknowledge the route exists.

#277 User is offline   Goku 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,785
  • Joined: 12-December 13
  • Gender:Male
  • Simulator:my own
  • Country:

Posted 10 October 2015 - 08:57 AM

 slipperman, on 10 October 2015 - 08:53 AM, said:

Incidentally, in all the testing I have done, the .trk file name has always been the same as the route folder name, although they might be in a different case. It is the .tdb file which sometimes has a name different to that of the route folder.

I know about it but it does not matter. Route list is just stupid listfolders function with checking if trk file exist.

 Kazareh, on 10 October 2015 - 08:55 AM, said:

Yep, names all match and everything. Route Editor just doesn't want to acknowledge the route exists.

If you mean MSTS RE then it does more weird things.

--
New version: http://koniec.org/ts...SRE5_v0.605.zip
- can load route with trk name different from route folder name.
- new menu Tools

#278 User is offline   Kazareh 

  • Conductor
  • Group: Status: Active Member
  • Posts: 471
  • Joined: 21-December 12
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 10 October 2015 - 09:07 AM

 Goku, on 10 October 2015 - 08:57 AM, said:

I know about it but it does not matter. Route list is just stupid listfolders function with checking if trk file exist.

If you mean MSTS RE then it does more weird things.

No, I meant your route editor. Coincidentally, the PRR Eastern Region appears fine in the MSTS Route Editor; not yours.

#279 User is offline   Goku 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,785
  • Joined: 12-December 13
  • Gender:Male
  • Simulator:my own
  • Country:

Posted 10 October 2015 - 09:22 AM

 Kazareh, on 10 October 2015 - 09:07 AM, said:

No, I meant your route editor. Coincidentally, the PRR Eastern Region appears fine in the MSTS Route Editor; not yours.

That is funny as whole function was:
void LoadWindow::listRoutes(){
    QDir dir(Game::root+"/routes");
    dir.setFilter(QDir::Dirs);
    
    foreach(QString dirFile, dir.entryList()){
        if(dirFile == "." || dirFile == "..")   
            continue;
        if(!Game::checkRoute(dirFile))  
            continue;
        this->routeList.addItem(dirFile);  
    }
} 
bool Game::checkRoute(QString dir){
    QFile file;
    file.setFileName(Game::root+"/routes/"+dir+"/"+dir+".trk");
    return file.exists();
}

And I can't imagine how it can't work.

Try new version.

#280 User is offline   istvanek 

  • Hostler
  • Group: Status: Active Member
  • Posts: 74
  • Joined: 23-March 15
  • Gender:Male
  • Simulator:ORTS
  • Country:

Posted 10 October 2015 - 02:55 PM

 Goku, on 09 October 2015 - 09:17 AM, said:

That is interesting. In v0.601 I only 'fixed' broken speedpost parser. Now all my routes works so I can't do anything more. Maybe can you send me your route? It could be without TEXTURES folder if it is too big.



Still fighting but without success. Indeed problem seems to be with a speedpost parser. I'd deleted all .w files except route start location one. Then I deleted all speedpost () parts (I found 3) from .w and TSR v.0.605 started without problem.

I sent you PM with a link to the route.


EDIT

Seems that only this one from previously mentioned 3 speedposts, makes a problem:

Speedpost (
UiD ( 2341 )
Speed_Digit_Tex ( ptsi-signmb1.ace )
Speed_Sign_Shape ( 4 -0.045 2.9 -0.269 0 0.045 2.9 0.269 3.14159 -11.645 2.9 -0.269 0 -11.56 2.9 0.269 3.14159 )
Speed_Text_Size ( 0.32 0.24 0 )
TrItemId ( 0 1336 )
TrItemId ( 0 1337 )
TrItemId ( 0 1338 )
TrItemId ( 0 1339 )
FileName ( ptsi-hmt2m0.s )
Position ( 56.2355 206.093 -788.298 )
QDirection ( 0 0 0 1 )
VDbId ( 4294967295 )
)


and part of .tdb

SpeedPostItem (
TrItemId ( 1336 )
TrItemSData ( 135.426 00000006 )
TrItemPData ( 54.959 -784.025 -5677 14899 )
TrItemRData ( 54.959 206.075 -784.025 -5677 14899 )
SpeedpostTrItemData ( 384 108 1.5708 )
)
SpeedPostItem (
TrItemId ( 1337 )
TrItemSData ( 135.917 00000006 )
TrItemPData ( 53.1933 -778.22 -5677 14899 )
TrItemRData ( 53.1933 206.075 -778.22 -5677 14899 )
SpeedpostTrItemData ( 384 108 1.5708 )
)
SpeedPostItem (
TrItemId ( 1338 )
TrItemSData ( 292.638 00000006 )
TrItemPData ( 51.5097 -772.636 -5677 14899 )
TrItemRData ( 51.5097 206.075 -772.636 -5677 14899 )
SpeedpostTrItemData ( 384 108 1.5708 )
)
SpeedPostItem (
TrItemId ( 1339 )
TrItemSData ( 213.827 00000006 )
TrItemPData ( 49.1352 -764.497 -5677 14899 )
TrItemRData ( 49.1352 206.075 -764.497 -5677 14899 )
SpeedpostTrItemData ( 384 108 1.5708 )
)


  • 208 Pages +
  • « First
  • 26
  • 27
  • 28
  • 29
  • 30
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

11 User(s) are reading this topic
0 members, 11 guests, 0 anonymous users