prelinking problem

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
tuxsoldier
Posts: 2
Joined: 26. Jan 2015, 11:12

prelinking problem

Post by tuxsoldier »

Hello,

I have problem with a game i'm trying to run in wine, which has SafeDisk 3.0 DRM. In ubuntu, the game launches and works. But on Salix, when i tested and looked at logs, and consulted with wine developers, it looks like the DRM expects to be at fixed addresses.
So the game just crashes with unhandled exception error at startup. I've tested other DRM-infested games on wine and they work on Salix, but this one is stubborn. What kind of prelinking does Salix use, and can i change it to what ubuntu uses, something called Hash Style ?
I've eliminated that this has anything to do with address space randomization or stack protection, selinux etc., because ubuntu has it per default.

Thanks!
/Ara
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: prelinking problem

Post by gapan »

tuxsoldier wrote:it looks like the DRM expects to be at fixed addresses.
You mean like it expects certain things to have a fixed address in RAM? No way. Just no way. Unless you're using DOS 20-30 years ago, that will never happen.
tuxsoldier wrote:So the game just crashes with unhandled exception error at startup. I've tested other DRM-infested games on wine and they work on Salix, but this one is stubborn. What kind of prelinking does Salix use, and can i change it to what ubuntu uses, something called Hash Style ?
There's no prelinking in Salix.
tuxsoldier wrote:I've eliminated that this has anything to do with address space randomization or stack protection, selinux etc., because ubuntu has it per default.
The most obvious thing with wine, is that the application (game) in question works with a specific wine version (the one you have in ubuntu) but not with another (the one you have in salix). If you upgrade/downgrade the wine version in salix to be the same as the one in ubuntu, it will most likely work.
Image
Image
tuxsoldier
Posts: 2
Joined: 26. Jan 2015, 11:12

Re: prelinking problem

Post by tuxsoldier »

gapan wrote: The most obvious thing with wine, is that the application (game) in question works with a specific wine version (the one you have in ubuntu) but not with another (the one you have in salix). If you upgrade/downgrade the wine version in salix to be the same as the one in ubuntu, it will most likely work.
I was testing with the same version. Any suggestion what I could try to resolve this?
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: prelinking problem

Post by gapan »

Are there any patches used in the ubuntu package that you could also use when building wine for salix? You can also try different versions of wine. You can check the compatibility page in the wine homepage for the version that should be more likely to work with that.
Image
Image
Post Reply