Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Wine and Windows original files

  1. #1
    Join Date
    Jun 2007
    Beans
    21
    Distro
    Ubuntu 10.04 Lucid Lynx

    Wine and Windows original files

    I currently have a windows xp license and was wondering if it is possible just to use the window's dll's instead of wine's opensource versions?

  2. #2
    Join Date
    Aug 2005
    Location
    Birmingham, AL
    Beans
    974
    Distro
    Kubuntu

    Re: Wine and Windows origonal files

    For the core functionality, like low level stuff, DirectX, etc, no. The Wine versions translate Windows system calls into equivalent Linux ones, so they can't be replaced.

    DLLs that are not implemented in Wine, though, can definately be copied over and used (for example, Visual Basic runtime DLLs and other similar ones).

    But if you're thinking that copying over DirectX DLLs to make it run better, it won't. In fact, it won't run at all.

  3. #3
    Join Date
    Oct 2005
    Location
    U.S.A.
    Beans
    4,164
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Wine and Windows origonal files

    Not entirely true. Wine does not have any built in implementation of the d3dx9_##.dll files and those can be copied into your Wine directory. They can sometimes help with Direct3D based games and they don't harm Wine at all. Additionally, nearly any Windows DLL can be used in place of the built in Wine DLLs. The only exceptions are kernel32.dll, gdi32.dll, user32.dll, and ntdll.dll. Those DLL files should never be overridden.

    If you do choose to use a Windows native DLL in place of an existing Wine DLL, make sure you don't overwrite the Wine one. If the Windows DLL fails to work, you'll want to be able to get the Wine one back.

    Linux User #355330 | Ubuntu User #15618 | Last.FM

  4. #4
    Join Date
    Jun 2007
    Location
    The United States
    Beans
    518

    Re: Wine and Windows origonal files

    Just to butt in what would happen if I delete my windows folder in wine and copy and paste the one from an actually windows installation?

    Despite almost losing 1.5GB would it make games/Applications work better?

  5. #5
    Join Date
    Aug 2006
    Location
    tuesday
    Beans
    6,502
    Distro
    Kubuntu Development Release

    Re: Wine and Windows origonal files

    Quote Originally Posted by Dark Aspect View Post
    Just to butt in what would happen if I delete my windows folder in wine and copy and paste the one from an actually windows installation?

    Despite almost losing 1.5GB would it make games/Applications work better?

    ..... no

    no no no no no no no

    That is an absolutely terrible idea.

  6. #6
    Join Date
    Oct 2005
    Location
    U.S.A.
    Beans
    4,164
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Wine and Windows origonal files

    Yeah, what he said.

    Just because a Wine DLL can be overridden with a native Windows one, doesn't mean it should be. Some of the Wine DLLs are actually better than their Windows counterpart and replacing them will negatively impact Wine severely.

    Linux User #355330 | Ubuntu User #15618 | Last.FM

  7. #7
    Join Date
    Jun 2007
    Location
    Porirua, New Zealand
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Wine and Windows origonal files

    Be careful: Windows has its expectations about what information goes where in its system calls, and Linux has its own expectations. The challenge arises because what goes where is usually different between the OSes - which is why we have tools like Wine.
    Forum DOs and DON'Ts
    Never assume that information you find using a search engine is up-to-date.

  8. #8
    Join Date
    Nov 2005
    Location
    Sweden
    Beans
    257
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: Wine and Windows origonal files

    Quote Originally Posted by cogadh View Post
    If you do choose to use a Windows native DLL in place of an existing Wine DLL, make sure you don't overwrite the Wine one. If the Windows DLL fails to work, you'll want to be able to get the Wine one back.
    Doesn't matter if you overwrite the files in windows/system32 because they are only there incase a program checks there for a file. Thoose files aren't even the real dlls, they are somewhere else.

  9. #9
    Join Date
    Oct 2005
    Location
    U.S.A.
    Beans
    4,164
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Wine and Windows origonal files

    Yes the "real" DLLs are actually in /usr/lib/wine but you still shouldn't overwrite the DLLs in ~/.wine/drive_c/windows/system32 with native Windows DLLs. I've overwritten them in the past and changing or deleting the override settings in winecfg didn't set things back to the way they were. I believe it has something to do with how Wine determines DLL load order (I think the default is Native first, then Built-in), but I'm not really sure.
    Last edited by cogadh; September 23rd, 2007 at 04:37 PM.

    Linux User #355330 | Ubuntu User #15618 | Last.FM

  10. #10
    Join Date
    Aug 2007
    Beans
    11
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Wine and Windows origonal files

    Does a list of "safe to copy" or "Files that are beneficiary to copy" exist? If so where might it be found?

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •