Skip to content

Support for XCOM2 War of the Chosen #30

@obi0ne

Description

@obi0ne

Hi,

Found out your awsome work, thank you for that.
I've been pooking around the binary in attempt to support XCOM2: Wa of the Chosen save data as well.

Figures, i'll share what I have, would appreciate if you guys could share more knowledge on how you've obtain the knowledge, and hoping togther we can support new format.
And i'll up Pull Request with required changes.

Heres what's i've come by from what i've seen, regarding header info:

  1. 4B : file version, for war of chosen it's 0x16 0x00 0x00 0x00
  2. 4B : not sure, might be uncompressed size (different saved files had different values, eg. 3E 02 00 00)
  3. 4B: unknown
  4. 4B : unknown, seems always be 00 00 00 00
  5. 4B: suspecting it to be game number
  6. 4B: suspecting it to be save number
  7. xcom_str: save description (with futurestic date)
  8. xcom_str: time
  9. xcom_str: map_command
  10. 4B: suspecting it to be "tactical_save" (1 - tactical, 0 - Geo)
  11. 4B: unknown ?
  12. 4B (bool) : Auto Save ?
  13. 4B: unknwon, seems 00 00 00 00 on my save games
  14. xcom_str: language ("INT" for my case)
  15. 16B: unknown ?
  16. xcom_str: looks like some description ("UILibrary_MissionImages.Missions_Strategy_Generic", not sure what it's representing...)
  17. xcom_str: again looks like description: "AUTOSAVE: Campgain 1, Mission 3" in my case, except it has no "game futuristic date" inside it (unlike field 7)
  18. 4B: number of xcom_str ahead, has the number 5 on my end, and i have 5 xcom_strings
  19. arr of xcom_str: sequence of xcom_str based on previous number, contains list of DLCs
  20. 4B: number of XCOM installed PACKS
  21. arr of xcom_str: sequence of xcom_str based on previous number, contains list of PACKs
  22. 4B: unnown ? (contains 3 on my save)
  23. 4B: unknown ? contains 1, possible some boolean ?
  24. 8B : unknwon contains zeros on my side.
    25): xcom_str : unknown ? has "NeutralizeFieldCommander" on my side. maybe invetory llisting ?

Any owner can shed light on how he obtained the other knowledge, i might help with this one...

cheers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions