Skip to content

Decrypt TFO data #11

Open
Open

Description

@taskinoz

The only I can seem to get out of the TFO packs from p0358 are the sounds. The rest of the files like vmts, html, js, and mdl files all seem like they are still encrypted or are garbled

Activity

  1. changed the title [-]Cannot read extracted TFO Data [/-] [+]Decrypt TFO data[/+] on Aug 20, 2020
  2. taskinoz commented on Aug 24, 2020

    @taskinoz
    Author

    Since the game is based on Titanfall 1 I can give you a sample of unencrypted and encrypted files from Titanfall Online
    Titanfall Online
    Ttianfall 1

  3. Droads2 commented on Sep 6, 2020

    @Droads2

    Same problem with decompiling models, look like they encrypted too
    Try with Crowbar 0.68
    Here is sample of tf1 and tfo model
    https://mega.nz/file/z4sVADBZ#_038i8iKnNcnns59o1ltNTzmET0YlhSz4xNO47ftU3A

  4. p0358 commented on Dec 30, 2020

    @p0358

    My guess is that they might be compressed, and that can cause some issues here. I suppose original CSO2 didn't have compression, but Respawn introduced compression originally in Titanfall in their customed VPK format, with lzham. Some files that are obviously already compressed are normally excluded from that.
    For instance original Titanfall had uncompressed wav audio. Whereas here in TFO, UnCSO2 is able to unpack sound ogg files just fine.
    So that could be the case. But it also means that TFO devs forgot to exclude some extensions from this, like webm and png. Uncompressed ones include: ogg. vtf, bik.
    Edit: Looks like I was wrong, and nothing is compressed. Just that some files are stored unencrypted. But UnCSO2 shows all files in the properties as unencrypted.

  5. tetTris11 commented on Feb 2, 2021

    @tetTris11

    A user by the name of jnkangel on Reddit showed a picture of the Destroyer Titan model in Source FilmMaker. I asked them about it too which they replied that someone has figured out decrypting TFO's model format. I didn't ask anything on the specifics but it would seem some work is happening, could be worth following up on?

  6. obronca commented on Jun 5, 2021

    @obronca

    sorry for bringing out the old case, but is there any progress in this ??

  7. taskinoz commented on Jun 7, 2021

    @taskinoz
    Author

    Yes and no, UnCSO2 can't fully decrypt TFO content but progress has been made elsewhere to dump the game assets

  8. UnforeseenOcean commented on Mar 27, 2022

    @UnforeseenOcean

    I apologize for commenting on a very old issue.
    I've tried this with the latest copy of TFO I could find (yeah, I had to torrent it), and basically the program gets stuck parsing the files, and all the files are garbled (even the text files are garbage data)
    Has any progress been made?

    Here are two example text files that are garbled:
    intro_captions.txt
    datarevision.txt

  9. p0358 commented on Mar 27, 2022

    @p0358

    There is a fork of libuncso2 that allows reading TFO files correctly (most of the time at least): https://github.com/p0358/libuncso2

    Since the artifacts in AppVeyor expired, I can link you the compiled libuncso2.dll file that's possible to replace in the latest UnCSO2 release from this repo (2.0.7): https://titanfall.top/libuncso2.dll

  10. UnforeseenOcean commented on Mar 27, 2022

    @UnforeseenOcean

    Thank you! I will give it a try.

  11. UnforeseenOcean commented on Mar 28, 2022

    @UnforeseenOcean

    Update: Apart from one file (\platform\shaders\fxc\vertexlit_and_unlit_generic_ps50.vcs) everything seems to be unpacking correctly. This one is identified as 3.51GB file.

  12. p0358 commented on Jun 30, 2022

    @p0358

    Everything is weird about that file tbh, I'm not sure what's going on with it, I tried looking back then but fruitlessly

  13. p0358 commented on Jan 9, 2025

    @p0358

    The above should now be fully fixed in our forked UnCSO2 at: https://github.com/harmonytf/UnCSO2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions