fts .dat files

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
akira99
Posts: 13
Joined: Fri May 07, 2021 1:29 pm

fts .dat files

Post by akira99 »

hello esce someone could with this file ; this is the database file of first touch soccer 2015 https://mega.nz/file/xWZUyRaZ#tufsxQz3S ... ikUV34vrNE
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: fts .dat files

Post by aluigi »

The file is just compressed with zlib, the offzip tool can decompress it easily.

The format of the database seems quite simple with unicode names followed by data.
I'm sure someone else may help you in dumping these information.

The following is the beginning of the file if someone is interested in the format:

Code: Select all

  02 08 00 00 04 00 00 00 34 34 00 00 00 00 00 00   ........44......
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  41 00 6c 00 6d 00 75 00 6e 00 69 00 61 00 00 00   A.l.m.u.n.i.a...
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  00 00 02 00 02 00 01 02 00 c0 55 00 0b 00 01 49   ..........U....I
  49 51 4b 4c 40 37 36 38 46 52 3d 3e 45 00 01 00   IQKL@768FR=>E...
  13 00 00 00 05 00 00 00 b9 07 00 00 01 00 00 00   ................
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  46 00 61 00 62 00 69 00 61 00 6e 00 73 00 6b 00   F.a.b.i.a.n.s.k.
  69 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   i...............
  00 00 02 1a 03 00 0a 00 00 be 50 00 0b 00 01 4e   ..........P....N
  48 50 40 47 48 40 48 3b 4f 47 4d 49 46 00 00 00   HP@GH@H;OGMIF...
  12 00 00 00 04 00 00 00 c1 07 00 00 02 00 00 00   ................
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  43 00 6c 00 69 00 63 00 68 00 79 00 00 00 00 00   C.l.i.c.h.y.....
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  00 00 00 0a 01 00 05 07 01 b0 46 01 01 ff 00 55   ..........F....U
  4c 4d 4d 4c 4b 4c 46 48 4e 4b 0e 08 0a 00 00 00   LMMLKLFHNK......
  1a 00 00 00 07 00 00 00 c1 07 00 00 03 00 00 00   ................
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  53 00 69 00 6c 00 76 00 65 00 73 00 74 00 72 00   S.i.l.v.e.s.t.r.
  65 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   e...............
  00 00 02 0a 01 00 00 00 01 b6 52 01 0b ff 00 4e   ..........R....N
  49 46 5a 4f 34 36 2d 27 41 4d 12 12 13 00 00 00   IFZO46-'AM......
  01 00 00 00 01 00 00 00 6c 07 00 00 04 00 00 00   ........l.......
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  53 00 61 00 67 00 6e 00 61 00 00 00 00 00 00 00   S.a.g.n.a.......
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  00 00 01 0a 04 00 0f 00 04 b0 48 02 0b ff 01 51   ..........H....Q
  50 4c 4e 4e 4e 48 4c 45 4f 4b 0d 0e 0e 00 00 00   PLNNNHLEOK......
  0e 00 00 00 02 00 00 00 bf 07 00 00 05 00 00 00   ................
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  56 00 65 00 72 00 6d 00 61 00 65 00 6c 00 65 00   V.e.r.m.a.e.l.e.
  6e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   n...............
  00 00 02 34 01 00 06 07 00 b4 4b 05 0b ff 00 4b   ...4......K....K
Skoczek
Posts: 37
Joined: Wed Aug 25, 2021 10:10 pm

Re: fts .dat files

Post by Skoczek »

akira99 wrote:hello esce someone could with this file ; this is the database file of first touch soccer 2015 https://mega.nz/file/xWZUyRaZ#tufsxQz3S ... ikUV34vrNE

I see you want to make FTS more moddable :)
akira99
Posts: 13
Joined: Fri May 07, 2021 1:29 pm

Re: fts .dat files

Post by akira99 »

yes
Skoczek
Posts: 37
Joined: Wed Aug 25, 2021 10:10 pm

Re: fts .dat files

Post by Skoczek »

aluigi wrote:The file is just compressed with zlib, the offzip tool can decompress it easily.

The format of the database seems quite simple with unicode names followed by data.
I'm sure someone else may help you in dumping these information.

The following is the beginning of the file if someone is interested in the format:

Code: Select all

  02 08 00 00 04 00 00 00 34 34 00 00 00 00 00 00   ........44......
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  41 00 6c 00 6d 00 75 00 6e 00 69 00 61 00 00 00   A.l.m.u.n.i.a...
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  00 00 02 00 02 00 01 02 00 c0 55 00 0b 00 01 49   ..........U....I
  49 51 4b 4c 40 37 36 38 46 52 3d 3e 45 00 01 00   IQKL@768FR=>E...
  13 00 00 00 05 00 00 00 b9 07 00 00 01 00 00 00   ................
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  46 00 61 00 62 00 69 00 61 00 6e 00 73 00 6b 00   F.a.b.i.a.n.s.k.
  69 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   i...............
  00 00 02 1a 03 00 0a 00 00 be 50 00 0b 00 01 4e   ..........P....N
  48 50 40 47 48 40 48 3b 4f 47 4d 49 46 00 00 00   HP@GH@H;OGMIF...
  12 00 00 00 04 00 00 00 c1 07 00 00 02 00 00 00   ................
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  43 00 6c 00 69 00 63 00 68 00 79 00 00 00 00 00   C.l.i.c.h.y.....
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  00 00 00 0a 01 00 05 07 01 b0 46 01 01 ff 00 55   ..........F....U
  4c 4d 4d 4c 4b 4c 46 48 4e 4b 0e 08 0a 00 00 00   LMMLKLFHNK......
  1a 00 00 00 07 00 00 00 c1 07 00 00 03 00 00 00   ................
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  53 00 69 00 6c 00 76 00 65 00 73 00 74 00 72 00   S.i.l.v.e.s.t.r.
  65 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   e...............
  00 00 02 0a 01 00 00 00 01 b6 52 01 0b ff 00 4e   ..........R....N
  49 46 5a 4f 34 36 2d 27 41 4d 12 12 13 00 00 00   IFZO46-'AM......
  01 00 00 00 01 00 00 00 6c 07 00 00 04 00 00 00   ........l.......
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  53 00 61 00 67 00 6e 00 61 00 00 00 00 00 00 00   S.a.g.n.a.......
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  00 00 01 0a 04 00 0f 00 04 b0 48 02 0b ff 01 51   ..........H....Q
  50 4c 4e 4e 4e 48 4c 45 4f 4b 0d 0e 0e 00 00 00   PLNNNHLEOK......
  0e 00 00 00 02 00 00 00 bf 07 00 00 05 00 00 00   ................
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  56 00 65 00 72 00 6d 00 61 00 65 00 6c 00 65 00   V.e.r.m.a.e.l.e.
  6e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   n...............
  00 00 02 34 01 00 06 07 00 b4 4b 05 0b ff 00 4b   ...4......K....K


Do you know how to compress it back?