Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Radiation Island .str file
-
- advanced
- Posts: 47
- Joined: Sat Aug 09, 2014 10:44 pm
Radiation Island .str file
Anyone can help me, please ? Thanks
You do not have the required permissions to view the files attached to this post.
-
- advanced
- Posts: 47
- Joined: Sat Aug 09, 2014 10:44 pm
-
- ultra-veteran
- Posts: 603
- Joined: Fri Nov 06, 2009 12:13 am
- Has thanked: 74 times
- Been thanked: 137 times
Re: Radiation Island .str file
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());
Useful tool links:
-
- advanced
- Posts: 47
- Joined: Sat Aug 09, 2014 10:44 pm
Re: Radiation Island .str file
Thanks so much. But do you think this file is encrypted ???WRS wrote:resulting strings do not look english!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());
-
- advanced
- Posts: 47
- Joined: Sat Aug 09, 2014 10:44 pm
-
- advanced
- Posts: 47
- Joined: Sat Aug 09, 2014 10:44 pm
-
- ultra-veteran
- Posts: 603
- Joined: Fri Nov 06, 2009 12:13 am
- Has thanked: 74 times
- Been thanked: 137 times
Re: Radiation Island .str file
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());
Useful tool links: