Posted: Sat Apr 30, 2011 1:07 am Post subject:
Portable YR - woldata.key makes problems
Hello!
This is not exactly a modding issue, but I maybe someone knows a few details about woldata.key. I am currently working on a portable version of YR. I am tired of installing it again and again after I crippled the installation during modding.
My question: is woldata.key hardware bound? Or is it just based on the serial?
I was hoping to create an application which makes all registry settings after one entered a valid serial, runs YR and clears the registry afterwards. But due to woldata.key this does not seem to be possible, because I don't know (probably no one does) how it is build.
This is not a hacking issue... Addicted to RA2 and YR, I have a bunch of legal serials. But I feel I ran a million times through the installation and I can't see those videos anymore.
Posted: Sun May 01, 2011 6:28 pm Post subject:
Re: Portable YR - woldata.key makes problems
sup,
Quote:
My question: is woldata.key hardware bound? Or is it just based on the serial?
It certainly is not based on the serial. AFAIK it also has no relevance for anything else than unwinding the serial from the registry, so it most probably is just somewhat random stuff.
Quote:
But due to woldata.key this does not seem to be possible, because I don't know (probably no one does) how it is build.
This is Olaf's code for obtaining the serial, given the serial from the registry.
Code:
for (size_t i = 0, j = 0; i < s.size(); i++, j++)
{
if (j == serial.length())
j = 0;
serial[j] = (serial[j] - s.data()[i] + 262) % 10 + '0';
}
Where "serial" a string with the length of 22 characters and "s" the wolinfo.key file as byte vector. For the other way around just swap the 262 against 2.
BTW, wolinfo.key doesn't even have to be present. QUICK_EDIT
Thanks for your answer. With the help of Olafs codes and woldata.key its possible to get the serial from the registry entry (or create the registry entry from the serial).
And you are right. Woldata.key seems to be random. If I install the game with the same serial on one computer several times, the woldata.key is always different. I will try to create it randomly and see if multiplayer games still work. This would be great, because then you will just need a valid serial. QUICK_EDIT
Posted: Fri Nov 16, 2012 11:43 pm Post subject:
Re: Portable YR - woldata.key makes problems
GMBigB wrote:
I am tired of installing it again and again after I crippled the installation during modding.
What about zipping the game dir after install? Then you can unzip to restore.
Quote:
This is not a hacking issue... Addicted to RA2 and YR, I have a bunch of legal serials. But I feel I ran a million times through the installation and I can't see those videos anymore.
What about playing over network. I'd like to be able to play offline, but without this woldata and registry key, it doesn't seem to work. Every time I try to play a friend over network (using the winsock32.dll patch) we get the same serial error.
I downloaded and installed the game after purchasing a license from xwis, and ran it with the xwis yr multiplayer installer, but have been unsuccessful in using that version of ra2 to LAN.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum