Elvas Tower: ORTS trackviewer - Elvas Tower

Jump to content

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

ORTS trackviewer Rate Topic: -----

#1 User is offline   Amtrak115 

  • Hostler
  • Group: Status: Active Member
  • Posts: 97
  • Joined: 04-August 19
  • Gender:Male
  • Location:Parker, TX
  • Simulator:open rails
  • Country:

Posted 07 April 2021 - 07:58 AM

Well, I've been looking into the code at a variety of different topics. You may have seen comments recently regarding activities. Being an "OLD" programmer, I have to refresh my skills a little before tackling anything with the greater ORTS framework, so I decided to look at Trackviewer... Trackviewer mentions in it's comments and in the manual that it is designed to support MSTS paths and that a "future" version would support ORTS specific additions. I've reviewed the "blueprints" that I've been able to figure out how to view and I see very little with respect to ORTS specific content for "Trackviewer", so let's consider this a review of the Requirements for a revised Trackviewer. What are some issues that have been identified (If you know specific issues that have already been listed as part of the ORTS project, please provide me with a link so I can review that issue.) If there are "New" functionality required that is specific to ORTS, please Identify those also. As I am started "fresh" and having to learn a few things, I'm going to define my objectives with this effort.

1. I'm going to start offline (not in the Github repository, however I have downloaded the latest source as of yesterday 4/6/21)
2. Trackviewer utilizes XNA so my objective is to replace that with Monogame.
3. Current functionality will be my Initial Operating Capability (IOC). (I'm going to assume that IOC will be MSTS compatible, Intention is that any enhancements, will be ORTS only and output of datafiles will reflect that)
4. a review and discussion on this forum of any issues Bugs, / enhancements
5. update IOC functionality with bug fixes/enhancements which will comprise Final Operating Capability (FOC)
6. Provide FOC as beta test for user/review/comment
7. Provide update to repository for inclusion into baseline.

I have not set a timeline yet. We'll see how it goes. I intend to update this thread as progress (Hopefully) is made.

Look forward to your comments (tongue in check...but seriously)

Barry.... AKA amtrak115.

#2 User is offline   Csantucci 

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

Posted 07 April 2021 - 08:16 AM

Happy to see that another person starts fiddling with the OR sources.
Barry, TrackViewer uses now Monogame like the rest of OR, and not XNA. If you look in the run pack of OR, which includes Trackviewer, you won't see the XNA .dlls.

#3 User is offline   Amtrak115 

  • Hostler
  • Group: Status: Active Member
  • Posts: 97
  • Joined: 04-August 19
  • Gender:Male
  • Location:Parker, TX
  • Simulator:open rails
  • Country:

Posted 07 April 2021 - 08:20 AM

I was going by what I saw in code...but I'll be looking deeper into it as I go along. thanks for the info...

Barry

#4 User is offline   perpetualKid 

  • Fireman
  • Group: Status: Active Member
  • Posts: 159
  • Joined: 10-June 18
  • Gender:Male
  • Simulator:OR
  • Country:

Posted 07 April 2021 - 11:28 AM

View PostAmtrak115, on 07 April 2021 - 08:20 AM, said:

I was going by what I saw in code...but I'll be looking deeper into it as I go along. thanks for the info...

Barry


don't get tricked by the namespaces, which are still using "Microsoft.Xna.Framework" even for Monogame!


#5 User is offline   Amtrak115 

  • Hostler
  • Group: Status: Active Member
  • Posts: 97
  • Joined: 04-August 19
  • Gender:Male
  • Location:Parker, TX
  • Simulator:open rails
  • Country:

Posted 07 April 2021 - 01:09 PM

yep, just figured that one out.

#6 User is offline   Amtrak115 

  • Hostler
  • Group: Status: Active Member
  • Posts: 97
  • Joined: 04-August 19
  • Gender:Male
  • Location:Parker, TX
  • Simulator:open rails
  • Country:

Posted 07 April 2021 - 04:16 PM

View PostWeter, on 07 April 2021 - 01:23 PM, said:

Hello, Barry, nice to see that.
Could you tell me, if you'll see it, what is "show mouse action" means in track viewer: I have no idea, what is it, so can't choose an adequate translation.


If/When I find it...I'll post here.

Barry

#7 User is offline   Weter 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 995
  • Joined: 01-June 20
  • Gender:Not Telling
  • Simulator:ORTS
  • Country:

Posted 07 April 2021 - 04:27 PM

Thanks. In advance

#8 User is offline   perpetualKid 

  • Fireman
  • Group: Status: Active Member
  • Posts: 159
  • Joined: 10-June 18
  • Gender:Male
  • Simulator:OR
  • Country:

Posted 07 April 2021 - 10:16 PM

from just quickly looking at the code, "show mouse action" doesn't seem to do anything meaningful.

#9 User is offline   Weter 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 995
  • Joined: 01-June 20
  • Gender:Not Telling
  • Simulator:ORTS
  • Country:

Posted 08 April 2021 - 12:11 PM

Thank you, I don't see any observable difference, wether that options being checked, or no too.

#10 User is offline   Amtrak115 

  • Hostler
  • Group: Status: Active Member
  • Posts: 97
  • Joined: 04-August 19
  • Gender:Male
  • Location:Parker, TX
  • Simulator:open rails
  • Country:

Posted 20 April 2021 - 07:26 AM

Just a quick update on progress. I've been able to setup DEv environment on local system and with perpetualkid's help been able to create my own repository on Git as well as pull the source. I've now been able to rebuild locally on my machine. I've been developing activities for routes and in my mind, there were some things about how trackviewer worked that sort of bothered me. So instead of just "complaining" about how it worked, I decided to take the plunge and look into it for myself. so here I am. Having no "formal" training on Object-oriented programing, trying to follow execution paths within the code is not easy..but I'm working through those issues. I wish there were documented "programming" standards for OR, if there are, I haven't found them yet. anyway...I'll press on...like I said just an update..

later

Barry....aka Amtrak115

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