Wiimote Project

Wiimote Projects => Wiimote Desktop VR/Head Tracking => Topic started by: dice on January 07, 2008, 04:43:14 PM

Title: Unable to launch the DesktopVR program
Post by: dice on January 07, 2008, 04:43:14 PM
"Unable to launch the DesktopVR program"

blarg.... a number of people have been reporting a "Wiimote FishtankVR has encountered a problem" error. but whom are able to run my other programs. Unfortunately, I can't replicate the error on any of my computers and I'm leaving for the holidays. So, fixes may be slow for the next 2 weeks. If you can shed some light on this, please add a comment to this post and I'll upload a fixed version once this problem is hashed out.

Deleting the "config.dat" file and re-running the program may help.
Installing the most recent version of DirectX may help.

(update 12/30/07) I also got some suggestions that this might be due to a "x86/x64 linkage problem" related to 64-bit version of Windows. The program needs to be recompiled for this. I'll try to post a new version sometime in the next few weeks.

Posted by Johnny Chung Lee
Title: Re: Unable to launch the DesktopVR program
Post by: Demonic69 on January 09, 2008, 09:04:40 AM
I had the issue on a freshly built PC, XP Pro, SP2 , Installed the latest DirectX, worked fine after that.
Title: Re: Unable to launch the DesktopVR program
Post by: yomer on January 09, 2008, 12:22:46 PM
I have a Lenovo t60p with Windows Vista Business and DirectX10. I get the error upon starting the program. Even deleting the .dat file makes no difference.
Title: Re: Unable to launch the DesktopVR program
Post by: airchie on January 09, 2008, 12:56:58 PM
I had the same issue. 

Downloading and installing the suggested DX SDK got it working on XP SP2.
Title: Re: Unable to launch the DesktopVR program
Post by: JoeKuboj on January 09, 2008, 04:35:11 PM
Can't detect Direct3D or something like that...  :-\


Toshiba U300 lap, vista, dx10, intel gma x3100 graphics... i guess graphic card is the issue ?
Title: Re: Unable to launch the DesktopVR program
Post by: Demonic69 on January 11, 2008, 10:01:48 AM
Can't detect Direct3D or something like that...  :-\


Toshiba U300 lap, vista, dx10, intel gma x3100 graphics... i guess graphic card is the issue ?

Sounds like you GFX card or driver. Try updatinf it, if not it might not support D3D
Title: Re: Unable to launch the DesktopVR program
Post by: Twister on January 11, 2008, 01:33:25 PM
I had some direct3d problems too, but then I activated my second display and the program started.
Title: Re: Unable to launch the DesktopVR program
Post by: tmizas on January 12, 2008, 07:21:17 PM
I was getting crashes. I downloaded the newest .NET framework (3.5) and directx 9c and it worked no problem.
Title: Re: Unable to launch the DesktopVR program
Post by: benfunk on January 14, 2008, 05:41:55 PM
I had my monitor rotated 90 degrees and the program wouldn't run.  I set the rotation to zero and it worked.
Title: Re: Unable to launch the DesktopVR program
Post by: zero298 on January 16, 2008, 09:57:07 PM
A friend and I were trying to get it to work on my Toshiba Vista Business Laptop.  I tried reinstalling DirectX .Net framework and everything else I could think of.

After all that failed, I tinkered with the compatibility mode and figured out that you have to disable  desktop composition for it to run.

Hope this is helpful.
Title: Re: Unable to launch the DesktopVR program
Post by: ZaPPZion on January 17, 2008, 01:23:14 AM
Yup, that definately is usefull, I saw it before on the boards, but it's always good to make it easier to find. I'll make a post about it i guess, so people can find it really easily  ;D
Title: Re: Unable to launch the DesktopVR program
Post by: troy59 on January 18, 2008, 02:34:15 PM
it still won't work on mine. darn. even when i download v 3.0 it has an error. So i'm kinda screwed. darn
Title: Re: Unable to launch the DesktopVR program
Post by: benneh on January 19, 2008, 03:18:35 AM
To be a little more specific than it doesn't work..., the error I am getting is:

System.IO.FileNotFoundException was unhandled
Message: Could not load file or assembly 'Microsoft.DirectX, Version=1.0.2902.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Running on Vista Ultimate, fully updated including SP1(RC), x86.

I'll give installing the DX SDK a go and see if I get some joy.  Hopefully I can get it working, this project is very cool.
Title: Re: Unable to launch the DesktopVR program
Post by: benneh on January 19, 2008, 07:18:32 AM
Ok, got it working by a combination of installing the Nov 2007 DirectX Runtimes from http://www.microsoft.com/downloads/details.aspx?FamilyID=1A2393C0-1B2F-428E-BD79-02DF977D17B8&displaylang=en and also had to check the "disable visual styles" checkbox in the properties for the executable.

