12-29-2019, 04:21 PM
First, please read my post in the other LE-CODE thread before using this: https://mkwii.com/showthread.php?tid=137...22#pid3722
Second, you cannot just loop backwards over a GCT until you find the 00d0c0de magic, because while that marks the start of a GCT file, it could just as well appear in the middle of a C0 or C2 code, for example. This code would then probably (I didn't test it) not find the beginning of the GCT, but the middle of the GCT.
Second, you cannot just loop backwards over a GCT until you find the 00d0c0de magic, because while that marks the start of a GCT file, it could just as well appear in the middle of a C0 or C2 code, for example. This code would then probably (I didn't test it) not find the beginning of the GCT, but the middle of the GCT.