7DaysProfileEditor
7DaysProfileEditor copied to clipboard
How to read the .ttp files?
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?
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!