Page 1 of 1

Error when converting Steam game files from .dat to .png

Posted: 17 Nov 2023 19:52
by tempura
Trying to rip some sprites for a small personal project I'm working on.
When I try to convert the .dat files (pulled from the Steam game files), the trackst.dat worked fine, but others gave the error message '____.dat is not a .dat file'.
In this topic someone said these files are protected and mentioned there being a method for avoiding this protection.
Could someone point me toward the tool or process I need to do this?

I'm sure this has been answered somewhere but I couldn't find it.

Re: Error when converting Steam game files from .dat to .png

Posted: 25 Nov 2023 18:47
by glenjimen
I think you need to unlock the object data files with CheckHex. This is a DOS program than can be run thru Dos-Box on modern OS. Just put the object data files you want to open in the same folder as the .exe, and run it.
Also, if you jump on the Discord server OpenLoco, one of the mod's by the name of LeftofZen is making a new OpenLocoTool that I think ignores this locked status. It's still in alpha / beta (I dunno) and has far more functionality than LocoTool.

Good Luck!