Decompiling ABC Basic binary strings

Talk about everything related to general reverse engineering of computer games!

Moderator: Kroah

Decompiling ABC Basic binary strings

Postby pwiecz » 19 Sep 2018, 22:29

Hi,
I am toying with Kroah's ABC Decompiler and "Crusade in Europe".
I've noticed that it does not seem to correctly decompile string literals containing characters with codes >= 128.
I've managed to find a string which original content I could infer from the code.
But In the decompiled string before each character>=128 there is a char 0xc2 inserted.
Looking in other binary strings I can see that both 0xc2 and 0xc3 chars seem show up there.

Still, I cannot figure if it's safe to remove them, and what's the difference between 0xc2 and 0xc3 or if there may be other special values we should handle.
Have you what kind of string encoding is it?

Thanks,
Piotr
pwiecz
 
Posts: 2
Joined: 19 Sep 2018, 21:53

Re: Decompiling ABC Basic binary strings

Postby pwiecz » 26 Sep 2018, 20:39

Silly me.
That's just C# encoding of such strings as it's probably trying to make them valid utf-8.
pwiecz
 
Posts: 2
Joined: 19 Sep 2018, 21:53


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 29 guests

cron