Angry Birds: Transformers/GO *.DAT

Reading, editing and everything related to the files created by games to contain savegames and configurations
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Angry Birds: Transformers/GO *.DAT

Post by LolHacksRule »

I want to view Angry Birds GO and Transformers save data files outside the game, but the files are encrypted in some way, the header isn't always the same and constantly changes when the game writes or reads to them. I'm guessing they are encrypted with XXTEA as I found a ton of mentions of XXTEA multiple times in the game libraries when mentioning save data, any advice on finding the encryption key or will someone do so? If so thanks so much. I also have a dump of lots of memory addresses if that helps... https://pastebin.com/n7m5Rxkb
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Angry Birds: Transformers/GO *.DAT

Post by LolHacksRule »

I tried to make the game debuggable on ABGO v1 but it crashes when I try, other versions are fine but I cannot get anywhere with debugging it... Oh yeah, I'm on Android BTW.
ssh
Posts: 33
Joined: Sun Aug 17, 2014 5:50 pm

Re: Angry Birds: Transformers/GO *.DAT

Post by ssh »

Angry Birds Go! and Transformers Tools.
Converts files back and forth:
save.dat <-> .xml
XOX2 <-> .xml
AnalyticsSave.xds <-> .json
encrypts and decrypts json files

Use command-line options quickbms.exe -o -C <script.BMS> <input_archive/folder> [output_folder] if you don't want to confirm permission every time.
Angry_Birds_GO_Transformers_v1.1.bms
Last edited by ssh on Fri Dec 27, 2019 5:35 am, edited 3 times in total.
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Angry Birds: Transformers/GO *.DAT

Post by LolHacksRule »

Holy crap dude, thank you so much! I already almost know the XOXx format, viewtopic.php?f=9&t=9042&p=41337
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Angry Birds: Transformers/GO *.DAT

Post by LolHacksRule »

Doesn't work for this V1 savegame (ABGO).

Code: Select all

Error: the requested amount of bytes to allocate is negative (0xe7011508)

Last script line before the error or that produced the error:
  18  clog MEMORY_FILE10 0x2C ZSIZE SIZE 0 XSIZE
 
ssh
Posts: 33
Joined: Sun Aug 17, 2014 5:50 pm

Re: Angry Birds: Transformers/GO *.DAT

Post by ssh »

Last edited by ssh on Sat Dec 28, 2019 7:12 pm, edited 1 time in total.
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Angry Birds: Transformers/GO *.DAT

Post by LolHacksRule »

Thank you, now I can see ABGO savedata from V1.
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Angry Birds: Transformers/GO *.DAT

Post by LolHacksRule »

For Angry Birds: Transformers, "Experience" internally refers to Pigs and "Prestige" refers to Plasma similarly.
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Angry Birds: Transformers/GO *.DAT

Post by LolHacksRule »

The script works fine on all my savegame DATs for Angry Birds: Transformers, however fails to rip JSON data from the file below one of my savegames for ABT. UPDATE: Ignore map.xml, I deserialized it fine, I must've misplaced my manual deserialized version in the original XML directory. This script also decrypts deviceconfig JSONs/TXTs too from ABGO from random testing, Rovio got lazy and likely used the same encryption key and compression (https://www.zenhax.com/viewtopic.php?f=9&t=9048 is where I started to ask).
ssh
Posts: 33
Joined: Sun Aug 17, 2014 5:50 pm

Re: Angry Birds: Transformers/GO *.DAT

Post by ssh »

@LolHacksRule
Remove the .txt extension or add new condition in the script. Initially, script was separate for each file (save_guest.dat, AnalyticsSave.xds, .json files in the deviceconfigs folder and .xml files with XOX2 header) I just combined them into one.
eligo.xml is also a json format just with .xml extension for some reason, and encryption key for save and .json file is different.
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Angry Birds: Transformers/GO *.DAT

Post by LolHacksRule »

Oh ok
Shanishki
Posts: 2
Joined: Sun May 22, 2022 6:34 pm

Re: Angry Birds: Transformers/GO *.DAT

Post by Shanishki »

Angry birds GO v1.12
Angry_Birds_GO_Transformers_v1.1.bms - Does not work
Does not pack the save_guest.dat file correctly. (the Encrypt function in the script does not work correctly)
gamelandresearch
Posts: 13
Joined: Sun Feb 09, 2020 11:35 am

Re: Angry Birds: Transformers/GO *.DAT

Post by gamelandresearch »

Shanishki wrote:Angry birds GO v1.12
Angry_Birds_GO_Transformers_v1.1.bms - Does not work
Does not pack the save_guest.dat file correctly. (the Encrypt function in the script does not work correctly)
Use 0.10.1 to pack save_guest.dat, newer version will corrupt your save and game will stay unresponsive.
Newer version is bugged for this script.