things I miss in wine

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Jochen

things I miss in wine

Post by Jochen »

Hi there,

there are many issues in wine and you can work around most of them
somehow but there are few that you can not bypass.

Copy Protection:

wine seems to support a few copy protection systems, but not all. No of
course you could say that a nocd crack should be used to work around
that issue, but what if there is none available? Many games are done for
different countries in different versions. It is quite possible that a
English crack won't work with a Spain, Greek, German,... version. Not to
forget that such a crack is illegal in most countries already. What wold
have to be done to get *all* copy protection system working? Starforce
for example. Well or fool them enough to satisfy them would be good
enough for me ;)

Multiprocessor abilities:

True, that is a recent development. But to say hat games won't use it or
that there won't be windows software out there that can't use multiple
processor sound a bit ignorant to me.. that's because I know that it is
not true. At last for the games sector, there are a growing number of
games that are able to use more than one CPU. All unreal3 based games
for example will have multi CPU support. Are there plans for wine to
change it to let it use more than just one CPU?

bye
Elfe
Level 1
Level 1
Posts: 5
Joined: Thu May 08, 2008 3:57 pm

Post by Elfe »

for multi core/cpu support just a quick quote from the distributed.net client
[Jun 03 18:34:18 UTC] Automatic processor type detection found an Intel Core 2 processor.
[Jun 03 18:34:18 UTC] OGR-P2: using core #3 (GARSP 6.0-asm-rt1-mmx).
[Jun 03 18:34:18 UTC] OGR-P2 #a: Loaded 25/4-1-69-9-7
[Jun 03 18:34:18 UTC] OGR-P2 #b: Loaded 25/4-1-69-9-13
2 processes running at 100% each
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: things I miss in wine

Post by vitamin »

Jochen wrote:Hi there,

there are many issues in wine and you can work around most of them
somehow but there are few that you can not bypass.

Copy Protection:

wine seems to support a few copy protection systems, but not all. No of
course you could say that a nocd crack should be used to work around
that issue, but what if there is none available? Many games are done for
different countries in different versions. It is quite possible that a
English crack won't work with a Spain, Greek, German,... version. Not to
forget that such a crack is illegal in most countries already. What wold
have to be done to get *all* copy protection system working? Starforce
for example. Well or fool them enough to satisfy them would be good
enough for me ;)
To rename Wine into Windows XP and install later. Seriously - this is impossible. Some copy protection systems check for bytecode entry of lots of functions. That means that Wine's code have to look _exactly_ the same as windows and be compiled with _exactly_ the same tool chain. Neither of this is possible.

Oh and btw most of those copy-protection thingies don't work on vista as-is. Especially the older ones.

For more information - google around for why one copy protection or the other doesn't work on Wine.
Jochen wrote:Multiprocessor abilities:

True, that is a recent development. But to say hat games won't use it or
that there won't be windows software out there that can't use multiple
processor sound a bit ignorant to me.. that's because I know that it is
not true. At last for the games sector, there are a growing number of
games that are able to use more than one CPU. All unreal3 based games
for example will have multi CPU support. Are there plans for wine to
change it to let it use more than just one CPU?
Wine does support multiple CPUs right now. There are limitations of course.

The biggest one - Xorg still does not support multi-threading and all attempts at just initializing X server connection for multithreading fails on multiple platforms. Until this is fixed - all visual output will be for single CPU only.

Also do not compare apples and oranges. When you see all CPUs loaded on windows for one particular game, that does not mean it's really that much faster then running all of the game on one CPU. Also some functions _will_ run faster when they are executing on one CPU only. Such as sound mixing.

So your view on Wine is wrong. Read up more stuff before making such wrong claims.
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

things I miss in wine

Post by austin987 »

On Tue, Jun 3, 2008 at 9:11 AM, Jochen <[email protected]> wrote:
Hi there,

there are many issues in wine and you can work around most of them somehow
but there are few that you can not bypass.

Copy Protection:

wine seems to support a few copy protection systems, but not all. No of
course you could say that a nocd crack should be used to work around that
issue, but what if there is none available? Many games are done for
different countries in different versions. It is quite possible that a
English crack won't work with a Spain, Greek, German,... version. Not to
forget that such a crack is illegal in most countries already. What wold
have to be done to get *all* copy protection system working? Starforce for
example. Well or fool them enough to satisfy them would be good enough for
me ;)
Not as easy as it sounds to support. Many depend on very low level
kernel drivers or hooks which will be very difficult to implement in
wine.
Multiprocessor abilities:

