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 » 29 Apr 2018 19:56

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 » 02 May 2018 02:26

Is no one going to help me? :(

User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5383
Joined: 13 Sep 2004 13:21
Location: The Moon
Contact:

Re: Game Won't Load

Post by PikkaBird » 02 May 2018 03:16

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 » 02 May 2018 05:14

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
Hmm.PNG
My .DAT files
(88.87 KiB) Not downloaded yet

Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4720
Joined: 09 Sep 2007 05:03
Location: home

Re: Game Won't Load

Post by Alberth » 02 May 2018 10:23

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 OpenTTD developer does not mean I know what I am doing.
Also, other OpenTTD developers may have different opinions.

User avatar
Walter1940
Chairman
Chairman
Posts: 798
Joined: 19 Mar 2007 01:30
Location: Munich, Germany
Contact:

Re: Game Won't Load

Post by Walter1940 » 03 May 2018 01:58

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 » 03 May 2018 02:06

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
Chairman
Chairman
Posts: 798
Joined: 19 Mar 2007 01:30
Location: Munich, Germany
Contact:

Re: Game Won't Load

Post by Walter1940 » 03 May 2018 02:38

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 » 03 May 2018 02:41

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 » 05 May 2018 15:29

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: Google [Bot] and 1 guest