7DaysProfileEditor icon indicating copy to clipboard operation
7DaysProfileEditor copied to clipboard

How to read the .ttp files?

Open joaopcorrea opened this issue 1 year ago • 1 comments

Hello, @Karlovsky120 ! I'd like to continue your project, but I'm really struggling trying to understand how I can read the file.

Can you explain to me the first steps, or maybe in theory how this works?

joaopcorrea avatar May 24 '24 19:05 joaopcorrea

Well, the code is right there.

Although, I suspect that the format of the files has change a bit since I last updated the project.

I had decompiled 7DaysToDie code using ILSpy and then traced how they read/wrote *.ttp files. Their code is (or at least was) backwards compatible with a bunch of older version of the *.ttp (from older game builds), but I ignored most of it and just traced how the latest version of the file worked.

It is a pretty messy code.

Good luck!

Karlovsky120 avatar May 24 '24 19:05 Karlovsky120