True, that is a recent development. But to say hat games won't use it or
that there won't be windows software out there that can't use multiple
processor sound a bit ignorant to me.. that's because I know that it is not
true. At last for the games sector, there are a growing number of games that
are able to use more than one CPU. All unreal3 based games for example will
have multi CPU support. Are there plans for wine to change it to let it use
more than just one CPU?
This should work. If not, file a bug for the app that doesn't work.
Jochen

things I miss in wine

Post by Jochen »

Elfe schrieb:
for multi core/cpu support just a quick quote from the distributed.net client
[Jun 03 18:34:18 UTC] Automatic processor type detection found an Intel Core 2 processor.
[Jun 03 18:34:18 UTC] OGR-P2: using core #3 (GARSP 6.0-asm-rt1-mmx).
[Jun 03 18:34:18 UTC] OGR-P2 #a: Loaded 25/4-1-69-9-7
[Jun 03 18:34:18 UTC] OGR-P2 #b: Loaded 25/4-1-69-9-13
2 processes running at 100% each
ok, I am sorry, seems I like I made something wrong here ;)

bye Jochen
Jochen

things I miss in wine

Post by Jochen »

vitamin schrieb:
Jochen wrote:
Hi there,

there are many issues in wine and you can work around most of them
somehow but there are few that you can not bypass.

Copy Protection:

wine seems to support a few copy protection systems, but not all.
No of course you could say that a nocd crack should be used to work
around that issue, but what if there is none available? Many games
are done for different countries in different versions. It is quite
possible that a English crack won't work with a Spain, Greek,
German,... version. Not to forget that such a crack is illegal in
most countries already. What wold have to be done to get *all* copy
protection system working? Starforce for example. Well or fool them
enough to satisfy them would be good enough for me ;)
To rename Wine into Windows XP and install later. Seriously - this is
impossible.
installing a normal windows is not an option of course ;) I would do it
in a virtula computer like virtualbox of vmware, but there I have the
graphics problem... and probably the multicore problem as well!
Some copy protection systems check for bytecode entry of
lots of functions. That means that Wine's code have to look _exactly_
the same as windows and be compiled with _exactly_ the same tool
chain. Neither of this is possible.
and it is not possible to fool them? Like for example in case of
starforce to install our own starforce driver? I don't really have an
idea about how this is working of course. But I see of course that gcc
and visual c are not producing the same code.
Oh and btw most of those copy-protection thingies don't work on vista
as-is. Especially the older ones.
currently I don' care much about vista... I used win2k before a long
time. I always tried to prevent a migration to XP and since vista I
replaced my normal windows box.
For more information - google around for why one copy protection or
the other doesn't work on Wine.
you mean like
http://appdb.winehq.org/objectManager.p ... n&iId=4565
well, most pages are not explaining very much, just saying that or this
game won't do because of copy protection

So what do I do if I have a game I want to get running on wine and it
uses an evil copy protection system? Trying to crack it by myself if
there is no such thing in the net? Or would there be some theoretical
way for wine that allows me to not to have to crack all these games?

bye Jochen
Jochen

things I miss in wine

Post by Jochen »

Jochen schrieb:
[...]

since I don't want to wait for my post to appear here.. I found
http://wiki.winehq.org/CopyProtection, which I totally forgot to look at ;)
Tlarhices
Level 4
Level 4
Posts: 101
Joined: Sun Mar 02, 2008 9:28 pm

Re: things I miss in wine

Post by Tlarhices »

Jochen wrote: and it is not possible to fool them? Like for example in case of
starforce to install our own starforce driver? I don't really have an
idea about how this is working of course. But I see of course that gcc
and visual c are not producing the same code.
Creating a system to fool the original copy protection is equivalent to create a universal crack in the fact that it is not letting the protection system do it's job correctly (or at all). So it can't be part of wine.
Jochen wrote: So what do I do if I have a game I want to get running on wine and it
uses an evil copy protection system? Trying to crack it by myself if
there is no such thing in the net? Or would there be some theoretical
way for wine that allows me to not to have to crack all these games?
You can complain to the creators of the product and/or the copy protection, don't expect to much from this thought as on the box it isn't written that it is compatible with wine.
oiaohm
Level 8
Level 8
Posts: 1020
Joined: Fri Feb 29, 2008 2:54 am

