Transport Fever 2

Transport Fever 2

Create your own game world!
Give your game a personal touch and change it to your liking. Create, share and install mods. Customize the game with new landscapes, vehicles, stations, assets and more.
rayosytruenos 22 Jul, 2024 @ 10:28am
Getting Financial Data
I want to export certain financial data from the game. I've looked into reading save files a bit, but I saw somewhere that they are doubly lz4 compressed. I tried decompressing them a few ways (python, lz4 thru cmd), however it kept returning an error to do with the headers on the save files. Is there a specific way to un-lz4 tf2 save files? Is there another easier way to export financial data?

I have no experience in modding or working with game files, so any help would be greatly appreciated!
< >
Showing 1-2 of 2 comments
rayosytruenos 24 Jul, 2024 @ 12:59am 
For anyone wondering the same thing, I've now figured out it's actually compressed with zstandard, not lz4.

I have it now decompressed, but I still cant figure out the structure of the save file. What type are the historical financial values likely to be stored as (float32, int, string, etc.)
RadiKyle 6 24 Jul, 2024 @ 11:06am 
Hi, how do you compress the save files? I tried using 7zip but it didn't accept the file type.
< >
Showing 1-2 of 2 comments
Per page: 1530 50