Do you want my app or NoPistonPC's app? But it sounds really interesting if you can get Destinator workingOriginally Posted by hijinks21
hijinks, YGPM
Garry
we can embed a wine app in xcar easily.Originally Posted by Confused
This is very good news.. can you post the app you made to get destinator running. I might have to get destinator now
'98 Explorer Sport
http://mp3car.zcentric.com (down atm)
AMD 800mhz 192megs RAM 60gig hard drive 9 inch widescreen VGA
80% done
Do you want my app or NoPistonPC's app? But it sounds really interesting if you can get Destinator workingOriginally Posted by hijinks21
hijinks, YGPM
Garry
Co-Developer of A.I.M.E.E
www.aimee.cc
confused.. is yours in vb? you can give that .. but i think the other is in C which would an easier starting point.. but you can send it anyway so i can get how destinator works.. thanks
'98 Explorer Sport
http://mp3car.zcentric.com (down atm)
AMD 800mhz 192megs RAM 60gig hard drive 9 inch widescreen VGA
80% done
Sorry, I guess I wasn't clear earlier. I actually ended up doing a clean re-install of wine and playing with the config file in order to get the app provided with the Destinator SDK working. It wasn't necessary to write another wrapper app.
However, the sample app provided with Destinator opens two windows and would be a pain to interface with from a Unix program. I think the cleanest solution would probably be to re-write the Destinator SDK sample app to only open one main map window and provide a TCP/IP socket based command interface. The socket would allow for easy comm between the Unix and Window programs. Let me know if you want me to do this. It shouldn't be too hard...
1994 RX-7, EPIA P4-ITX w/ Celeron 2.4 Ghz, Arise PSU, Xenarc 700TSV (new model)
Embedding seems to be working fine...
I know I embedded it into the wrong screen, but I just wanted to see if it would work, and it looks like there's no problem with doing it (I just got the WindowID from the window name, which was "Destinator" in the same app):
![]()
1994 RX-7, EPIA P4-ITX w/ Celeron 2.4 Ghz, Arise PSU, Xenarc 700TSV (new model)
Looks like you've basically got things sorted
Getting information from Destinator is the only "difficult" bit..getting the details of the next turn coming up etc are quite difficult, unless i've been going about it in the wrong way, i've found that to get the current information you have to recalculate the route...not a good solution
Garry
Co-Developer of A.I.M.E.E
www.aimee.cc
this is good news.. i'm gonna look at this and see how we can put this into xcar.. nopiston, if you ever want to chat with us.. we are all on irc.freenode.net #xcar
'98 Explorer Sport
http://mp3car.zcentric.com (down atm)
AMD 800mhz 192megs RAM 60gig hard drive 9 inch widescreen VGA
80% done
hijinks and I were having problems getting Destinator to work consistently, but I finally figured out what the problem was (it was a bad DLL). Here is a mini-HOWTO so you don't have to go through the same pain that I did:
1) Get the latest wine source and untar it
2) make sure you are logged in as a user (not root)
3) go into the wine directory that you just untarred and run "tools/wineinstall" (it will ask you some questions, just say yes to everything...make sure you do a wine-only install, i.e. don't use your existing windows directory)
4) it will create a ".wine" and a "C" directory in your home directory
5) unzip the Destinator SDK into a temporary directory and cd into it
6) run "wine ./Setup.exe" and install the SDK. Make sure you install a map as well.
7) now, copy the following files from a real windows installation into your wine directory structure (~/c is the fake_windows root)
C:\WINDOWS\SYSTEM32\MFC42.DLL ---> ~/c/windows/system
C:\WINDOWS\FONTS\TAHOMA*.TTF ---> ~/c/windows/Fonts
8) delete ~/c/windows/system/KEYBOARD.DLL (*** this is a very important step ***)
9) edit ~/.wine/config so that the [DllOverrides] section only contains:
"*" = "builtin, native, so"
That's it! Now, you can run "wine Destinator.exe" and navigate your car from Linux![]()
1994 RX-7, EPIA P4-ITX w/ Celeron 2.4 Ghz, Arise PSU, Xenarc 700TSV (new model)
yep that worked like a charm.. looks like it was the keyboard.dll file.. I got it running.. now if i get some time.. lets see if we can access the sdk from xcar.. thanks for the help
'98 Explorer Sport
http://mp3car.zcentric.com (down atm)
AMD 800mhz 192megs RAM 60gig hard drive 9 inch widescreen VGA
80% done
Glad to hear that it worked!
Good luck with embedding it in xcar...let me know if you need any help.
1994 RX-7, EPIA P4-ITX w/ Celeron 2.4 Ghz, Arise PSU, Xenarc 700TSV (new model)
Bookmarks