BVEStation

Author Topic: Debug Tool?  (Read 5500 times)

Offline ivatt

  • New Recruit
  • *
  • Posts: 9
  • Gender: Male
  • BVEStation Member
    • View Profile
Debug Tool?
« on: February 07, 2012, 11:26:00 am »
As a newcomer I have found that some routes I've installed (they are all UK routes) give an error about missing files.

Is there a way to check which files are missing, a debug tool perhaps?

I am familiar with zip files etc. so can't see how files can be missing if I download a route (and it's object and sound files if they are separate) and extract them to the correct folder(s)

Thanks
Age is a high price to pay for maturity.

Offline Gong Gahou

  • Operator
  • ***
  • Posts: 258
  • Gender: Male
  • BVEStation Member
    • View Profile
Re: Debug Tool?
« Reply #1 on: February 07, 2012, 06:16:23 pm »
Hello ivatt,

There is no need for a debog tool. You can find out exactly what the missing files are in a text file that is stored in your computer's userdata.

Before I continue on, do you know how to find your computer's userdata? If not, then can you tell me what your operating system is?
« Last Edit: February 07, 2012, 06:19:01 pm by Gong Gahou »
Previously known as pjiang6211

Offline ivatt

  • New Recruit
  • *
  • Posts: 9
  • Gender: Male
  • BVEStation Member
    • View Profile
Re: Debug Tool?
« Reply #2 on: February 08, 2012, 04:30:44 am »
Hi, thanks for the reply.

I assuming it will be somewhere in C:\Users\Chris, after that not sure. Did a search for a *.txt file in the Users folderr but couldn't see anything obvious. I assume it will have a predefined name I can search for?

I am using Vista Home Basic.

Is the file deleted once a successful i.e no errors load is achieved.

ADDENDUM

I have no located the log.txt file and this is what it contains:
Invalid syntax at line 42 in file C:\OPENBVE\Railway\Object\NWM_Open\DKtrains\HTA\coalhopper.b3d
Invalid syntax at line 94 in file C:\OPENBVE\Railway\Object\NWM_Open\DKtrains\HTA\coalhopper.b3d
FileName contains illegal characters or is empty at line 65 in file C:\OPENBVE\Railway\Train\cl101_DTC_POWERTRAILER_2CAR\sound.cfg
FileName contains illegal characters or is empty at line 66 in file C:\OPENBVE\Railway\Train\cl101_DTC_POWERTRAILER_2CAR\sound.cfg

As an aside, is it usual to have to keep inputting the verification info when logging on. When I log in it says site needs verification and asks for the info although I have activated the account correctly.
« Last Edit: February 08, 2012, 04:45:24 am by ivatt »
Age is a high price to pay for maturity.

Offline Gong Gahou

  • Operator
  • ***
  • Posts: 258
  • Gender: Male
  • BVEStation Member
    • View Profile
Re: Debug Tool?
« Reply #3 on: February 08, 2012, 07:48:07 am »
Yep, that's definitely the log.txt file. From now on all the errors that openBVE encounters will be stored there.

As for what you said at the end, you're confusing me. Do you mean when you access the log.txt file on your computer or are you talking about the BVEStation forums?
Previously known as pjiang6211

Offline ivatt

  • New Recruit
  • *
  • Posts: 9
  • Gender: Male
  • BVEStation Member
    • View Profile
Re: Debug Tool?
« Reply #4 on: February 09, 2012, 03:14:00 am »
Sorry about the confusion. I meant when I try to login to the BVEStation forum.

As for the error log, is this over written each time openBVE runs so that only the latest errors are shown?
Age is a high price to pay for maturity.

Offline Gong Gahou

  • Operator
  • ***
  • Posts: 258
  • Gender: Male
  • BVEStation Member
    • View Profile
Re: Debug Tool?
« Reply #5 on: February 09, 2012, 07:53:20 am »
I guess it is normal to keep logging into the forums, but you have the option to stay logged on on the login page if you don't want to keep logging in. The bad thing is that you'll still be online on BVEStation even when you're actually off.

Yep, that seems to be the case. Give openBVE another run and you'll see that the log displays the errors from that run.
« Last Edit: February 09, 2012, 09:41:21 pm by Gong Gahou »
Previously known as pjiang6211