Elvas Tower: Folder and File Name Size - Elvas Tower

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Folder and File Name Size Rate Topic: -----

#1 User is offline   dforrest 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 980
  • Joined: 12-January 12
  • Gender:Male
  • Location:St. Vincent (formally UK)
  • Simulator:MSTS, Open Rails
  • Country:

Posted 27 January 2014 - 07:42 AM

MSTS has a 30 character limit for the file and folder names used for stock and consists. What is the situation with OR?

--------------
David

#2 User is online   James Ross 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 5,491
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 27 January 2014 - 08:09 AM

I don't believe there are any inherent limits like this in MSTS; the underlying OS functions accept up to 260 character file paths (whole thing including drive) IIRC and each component (directory or file name) can itself be up to 255 characters.

#3 User is offline   dforrest 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 980
  • Joined: 12-January 12
  • Gender:Male
  • Location:St. Vincent (formally UK)
  • Simulator:MSTS, Open Rails
  • Country:

Posted 27 January 2014 - 08:49 AM

View PostJames Ross, on 27 January 2014 - 08:09 AM, said:

I don't believe there are any inherent limits like this in MSTS; the underlying OS functions accept up to 260 character file paths (whole thing including drive) IIRC and each component (directory or file name) can itself be up to 255 characters.


James, your first sentence is not clear to me. Are you disagreeing that there is such a limit in MSTS or confirming that there is no similar limit on OR?

------------
David

#4 User is offline   markus_GE 

  • Executive Vice President
  • PipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 4,862
  • Joined: 07-February 13
  • Gender:Male
  • Location:Leoben, Styria, Austria, Europe
  • Simulator:ORTS / MSTS
  • Country:

Posted 27 January 2014 - 09:10 AM

What I know is that the alias paths and other strings defined in an .eng file may not exceed 30 characters in length. This can lead to errors or crashes if for example a shape file alias (very unlikely to happen, though) is done that way. On other strings, such as the Name () parameter, it is more or less unimportant how long the given string is: Any superfluos characters will be cut.

Cheers, markus

#5 User is offline   Buttercup 

  • Conductor
  • Group: Status: Contributing Member
  • Posts: 426
  • Joined: 24-July 08
  • Gender:Male
  • Country:

Posted 27 January 2014 - 11:38 AM

My experience agrees with James with the exception of 256 characters instead of 255.

#6 User is online   James Ross 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 5,491
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 28 January 2014 - 01:42 AM

View Postdforrest, on 27 January 2014 - 08:49 AM, said:

James, your first sentence is not clear to me. Are you disagreeing that there is such a limit in MSTS or confirming that there is no similar limit on OR?


Sorry; I meant that, unlike in MSTS, there is no specific limits in OR.

#7 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 7,014
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 28 January 2014 - 06:45 AM

I can confirm -having experienced this often- that too long file name paths within .sms files aren't recognized by MSTS.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

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