Page 1 of 1

Radiation Island .str file

Posted: Tue Apr 12, 2016 3:53 pm
by hackspeedok
Anyone can help me, please ? Thanks

Re: Radiation Island .str file

Posted: Thu Apr 14, 2016 5:59 am
by hackspeedok
anyone can help me ? Thanks :)

Re: Radiation Island .str file

Posted: Thu Apr 14, 2016 11:35 pm
by WRS

Code: Select all

//--------------------------------------
//--- 010 Editor v5.0 Binary Template
//
// File:     strings_EN.str
// Author:   wrs
// Revision: 1
// Purpose:  read entire file
//--------------------------------------
uchar hdr[6];
ushort num;

uint vals[num +1];

struct str(int len)
{
  wchar_t xor_str[len];
  // xored by 0x63?
};

local int i=0;

while(i<num)
{
  str String(vals[i+1]-vals[i]);
 ++i;
}

Assert(FTell() == FileSize());

resulting strings do not look english!

Re: Radiation Island .str file

Posted: Fri Apr 15, 2016 4:29 am
by hackspeedok
WRS wrote:

Code: Select all

//--------------------------------------
//--- 010 Editor v5.0 Binary Template
//
// File:     strings_EN.str
// Author:   wrs
// Revision: 1
// Purpose:  read entire file
//--------------------------------------
uchar hdr[6];
ushort num;

uint vals[num +1];

struct str(int len)
{
  wchar_t xor_str[len];
  // xored by 0x63?
};

local int i=0;

while(i<num)
{
  str String(vals[i+1]-vals[i]);
 ++i;
}

Assert(FTell() == FileSize());

resulting strings do not look english!
Thanks so much. But do you think this file is encrypted ???

Re: Radiation Island .str file

Posted: Thu Apr 21, 2016 6:04 am
by hackspeedok
anyone can help ? Thanks

Re: Radiation Island .str file

Posted: Sat Apr 30, 2016 9:57 am
by hackspeedok
please give me a help

Re: Radiation Island .str file

Posted: Tue May 03, 2016 10:16 pm
by WRS
sorry no idea how to decode those strings

Code: Select all

//--------------------------------------
//--- 010 Editor v5.0 Binary Template
//
// File:     strings_EN.str
// Author:   wrs
// Revision: 1
// Purpose:  read entire file
//--------------------------------------
uchar hdr[6];
ushort num;

uint vals[num +1];


struct xorstr(int len)
{
  wchar_t xor_str[len];
  local int str_len = len;
};

typedef xorstr xstr <read=GetXorString>;

string GetXorString(xstr &t)
{
  wstring res = L"";

  local int l=0;
  while(l < t.str_len) {
    res += (wchar_t)(((uint)t.xor_str[l]) ^ 0x6363); ++l;
  }
  
  return WStringToString(res, CHARSET_ANSI );
}

local int i=0;

while(i<num)
{
  xstr String(vals[i+1]-vals[i]);
++i;
}

Assert(FTell() == FileSize());