Elvas Tower: Both file name and Name() used. - Elvas Tower

Jump to content

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Both file name and Name() used. Rate Topic: -----

#1 User is offline   edwardk 

  • Open Rails Developer
  • Group: Posts: Elite Member
  • Posts: 1,354
  • Joined: 11-December 09
  • Gender:Male
  • Location:Chula Vista, CA
  • Simulator:MSTS
  • Country:

Posted 14 July 2018 - 12:07 PM

I am not sure if this has been brought up, but I noticed that the editor is using both "File Name" and the Name() category when present in the bottom display.

Edward K.

#2 User is offline   goku 

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

Posted 14 July 2018 - 12:39 PM

Can you explain?

#3 User is offline   cr-stagg 

  • Foreman Of Engines
  • Group: Posts: Contributing Member
  • Posts: 918
  • Joined: 16-May 05
  • Gender:Male
  • Simulator:OR
  • Country:

Posted 14 July 2018 - 06:25 PM

Can't figure out what he is referring to either.

But in trying to duplicate, I found an inconsistency: The ENG list 1 and ENG list 2 list the ENGs and WAGs by the contents of the Name line if there is a Name line. Where as the Consist Units list (items in consist being edited) shows the Filename.

#4 User is offline   edwardk 

  • Open Rails Developer
  • Group: Posts: Elite Member
  • Posts: 1,354
  • Joined: 11-December 09
  • Gender:Male
  • Location:Chula Vista, CA
  • Simulator:MSTS
  • Country:

Posted 15 July 2018 - 12:01 AM

Although I am unable to duplicate the use of both file naming conventions at one time for each item in the bottom display, I am noticing another issue. I was updating a batch of cars for OR so they are now in the OpenRails folder. All of them are using the Name() option. Should the editor be reading the OpenRails folder or the main folder? The editor is only showing 2 out of 10 cars that are in the OpenRails folder.

Edit: I should add that the files in question are the ARMN reefers from SLI's UP Trainset Vol 2 pack in case there is an issue with them.

Also, none of the files are being listed from the main directory which would be using the file name convention since only the files in the OpenRails folder are using the Name() option.

#5 User is offline   goku 

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

Posted 15 July 2018 - 02:20 AM

Still don't understand you. Are you reffering to a new name parameter for OR or what?
TSRE should read wags from openrails directory.
You can send me the cars and I will check them.

#6 User is offline   edwardk 

  • Open Rails Developer
  • Group: Posts: Elite Member
  • Posts: 1,354
  • Joined: 11-December 09
  • Gender:Male
  • Location:Chula Vista, CA
  • Simulator:MSTS
  • Country:

Posted 15 July 2018 - 11:50 AM

View PostGoku, on 15 July 2018 - 02:20 AM, said:

Still don't understand you. Are you reffering to a new name parameter for OR or what?
TSRE should read wags from openrails directory.
You can send me the cars and I will check them.


At this point, I am referring to the wagons that should be showing up in the "Eng list". Only 2 out of 10 files that are in the OpenRails folder are displayed in the "Eng list". I am not going to automatically assume that my initial issue that I poorly described is somehow connected to this. I will send you the wag file via pm.

I will run a test with the files without the Name() tag to see if this is connected.

Update: This is odd, there must a problem with the files. I removed the Name() tag from the files and only the same 2 files were displayed in the Eng list.

#7 User is offline   edwardk 

  • Open Rails Developer
  • Group: Posts: Elite Member
  • Posts: 1,354
  • Joined: 11-December 09
  • Gender:Male
  • Location:Chula Vista, CA
  • Simulator:MSTS
  • Country:

Posted 15 July 2018 - 12:09 PM

Found the problem. I am not sure if this is something you want to check for, but the removal of the source of the issue solved the problem. If you notice the use of "CommentToken" below, this is what the editor was stopping at. The 2 files that had no issues did not have "CommentToken".

CommentToken comment ( MSTS Bin coupling values by Bill Preiger, Joe Morris, Otto Wipfel, et al.  )


Update: Disregard the solving of the problem. This issue is is difficult to understand. After removing the above CommentToken tag and leaving the Name() tag, the same 2 files were displayed using the Name() tag, but the remaining files were displayed using the file name? I will be sending you files for testing.

#8 User is offline   cr-stagg 

  • Foreman Of Engines
  • Group: Posts: Contributing Member
  • Posts: 918
  • Joined: 16-May 05
  • Gender:Male
  • Simulator:OR
  • Country:

Posted 15 July 2018 - 12:53 PM

Edward,
Note the Bolded and underlined text below quoted from the ORTS Manual:

8.14.1 Modifications to .eng and .wag Files
In the preceding paragraphs many references have been made to OR-specific parameters and tables to be
included in .eng and .wag files. MSTS is in general quite tolerant if it finds unknown parameters and even
blocks within .eng and .wag files, and continues running normally. However this way of operating is not
encouraged by the OR team. Instead, a cleaner approach, as described here, has been implemented.
Within the trainset folder containing the .eng and .wag files to be upgraded, create a subfolder named
OpenRails. Only OR will read files from this folder. Within this subfolder a text file named xxxx.eng or
xxxx.wag, where xxxx.eng or xxxx.wag is the name of the original file, must be created.

