Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Sat Apr 20, 2024 11:11 am
All times are UTC + 0
Portable YR - woldata.key makes problems
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [5 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
GMBigB
Vehicle Drone


Joined: 09 Feb 2011
Location: Hamburg, Germany

PostPosted: Sat Apr 30, 2011 1:07 am    Post subject:  Portable YR - woldata.key makes problems Reply with quote  Mark this post and the followings unread

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. Smile

Cheers!

Back to top
View user's profile Send private message
Tay
Civilian


Joined: 02 Apr 2011

PostPosted: Sun May 01, 2011 6:28 pm    Post subject: Re: Portable YR - woldata.key makes problems Reply with quote  Mark this post and the followings unread

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. Wink Surprised Very Happy Shocked #Mad Rolling Eyes

Back to top
View user's profile Send private message
GMBigB
Vehicle Drone


Joined: 09 Feb 2011
Location: Hamburg, Germany

PostPosted: Sat May 07, 2011 12:10 am    Post subject: Reply with quote  Mark this post and the followings unread

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.

Back to top
View user's profile Send private message
Olaf van der Spek
Medic


Joined: 28 Dec 2002

PostPosted: Fri Nov 16, 2012 11:43 pm    Post subject: Re: Portable YR - woldata.key makes problems Reply with quote  Mark this post and the followings unread

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. Smile

Cheers!

Register your serial at http://xwis.net/game-account/?create-nick;red-alert-2
Then you can forget about the registry and woldata.key.

Back to top
View user's profile Send private message
darkscrypt
Civilian


Joined: 05 Dec 2012

PostPosted: Wed Dec 05, 2012 5:45 pm    Post subject: Re: Portable YR - woldata.key makes problems Reply with quote  Mark this post and the followings unread

Olaf van der Spek wrote:

Register your serial at http://xwis.net/game-account/?create-nick;red-alert-2
Then you can forget about the registry and woldata.key.


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.

Any suggestions in what to do?

Thanks for the help.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
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


Powered by phpBB © phpBB Group

[ Time: 0.1415s ][ Queries: 11 (0.0072s) ][ Debug on ]