Post by oiaohm »

Lets be a little clear here.

We cannot do a fake starforce driver since that gets on the wrong side of DCMA. Its intentionally setting out to disable copy protection.

Now providing fake wrappers answering all the questions the starforce driver asks is permitted under compatibility grounds. This does not mean that the copy protection is working perfectly any more. Like it may no longer detect that you have a Linux based cheat since it is most likely not seeing the Linux side. This falls into the compatibility section of DCMA and is legal.

Applying cracks to the program as a temporary measure while working on getting the normal interface working is also still permitted.

Nothing says that the copy protection still has to be working right. Just that we did not intentionally set out to disable it.
Usurp
Level 4
Level 4
Posts: 161
Joined: Sat Apr 19, 2008 7:16 am

Post by Usurp »

oiaohm wrote:Lets be a little clear here.

We cannot do a fake starforce driver since that gets on the wrong side of DCMA. Its intentionally setting out to disable copy protection.

Now providing fake wrappers answering all the questions the starforce driver asks is permitted under compatibility grounds. This does not mean that the copy protection is working perfectly any more. Like it may no longer detect that you have a Linux based cheat since it is most likely not seeing the Linux side. This falls into the compatibility section of DCMA and is legal.

Applying cracks to the program as a temporary measure while working on getting the normal interface working is also still permitted.

Nothing says that the copy protection still has to be working right. Just that we did not intentionally set out to disable it.
hmm, couldnt you make people with illegal copies be able to run them ?
Tlarhices
Level 4
Level 4
Posts: 101
Joined: Sun Mar 02, 2008 9:28 pm

Post by Tlarhices »

oiaohm wrote:Lets be a little clear here.

We cannot do a fake starforce driver since that gets on the wrong side of DCMA. Its intentionally setting out to disable copy protection.

Now providing fake wrappers answering all the questions the starforce driver asks is permitted under compatibility grounds. This does not mean that the copy protection is working perfectly any more. Like it may no longer detect that you have a Linux based cheat since it is most likely not seeing the Linux side. This falls into the compatibility section of DCMA and is legal.

Applying cracks to the program as a temporary measure while working on getting the normal interface working is also still permitted.

Nothing says that the copy protection still has to be working right. Just that we did not intentionally set out to disable it.
To be more clear, this statement might be right in your country but not in others.

Applying cracks even in the sake of temporary compatibility can be seen has illegal by some countries as long as these cracks have not been officially made by the original product creator (and there are not much existing).

Providing wrappers in the aim to fake the copy protection is also not legal. If a copy protection system is faked by something that is not intended to have this result (partial implementations, bugs, api changes...) and the license is not restricting the use of the copy protection with this kind of systems is legal.

So from an worldwide legal vision, the use of cracks or anything made to fake a security device (may it be for compatibility) are illegal.
If a security system is faked accidentally in a use compelling with the license of the product and of the protection system, then I think no country can consider it as illegal.

So patching wine to have starforce say "OK, your disk is a real one" by faking the results is not legal because it will make illegal version works by actually bypassing the security tests and so bypassing the purpose of the security (aka. creating a universal crack for this protection system).

Creating (or trying to) create a 1:1 implementation of the software / driver / kernel layer used by starforce to detect a real cd and having some fake positives and some fake negatives due to errors *might* be seen as legal if it complies with the starforce license and the one of the product using it.
Jochen

things I miss in wine

Post by Jochen »

Tlarhices schrieb:
[...]
Providing wrappers in the aim to fake the copy protection is also not
legal. If a copy protection system is faked by something that is not
intended to have this result (partial implementations, bugs, api
changes...) and the license is not restricting the use of the copy
protection with this kind of systems is legal.
you speak about license, but most of them are invalid.
So from an worldwide legal vision, the use of cracks or anything made
to fake a security device (may it be for compatibility) are illegal.
If a security system is faked accidentally in a use compelling with
the license of the product and of the protection system, then I think
no country can consider it as illegal.
I wouldn't count on that.

