New Feature: MSTS Shape Parser

Go down

New Feature: MSTS Shape Parser

Post by leezer3 on Wed May 16, 2018 2:02 pm

https://vps.bvecornwall.co.uk/OpenBVE/Builds/OpenBVE-2018-05-16.zip

Today's build of openBVE introduces a major new feature: A parser for MSTS models in the .S format.

Both compressed binary and uncompressed textual models are supported.

Limitations:

  • Animations are not supported.
  • Lighting is not supported.
  • Luminance / reflection is not supported.
  • RouteViewer is not supported, only Object Viewer and the main simulation.
  • Minimal error checking!


A couple of screenshots next, both from the default content:




Whilst this represents a massive opportunity, please be considerate and respect the rights of those who have created models for MSTS-
This *will* be being enforced by the moderating team.

Thanks Smile

leezer3

Posts : 1115
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Re: New Feature: MSTS Shape Parser

Post by SP1900 on Wed May 16, 2018 6:56 pm

Wow. Thank you so much. I think this could really help a lot
avatar
SP1900

Posts : 98
Join date : 2017-12-08

Back to top Go down

Re: New Feature: MSTS Shape Parser

Post by ecreek on Fri May 18, 2018 5:25 am

I got this error message in the object viewer on a fresh install of MSTS -

An unexpected error occured (Could not load file or assembly 'Formats.Msts, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.) while attempting to load the file H:\Program Files (x86)\Microsoft Games\Train Simulator\TRAINS\TRAINSET\ACELA\acela.s

ecreek

Posts : 38
Join date : 2011-08-23

Back to top Go down

Re: New Feature: MSTS Shape Parser

Post by leezer3 on Fri May 18, 2018 11:36 am

No idea why these things always work locally, but not in the automatically built copies Razz

https://vps.bvecornwall.co.uk/OpenBVE/Builds/OpenBVE-2018-05-18.zip


Tested and working on a clean machine Smile
(Note: Testing the acela.s file, I think the rotation on the windscreen wipers may be glitched, but that's likely related to the lack of animations. Pantograph is also permanently down)

leezer3

Posts : 1115
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Re: New Feature: MSTS Shape Parser

Post by ecreek on Fri May 18, 2018 12:18 pm

Thanks Chris. Working now.

ecreek

Posts : 38
Join date : 2011-08-23

Back to top Go down

Re: New Feature: MSTS Shape Parser

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum