winetrick is not working anymore

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
whatbug
Level 3
Level 3
Posts: 67
Joined: Sun Mar 14, 2010 4:49 am

winetrick is not working anymore

Post by whatbug »

Hello I have been trying to make some game run under my Arch-linux, but d3dx9 was needed so i installed it by:
winetricks d3dx9

Even so i got this error when running PES2011:
err:module:import_dll Library d3dx9_30.dll (which is needed by L"D:\\PES2011\\PES2011.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"D:\\Portable\\_Juegos\\PES2011\\PES2011.exe" failed, status c0000135

But today winetricks was updated to version winetricks-20101008-1, and now if i do winetricks d3dx9 (or any winetricks command), i get this error:
You're using a 64-bit WINEPREFIX, most of winetricks hasn't been fixed for win64 yet.

My arch install is 64-bit, but wine is configured as windows 98.
After reading http://wiki.jswindle.com/index.php/Wine_Prefixes
I dont see any way to set a 32-bit WINEPREFIX.

any ideas?
User avatar
dimesio
Moderator
Moderator
Posts: 13369
Joined: Tue Mar 25, 2008 10:30 pm

Re: winetrick is not working anymore

Post by dimesio »

whatbug wrote: I dont see any way to set a 32-bit WINEPREFIX.
WINEARCH=win32
whatbug
Level 3
Level 3
Posts: 67
Joined: Sun Mar 14, 2010 4:49 am

Re: winetrick is not working anymore

Post by whatbug »

dimesio wrote:
whatbug wrote: I dont see any way to set a 32-bit WINEPREFIX.
WINEARCH=win32
WINEARCH had no value in my system, but any way, I run WINEARCH=win32 and then winetricks d3dx9, and again:

Code: Select all

------------------------------------------------------
You're using a 64-bit WINEPREFIX, most of winetricks hasn't been fixed for win64 yet.
------------------------------------------------------
thanks for the answer.
User avatar
dimesio
Moderator
Moderator
Posts: 13369
Joined: Tue Mar 25, 2008 10:30 pm

Re: winetrick is not working anymore

Post by dimesio »

whatbug wrote: WINEARCH had no value in my system, but any way, I run WINEARCH=win32 and then winetricks d3dx9, and again:

Code: Select all

------------------------------------------------------
You're using a 64-bit WINEPREFIX, most of winetricks hasn't been fixed for win64 yet.
------------------------------------------------------
Of course that won't work on a 64 bit wineprefix; you need to create a new, 32 bit one:

Code: Select all

env WINEARCH=win32 WINEPREFIX=/path/to/wineprefix winetricks d3dx9
whatbug
Level 3
Level 3
Posts: 67
Joined: Sun Mar 14, 2010 4:49 am

Re: winetrick is not working anymore

Post by whatbug »

dimesio wrote: Of course that won't work on a 64 bit wineprefix; you need to create a new, 32 bit one:

Code: Select all

env WINEARCH=win32 WINEPREFIX=/path/to/wineprefix winetricks d3dx9
That works!!! But only when running WINEPREFIX and winetricks at once. And of course I was deleting .wine dir before every test.

Thank you so much.[/quote]
JamesDStorey
Newbie
Newbie
Posts: 2
Joined: Thu Jul 07, 2011 7:57 am

Re: winetrick is not working anymore

Post by JamesDStorey »

whatbug wrote:Hello I have been trying to make some game run under my Arch-linux, but d3dx9 was needed so i installed it by:
winetricks d3dx9

Even so i got this error when running PES2011:
err:module:import_dll Library d3dx9_30.dll (which is needed by L"D:\\PES2011\\PES2011.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"D:\\Portable\\_Juegos\\PES2011\\PES2011.exe" failed, status c0000135

But today winetricks was updated to version winetricks-20101008-1, and now if i do winetricks d3dx9 (or any winetricks command), i get this error:
You're using a 64-bit WINEPREFIX, most of winetricks hasn't been fixed for win64 yet.

My arch install is 64-bit, but wine is configured as windows 98.
After reading http://wiki.jswindle.com/index.php/Wine_Prefixes
I dont see any way to set a 32-bit WINEPREFIX.

any ideas?
Hi whatbug,

Here is the d3dx9_30.dll : EULA Violation Web Site_30.dll/9.12.589.0000/ …download it and then extract the downloaded zip file to the system32 folder which is located in windows folder (that is located in your main drive which contains the installed windows)
Locked