copy data from a window

Questions about Wine on Linux
Locked
karla
Newbie
Newbie
Posts: 2
Joined: Tue Jan 13, 2015 3:34 pm

copy data from a window

Post by karla »

I need to access large quantities of data from an application running under Wine. Because the application runs in a Linux environment I guess the data in any X-window will be reachable using the terminal.

Under MS Windows my GMax Listener data output may be legitimately 'grabbed' by a utility called Yagg and pasted into a text editor. Under Linux - without 'Yagg' or similar utility - the amount of data that may be copied is severely limited so it has be copied in steps; many, many steps. The Ctrl-A function is de-activated by GMax and Yagg doesn't run under Wine.

I'd prefer not to continue my current alternative method of creating my 3D model on a dedicated MS Windows XP PC using Blender/GMax/Yagg/Notebook and want to run completely under Ubuntu.

It seems reasonable that any data in a window sat in a Linux environment must be reachable. Does anyone understand the problem and can they help please?

Ubuntu 14.04 64 bit
Wine 1.7.31
Blender 2.69
GMax 1.2
YAGG 2006 - Yet Another Gmax Grabber
(Program for saving content of Gmax MaxScript Listener window to a file).
oiaohm
Level 8
Level 8
Posts: 1020
Joined: Fri Feb 29, 2008 2:54 am

Re: copy data from a window

Post by oiaohm »

<b>Because the application runs in a Linux environment I guess the data in any X-window will be reachable using the terminal.</b>
Not always sometime by the time stuff gets to X11 it can be just images. If was still data you could try like https://fedorahosted.org/dogtail/ to get the data.

http://wiki.winehq.org/FAQ#head-dba86ae ... af45e8119c

Some capture programs will not run without wine virtual desktop mode.

There is some differences between Windows and X11 copy and paste. Some applications it is absolutely impossible to paste outside wine instance so have to use a editor running in wine.

Wine is fairly good but its not without it teeth and all possible evils to look forward to if you get it working.

https://appdb.winehq.org/objectManager. ... n&iId=4190

As far as I know GMAX running under wine is still broken to the point of non operational. As you can see by the attached bug some developer needs to implement a function. Yes to get some of these things implemented required paying developers to it.

Only 2 recorded applications are effected by that function being missing. The other one only effects its installer. This kinda makes developers interest in low when there are other missing functions that can make a lot more programs work.
karla
Newbie
Newbie
Posts: 2
Joined: Tue Jan 13, 2015 3:34 pm

Re: copy data from a window

Post by karla »

Thanks for that oiaohm.

I thought there would be some neat Linux command to grab the data. I've just installed Dogtail via the Ubuntu Software Centre and I'm sorry its just too complex for me to spend time on. It'll be more efficient for me to carry on and do my data capture with Yagg on my secondary PC under Windows XP.

I originally tried installing GMax under Wine several times but encountered problems (I forget what they were). I then installed GMax v1.2 under PlayOnLinux (POL) and I think the only problem was finding the right msvcirt.dll file - which was the 54.8MB version. POL GMax seems to handle decent sized models OK and it also can run third party GMax scripts for importing .3DS and exporting .MSH files. The frustration - as described - is seeing all my data sat in the GMax Listener window and not being able to grab it all in one operation. Never mind.
Locked