Captain Tsubasa ftx text help (PS2)

Need help translating games in other languages? Have your language problems solved here.
Post Reply
User avatar
Scorpion2k7
ultra-n00b
Posts: 8
Joined: Thu Jan 17, 2013 5:39 pm
Location: Italy
Has thanked: 4 times
Been thanked: 1 time

Captain Tsubasa ftx text help (PS2)

Post by Scorpion2k7 » Tue Dec 15, 2015 7:27 pm

Who can make coder/decoder or info for this text file?
You do not have the required permissions to view the files attached to this post.

WRS
ultra-veteran
ultra-veteran
Posts: 601
Joined: Fri Nov 06, 2009 12:13 am
Has thanked: 74 times
Been thanked: 134 times

Re: Captain Tsubasa ftx text help (PS2)

Post by WRS » Fri Dec 18, 2015 6:47 pm

interesting encoding.

xor key (?) seems to swap after so many bytes:
Ended 0x1c, total = 18 Swapped to 0x1d @ 567
Ended 0x1d, total = 17 Swapped to 0x1e @ 1593
Ended 0x1e, total = 13 Swapped to 0x1f @ 2123
Ended 0x1f, total = 24 Swapped to 0x20 @ 3141
Ended 0x20, total = 21 Swapped to 0x21 @ 4159
Ended 0x21, total = 24 Swapped to 0x22 @ 5187
Ended 0x22, total = 8 Swapped to 0x23 @ 5697
Ended 0x23, total = 18 Swapped to 0x24 @ 6715
Ended 0x24, total = 9 Swapped to 0x25 @ 7235
not sure how yet. also initial key is based from the original filename.



messy wip:

Code: Select all

int i = 0;
byte b = 0x1c;

int off = 0x30;
int cnt = 0;

byte r;

i = 1;
while( i < 64 )
{
  r = (byte)(ReadByte(off + i) & 0xFF);

  if( r == b )
  {
    ++cnt;
    i += 2;
  }
  else if( r == 0 )
  {
    off += 64;
    i = 1;
  }
  else
  {
    Printf("Ended 0x%02x, total = %u  ",b&0xFF, cnt );

    // keys increment by 1
    if( r-b != 1 ) Assert(false);

    b = r;

    Printf("Swapped to 0x%02x @ %u\n", b&0xFF, (off + i));

    off += 64;
    i = 1;
    cnt = 0;
  }

    if( off > 0x2000 )
      Assert(false);
}

Useful tool links:

Post Reply