To connect my wiimote, I had to slightly modify the source code with the try/catch around the calibration step documented elsewhere on these forums.

And finally, here's a little video of it all up and running ;)

http://www.youtube.com/watch?v=UIDmpU6eO2M

Thanks for making this fun bit of software.
Title: Re: Unable to launch the DesktopVR program
Post by: stevenpph on January 27, 2008, 01:21:50 AM
A Solution!!!!

I have also had that error "Can't detect direct3D". After a day of debugging I found my error. Don't unzip just the .exe file - you also need the two .png files unzipped to the same directory! That error message is just a little misleading!

Once you get past that message, you may see the message "cannot find a connected Wiimote". You might want to search for and download the program: WiinRemote_v2007.1.13.zip
If it's able to connect to your bluetoothed Wiimote, then DesktopVR should be able to as well (only connect one at a time).
Title: Re: Unable to launch the DesktopVR program
Post by: jon on February 23, 2008, 03:31:24 AM
I had this error when I first tried.  The exception shown says that it can't find directx runtime, which is because DirectX was not installed- I installed directx 9 runtime and all was fine.
Title: Re: Unable to launch the DesktopVR program
Post by: yang on May 03, 2008, 11:49:05 PM
had this problem too initally, running on a MX 4400 card.

later on (just for this project), i got a 8400 GS card and it worked fine.

just a lead for those who are troubleshooting, that: it might be the graphics card not having support for DirectX 9
Title: Re: Unable to launch the DesktopVR program
Post by: Bumgloves on June 05, 2008, 07:51:31 PM
I get a long huge error that says something at the end about "JIT debugging" and turning it on, but can't figure out how. Anyone else get this? Any help?
Title: Badly trying to get DesktopVR program to run
Post by: brian76 on June 25, 2008, 11:08:21 AM
Hi All,
I've been trying for 2 days to get Desktop VR programme to run but I've had no luck. I'm running
a Winxp Professional x64 edition sp 2 with the latest versions of direct x.  I have bluetooth connecting with the wiiremote and have configured the config.dat file to my monitors height.
I noticed on Leganza site    http://www.leganza.it/dblog/articolo.asp?articolo=47  -
 that he had made an emendment for x86 versions by deleting the code partaining to the system spec.  When i deleted it, It gave me an error saying the programme was designed for another system type.

I'm not a programmer in any way and am very lost with this.
Can anyone with a similar spec machine help,  Please???

Bria
Title: Re: Unable to launch the DesktopVR program
Post by: jamesKL on September 22, 2008, 12:58:44 AM
I gt the cannot read wiimote error, but i try using the whiteboard is fine onli desktopVR and finger tracking program gives me this error.

Is it the problem with the bluetooth or wat?

nid help thx

James
Title: Re: Unable to launch the DesktopVR program
Post by: Mati on October 26, 2008, 05:39:36 AM
Hi

Maybe this will help somebody:

I've managed to resolve problem with launching DesktopVR program yesterday, after all day long fight.
I'm using Windows Vista Business on Macbook + USB Bluetooth Dongle (because built-in Bluetooth did't work).
When I connected MacBook to TV, and right click file wiidesktopvr.exe and changed in properties of file "disable visual themes" everything started to work fine.

Regards
MW

 
Title: Re: Unable to launch the DesktopVR program
Post by: rafffel on January 06, 2009, 05:12:49 PM
Thanks it help me  i am on vista and i right click on application and check "disable visual themes" and after it's working great thanks ^^
Title: Re: Unable to launch the DesktopVR program
Post by: wiibrown on February 13, 2009, 03:19:56 PM
If you're interested, I recompiled DesktopVR for Windows XP (32-bit).  You can find the post at http://www.wiimoteproject.com/wiimote-desktopvr/several-fixes-combined-into-one/ (http://www.wiimoteproject.com/wiimote-desktopvr/several-fixes-combined-into-one/).
Title: Re: Unable to launch the DesktopVR program
Post by: Karma on February 17, 2009, 03:21:42 AM
I've registered to share my solution.

I have two computers, and have tried ALL of the following in both, with SAME experience.
Running Windows XP SP2, .NET 2.0 already installed, I tryed with no success:
- installing DirectX Nov 2007 (it helped but not resolved)
- deleting config.dat
- activating second display
- resizing 800x600

