The left or top coordinates are negative

View previous topic View next topic Go down

The left or top coordinates are negative

Post by phontanka on Sun May 13, 2012 10:46 am

I'm about to upload a new tram network to bveklub.hu. It comes with some old BVE2 trams that had many problems and I fixed most of them before release. However there's one that I can't figure out. When I try to play a route with the old Budapest UV tram OpenBVE says:
The route and train loader encountered the following critical error: The left or top coordinates are negative.
The text files are encoded in UTF-8 with BOM. Looking at the files I couldn't find what's wrong and Google couldn't help me either. I've uploaded the UV to Ubuntu One:

http://ubuntuone.com/6aAAsZv7NE6ti5yWQ8P5IP

Does anyone have any ideas about what to do with this?
avatar
phontanka

Posts : 242
Join date : 2012-05-08
Location : Hungary

http://phontanka.wordpress.com

Back to top Go down

Re: The left or top coordinates are negative

Post by Dexter on Sun May 13, 2012 10:53 am

Happened to me once, it is a cab issue, although I do not remember what exactly that was... I'll have to check that old cab....

777th post Twisted Evil Twisted Evil Twisted Evil
avatar
Dexter

Posts : 1842
Join date : 2011-07-08
Age : 31
Location : Brno, Czech republic

http://www.brnobve.eu

Back to top Go down

Re: The left or top coordinates are negative

Post by phontanka on Sun May 13, 2012 1:47 pm

Never mind, I've found the problem and fixed it. Thanks for offering help Derryck.
avatar
phontanka

Posts : 242
Join date : 2012-05-08
Location : Hungary

http://phontanka.wordpress.com

Back to top Go down

Re: The left or top coordinates are negative

Post by mrknowitall on Sun May 13, 2012 2:00 pm

Ino this is a bit of topic, but have you ever tried to "texture" the whole train of one image before?
avatar
mrknowitall

Posts : 711
Join date : 2011-07-09
Age : 25

http://www.bve-terminus.org/pioneertrains/

Back to top Go down

Re: The left or top coordinates are negative

Post by tof63 on Sun May 13, 2012 2:10 pm

The error is inside the panel.cfg file.

[DigitalIndicator]
Number = Figure.bmp
Corner = 214,345
Size = 10,10

Because the Figure.bmp file is only 8 pixels in width, the size must be:
Size = 8,10

(glad that phontanka has resolved, I show the solution for other interested people)
avatar
tof63

Posts : 38
Join date : 2012-05-08
Location : Turin (Italy)

http://bve.altervista.org/index.html

Back to top Go down

Re: The left or top coordinates are negative

Post by joeyfjj on Sun May 13, 2012 2:36 pm

mrknowitall wrote:Ino this is a bit of topic, but have you ever tried to "texture" the whole train of one image before?
Meaning?

joeyfjj

Posts : 265
Join date : 2011-07-30
Location : Singapore

http://joeyfoo.com

Back to top Go down

Re: The left or top coordinates are negative

Post by graymac on Sun May 13, 2012 2:50 pm

I think ben might mean a single mesh and a single texture for multiple faces on all sides of an object.
To some extent this has been common in the past with left/right sides and roof being one texture. How far you can take it depends to a large degree on the writer's skill with calculating and placing vertices and coordinates. An area which would be more suitable to have as a program than a route-builder, possibly?
avatar
graymac

Posts : 1745
Join date : 2011-08-28
Location : Co Mayo, Eire

http://www.celtictrainsim.com

Back to top Go down

Re: The left or top coordinates are negative

Post by Dexter on Sun May 13, 2012 3:26 pm

[quote="tof63"]The error is inside the panel.cfg file.

[DigitalIndicator]
Number = Figure.bmp
Corner = 214,345
Size = 10,10

Because the Figure.bmp file is only 8 pixels in width, the size must be:
Size = 8,10

(glad that phontanka has resolved, I show the solution for other interested people)[/quote

Yes, that was it, you're right. ]
avatar
Dexter

Posts : 1842
Join date : 2011-07-08
Age : 31
Location : Brno, Czech republic

http://www.brnobve.eu

Back to top Go down

Re: The left or top coordinates are negative

Post by Dexter on Sun May 13, 2012 4:40 pm

Download was put to the download section for better finding.
avatar
Dexter

Posts : 1842
Join date : 2011-07-08
Age : 31
Location : Brno, Czech republic

http://www.brnobve.eu

Back to top Go down

Re: The left or top coordinates are negative

Post by 6uzz on Sun Sep 02, 2012 6:09 am

Hi, Sorry for bumping old thread.

I played with Indonesian CC201 Train, and got the same problem, but tof63's Solution doesn't work for me

Anybody know Another Solution?

*sorry for my bad english :p

6uzz

Posts : 1
Join date : 2012-09-02

Back to top Go down

Re: The left or top coordinates are negative

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


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