Elvas Tower: XNA4? - Elvas Tower

Jump to content

  • 7 Pages +
  • « First
  • 3
  • 4
  • 5
  • 6
  • 7
  • You cannot start a new topic
  • You cannot reply to this topic

XNA4? What will it bring? Rate Topic: -----

#41 User is offline   Csantucci 

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

Posted 19 February 2016 - 08:10 AM

View Postgpz, on 19 February 2016 - 03:00 AM, said:

5. Transfers are not cut out at tunnel entrances.

Are you sure MSTS does cut them out?

#42 User is offline   gpz 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,772
  • Joined: 27-October 12
  • Gender:Male
  • Location:Budapest
  • Simulator:OpenRails
  • Country:

Posted 19 February 2016 - 08:35 AM

I think yes. Actually I am comparing the behavior to the standard OR version. An easy test is to make an explore route starting in Baltimore to Edgewood. In a minute there is a tunnel entrance covered by a transfer.

#43 User is offline   disc 

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

Posted 19 February 2016 - 10:40 AM

Wow this looks really good. I don't know exaclty how much faster, but it's sure that the game runs much faster/less cpu usage than with the original XNA, also the memory usage looks to be halved, even in debug release.

Another thing that i noticed is the wheelslip values are stable(probably because the frame times are more stable too), and doesn't have those oscillations what the original OR had, and i see that the difference of axle drive force and axle out force is depend only on wheelslip in this version: 30% wheelslip 30% loss, 0% wheelslip 0% loss, which makes sense. That's what i'm trying to understand since a while watching Axle.cs, but i couldn't as the values doesn't make sense at all in the original version... now it seems to be that's frametime related thing, perhaps somewhere something should be multiplied by frametime.

BTW a similar error like above came up after playing some time, at Nyugati.

#44 User is offline   SP 0-6-0 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 985
  • Joined: 12-November 05
  • Gender:Not Telling
  • Location:Another planet.
  • Simulator:MSTS/ORTS
  • Country:

Posted 19 February 2016 - 08:56 PM

I get this file contains a virus and was deleted. I am running Vista and the message is auto generated by security essentials.

Robert

#45 User is offline   gpz 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,772
  • Joined: 27-October 12
  • Gender:Male
  • Location:Budapest
  • Simulator:OpenRails
  • Country:

Posted 19 February 2016 - 10:51 PM

I have re-checked it, there is no virus in it.

But you may download the source version from GitHub, and recompile it. Source is for sure doesn't contain a virus, that is theoretically impossible.

#46 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 20 February 2016 - 03:07 AM

View Postgpz, on 19 February 2016 - 08:35 AM, said:

I think yes. Actually I am comparing the behavior to the standard OR version. An easy test is to make an explore route starting in Baltimore to Edgewood. In a minute there is a tunnel entrance covered by a transfer.

Transfers are NOT cut out, only the terrain is. If transfers are covering the tunnel entrances then something may be messed up in the geometry or shader calculations (which are a little complex IIRC).

#47 User is offline   gpz 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,772
  • Joined: 27-October 12
  • Gender:Male
  • Location:Budapest
  • Simulator:OpenRails
  • Country:

Posted 20 February 2016 - 04:21 AM

They are not cut out, but they are not drawn to places something else was already drawn, based on the depth stencil value. Something is wrong with depth stencil state when transfers are drawn, I suspect. (Not excluding a possible bug in MonoGame, of course.)

#48 User is offline   Sid P. 

  • Conductor
  • Group: Status: Contributing Member
  • Posts: 463
  • Joined: 12-February 13
  • Gender:Male
  • Location:Canada
  • Simulator:Open Rails / MSTS
  • Country:

Posted 20 February 2016 - 12:42 PM

Hi,
Out of curiosity, I thought that I would try this version, but I must have missed a step -
I installed Monogame 3.5, and compiled the source from GitHub with Visual Studio 2015, using ORTS.sln.
I then noticed that there was already a set of Monogame files included in the source folder "MonoGame" of "3rdPartLibs"
The source code compiles and seems to run OK (and very fast) from within Visual Studio, but when I try to run starting from Menu.exe, I get an exception:
"No Graphics Device Manager"
************** Exception Text **************
System.InvalidOperationException: No Graphics Device Manager
at Microsoft.Xna.Framework.Game.get_graphicsDeviceManager()
at MonoGame.Framework.WinFormsGameWindow.OnClientSizeChanged(Object sender, EventArgs eventArgs)
at System.Windows.Forms.Control.OnClientSizeChanged(EventArgs e)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)

etc. etc.
- and then continues to run.
Any suggestions?

Thanks,

#49 User is offline   gpz 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,772
  • Joined: 27-October 12
  • Gender:Male
  • Location:Budapest
  • Simulator:OpenRails
  • Country:

Posted 20 February 2016 - 02:50 PM

It is strange, I don't really know what causes this, I don't get any exceptions. It runs for me the same way from Menu.exe, as the XNA3.1 version.

#50 User is offline   Sid P. 

  • Conductor
  • Group: Status: Contributing Member
  • Posts: 463
  • Joined: 12-February 13
  • Gender:Male
  • Location:Canada
  • Simulator:Open Rails / MSTS
  • Country:

Posted 21 February 2016 - 01:19 PM

View Postgpz, on 20 February 2016 - 02:50 PM, said:

It is strange, I don't really know what causes this, I don't get any exceptions. It runs for me the same way from Menu.exe, as the XNA3.1 version.

It keeps running OK with the new software after the error window is closed.
It crashes with two of Paul Charland's routes: Thousand Island Railway, and Dominion Atlantic Railway, after a long series of graphics-related complaints.
Logfile for DAR attached. Hmm, suddenly I can't attach anything to this post.

Cheers,

  • 7 Pages +
  • « First
  • 3
  • 4
  • 5
  • 6
  • 7
  • 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