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

Discuss, get help with, or post new modifications, graphics or related tools for Locomotion in this forum.

Moderator: Locomotion Moderators

Post Reply
tempura
Engineer
Engineer
Posts: 1
Joined: 17 Nov 2023 19:24

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

Post 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.
User avatar
glenjimen
Traffic Manager
Traffic Manager
Posts: 139
Joined: 16 Aug 2013 00:44

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

Post 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!
Attachments
checkhex.zip
(14.63 KiB) Downloaded 55 times
Visit the Directory --> Loco-Dat-Directory
Post Reply

Return to “Locomotion Graphics, Modifications & Tools”

Who is online

Users browsing this forum: No registered users and 21 guests