Gamestudio Links
Zorro Links
Newest Posts
Bulk-parse CSV files from whole directory
by jack_the_whack. 08/13/22 07:57
Zorro_setup.exe detected with virus
by Grant. 08/12/22 09:03
ARM support for Zorro?
by AndrewAMD. 08/11/22 19:54
DeepLearn script
by jcl. 08/10/22 12:58
New Zorro version 2.50
by hast29. 08/09/22 15:50
linux
by AndrewAMD. 08/08/22 14:23
AUM Magazine
Latest Screens
DEAD TASTE
Tactics of World War I
Hecknex World
Scheherazade's Journey
Who's Online Now
5 registered members (monarch, nerdkorea, Quad, jack_the_whack, 1 invisible), 436 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
boony, jack_the_whack, MrMan, nerdkorea, marconius
18812 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Loading .t6 history in C++ #486343
08/03/22 18:29
08/03/22 18:29
Joined: Aug 2021
Posts: 98
M
MegaTanker Offline OP
Junior Member
MegaTanker  Offline OP
Junior Member
M

Joined: Aug 2021
Posts: 98
Hello, wanted to ask if I could find out exactly what is in those .t6 files. The T6 struct is included in one of the headers, but how are structs encoded in the binary files? A simple array, or a vector or something else? It would be nice if I could load them directly in my own C++ code instead of converting them to CSV before reading them again.

Re: Loading .t6 history in C++ [Re: MegaTanker] #486344
08/03/22 18:42
08/03/22 18:42
Joined: Feb 2017
Posts: 1,498
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,498
Chicago
It’s nothing more than an array of T6 structs, sorted from newest (position 0) to oldest (position N-1).

Struct alignment can be 4 or 1.

Re: Loading .t6 history in C++ [Re: MegaTanker] #486345
08/03/22 19:52
08/03/22 19:52
Joined: Aug 2021
Posts: 98
M
MegaTanker Offline OP
Junior Member
MegaTanker  Offline OP
Junior Member
M

Joined: Aug 2021
Posts: 98
Got it, will try that, thanks.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1