Running WINE on 64bit Ubuntu

Questions about Wine on Linux
Locked
deamon_knight
Level 1
Level 1
Posts: 5
Joined: Wed May 14, 2014 7:55 am

Running WINE on 64bit Ubuntu

Post by deamon_knight »

I'm trying to move all my work from an older windows system over to Linux, in my case Ubuntu. Specifically, I'm running Lubuntu 14.04 64bit, and the ubuntu WINE package 1.6.2. I want to run Nook for PC and Adobe Digital Editions, as well as Steam. Using the native Linux Steam client works properly but only gives access to Linux Native games, but I'd also like to try running my windows games from Steam on this system.

I've tried to install the latest version Nook for PC from B&N website, or frmo via winetricks>install an app, however, I keep getting the warning that this is a 64bit WINEPREFIX and if I have problems I should install in a clean 32bit WINEPREFIX. I was unable to get either Nook for PC. I installed NOOK for PC but could not get it to log on (error 1025), either way. This error seems to be related to IE cookies:

http://bookclubs.barnesandnoble.com/t5/ ... d-p/884812

I've installed winetricks vcrun2009, and I tried to install winetricks ie6 to see if I could manage "IE cookies" in that way, but its says ie6 wont install on my architecture. winetricks ie7 works, but Nook for PC still gives the same error, so I gave up on this approach.

I'm guessing that the best way to proceed will be to run ADE and Nook for PC in a 32bit WINEPREFIX and Steam in a 64bit WINEPREFIX, although I'm not sure, I'd really appreciate some advice on the best way to set this up.

I've tried to setup a 32bit WINEPREFIX, as from the FAQ:

Code: Select all

WINEARCH=win32 WINEPREFIX=$HOME/wine32 winecfg
and then

Code: Select all

export WINEPREFIX=~/.wine32 winetricks
However, when I try to install Adobe Digital Editions or Nook for PC, I get the same warning that I'm running in a 64bit WINEPREFIX, when I thought I had setup a 32bit WINEPREFIX. How can I verify I'm running the right architecture for my instance of wine?

Not sure how to proceed from here, any advice is appreciated.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Running WINE on 64bit Ubuntu

Post by dimesio »

deamon_knight wrote: I've tried to setup a 32bit WINEPREFIX, as from the FAQ:

Code: Select all

WINEARCH=win32 WINEPREFIX=$HOME/wine32 winecfg
and then

Code: Select all

export WINEPREFIX=~/.wine32 winetricks
Take another look. Those are not the same wineprefix.
deamon_knight
Level 1
Level 1
Posts: 5
Joined: Wed May 14, 2014 7:55 am

Re: Running WINE on 64bit Ubuntu

Post by deamon_knight »

Thanks dimesio, but that was a typo. I have deleted my ~/.wine32 and used

Code: Select all

WINEARCH=win32 WINEPREFIX=$HOME/.wine32
to make a new bottle.

Then I ran

Code: Select all

export WINEPREFIX=~/.wine32
to define the bottle to use for my session, then ran

Code: Select all

winecfg
This loaded the wine configuration, although I can't tell from there what architecture was in use. So I ran

Code: Select all

winetricks
This pulled up the winetricks GUI as expected, from there it says the wine prefix was ~/.wine32 ; but when I selected adobe_dige it still warns I'm using a 64bit WINEPREFIX.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Running WINE on 64bit Ubuntu

Post by dimesio »

I have deleted my ~/.wine32 and used

Code: Select all

WINEARCH=win32 WINEPREFIX=$HOME/.wine32
to make a new bottle.
That won't create anything; you have to actually run something. Your wineprefix wasn't created until you ran winecfg, and since you hadn't specified WINEARCH=win32, it created a 64 bit wineprefix.

What you need to do:

Code: Select all

WINEARCH=win32 WINEPREFIX=$HOME/.wine32 winecfg
FYI, you can check the architecture by looking at the folders in the wineprefix's drive_c. If there's a folder named Program Files (x86), the wineprefix is 64 bit.
deamon_knight
Level 1
Level 1
Posts: 5
Joined: Wed May 14, 2014 7:55 am

Re: Running WINE on 64bit Ubuntu

Post by deamon_knight »

Well, I deleted ~/.wine32 directory and ran

Code: Select all

WINEARCH=win32 WINEPREFIX=$HOME/.wine32 winecfg
Then I looked through $HOME/.wine32/drive_c/ and there is no Program Files (x86), so homefully this is making progress.

Then I ran:
export WINEPREFIX=~/.wine32
and
winetricks
From there I selected Adobe Digital editions, and I got the same "You are using a 64-bit WINEPREFIX. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug." warning. I proceeded to install ADE, and it runs, but I'm still not sure if this is the correct way to do things.

I tried to install the Nook for PC app and it gave the same arcitecture warning, and prompted to install in C:\Program Files (x86)\, canceled this and checked the Adobe Digital editions install, which also says it is installed in C:\Program Files (x86)\Adobe\Adobe Digital Editions\.

