YGO

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Elfoman
Posts: 2
Joined: Sun Sep 24, 2017 10:39 am

YGO

Post by Elfoman »

Hello, can someone help me with a YGO file?
Last edited by Elfoman on Mon Jul 05, 2021 4:59 pm, edited 2 times in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Yu-Gi-Oh! Duel Links

Post by aluigi »

UltimateKuriboh
Posts: 16
Joined: Mon Oct 09, 2017 11:13 pm

Re: Yu-Gi-Oh! Duel Links

Post by UltimateKuriboh »

Regarding YGO Duel Links:

I've been using Charles Web Debugging Proxy to record AI opponent Decklists from intercepted data, but recently (as of February 26 it seems), it seems there may have been an update that compresses the data, giving me text like this: https://imgur.com/a/Jhrm1CE (the images are meant to be read side-by-side, with the 1st image on the left, 2nd image in the middle, 3rd image on the right). I assume it's the fault of Duel Links, and not Charles, since I have never updated Charles since I've started using it.

I'm unable to copy/paste the whole text because of the corruption/compression, so here is a sample of the raw hex: https://pastebin.com/HHPkd2wm

  1. The first section in the pastebin includes the offset column
  2. the second section omits the offset column
  3. the third section is a different sample of 'uncorrupted' text that Charles used to produce for these Duels (so the 'corrupted' text, if fixed, should have a format very similar to this 3rd section). As a side note, sometimes each of the values in the "CardIDs" section have quotation marks around them, if that helps.

tl;dr is it possible to decode the raw hex into something that's completely legible? If you can help solve this, thank you very much.

P.S. If the solution requires that I do an extra step(s) by myself, that's also fine by me, so long as I'm told how to do the steps :? . Whatever works.
Last edited by UltimateKuriboh on Wed Mar 06, 2019 4:55 pm, edited 1 time in total.
UltimateKuriboh
Posts: 16
Joined: Mon Oct 09, 2017 11:13 pm

Re: Yu-Gi-Oh! Duel Links

Post by UltimateKuriboh »

I've been informed that the 'corrupted' text may be the result of lz4 compression, g-zip compression, or "compression and some binary JSON format"? Also that by looking at it in a hex editor, I can see that "literals are preceded by 0xAx where x is the length of the literal".

I'm not sure how to apply this towards a solution though...

Aluigi, if you can't solve this (or are too busy currently), I'd still appreciate a reply telling me in this thread, or a PM if you feel like it. Thanks again.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Yu-Gi-Oh! Duel Links

Post by aluigi »

Please upload the original archive for analysis.
Elfoman
Posts: 2
Joined: Sun Sep 24, 2017 10:39 am

Re: Yu-Gi-Oh! Duel Links

Post by Elfoman »

The files were updated and the previous bms no longer works. Can someone check the new files and update the bms?
Last edited by Elfoman on Thu Apr 29, 2021 9:27 am, edited 1 time in total.
Ashura809
Posts: 4
Joined: Thu Sep 12, 2019 4:08 pm

Re: Yu-Gi-Oh! Duel Links

Post by Ashura809 »

Elfoman wrote:The files were updated and the previous bms no longer works. Can someone check the new files and update the bms?

Image


Having the same issue, hope someone can help