Errors! [FIXED]

Post your problems and installation issues here!

Errors! [FIXED]

Unread postby pschlik » Fri May 10, 2013 8:39 pm

I have a very confusing error report here; I'm not very sure what is exactly making it happen, but every time I try to do anything on a route with something other than the Sherman Hill, I get an error. The error is always:
ERROR: Not a serialized binary file(or "ERROR: *something is incorrect with* serialized binary file)
FILE: D:\build\CoreRelease\Code\Libs\Foundation\API\core/cFXException.h
LINE:113

This is horribly non-descriptive as the file is non-existent, and it has utterly no helpful information. I've been getting this for a while, in fact, I planned to make my first scenario on the Cajon Pass, and I started getting this error. Since then, I've re-validated the files twice and uninstalled all mods, but I still get it. This will seriously screw me up when I start making more scenarios, and I'd like to solve it before then. So, could anyone decipher what I need to do to fix this, maybe without a complete un-install and re-install?
Last edited by pschlik on Sat May 11, 2013 2:37 pm, edited 1 time in total.
-Phillip
User avatar
pschlik
 
Posts: 346
Joined: Thu Jun 30, 2011 3:17 pm
Location: St. Louis MO-United States

Re: Error! (Assorted Problems With "serialized binary files")

Unread postby buzz456 » Fri May 10, 2013 8:45 pm

I suggest you go to http://railworksamerica.com/index.php/l ... -in-ts2013 and do what he says. See if that helps. If not come back and we'll see what else might work. This is a bad one in my world.
Buzz
39 and holding.
"Some people find fault like there's a reward for it."- Zig Ziglar
"If you can dream it you can do it."- Walt Disney
Image
User avatar
buzz456
Site Admin
 
Posts: 20940
Joined: Sun Mar 21, 2010 8:30 am
Location: SW Florida

Re: Error! (Assorted Problems With "serialized binary files")

Unread postby Chacal » Fri May 10, 2013 10:12 pm

The error message is confusing because it is not meant for players.
The file D:\build\CoreRelease\Code\Libs\Foundation\API\core/cFXException.h is not on your computer. It is on the programmer's computer, presumably in RSC's offices. It is the source code for the program that got the error (actually it is not as simple as that, but close enough). You should never see that message but sadly the programmers for the game core did not believe in error trapping.

The first line of the error message is more useful.

What it means is: the program encountered a problem with an xml or bin file (a serialized binary file).
It may be a blueprint for an asset, a route, a scenario,or any other game data file. This file is corrupted or has an incorrect xml syntax.

It would be great if the error message said what xml or bin file has the problem, but it does not. You have to find and fix the file, or end up reinstalling.

First do the obvious: clear the blueprint cache. Then do a local verify in Steam, if the problem is in a default file, this should fix it. Then do Bob Latimer's trick that Buzz pointed out above.

If the problem persists, you might still find the corrupted file by guessing and experimenting. Do you remember what you were working on when you started getting this error? If you were working on a scenario, try moving the scenario folder outside of your railworks folder structure. If the problem stops, you found the culprit. If not, try moving the whole route folder (the route for which you were writing the scenario). Keep moving folders out, one by one, in a process of elimination.

If you can't find which file is corrupted, you may have to delete the whole railworks folder and let Steam reinstall it.
Over the hill and gathering speed
Chacal
Site Admin
 
Posts: 6481
Joined: Tue Jul 05, 2011 1:11 pm
Location: Quebec, Canada

Re: Error! (Assorted Problems With "serialized binary files")

Unread postby pschlik » Sat May 11, 2013 8:15 am

I'll do that for now, I guess. Hopefully the fan recommended better error messages discussed on Engine Driver come soon.
-Phillip
User avatar
pschlik
 
Posts: 346
Joined: Thu Jun 30, 2011 3:17 pm
Location: St. Louis MO-United States

Re: Error! (Assorted Problems With "serialized binary files")

Unread postby pschlik » Sat May 11, 2013 2:36 pm

I reinstalled, and everything works. !!*ok*!! I noticed how little folders are in a vanilla install. When I thought I brought it down to "vanilla" earlier, it was nowhere near the base stuff. I'll try to keep away from assorted mods next time.
-Phillip
User avatar
pschlik
 
Posts: 346
Joined: Thu Jun 30, 2011 3:17 pm
Location: St. Louis MO-United States

Re: Errors! [FIXED]

Unread postby Chacal » Thu Jun 06, 2013 2:10 pm

I just found this great trick from rivimey on UKTrainSim:

There is a slightly faster way to locate the errant file(s).

Download the program Process Monitor from the Microsoft website and install it. It enables you to see what interactions a process has with the OS - opening or reading files, thread creation, registry entries and whatnot.

Configure the Filter in it to exclude all processes that are not RailWorks.exe, and use the toolbar buttons to show only file operations then start capture and then start the sim.

You will then see all the files that RW references as it runs. Wait for it to hit the error, then stop capture and look at the logged operations. One of the last should be the file that was read when the error was encountered.

You will likely find that there is either extraneous text in the file - i.e. stuff that isn't XML - or that the file has been truncated.
Over the hill and gathering speed
Chacal
Site Admin
 
Posts: 6481
Joined: Tue Jul 05, 2011 1:11 pm
Location: Quebec, Canada


Return to Problems and Peculiarities

Who is online

Users browsing this forum: No registered users and 2 guests

cron