Game Won't Load

Got problems with Locomotion? Find assistance here!

Moderator: Locomotion Moderators

Post Reply
TIMidator
Engineer
Engineer
Posts: 7
Joined: 29 Apr 2018 19:52

Game Won't Load

Post by TIMidator »

So, I downloaded quite a lot of ObjData files for Locomotion, but when I try to run the game, the "Checking Object Data Files" check won't finish. It always stops before half-way and gives me a crash error message. I know this is caused by a faulty/corrupt .DAT file, but I don't know which file is causing the problem. Is there some way I can scan all my ObjData files for and faulty/corrupt files?
TIMidator
Engineer
Engineer
Posts: 7
Joined: 29 Apr 2018 19:52

Post by TIMidator »

Is no one going to help me? :(
User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5601
Joined: 13 Sep 2004 13:21
Location: The Moon

Re: Game Won't Load

Post by PikkaBird »

Doesn't look like it.

Remove all the dat files, and check the game starts. Now add them back one at a time until you find the one that's causing you problems.
TIMidator
Engineer
Engineer
Posts: 7
Joined: 29 Apr 2018 19:52

Re: Game Won't Load

Post by TIMidator »

One at a time?
I think with this many, I should do more than one at a time XD

But I did remove all the downloaded .DAT files and the game still works. I guess I'll have to find the broken files myself.
Attachments
My .DAT files
My .DAT files
Hmm.PNG (88.87 KiB) Viewed 671 times
Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4763
Joined: 09 Sep 2007 05:03
Location: home

Re: Game Won't Load

Post by Alberth »

If it is really the file format, and not too many files or files interfering with each other, or combinations of files causing problems, looking for a wrong file can be done with bisection.

Split the files in 2 directories, try one of the directories and then the other directory. If a directory works, all files are good. If it doesn't work, at least one file is bad.
Split a directory with bad files in 2 directories, try one ...

and so on, repeat splitting and trying until you have a directory with 1 bad file, at which point you found (one of) the culprit(s).
Being a retired OpenTTD developer does not mean I know what I am doing.
User avatar
Walter1940
Tycoon
Tycoon
Posts: 983
Joined: 19 Mar 2007 01:30
Location: Munich, Germany
Contact:

Re: Game Won't Load

Post by Walter1940 »

Actually, the game should still be able to load about 4000 files. But you can not scroll more than 3000 files in the editor. Perhaps the game already denied to you why even start.
Just try again with the originals and then add 10 new ones and start the game. Then you see how much it stops. Replace the last 10 with others and start again. Should it still not start, you have reached a limit. Otherwise plugged into the replaced 10 files a mistake. :wink:
(I hope you understand what i mean) :roll:
http://www.walter1940.de
Vehicles for Locomotion

Tutorials in english
- From MSTS to Locomotion ---> http://www.walter1940.de/tutorial/msts2loco/
- Wally ---> http://www.walter1940.de/tutorial/wally/
- xml-modding ---> http://www.walter1940.de/tutorial/xml-modding/
TIMidator
Engineer
Engineer
Posts: 7
Joined: 29 Apr 2018 19:52

Re: Game Won't Load

Post by TIMidator »

Finally sorted out all the bad files, but I do have over 3000 vehicles so I can't scroll down that list. Plus I have a lot of duplicates :/
User avatar
Walter1940
Tycoon
Tycoon
Posts: 983
Joined: 19 Mar 2007 01:30
Location: Munich, Germany
Contact:

Re: Game Won't Load

Post by Walter1940 »

Yes, that's what I wrote above. With more than 3000 vehicles the list can not be scrolled in the editor. 8) :wink:

Download this tool. So you can look at what's in the file and thus sort out duplicates.
http://www.wisim-welt.de/filebase/index ... ce-Teil-1/

Also read the attached help file. It takes time. But then you only have the "right" files.
http://www.walter1940.de
Vehicles for Locomotion

Tutorials in english
- From MSTS to Locomotion ---> http://www.walter1940.de/tutorial/msts2loco/
- Wally ---> http://www.walter1940.de/tutorial/wally/
- xml-modding ---> http://www.walter1940.de/tutorial/xml-modding/
TIMidator
Engineer
Engineer
Posts: 7
Joined: 29 Apr 2018 19:52

Re: Game Won't Load

Post by TIMidator »

Thanks, I'll be sure to check it out.
TIMidator
Engineer
Engineer
Posts: 7
Joined: 29 Apr 2018 19:52

Re: Game Won't Load

Post by TIMidator »

I'm trying the tool out, but every time I try to open it up, it gives me an error message and just closes down. Also, it's not in English, so I can't understand what it's saying.
Post Reply

Return to “Locomotion Problems, FAQs and Tutorials”

Who is online

Users browsing this forum: No registered users and 6 guests