I could finally run it, simply... not running it!
I mean, instead of the file WiiDesktopVR.exe (208KB) placed in the main folder, I ran bin\Release\WiiDesktopVR.exe (184KB), and it worked fine (in both different computers)!!
Title: Re: Unable to launch the DesktopVR program
Post by: amelsfort on August 06, 2009, 05:15:16 PM
I've tried some different versions, installed the latest version of DirectX, but the program still crashes.
I'm running Windows 7 x64. Could that be the problem? Anyone else running Windows 7?
Title: Re: Unable to launch the DesktopVR program
Post by: greenstar on January 27, 2010, 12:39:42 AM
In Win 7 the original keeps breaking on me, but the WiiDesktopVR.fixes1 version is working alright.
Title: Re: Unable to launch the DesktopVR program
Post by: wwwjensweb on March 21, 2010, 10:53:02 AM
hi guys.

i'm also unable to run the DesktopVR program. I'm working on Windows 7 x64.
i already tried several solutions, but nothing worked for me.
-updated DirectX to the latest version
-installed .NET 4.0
- tried the two reagular versions, the compilation from wiibrown and the one from leganza (http://www.leganza.it/wiidesktopvr-wiimotelib-1-2-1-visual-c-2008-express-x64-env-works-also-for-x86/  ).

nothing worked for me, but whiteboard worked fine on the first try.

the most success i had with leganza-version, but not with the normal .exe but with  /bin/release/wiidesktopvr.exe.
there i got at least a black window instead of nothing happening.

the programm knows if a wii mote is connected or not (because i get an error if non is connectet), but the window that opens is empty and i cant interact with it in any way (even the mouse cursor vanishs). i get the following error message: (it's german, but i think you can understand without speaking german)

Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

************** Ausnahmetext **************
Fehler in der Anwendung.
-2005530516 (D3DERR_INVALIDCALL)
   bei Microsoft.DirectX.Direct3D.Device.Reset(PresentParameters[] presentationParameters)
   bei Microsoft.DirectX.Direct3D.Device.OnParentResized(Object sender, EventArgs e)
   bei System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
   bei System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
   bei System.Windows.Forms.Control.UpdateBounds()
   bei System.Windows.Forms.Control.WmWindowPosChanged(Message& m)
   bei System.Windows.Forms.Control.WndProc(Message& m)
   bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   bei System.Windows.Forms.ContainerControl.WndProc(Message& m)
   bei System.Windows.Forms.Form.WmWindowPosChanged(Message& m)
   bei System.Windows.Forms.Form.WndProc(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Geladene Assemblys **************
mscorlib
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
----------------------------------------
WiiDesktopVR
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.0.0.0.
    CodeBase: file:///C:/Users/Chief/Desktop/DSi/WiiDesktopVR/bin/Release/WiiDesktopVR.exe.
----------------------------------------
System.Windows.Forms
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
----------------------------------------
System
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll.
----------------------------------------
System.Drawing
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
Microsoft.DirectX
    Assembly-Version: 1.0.2902.0.
    Win32-Version: 5.04.00.2904.
    CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll.
----------------------------------------
Microsoft.DirectX.Direct3D
    Assembly-Version: 1.0.2902.0.
    Win32-Version: 9.05.132.0000.
    CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.Direct3D/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.Direct3D.dll.
----------------------------------------
Microsoft.DirectX.Direct3DX
    Assembly-Version: 1.0.2911.0.
    Win32-Version: 9.12.589.0000.
    CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.Direct3DX/1.0.2911.0__31bf3856ad364e35/Microsoft.DirectX.Direct3DX.dll.
----------------------------------------
mscorlib.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
----------------------------------------
System.Windows.Forms.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------

************** JIT-Debuggen **************
Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
Konfigurationsdatei der Anwendung oder des Computers
(machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.

Zum Beispiel:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
Ausnahmen an den JIT-Debugger gesendet, der auf dem
Computer registriert ist, und nicht in diesem Dialogfeld behandelt.




i would really be glad if someone could help me:)

(sorry for my bad english, tried my best ;D)

Jens
Title: Re: Unable to launch the DesktopVR program
Post by: kamimatsu on September 16, 2010, 08:10:03 PM
Hi. I'm just getting the Fishtank error. I have tried everything in this thread. Everything either didn't work or did an error 404.
Title: Re: Unable to launch the DesktopVR program
Post by: pez on October 21, 2010, 08:59:29 AM
Hi please someone help me with this!

I've downloaded the several fixes combined folder.
My buit-in dell bluetooth has the wiimote connected and it works with SmoothBoard
BUT I still get the 'Wiimote FishtankVR has stopped working' message come up as soon as I try to open wiidesktopvr!

Im using windows 7 and a 64bit operating system.

Someone please HEEEELLLPPP!!!!