BVE WorldWide
Would you like to react to this message? Create an account in a few clicks or log in to continue.

openBVE playing BVE5 routes

Go down

openBVE playing BVE5 routes Empty openBVE playing BVE5 routes

Post by LXQt on Tue Mar 26, 2019 2:29 pm

I've seen some people sending images which claimed that the openBVE development build is now able to play BVE5 routes,but I don't see any news from here and even if I downloaded the nightly build,it just won't load.Is this feature officially implemented?

LXQt

Posts : 54
Join date : 2019-02-18
Location : Hong Kong

Back to top Go down

openBVE playing BVE5 routes Empty Re: openBVE playing BVE5 routes

Post by SP1900 on Tue Mar 26, 2019 4:32 pm

It’s not an official release. Though what I do know is that the build has been privately circulated from a Japanese group i believe. I don’t happen to have a copy myself but I know someone who does. He sent me a screenshot. Though I am unaware of who the developer of the BVE5 route parser is, what I do know is that it’s still a work in progress as some BVE5 routes do not load.

openBVE playing BVE5 routes Dc9fd610
SP1900
SP1900

Posts : 231
Join date : 2017-12-08
Age : 18
Location : Cambridge, England

Back to top Go down

openBVE playing BVE5 routes Empty Re: openBVE playing BVE5 routes

Post by leezer3 on Tue Mar 26, 2019 7:56 pm

Yes and no Wink

I built a BVE5 parser about 18 months ago. It's in the GitHub PRs somewhere, but it's not 100% functional, and only has the basics implemented.

S520 / Midnightexpress1981 have been doing some further work with this, but it's nowhere near ready for public consumption yet.
It'll get there at some stage, but when dunno Smile

leezer3

Posts : 1601
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

openBVE playing BVE5 routes Empty Re: openBVE playing BVE5 routes

Post by leezer3 on Tue Mar 26, 2019 8:03 pm

https://github.com/leezer3/OpenBVE/pull/154

leezer3

Posts : 1601
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

openBVE playing BVE5 routes Empty Re: openBVE playing BVE5 routes

Post by Midnight Express Ginga81 on Wed Mar 27, 2019 8:17 am

Now, S520 , I(ginga81) and F81_tec200 are creating BVE5’s route direct loading parser.
The route parser is very difficult to create, and have to check a lot of issues.
Recently, we are started the OpenBVE Japanese local community at Slack.
This community is open, but we need to maintain easily, so we chosen.
This time, we are check that what route can read, and to find a lot of trouble, we got help with the Japanese community.
Before the commit to Github, we have to solve some issues.

1.Memory allocate issue
This BVE5 parser is adopt with FreeObj technology.
OpenBVE cannot set a lot of FreeObj now.
https://github.com/leezer3/OpenBVE/issues/328

2.If committed, and adopted the PR, the route perser's base technology cannot change easily.
So, before the PR, we have to choose the parsing engine such as Irony(BVE5's), or any others.

3.the Another Trains
The BVE5's the Another Trains were not to run at OpenBVE.
Recently, OpenBVE add the new Function 'TrackFollowingObject'.
The demo movie is here.
https://youtu.be/D4K3iRoBmXg?t=150
The TrackFollowingObject can run on the RailX freely.
We will push to PR, after adopt the this technology.

So, please wait to PR at Github.

Midnight Express Ginga81

Posts : 25
Join date : 2016-09-25

Back to top Go down

openBVE playing BVE5 routes Empty Re: openBVE playing BVE5 routes

Post by SP1900 on Wed Mar 27, 2019 1:11 pm

I was told by OmegaZeroKiller about this. I believe you had some difficulties with parsing the cant Rail data from centimetres to metres. Never thought the BVE5 formatting would work in openBVE. I initially thought this would be a convertor type program acting sort of the reverse to the BVE4-BVE5 convertor
SP1900
SP1900

Posts : 231
Join date : 2017-12-08
Age : 18
Location : Cambridge, England

Back to top Go down

openBVE playing BVE5 routes Empty Re: openBVE playing BVE5 routes

Post by leezer3 on Wed Mar 27, 2019 6:02 pm

SP1900 wrote:I was told by OmegaZeroKiller about this. I believe you had some difficulties with parsing the cant Rail data from centimetres to metres. Never thought the BVE5 formatting would work in openBVE. I initially thought this would be a convertor type program acting sort of the reverse to the BVE4-BVE5 convertor

Formatting isn't so much the problem TBQH Smile

The issue is far more that much of the original design and internal structure of openBVE is 'fixed' and makes assumptions about the input data, which are no longer valid in BVE5.

The most siginficant of these is actually the 'block' concept. In prior versions of BVE, everything works on the block length, and the current codebase is full of stuff which makes assumptions about this. Just for example:
Build yourself a route with a sharp curve in it (Say ~400m), as this is the easiest way to see this.
Create a 1m long rail object.
Place this every 1m.

If you look at the attached picture, you'll see that BVE5 calculates the position dynamically around the curve, wheras BVE2 / BVE4 place the objects along the axis of the block.

There are lots more examples like this.
Attachments
openBVE playing BVE5 routes Attachment
curves.png You don't have permission to download attachments.(24 Kb) Downloaded 10 times

leezer3

Posts : 1601
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

openBVE playing BVE5 routes Empty Re: openBVE playing BVE5 routes

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