I suspect I'm not using the wine bottle I think I am, but using winetricks and choosing "select default wine prefix" says current prefix is "$HOME/.wine32", so I'm confused.

I proceeded to install Nook for PC and that also runs, however, I cannot log in. I get the a sign in error 1025.

Some quick googling suggests this is a Internet Explorer cookie problem, but I'm stumpted at this point.

http://bookclubs.barnesandnoble.com/t5/ ... d-p/884812
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Running WINE on 64bit Ubuntu

Post by dimesio »

I suspect I'm not using the wine bottle I think I am
That's right. IMO, the winetricks GUI menu is so poorly designed, it is worse than useless.

What happened: for apps and games (but not dlls), winetricks by default ignores the WINEPREFIX you set and installs them to their own wineprefix in ~/.local/share/wineprefixes. Before that popup about using a 64 bit wineprefix when you installed Adobe Digital Editions, you should have gotten one saying that ~/.local/share/wineprefixes/adobe_diged was being created. Since you didn't specify WINEARCH=win32 when you ran winetricks, the prefix it created was 64 bit. If you used winetricks to install Nook for PC, it was installed to ~/.local/share/wineprefixes/nook, and yes, that would also be a 64 bit wineprefix.

Personally, I would just download and run the installers for Adobe Digital Editions and Nook, and install them to the wineprefix you want. But if you want to use winetricks, you need to use the command line and specify both the WINEPREFIX and --no-isolate to get it to install to the wineprefix of your choice.
deamon_knight
Level 1
Level 1
Posts: 5
Joined: Wed May 14, 2014 7:55 am

Re: Running WINE on 64bit Ubuntu

Post by deamon_knight »

Thanks for the help dimesio. I was using winetricks becuase it was there, and I didn't know any better. I'll follow your advice and just download and install these installers and omit using winetricks.
deamon_knight
Level 1
Level 1
Posts: 5
Joined: Wed May 14, 2014 7:55 am

Re: Running WINE on 64bit Ubuntu

Post by deamon_knight »

Well, I got the proper 32bit prefixes setup and got Adobe Digital editions installed. Winetricks did one good thing for me, it downloaded ADE version 1.7, the only version I could get to work.

However I am still having problems with Nook for PC. I Downloaded the version from B&N website (ver. 2.5.5.9347) and I can install and run this program but cannot log into my account. I still get error 1025.

when run from shell, I get this output when trying to log in:

Code: Select all

shell:UrlEscapeW Unimplemented flags: 20003000
fixme:shell:UrlEscapeW Unimplemented flags: 20003000
fixme:shell:UrlEscapeW Unimplemented flags: 20003000
fixme:shell:UrlEscapeW Unimplemented flags: 20003000
fixme:shell:UrlEscapeW Unimplemented flags: 20003000
fixme:shell:UrlEscapeW Unimplemented flags: 20003000
fixme:shell:UrlEscapeW Unimplemented flags: 20003000
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT/DATA_SEND_TIMEOUT 180000
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_DATA_RECEIVE_TIMEOUT (180000): STUB
fixme:wininet:IsDomainLegalCookieDomainW (L"barnesandnoble.com", L"cart4.barnesandnoble.com") semi-stub
fixme:wininet:IsDomainLegalCookieDomainW (L"barnesandnoble.com", L"cart4.barnesandnoble.com") semi-stub
fixme:wininet:IsDomainLegalCookieDomainW (L"barnesandnoble.com", L"cart4.barnesandnoble.com") semi-stub
fixme:wininet:IsDomainLegalCookieDomainW (L"barnesandnoble.com", L"cart4.barnesandnoble.com") semi-stub
fixme:wininet:IsDomainLegalCookieDomainW (L"barnesandnoble.com", L"cart4.barnesandnoble.com") semi-stub
fixme:wininet:IsDomainLegalCookieDomainW (L"barnesandnoble.com", L"cart4.barnesandnoble.com") semi-stub
fixme:wininet:IsDomainLegalCookieDomainW (L"barnesandnoble.com", L"cart4.barnesandnoble.com") semi-stub
fixme:wininet:IsDomainLegalCookieDomainW (L"barnesandnoble.com", L"cart4.barnesandnoble.com") semi-stub
fixme:wininet:IsDomainLegalCookieDomainW (L"barnesandnoble.com", L"cart4.barnesandnoble.com") semi-stub
err:wininet:HTTP_ParseDateAsAsctime unexpected weekday L"-1"
err:wininet:HTTP_ParseDate unexpected date format L"-1"
is this a wininet.dll problem?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Running WINE on 64bit Ubuntu

Post by dimesio »

is this a wininet.dll problem?
That would be my first guess. Try native wininet.
Susan365
Newbie
Newbie
Posts: 1
Joined: Mon Jun 09, 2014 1:03 pm

Re: Running WINE on 64bit Ubuntu

Post by Susan365 »

I tried to download Nooks for PC in my 32 bit Linux Mint program and got the same error message.
After reading about a lot of suggestions to fix it, I decided to download NOOK STUDY and it works like a charm
Locked