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

The left or top coordinates are negative

+3
mrknowitall
Dexter
phontanka
7 posters

Go down

The left or top coordinates are negative Empty The left or top coordinates are negative

Post by phontanka 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?
phontanka
phontanka

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

http://phontanka.wordpress.com

Back to top Go down

The left or top coordinates are negative Empty Re: The left or top coordinates are negative

Post by Dexter 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
Dexter
Dexter

Posts : 2153
Join date : 2011-07-08
Age : 38
Location : Brno, Czech republic

http://www.brnobve.eu

Back to top Go down

The left or top coordinates are negative Empty Re: The left or top coordinates are negative

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

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

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

http://phontanka.wordpress.com

Back to top Go down

The left or top coordinates are negative Empty Re: The left or top coordinates are negative

Post by mrknowitall 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?
mrknowitall
mrknowitall

Posts : 824
Join date : 2011-07-09
Age : 31
Location : W. Yorkshire

Back to top Go down

The left or top coordinates are negative Empty Re: The left or top coordinates are negative

Post by tof63 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)
tof63
tof63

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

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

Back to top Go down

The left or top coordinates are negative Empty Re: The left or top coordinates are negative

Post by joeyfjj 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 : 266
Join date : 2011-07-30
Location : Singapore

http://joeyfoo.com

Back to top Go down

The left or top coordinates are negative Empty Re: The left or top coordinates are negative

Post by graymac 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?
graymac
graymac

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

http://www.celtictrainsim.com

Back to top Go down

The left or top coordinates are negative Empty Re: The left or top coordinates are negative

Post by Dexter 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. ]
Dexter
Dexter

Posts : 2153
Join date : 2011-07-08
Age : 38
Location : Brno, Czech republic

http://www.brnobve.eu

Back to top Go down

The left or top coordinates are negative Empty Re: The left or top coordinates are negative

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

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

Posts : 2153
Join date : 2011-07-08
Age : 38
Location : Brno, Czech republic

http://www.brnobve.eu

Back to top Go down

The left or top coordinates are negative Empty Re: The left or top coordinates are negative

Post by 6uzz 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

The left or top coordinates are negative Empty Re: The left or top coordinates are negative

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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