Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Sat Oct 20, 2018 7:31 am

All times are UTC




Post new topic  Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Game Won't Load
PostPosted: Sun Apr 29, 2018 7:56 pm 
Offline
Engineer
Engineer

Joined: Sun Apr 29, 2018 7:52 pm
Posts: 7
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?


Top
   
 Post subject:
PostPosted: Wed May 02, 2018 2:26 am 
Offline
Engineer
Engineer

Joined: Sun Apr 29, 2018 7:52 pm
Posts: 7
Is no one going to help me? :(


Top
   
 Post subject: Re: Game Won't Load
PostPosted: Wed May 02, 2018 3:16 am 
Offline
Graphics Moderator
Graphics Moderator
User avatar

Joined: Mon Sep 13, 2004 1:21 pm
Posts: 5304
Location: The Moon
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.

_________________
Pikkarail.com blog | Patreon
Dev reference: NML Specs - NewGRF Specs - Savegame Internals - NoAi API - NoGo API


Top
   
 Post subject: Re: Game Won't Load
PostPosted: Wed May 02, 2018 5:14 am 
Offline
Engineer
Engineer

Joined: Sun Apr 29, 2018 7:52 pm
Posts: 7
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:
File comment: My .DAT files
Hmm.PNG [88.87 KiB]
Not downloaded yet
Top
   
 Post subject: Re: Game Won't Load
PostPosted: Wed May 02, 2018 10:23 am 
Offline
OpenTTD Developer
OpenTTD Developer

Joined: Sun Sep 09, 2007 5:03 am
Posts: 4672
Location: home
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.


Top
   
 Post subject: Re: Game Won't Load
PostPosted: Thu May 03, 2018 1:58 am 
Offline
Chairman
Chairman
User avatar

Joined: Mon Mar 19, 2007 1:30 am
Posts: 777
Location: Munich, Germany
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/


Top
   
 Post subject: Re: Game Won't Load
PostPosted: Thu May 03, 2018 2:06 am 
Offline
Engineer
Engineer

Joined: Sun Apr 29, 2018 7:52 pm
Posts: 7
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 :/


Top
   
 Post subject: Re: Game Won't Load
PostPosted: Thu May 03, 2018 2:38 am 
Offline
Chairman
Chairman
User avatar

Joined: Mon Mar 19, 2007 1:30 am
Posts: 777
Location: Munich, Germany
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/


Top
   
 Post subject: Re: Game Won't Load
PostPosted: Thu May 03, 2018 2:41 am 
Offline
Engineer
Engineer

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


Top
   
 Post subject: Re: Game Won't Load
PostPosted: Sat May 05, 2018 3:29 pm 
Offline
Engineer
Engineer

Joined: Sun Apr 29, 2018 7:52 pm
Posts: 7
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.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 10 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000-2018 phpBB Limited

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2018.
Hosted by Zernebok Hosting.