New Posts  All Forums:Forum Nav:

WINE and dxdiag

post #1 of 14
Thread Starter 
Oh the joys of trying to get Windows programs running on a Linux machine. Currently I'm trying to get DirectX 9 installed on here for better compatibility and what not.

"But if you're just going to play games on there, why bother with Linux? Go with Windows! Besides, that's a crappy netbook!"

Well, you're right, it is a crappy netbook, and I don't expect much more then Peggle and other stuff along those lines to run (currently, Peggle and other stuff along those lines do run just fine with only some sound issues), but what I'm really after is a game and what not that only runs in Windows. Linux works perfectly fine, better in fact, on my netbook for general web surfing and video watching, and that's my primary reason for going with it. I just want this one game to run and I'll be all set. However, it's graphics are completely screwed up (black screen with white boxes where stuff should be), and I'm attempting to install Direct X 9 in a vain hope of fixing this issue.

The game in question is called Karoshi (fun little game! Look it up) if you want to test it your self.

Anyway, as I've said, trying to get DirectX installed, but it doesn't seem to be working. Can't access dxdiag. I type in
Code:
wine ~/.wine/drive_c/windows/system32/dxdiag.exe
, but it does nothing. Doesn't even give me an error. Any idea what's going on? Am I going about it wrong?

I've been using this guide by the way.
http://www.dedoimedo.com/games/wine-directx.html
post #2 of 14
I am going to say this once, and only once.

Do not install DX9!!!

You should break up programs into different wine prefixes. Lets say you have a bunch of generic programs that run fine under the default wine settings, they can go in your normal wine folder:

~/.wine

Lets say a new program, such as a game, that might take more effort? You don't put them in the same prefix, you make a new wine prefix and install it under:

~/.whatever

You do this for any program that might need minor tweaks, this way you maximize your compatibility. IF you need DX9 installed you should only do so when the appdb entries suggest it. You always want to run a native wine prefix, at least try to. If you are trouble shooting an application that doesn't have a good status, if it has a status in the appdb, then you can try experimenting. You shouldn't do that with a known silver/gold/platinum rated program though as the optimal settings are probably already in the appdb.

[edit] Delete your wine prefix, delete the entire ~/.wine folder and try again without DX9. You should never have a reason to install DX9 and the actual games that require that are vary rare. I think I've ran into 3? Crysis and a few others, but you won't get Crysis to work without other minor tweaks anyways. It's really a handful of games, you can probably count them on your fingers.
Edited by mushroomboy - 3/15/11 at 1:06am
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #3 of 14
Thread Starter 
The game in question requires DirectX to run properly. Unless you know of a solution for my netbook that doesn't involve dual booting with Windows, I sort of have to.
post #4 of 14
Quote:
Originally Posted by BenRK;12737784 
The game in question requires DirectX to run properly. Unless you know of a solution for my netbook that doesn't involve dual booting with Windows, I sort of have to.

Wine was built to run DX9 programs without installing DX9 from MS. What would be the purpose of Wine without DX9? Think about that for a second, how would you run anything without an API for graphics? They built Wine to interpret DX9 functions from a program without having to install DX9. Just, just remember that you don't need to install DX9 in wine.
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #5 of 14
Thread Starter 
Then you try that game and tell me how to get it working properly if you please.
post #6 of 14
Quote:
Originally Posted by BenRK;12737831 
Then you try that game and tell me how to get it working properly if you please.

sdl;kjsadlfjdaf READ!!! I said wine has direct X built in, you don't need to install DX. I have steam running without DX installed, it plays multiple games. How? Because Wine already has DX "installed", it's built into the program. You don't install DX in wine, as far as you are concerned just don't do it. I'm willing to say you don't have the experience to start trouble shooting games in Wine, so at that experience level I'm going to say don't install DX.
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #7 of 14
Thread Starter 
I assume you didn't try playing the game? Try it, see if you can solve the problem.
post #8 of 14
http://www.codeweavers.com/compatibility/browse/name/?app_id=6034

This link might shed some light - doesn't look good though frown.gif
Little Beast
(12 items)
 
