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. juli 2024 kl. 10.28
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!
< >
Viser 12 av 2 kommentarer
rayosytruenos 24. juli 2024 kl. 0.59 
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. juli 2024 kl. 11.06 
Hi, how do you compress the save files? I tried using 7zip but it didn't accept the file type.
< >
Viser 12 av 2 kommentarer
Per side: 1530 50