Newbie Question Minimum DLLs or Components Required

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
i777311901g
Newbie
Newbie
Posts: 1
Joined: Sat Aug 06, 2011 3:30 am

Newbie Question Minimum DLLs or Components Required

Post by i777311901g »

What are the minimum DLLs or components required for a win application to have a chance to work?

The software I am installing is not a game so I dont need games related dlls or components.

Tks for any advice
Quix0r
Level 3
Level 3
Posts: 50
Joined: Sat May 10, 2008 8:23 am

Post by Quix0r »

Are you about to install only some wine DLLs? Why don't do a "make install" to install all? One approach to find out which DLLs your app requires is to look INTO the executable file with a hex editor and search for DLL inclusion (e.g. search for .dll with a case-insensitive search).
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Post by doh123 »

If you are talking about extra dlls you install, like Winetricks or manual overrides... the minimum needed are none... Wine has everything is needs. You only put in other dlls if there is a problem and Wine's versions aren't working good enough for that specific piece of software.
Quix0r
Level 3
Level 3
Posts: 50
Joined: Sat May 10, 2008 8:23 am

Post by Quix0r »

To add more: Recommended way is to use WINEPREFIX (sometimes misleading-called as "wine bottle", e.g. by myself .. :oops: ):

Code: Select all

cd ~/.wine-foo-app/drive_c/MyFooApp/
$ WINEPREFIX=~/.wine-foo-app/ wine foo.exe
Geezanansa
Newbie
Newbie
Posts: 4
Joined: Sat Aug 06, 2011 8:04 am

Post by Geezanansa »

I am a new ubuntu user trying to get Call Of Duty 2 working.
Just thought I would share what I have been recently learning.

To save conflicts use a different wineprefix for each installed app/game....

Wine, wine tricks and Play on Linux refer to wineprefixes.
CrossOver games refer to winebottles.
Different names for different applications. All the same thing except you pay for CrossOver so to make it different from other gui for wine call the prefixes something different.??? Shame it dont work for CoD2.

I too am trying to verify dlls and dependent apps to add to winecfg libraries to get COD2 working (well)on my system(natty 64bit)




Speculate to educate.
Geezanansa
Newbie
Newbie
Posts: 4
Joined: Sat Aug 06, 2011 8:04 am

Post by Geezanansa »

Have you tried PlayOnLinux or Wine Tricks?
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Newbie Question Minimum DLLs or Components Required

Post by jjmckenzie »

On 8/6/11 5:45 AM, Quix0r wrote:
To add more: Recommended way is to use WINEPREFIX (sometimes misleading-called as "wine bottle", e.g. by myself .. [Embarassed] ):


Code:

cd ~/.wine-foo-app/drive_c/MyFooApp/
$ WINEPREFIX=~/.wine-foo-app/ wine foo.exe

To answer this question (and it is or should be in the FAQ)

A Wine Prefix is a directory where Wine's file structure is stored.
To use another Wine Prefix you can preface the wine command with
WINEPREFIX=<path to Wine Directory>
or
You can set the Environment variable WINEPREFIX on a more permanent
basis by using the export WINEPREFIX command:
export WINEPREFIX=<path to new wine prefix directory>
By default this variable is set to $HOME/.wine (also called ~/.wine)

Either method is acceptable to run a program.

James
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Newbie Question Minimum DLLs or Components Required

Post by jjmckenzie »

On 8/6/11 12:21 PM, Geezanansa wrote:
Have you tried PlayOnLinux or Wine Tricks?
PlayOnLinux/PlayOnMac are not supported here.

Winetricks should only be used if advised to do so in the forum or in a
program's Application Database entry.

Otherwise, you should try to run any program without any changes to Wine
and see what happens. If the program fails to run, collect a logging
file from the command line and post it to a site like pastebin.com
(instructions on how to do this are on the Wine FAQ.)

Adding winetricks can actually make things worse and fully break program
(and Wine) ability to run or function.

James
Geezanansa
Newbie
Newbie
Posts: 4
Joined: Sat Aug 06, 2011 8:04 am

Post by Geezanansa »

Thanks for input jjmckenzie. After reading your post I checked which wine programs i had on my machine and long story short I now have the game i wanted running on my natty machine is now running sweet with just plain old wine.
Locked