This new file may contain either:
• all of the information included in the original file (using (modified parts where desired) plus the ORspecific parts if any, or:
• at its beginning only an include reference to the original file, followed by the modified parts and the
OR-specific parts. This does not apply to the Name() statement and the Loco Description Information,
where in any case the data in the base .eng file is retained.


#9 User is offline   goku 

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

Posted 15 July 2018 - 01:00 PM

View Postedwardk, on 15 July 2018 - 12:09 PM, said:

Found the problem. I am not sure if this is something you want to check for, but the removal of the source of the issue solved the problem. If you notice the use of "CommentToken" below, this is what the editor was stopping at. The 2 files that had no issues did not have "CommentToken".

CommentToken comment ( MSTS Bin coupling values by Bill Preiger, Joe Morris, Otto Wipfel, et al.  )



I see that you found it. TSRE does not allow for tokens without ( ). (Except some places where it is hardcoded). So it will not work. You need to remove CommentToken and if it is not your file, ask the author.

View Postedwardk, on 15 July 2018 - 12:09 PM, said:

Update: Disregard the solving of the problem. This issue is is difficult to understand. After removing the above CommentToken tag and leaving the Name() tag, the same 2 files were displayed using the Name() tag, but the remaining files were displayed using the file name? I will be sending you files for testing.

For me all the 4 files you send work fine after CommentToken removed. Name tag is displayed.

#10 User is offline   goku 

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

Posted 15 July 2018 - 01:02 PM

https://i.imgur.com/FUItGSS.png

#11 User is offline   cr-stagg 

  • Foreman Of Engines
  • Group: Posts: Contributing Member
  • Posts: 918
  • Joined: 16-May 05
  • Gender:Male
  • Simulator:OR
  • Country:

Posted 15 July 2018 - 01:09 PM

Edward,
FYI: Every Consist Editor from the one in the MSTS AE to Goku's new CE and in the menus of MSTS and ORTS in lists of Trainset items list the Contents of the Name line or the filename if there is no Name line in the file.

#12 User is offline   edwardk 

  • Open Rails Developer
  • Group: Posts: Elite Member
  • Posts: 1,354
  • Joined: 11-December 09
  • Gender:Male
  • Location:Chula Vista, CA
  • Simulator:MSTS
  • Country:

Posted 15 July 2018 - 01:25 PM

So, I know that OR does not use the Name() tag, but this does not change the fact there is a problem. I removed the OpenRails folder and the editor is still having problems. The use of the Name() is common, not rare. Unless the use of it is forbidden.

The original files do not have the Name() tag, but the files are still having issues with the editor.

Edit: In this case the issue is still pointing to the CommentToken tag being the issue since I only removed it from the OpenRails folder. I wonder if I removed all of them. I will continue to test these files

#13 User is offline   goku 

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

Posted 15 July 2018 - 01:34 PM

I see no issues with files you send me. Except the double tag of course.
If you have something else in mind, send proper files and describe it better or stop complaining about non-existing errors.
The Name tag works 100% fine for me. Look at the pic above.

#14 User is offline   cr-stagg 

  • Foreman Of Engines
  • Group: Posts: Contributing Member
  • Posts: 918
  • Joined: 16-May 05
  • Gender:Male
  • Simulator:OR
  • Country:

Posted 15 July 2018 - 01:35 PM

View Postedwardk, on 15 July 2018 - 01:25 PM, said:

So, I know that OR does not use the Name() tag, but this does not change the fact there is a problem. I removed the OpenRails folder and the editor is still having problems. The use of the Name() is common, not rare. Unless the use of it is forbidden.

The original files do not have the Name() tag, but the files are still having issues with the editor.
What issues? A picture is worth a 1000 words. Since Windows 7 a program has been named "Snipping Tool" has been included with Windows. It can be used to clip a small portion of a window and create a small JPG to post on the forum.

Also it might be helpful if you would upload just the WAG file of one of the problem files. At the least you might find out that the problem is unique to your PC.

#15 User is offline   edwardk 

  • Open Rails Developer
  • Group: Posts: Elite Member
  • Posts: 1,354
  • Joined: 11-December 09
  • Gender:Male
  • Location:Chula Vista, CA
  • Simulator:MSTS
  • Country:

Posted 15 July 2018 - 01:52 PM

View PostGoku, on 15 July 2018 - 01:34 PM, said:

I see no issues with files you send me. Except the double tag of course.
If you have something else in mind, send proper files and describe it better or stop complaining about non-existing errors.
The Name tag works 100% fine for me. Look at the pic above.


In my case, the errors are not non-existing, but I guess I just I have to blame my system instead.

  • 2 Pages +
  • 1
  • 2
  • 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