can virtualbox ask wine to run a program?

Asked by thenubsauce

I'm trying to run a chinese program similar to garena called VS. WINE won't run VS, but virtualbox will. But virtualbox doesn't support direct X so I can't run warcraft 3 to play dota. But WINE can run warcraft. So... is there any way for virtualbox to ask wine to load certain programs?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu virtualbox-ose Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Steve (stupendoussteve-deactivatedaccount) said :
#1

thenubsauce wrote:
> New question #73018 on Ubuntu:
> https://answers.launchpad.net/ubuntu/+question/73018
>
> I'm trying to run a chinese program similar to garena called VS. WINE won't run VS, but virtualbox will. But virtualbox doesn't support direct X so I can't run warcraft 3 to play dota. But WINE can run warcraft. So... is there any way for virtualbox to ask wine to load certain programs?
>

No.

Install VS in VirtualBox, install Warcraft in WINE.

Revision history for this message
thenubsauce (tantanchen) said :
#2

Well I did that. But I need VS to connect to their network. VS then executes warcraft. So if VS is in virtualbox, can I make it execute warcraft from WINE?

Revision history for this message
Steve (stupendoussteve-deactivatedaccount) said :
#3

thenubsauce wrote:
> Question #73018 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/73018
>
> Status: Answered => Open
>
> thenubsauce is still having a problem:
> Well I did that. But I need VS to connect to their network. VS then
> executes warcraft. So if VS is in virtualbox, can I make it execute
> warcraft from WINE?
>

No it cannot. VirtualBox is kept completely independent from anything on
the host OS.

Virtualbox-OSE can use some kind of DirectX support though. Boot up your
machine and go to the Devices menu and there should be an option Install
WineD3D. I believe it is DirectX 8, which is too old for newer games but
might be fine for Warcraft 3.

Revision history for this message
thenubsauce (tantanchen) said :
#4

So does this mean that I need to completely remove virtualbox first? I had virtualbox OSE isntalled first, and it wouldn't install xp so i think I have an old version. Are the two different projects?

Revision history for this message
Steve (stupendoussteve-deactivatedaccount) said :
#5

thenubsauce wrote:
> Question #73018 on virtualbox-ose in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/virtualbox-ose/+question/73018
>
> Status: Answered => Open
>
> thenubsauce is still having a problem:
> So does this mean that I need to completely remove virtualbox first? I
> had virtualbox OSE isntalled first, and it wouldn't install xp so i
> think I have an old version. Are the two different projects?
>

Virtualbox-OSE is an open source product, and is available through the
Ubuntu repositories. Virtualbox is a closed source product from Sun,
which is available from their website. I believe only the open source
edition has the Wined3d

Revision history for this message
thenubsauce (tantanchen) said :
#6

ok, so I removed virtualbox, and installed virtualbox ose. I can see virtualbox ose on my applications list, but when I click on it, nothing happens...

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

You will need to check the appdb for compatibility with your windows apps

http://appdb.winehq.org/

There is a very basic 3D support in the latest VBox but its not anywhere near as good as is needed for games to perform well.

If you want to run wine with apps then that will be done outside the virtual box. Any app you run inside the windows based virtual box will run as if it is running in windows but will not have native hardware support so will not run great.

Steven Said:
No it cannot. VirtualBox is kept completely independent from anything on
the host OS.

which is untrue as local folders on the host system can be mounted as drives in the virtual system so you can access the hosts data from within the virtualbox.

Have you tried VMWare and/or QEMU? These are alternatives to VirtualBox and will yield different results (they may be better, they may be worse). I personally suggest using a linux based alternative to VS to save your blood pressure.

Revision history for this message
thenubsauce (tantanchen) said :
#8

virtualbox OSE doesn't work anymore. Its very strange. I can see that it is installed. I've re-installed it a few times. I know it used to work. I had it installed first, then switched to virtualbox 2.2 from SUN. Then when I removed Sun virtualbox 2.2 and installed virtualbox ose, it just won't run. When I tired running virtualbox-ose in a terminal, it tells me that no virtualbox is installed. when i click on virtualbox ose from the applications menu, nothing happens. I even checked the system monitor if it would even begin running.

I would be so happy if there was a linux version for VS. unfortunately linux isn't very popular in China so there aren't many programs for linux.

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#9

sudo apt-get --reinstall install virtualbox-ose

Should fix you up nicely

Revision history for this message
thenubsauce (tantanchen) said :
#10

Thanks actionparsnip, that solved my question.