• Login
sketchucation logo sketchucation
  • Login
🤑 30% Off | Artisan 2 on sale until April 30th Buy Now

Mint 10(Ubuntu10.10), sketchyphysics, sketchup and wine 1.2

Scheduled Pinned Locked Moved SketchyPhysics
14 Posts 5 Posters 5.6k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    phy
    last edited by phy 30 Nov 2010, 23:23

    This is how I got things to work. There's probably an easier way to do it, but here goes.

    First I installed Sketchup. Sketchup installed fine but if you get the error "SketchUp was unable to initialize OpenGL!] when you start it up, run regedit, open HKEY_CURRENT_USER\Software\Google\SketchUp8\GLConfig\Display, and change HW_OK to 1. Sketchup runs fine,but the google warehouse and webDialogs don't work. We'll fix that later.

    Next install sketchyphysics.
    Navigate into the sketchyphysics3 folder (c:/Program Files/Google/Google SketchUp 8/Plugins/SketchyPhysics3) and open input.rb. Find the line

    return (($win32GetKeyStateFunc.call(key)>>16)!=0)
    

    change the number 16 to 15. Otherwise the keyboard will not work with sketchyphysics.

    Now download winetricks http://wiki.winehq.org/winetricks.
    Note winetricks is included in wine 1.3
    Rename the Internet Explorer folder (c:/Program Files/Internet Explorer) to ie.
    Then double click winetricks and click run in terminal.
    Select ie8 and and click ok. Winetricks will now download and install Internet Explorer 8.
    Almost done! Uninstall Internet Explorer. I know it sound stupid but do it anyway.
    Finally delete the new Internet Exploer folder and rename ie to Internet Explorer.

    your done

    This will also work for other plugins that use webdialogs.
    It works!!!
    If you have any problems let me know.

    Edit

    here is the terminal command.

    cd to where your winetricks file is
    and copy and paste this

    winetricks ie8
    

    Tableau de comparaison de Staxyn s'agit d'un mГ©dicament uniquement sur ordonnance.

    1 Reply Last reply Reply Quote 0
    • P Offline
      phy
      last edited by 30 Nov 2010, 23:29

      To get to the C:/ folder in wine. Click on the start menu go to the wine tab and click Browse 😄 drive

      Tableau de comparaison de Staxyn s'agit d'un mГ©dicament uniquement sur ordonnance.

      1 Reply Last reply Reply Quote 0
      • E Offline
        EscapeArtist
        last edited by 30 Nov 2010, 23:54

        I had SU working in the previous Ubuntu iteration and updated - now it doesn't work. maybe it'll work your way.

        1 Reply Last reply Reply Quote 0
        • M Offline
          mut
          last edited by 9 Dec 2010, 15:52

          hey, Just followed your guide, Thanks a lot! Its real good to get webdialogues working.

          Just wondered if you have the same problem as me: When I open the ruby console, I can type away, but return the return button dosent work! so I cant execute anything im testing!
          It even does the same when using a virtual keyboard.

          It works ok in notepad/other apps under wine, so just wondered if im the only one haveing this problem.

          Thanks,

          http://www.StairBox.com We make stairs... easy

          1 Reply Last reply Reply Quote 0
          • P Offline
            phy
            last edited by 10 Dec 2010, 00:16

            @mut said:

            hey, Just followed your guide, Thanks a lot! Its real good to get webdialogues working.

            Just wondered if you have the same problem as me: When I open the ruby console, I can type away, but return the return button dosent work! so I cant execute anything im testing!
            It even does the same when using a virtual keyboard.

            It works ok in notepad/other apps under wine, so just wondered if im the only one haveing this problem.

            Thanks,

            Do short cuts work, you know M for move and such like?

            Tableau de comparaison de Staxyn s'agit d'un mГ©dicament uniquement sur ordonnance.

            1 Reply Last reply Reply Quote 0
            • M Offline
              mut
              last edited by 10 Dec 2010, 08:26

              Well, they did't work (Hadn't noticed that!) But I just went to preferences, and hit reset all on the short cuts, and they work now.

              The return key still doesn't work on the console!! 😞 I guess you don't have this problem? its weird that even the virtual keyboard won't work.

              Thanks,

              http://www.StairBox.com We make stairs... easy

              1 Reply Last reply Reply Quote 0
              • P Offline
                phy
                last edited by 11 Dec 2010, 02:08

                @mut said:

                Well, they did't work (Hadn't noticed that!) But I just went to preferences, and hit reset all on the short cuts, and they work now.

                The return key still doesn't work on the console!! 😞 I guess you don't have this problem? its weird that even the virtual keyboard won't work.

                Thanks,

                That's weird. The return key works fine for me I'll go see what I can do.

                Tableau de comparaison de Staxyn s'agit d'un mГ©dicament uniquement sur ordonnance.

                1 Reply Last reply Reply Quote 0
                • A Offline
                  Aerilius
                  last edited by 11 Dec 2010, 12:30

                  The return key in the ruby console works for me since wine 1.3.3 (I don't know when the next stable 1.4 is released, if you like to use a development version, then add this to your software sources http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu)

                  Installing gecko and real Internet Explorer (ie7 or ie8) is what the Wine developers recommended for our problems with SketchUp. I tried it some time ago in many different ways without success. Thanks for your tip! I didn't know that uninstalling Internet Explorer would be helpful!

                  Following your tips I still didn't have success this time. I use the development version of Wine (1.39, it has great improvements for SU) and XP as default Windows version. When I try to uninstall ie8 via Application menu -> Wine -> 'Uninstall Wine Aplication', that window crashes (maybe next wine build fixes that). Now webdialogs are not anymore blank, but bright gray while loading a page. Then webdialogs+SketchUp crashes immediately. But it's interesting, and I will keep playing with it!

                  Which precise versions do you use? Does uploading SketchUp files work now (I suppose it should, as wine 1.37 fixed the collada problems)?

                  I'm active in the SketchUp help forum and maintaining a tutorial for SketchUp on Linux. I'm very thankful for any tricks or ideas!
                  http://sites.google.com/site/sketchupsage/problems/linux
                  SketchUp in Wine survey
                  3d Warehouse: made on Linux collection (still too empty, I would like to add as many models as possible)

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    phy
                    last edited by 11 Dec 2010, 20:18

                    I'm using 1.2.1 at the moment. I'm going to install 1.3.9 and see what happens.

                    Tableau de comparaison de Staxyn s'agit d'un mГ©dicament uniquement sur ordonnance.

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      phy
                      last edited by 11 Dec 2010, 21:41

                      @unknownuser said:

                      Now webdialogs are not anymore blank, but bright gray while loading a page. Then webdialogs+SketchUp crashes immediately

                      Forget the uninstaller in 1.3.9, it doesn't work. Just go into your 😄 directory and delete the Internet explorer folder and the webdialogs should work.

                      Tableau de comparaison de Staxyn s'agit d'un mГ©dicament uniquement sur ordonnance.

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        Aerilius
                        last edited by 12 Dec 2010, 15:55

                        I started a new, empty wine profile (by renaming the ~.wine folder). After installing SketchUp and following your guide, webdialogs work.
                        besides that,

                        • after installing flash via winetricks, the phototextures feature works
                        • Add location works (but the satellite image is wrongly mapped on the terrain)
                        • the Upload dialog is not anymore blank, but hitting the submit button does nothing.
                          (fixme:wininet:CommitUrlCacheEntryInternal)
                        • Building Maker should work after installing the GE Plugin (although the plugin itself crashes...)

                        Does anyone have experiences with bug submitting to Wine's Bugzilla? (I have already submitted some bugs but I'm not sure how helpful the info is that I provided, I'm not a programmer).

                        👍 By the way, I like Sketchy Physics in Wine! I added your tricks to the SketchUp Wiki 😉

                        1 Reply Last reply Reply Quote 0
                        • P Offline
                          phy
                          last edited by 13 Dec 2010, 02:46

                          Glad I could be of some help.
                          I think the reason it works after installing and then uninstalling ie8 using winetricks, is because the urlmon.dll gets replaced during the installation.

                          Also sketchup's rendering is crawling slow in wine. The sketchyphysics frame-rate on a empty model is only about 15. In windows it's about 50.

                          Tableau de comparaison de Staxyn s'agit d'un mГ©dicament uniquement sur ordonnance.

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            mimotitolindo
                            last edited by 18 Apr 2011, 06:19

                            I have installed in Ubuntu 10.04 a wine copy version 1.3.17, I follow your instructions in my laptop, but... don't work. Every step, even using winetricks don'work... what I sent to you in order to receive a procedure focused in solve my problem? I try to run the web devices in sketchyphysics like control panel and other.

                            You can helpme?

                            Thank in advance...

                            mimo

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              Aerilius
                              last edited by 18 Apr 2011, 07:00

                              If you use SketchUp Pro, you certainly had to install .Net framework?
                              According to this guy, webdialogs work only if .Net framework is not installed:
                              http://robsworldoftech.blogspot.com/2010/12/getting-sketchup-8-working-in-wine-even.html

                              You can simply try it out by renaming your ~/.wine folder into ~/.wine_backup or something (for the case you need it again). Then Wine creates a clean new ~./wine folder when you install SketchUp 8 Free (+ the tricks for Internet Explorer etc, but no .Net framework).

                              1 Reply Last reply Reply Quote 0
                              • 1 / 1
                              • First post
                                Last post
                              Buy SketchPlus
                              Buy SUbD
                              Buy WrapR
                              Buy eBook
                              Buy Modelur
                              Buy Vertex Tools
                              Buy SketchCuisine
                              Buy FormFonts

                              Advertisement