Black 'n' blue II
(15 items)
 
 
CPUGraphicsRAMHard Drive
Intel Core i7-4710MQ Nvidia Geforce GTX860M 2GB 16GB Kingston DDR3 1600MHz 240Gb Silicon Power S55/S60 SSD 
Hard DriveOSOSMonitor
1Tb Toshiba HDD 5400rpm Windows 8.1 Linux Mint 18 17.3" LED 1920x1080 
CaseMouseMouse PadAudio
PCSpecialist Optimus V ST17-860 Logitech MX518 Steelseries QcK Creative HS800 Fatal1ty 
CPUMotherboardGraphicsRAM
Core i7 860 @ 1.25V MSI P55-GD65 Xpertvision Radeon HD4850 4GB G.Skill Ripjaw 
Hard DriveOptical DriveCoolingOS
150Gb Velociraptor & 1Tb WD Caviar Black Opticon Lightscribe DVD-RW DL Noctua NH-U12P SE2 Vista Home Premium x64 
MonitorKeyboardPowerCase
Hyundai BlueH H224W 22" LCD Saitek Eclipse II Thermaltake Purepower RX 550 Galaxy III 
Mouse
Patuoxun optical gaming mouse 3200dpi 
  hide details  
Reply
Little Beast
(12 items)
 
Black 'n' blue II
(15 items)
 
 
CPUGraphicsRAMHard Drive
Intel Core i7-4710MQ Nvidia Geforce GTX860M 2GB 16GB Kingston DDR3 1600MHz 240Gb Silicon Power S55/S60 SSD 
Hard DriveOSOSMonitor
1Tb Toshiba HDD 5400rpm Windows 8.1 Linux Mint 18 17.3" LED 1920x1080 
CaseMouseMouse PadAudio
PCSpecialist Optimus V ST17-860 Logitech MX518 Steelseries QcK Creative HS800 Fatal1ty 
CPUMotherboardGraphicsRAM
Core i7 860 @ 1.25V MSI P55-GD65 Xpertvision Radeon HD4850 4GB G.Skill Ripjaw 
Hard DriveOptical DriveCoolingOS
150Gb Velociraptor & 1Tb WD Caviar Black Opticon Lightscribe DVD-RW DL Noctua NH-U12P SE2 Vista Home Premium x64 
MonitorKeyboardPowerCase
Hyundai BlueH H224W 22" LCD Saitek Eclipse II Thermaltake Purepower RX 550 Galaxy III 
Mouse
Patuoxun optical gaming mouse 3200dpi 
  hide details  
Reply
post #9 of 14
I can't even FIND a Windows version of the game. Got a link to it?
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
post #10 of 14
http://www.venbrux.com/karoshi.php

(you will want to uninstall wine you have first, then go into you home folder in nautilus or chose file browser, view->view hidden files, find .wine, rename it or delete it, then following the rest of this.)

if this is the game in question, i was able to get it to run doing the following things:

1. went to:
www.winehq.org

2. clicked on "downloads"
3. chose ubuntu (since you have ubuntu in your sig.)
4. followed the "adding the winehq ppa repository" section.
5. clicked reload in synaptic (to make sure it had latest repo information)
6. in quick search type in: wine
7. installed the following packages:
wine1.3
(it will prompt you that it requires a few other packages, its fine, they are ones you will want anyway)
8. i configured wine thru its wine configuration program (chose some basic settings like audio, etc, nothing major, just to get it to a basic condition).
9. i opened up a terminal and typed in the following command:
winetricks
10. it opens up a new window, i chose the 2 following programs:
d3dx9
directplay
directmusic
11.hit okay, let them download and install.
12. found the exe, right clicked chose open with "wine"
13. it opens, complains of some sort of "directmusic" error, but it has sound, and music, might be a setting in the audio tab of wineconfig...

you should never ever, ever ever ever have to install the directx redistributable...it brings a lot of crap that you will never need, and most of the time you can use winetricks to grab the single dll files, and follow appdb directions if there are any.
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix