Page 1 of 1

Yu-Gi-Oh! Legacy of the Duelist - Buy All Cards

Posted: Mon Oct 03, 2022 12:54 am
by DKing
The script unlock all cards in card shop.

Enable the script, then go to card shop and buy once. It should unlock most of the cards.

If any cards are missing, try once more.


In case the script did not match your binary, and script does not work, here's how to find the code by yourself:

1. Find what function(fn1) writes the money address.
2. You can see by xref (IDA) that fn1 should have 2 callers. The caller with a much larger body is the function(fn2) we are modifying.
3. fn2 decreses money first, then goes through 2 loops, finnaly update card status to a byte array (length approx. 0x1D9D).
First loop has range <7, the second loop has range <1, they are the two kinds of cards randomized. Multiply them like 1000 or 127.
Finnaly set all array elements to 0x0B.

That is what the script does to unlock all cards.

Re: Yu-Gi-Oh! Legacy of the Duelist - Buy All Cards

Posted: Mon Oct 03, 2022 12:55 am
by DKing
btw this is an old game, so I was using a cracked version.

Not guaranteed to work on your distribution.