Moderator: CPhillips
by phy » Wed Dec 01, 2010 12:23 am
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 - Code: Select all
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.3Rename 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. Screenshot.png 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 - Code: Select all
winetricks ie8
Please, register (free) to access all the attachments on the forums.
Last edited by phy on Mon Mar 14, 2011 3:29 am, edited 2 times in total.
Have A Good Day! 
-
phy
-
- Posts: 193
- Joined: Sat Nov 15, 2008 4:35 pm
by phy » Wed Dec 01, 2010 12:29 am
To get to the C:/ folder in wine. Click on the start menu go to the wine tab and click Browse C: drive
Have A Good Day! 
-
phy
-
- Posts: 193
- Joined: Sat Nov 15, 2008 4:35 pm
by EscapeArtist » Wed Dec 01, 2010 12:54 am
I had SU working in the previous Ubuntu iteration and updated - now it doesn't work. maybe it'll work your way.
-

EscapeArtist
- Top SketchUcator
-
- Posts: 1300
- Joined: Sun Aug 03, 2008 7:36 pm
- Location: Northeast US
- Name: Jeff
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: hobby
- Level of SketchUp: Intermediate
by mut » Thu Dec 09, 2010 4:52 pm
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,
-
mut
-
- Posts: 67
- Joined: Wed Sep 10, 2008 5:50 pm
- Location: UK
- Name: Tom
-
by phy » Fri Dec 10, 2010 1:16 am
mut wrote: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?
Have A Good Day! 
-
phy
-
- Posts: 193
- Joined: Sat Nov 15, 2008 4:35 pm
by mut » Fri Dec 10, 2010 9:26 am
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,
-
mut
-
- Posts: 67
- Joined: Wed Sep 10, 2008 5:50 pm
- Location: UK
- Name: Tom
-
by phy » Sat Dec 11, 2010 3:08 am
mut wrote: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.
Have A Good Day! 
-
phy
-
- Posts: 193
- Joined: Sat Nov 15, 2008 4:35 pm
by Aerilius » Sat Dec 11, 2010 1:30 pm
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/sketchupsa ... lems/linuxSketchUp in Wine survey3d Warehouse: made on Linux collection (still too empty, I would like to add as many models as possible)
-
Aerilius
- Top SketchUcator
-
- Posts: 1108
- Joined: Tue Dec 23, 2008 11:00 pm
- Location: Kaiserslautern
by phy » Sat Dec 11, 2010 9:18 pm
I'm using 1.2.1 at the moment. I'm going to install 1.3.9 and see what happens.
Have A Good Day! 
-
phy
-
- Posts: 193
- Joined: Sat Nov 15, 2008 4:35 pm
by phy » Sat Dec 11, 2010 10:41 pm
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 C: directory and delete the Internet explorer folder and the webdialogs should work.
Have A Good Day! 
-
phy
-
- Posts: 193
- Joined: Sat Nov 15, 2008 4:35 pm
by Aerilius » Sun Dec 12, 2010 4:55 pm
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 
-
Aerilius
- Top SketchUcator
-
- Posts: 1108
- Joined: Tue Dec 23, 2008 11:00 pm
- Location: Kaiserslautern
by phy » Mon Dec 13, 2010 3:46 am
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.
Have A Good Day! 
-
phy
-
- Posts: 193
- Joined: Sat Nov 15, 2008 4:35 pm
by mimotitolindo » Mon Apr 18, 2011 7:19 am
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
-
mimotitolindo
-
- Posts: 1
- Joined: Sun Mar 13, 2011 8:59 am
- Name: mimotitolindo
by Aerilius » Mon Apr 18, 2011 8:00 am
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/201 ... -even.htmlYou 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).
-
Aerilius
- Top SketchUcator
-
- Posts: 1108
- Joined: Tue Dec 23, 2008 11:00 pm
- Location: Kaiserslautern
Return to SketchyPhysics
|