[...]
Creating (or trying to) create a 1:1 implementation of the software /
driver / kernel layer used by starforce to detect a real cd and
having some fake positives and some fake negatives due to errors
*might* be seen as legal if it complies with the starforce license
and the one of the product using it.
have you an example of a product with a license forbidding this?


bye Jochen
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: things I miss in wine

Post by vitamin »

Jochen wrote:Tlarhices schrieb:
[...]
Providing wrappers in the aim to fake the copy protection is also not
legal. If a copy protection system is faked by something that is not
intended to have this result (partial implementations, bugs, api
changes...) and the license is not restricting the use of the copy
protection with this kind of systems is legal.
you speak about license, but most of them are invalid.
You want to try and challenge them in court? I'd like to see that instead of baseless claims.
Jochen wrote:
Creating (or trying to) create a 1:1 implementation of the software /
driver / kernel layer used by starforce to detect a real cd and
having some fake positives and some fake negatives due to errors
*might* be seen as legal if it complies with the starforce license
and the one of the product using it.
have you an example of a product with a license forbidding this?
You don't need any license examples here - just pick any copyright. Creating something that matches 1 to 1 to the original called copying. And that you can't do on any copyrighted material.

Besides you missed the part about DMCA which expressly prohibits *any* circumvention of security measures except for research work.
Lockywolf
Level 2
Level 2
Posts: 27
Joined: Mon Mar 03, 2008 9:22 am

Post by Lockywolf »

As soon as you bought the product - you can do everything you want with it. If you are not going to sell it of cause.

It is illegal to use copies that you have not bought. But no one can restrict you to modify your own property.

Example:

you have bought a washing machine - and "extended" it's maximum capacity.

of cause you lose the warranty. but that's all
Jochen

things I miss in wine

Post by Jochen »

vitamin schrieb:
[...]
Jochen wrote:
Creating (or trying to) create a 1:1 implementation of the
software / driver / kernel layer used by starforce to detect a
real cd and having some fake positives and some fake negatives
due to errors *might* be seen as legal if it complies with the
starforce license and the one of the product using it.
have you an example of a product with a license forbidding this?
You don't need any license examples here - just pick any copyright.
Creating something that matches 1 to 1 to the original called
copying. And that you can't do on any copyrighted material.
If I create something that matches the original 1 to 1 it is still not
necessarily a copy. Only when I use the original to create this new
"thing" it is a copy. And when I am doing a copy in terms of
reimplementing something that is already out there by not using the
source code, it usually ends up in not being the same. So if I did not
use the original and did not modify the original, then copyright isn't
the problem. At least I never heard of such a copyright anywhere on this
world. Of course that does not mean it is allowed. You could still have
patent problems or problems with the naming. But these two are not
copyright. I mean this whole project here would be against copyright if
you see it like this.
Besides you missed the part about DMCA which expressly prohibits
*any* circumvention of security measures except for research work.
That's maybe because I am not from the US and DMCA is not known in this
form here. Here it must be a "effective" security measure... DVD
protection is for example not seen as effective here. And I somehow
doubt that a protection system, that does not work is seen as effective.
But don't let us discuss this... let us talk about: what exactly is the
security measure?

I don't propose writing a general crack. For me it would be good enough
already if stupid copy protection systems like starforce could simply do
their work. Systems like these usually have two components if I am not
wrong. One part that is in the system, and one part that uses the system
part from inside the game. So, now why is it "circumvention of security
measures" if I replace a non working system part with a working one?

Someone said Starfroce won't work on vista too... well
http://www.star-force.com/support/users/group3.php I think many games
will work. But think about it... you are replacing a security system
here that is not from the same vendor as you got your game from. I mean
for DVD for example... I was allowed to write my own player and to play
protected DVDs I have to have a valid and legal key. There could have
been even a player for linux like systems, if there would have been a
license for a key. So why exactly is it not allowed to "fix" the
starforce driver for wine? I mean if it where as easy as rewriting the
starforce driver in the windows system, then we would already have a
general patch for all starforce protected games. The important part then
must be in the game itself and the driver on the system just gives
access to whatever the game asks for.

that still does not mean that any image of the game would suddenly work


bye Jochen
Locked