Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 31

Thread: Destinator and Mappoint in Linux/Wine

  1. #11
    Raw Wave hijinks21's Avatar
    Join Date
    May 2002
    Location
    Albany, NY
    Posts
    1,803
    Quote Originally Posted by Confused
    If this can be embedded into Xcar I might have to seriously consider trying it out!
    we can embed a wine app in xcar easily.

    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

  2. #12
    Raw Wave Confused's Avatar
    Join Date
    Aug 2003
    Location
    Essex, England
    Posts
    2,224
    Quote Originally Posted by hijinks21
    we can embed a wine app in xcar easily.

    This is very good news.. can you post the app you made to get destinator running. I might have to get destinator now
    Do you want my app or NoPistonPC's app? But it sounds really interesting if you can get Destinator working

    hijinks, YGPM


    Garry
    Co-Developer of A.I.M.E.E
    www.aimee.cc

  3. #13
    Raw Wave hijinks21's Avatar
    Join Date
    May 2002
    Location
    Albany, NY
    Posts
    1,803
    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

  4. #14
    Variable Bitrate NoPistonPC's Avatar
    Join Date
    Apr 2004
    Location
    Boston
    Posts
    360
    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)

  5. #15
    Variable Bitrate NoPistonPC's Avatar
    Join Date
    Apr 2004
    Location
    Boston
    Posts
    360
    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)

  6. #16
    Raw Wave Confused's Avatar
    Join Date
    Aug 2003
    Location
    Essex, England
    Posts
    2,224
    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

  7. #17
    Raw Wave hijinks21's Avatar
    Join Date
    May 2002
    Location
    Albany, NY
    Posts
    1,803
    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

  8. #18
    Variable Bitrate NoPistonPC's Avatar
    Join Date
    Apr 2004
    Location
    Boston
    Posts
    360
    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)

  9. #19
    Raw Wave hijinks21's Avatar
    Join Date
    May 2002
    Location
    Albany, NY
    Posts
    1,803
    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

  10. #20
    Variable Bitrate NoPistonPC's Avatar
    Join Date
    Apr 2004
    Location
    Boston
    Posts
    360
    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)

Page 2 of 4 FirstFirst 1234 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
  •