generic wine wrapper

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

seb
Member
Member
Posts: 131
Joined: 2003-03-04, 07:41 UTC

Post by *seb »

1. perhaps just try "./wine_wrapper_00x.pl REGADJUST" and paste the output of that

2. try it with CONTROL+RETURN to copy the filename to the command line in TC, then pressing RETURN to actually start it
i sometime get an error even if, theres no space

3. try renaming the .txt to test.txt and move to c:\ to lower dir or filename issues!

4. try changing the DEBUG-level
a. search for my $DEBUG= in wine_wrapper_00x.pl
b. change it from 0 to 9
c. start TC in a terminal ( seb@ubuntu:~$ wine .wine/drive_c/totalcmd/TOTALCMD.EXE )
d. watch the output after you tried to start files...
maybe paste the output here

this is mainly a quote, did you read the thread!? :D
HAL 9000
Senior Member
Senior Member
Posts: 384
Joined: 2007-09-10, 13:05 UTC

Post by *HAL 9000 »

Just one tip: After you copy the file "wine_wrapper_00x.pl" and all that, make the file executable.

My error was that I executed "wine_wrapper_00x.pl" with "perl wine_wrapper_00x.pl REGCREATE" and it worked, but normally when I tried to execute a file, Total Commander complained "Error executing program!"

Hope this helps.
raggafotter
New Member
New Member
Posts: 1
Joined: 2009-01-21, 22:10 UTC

Post by *raggafotter »

I have followed the steps 1 -3, but when I try to excecute a program, I just get the message "file not found".
Any Ideas?


|--{ wine_wrapper_005.pl }--> ---------------------- started
|--{ wine_wrapper_005.pl }--> REGCREATEing to ./wine_wrapper_005.pl.reg :-)
|--{ wine_wrapper_005.pl }--> added supported extension: .mp3
|--{ wine_wrapper_005.pl }--> added supported extension: .m3u
|--{ wine_wrapper_005.pl }--> added supported extension: .ogg
|--{ wine_wrapper_005.pl }--> added supported extension: .wav
|--{ wine_wrapper_005.pl }--> added supported extension: .cda
|--{ wine_wrapper_005.pl }--> added supported extension: .mod
|--{ wine_wrapper_005.pl }--> added supported extension: .xm
|--{ wine_wrapper_005.pl }--> added supported extension: .s3m
|--{ wine_wrapper_005.pl }--> added supported extension: .sid
|--{ wine_wrapper_005.pl }--> added supported extension: .it
|--{ wine_wrapper_005.pl }--> added supported extension: .wma
|--{ wine_wrapper_005.pl }--> added supported extension: .pls
|--{ wine_wrapper_005.pl }--> added supported extension: .htm
|--{ wine_wrapper_005.pl }--> added supported extension: .html
|--{ wine_wrapper_005.pl }--> added supported extension: .shtml
|--{ wine_wrapper_005.pl }--> added supported extension: .swf
|--{ wine_wrapper_005.pl }--> added supported extension: .avi
|--{ wine_wrapper_005.pl }--> added supported extension: .mpg
|--{ wine_wrapper_005.pl }--> added supported extension: .mp4
|--{ wine_wrapper_005.pl }--> added supported extension: .mov
|--{ wine_wrapper_005.pl }--> added supported extension: .wmv
|--{ wine_wrapper_005.pl }--> added supported extension: .flv
|--{ wine_wrapper_005.pl }--> added supported extension: .divx
|--{ wine_wrapper_005.pl }--> added supported extension: .vob
|--{ wine_wrapper_005.pl }--> added supported extension: .dv
|--{ wine_wrapper_005.pl }--> added supported extension: .d64
|--{ wine_wrapper_005.pl }--> added supported extension: .lnx
|--{ wine_wrapper_005.pl }--> added supported extension: .d81
|--{ wine_wrapper_005.pl }--> added supported extension: .t64
|--{ wine_wrapper_005.pl }--> added supported extension: .prg
|--{ wine_wrapper_005.pl }--> added supported extension: .p00
|--{ wine_wrapper_005.pl }--> added supported extension: .tap
|--{ wine_wrapper_005.pl }--> added supported extension: .crt
|--{ wine_wrapper_005.pl }--> added supported extension: .d644
|--{ wine_wrapper_005.pl }--> added supported extension: .t644
|--{ wine_wrapper_005.pl }--> added supported extension: .prg4
|--{ wine_wrapper_005.pl }--> added supported extension: .p004
|--{ wine_wrapper_005.pl }--> added supported extension: .tap4
|--{ wine_wrapper_005.pl }--> added supported extension: .d648
|--{ wine_wrapper_005.pl }--> added supported extension: .t648
|--{ wine_wrapper_005.pl }--> added supported extension: .prg8
|--{ wine_wrapper_005.pl }--> added supported extension: .p008
|--{ wine_wrapper_005.pl }--> added supported extension: .tap8
|--{ wine_wrapper_005.pl }--> added supported extension: .png
|--{ wine_wrapper_005.pl }--> added supported extension: .jpg
|--{ wine_wrapper_005.pl }--> added supported extension: .jpeg
|--{ wine_wrapper_005.pl }--> added supported extension: .gif
|--{ wine_wrapper_005.pl }--> added supported extension: .ani
|--{ wine_wrapper_005.pl }--> added supported extension: .bmp
|--{ wine_wrapper_005.pl }--> added supported extension: .iff
|--{ wine_wrapper_005.pl }--> added supported extension: .ico
|--{ wine_wrapper_005.pl }--> added supported extension: .pcx
|--{ wine_wrapper_005.pl }--> added supported extension: .pnm
|--{ wine_wrapper_005.pl }--> added supported extension: .svg
|--{ wine_wrapper_005.pl }--> added supported extension: .ras
|--{ wine_wrapper_005.pl }--> added supported extension: .tga
|--{ wine_wrapper_005.pl }--> added supported extension: .tif
|--{ wine_wrapper_005.pl }--> added supported extension: .wbmp
|--{ wine_wrapper_005.pl }--> added supported extension: .xbm
|--{ wine_wrapper_005.pl }--> added supported extension: .xpm
|--{ wine_wrapper_005.pl }--> added supported extension: .pdf
|--{ wine_wrapper_005.pl }--> added supported extension: .ps
|--{ wine_wrapper_005.pl }--> added supported extension: .xls
|--{ wine_wrapper_005.pl }--> added supported extension: .ods
|--{ wine_wrapper_005.pl }--> added supported extension: .doc
|--{ wine_wrapper_005.pl }--> added supported extension: .odt
|--{ wine_wrapper_005.pl }--> added supported extension: .txt
|--{ wine_wrapper_005.pl }--> added supported extension: .pl
|--{ wine_wrapper_005.pl }--> added supported extension: .ini
|--{ wine_wrapper_005.pl }--> added supported extension: .reg
|--{ wine_wrapper_005.pl }--> added supported extension: .xml
|--{ wine_wrapper_005.pl }--> added supported extension: .c
|--{ wine_wrapper_005.pl }--> added supported extension: .h
|--{ wine_wrapper_005.pl }--> added supported extension: .sql
|--{ wine_wrapper_005.pl }--> added supported extension: .log
|--{ wine_wrapper_005.pl }--> added supported extension: .php
|--{ wine_wrapper_005.pl }--> added supported extension: .php3
|--{ wine_wrapper_005.pl }--> added supported extension: .php4
|--{ wine_wrapper_005.pl }--> added supported extension: .php5
|--{ wine_wrapper_005.pl }--> added supported extension: .hex
|--{ wine_wrapper_005.pl }--> added supported extension: .bin
|--{ wine_wrapper_005.pl }--> added supported extension: .zip
|--{ wine_wrapper_005.pl }--> added supported extension: .rar
|--{ wine_wrapper_005.pl }--> added supported extension: .7z
|--{ wine_wrapper_005.pl }--> added supported extension: .gz
|--{ wine_wrapper_005.pl }--> added supported extension: .arj
|--{ wine_wrapper_005.pl }--> added supported extension: .lha
|--{ wine_wrapper_005.pl }--> added supported extension: .lzh
|--{ wine_wrapper_005.pl }--> added supported extension: .ace
|--{ wine_wrapper_005.pl }--> added supported extension: .bz2
|--{ wine_wrapper_005.pl }--> added supported extension: .iso
|--{ wine_wrapper_005.pl }--> added supported extension: .deb
|--{ wine_wrapper_005.pl }--> finished creating .reg
|--{ wine_wrapper_005.pl }--> you should now have a look and import it via regedit!
seb
Member
Member
Posts: 131
Joined: 2003-03-04, 07:41 UTC

Post by *seb »

from what you have pasted i see that you have at least tried step 4b as well,
you should NOW import the .reg file to the registry...

the first post on the second page is just trouble-shooting and not documentation how to get it installed, look inside the .pl file for that!

if you did install it including importing to registry, you may try the stuff on the top of page two. debug=9 and pasting output here might be a good idea, but please strip it down a bit
pale
Junior Member
Junior Member
Posts: 6
Joined: 2009-03-31, 10:39 UTC

few wishes

Post by *pale »

hi "seb" i like your script it is very very usefull, but i have few wishes!!!!

could you create wrapper script for handling context menu for example, when i right click to the file with extension .bz2 or any compresed format, that context menu show me "extract" command

this could be very usefull too, if you can add "open with" command in context menu when doing right click on any file(i try this with wine and adding some reg keys that is used for "right click" options in normal windows version, but doesnt seems to work <--- this is wine issue)

(wthout wrapper script to show nativly windows context menu shell32.dll must be edited and add some registry key <---- but this is for wine developers)

and one more wish, if you can add support for multiple file opening with one program

that would me all
regards

ps: please answer to my post i wana now what to do next
pale
Junior Member
Junior Member
Posts: 6
Joined: 2009-03-31, 10:39 UTC

not needed anymore

Post by *pale »

i done it on my own way
seb
Member
Member
Posts: 131
Joined: 2003-03-04, 07:41 UTC

Post by *seb »

very nice, tell us about it! :)
infro
New Member
New Member
Posts: 1
Joined: 2009-06-17, 23:03 UTC
Location: Lithuania

Post by *infro »

Hi,
I tried this script and it works. Thank You sooo much :)
Also functionallity mentioned by 'pale' would be really nice (if that is possible).
BTW, is there a way to make F4 open documents in gedit or some other linux program?
thanks.
I couldn't afford a cool signature, so I just got this one.
User avatar
Dominus
Junior Member
Junior Member
Posts: 42
Joined: 2004-04-27, 14:00 UTC

Post by *Dominus »

Hi, I'm now on a Mac and this is not fully working for me. Most likely because I'm using Crossover and cannot get the winepath working.
Can I pass this winepath with the abslout path to wine (/Applications/CrossOver.app/Contents/SharedSupport/CrossOver/bin/wine) somehow in the perl script?

(I know you are probably not monitoring this forum anymore...)
User avatar
Dominus
Junior Member
Junior Member
Posts: 42
Joined: 2004-04-27, 14:00 UTC

Post by *Dominus »

made it work now...
my steps:
- built current Wine with MacPorts
- made script:

Code: Select all

#!/usr/bin/env bash
export WINEPATH="/opt/local/bin"
Open /Applications/crossover.app
of course you can just use the self built wine for that, too :)
davidonlaptop
New Member
New Member
Posts: 1
Joined: 2009-10-16, 04:38 UTC

Open folder with music player

Post by *davidonlaptop »

Nice!! That works great!

is there a way to do a right-click on a music folder and choose "open with music player", like winamp does?
User avatar
Dominus
Junior Member
Junior Member
Posts: 42
Joined: 2004-04-27, 14:00 UTC

Post by *Dominus »

after mucking around more and more with this I found out that if you just want to have your standard Mac/Linux application start with a doubleclicked file, you can just associate them with winebrowser.
Example:

Code: Select all

REGEDIT4
[HKEY_CLASSES_ROOT\.mp3]
@="WINE_BROWSER.file"

[HKEY_CLASSES_ROOT\WINE_BROWSER.file\shell\open\command]
@="winebrowser \"%1\""
So no reason to use the wine wrapper.
marlar
Junior Member
Junior Member
Posts: 40
Joined: 2010-03-08, 11:18 UTC

Post by *marlar »

Dominus wrote:after mucking around more and more with this I found out that if you just want to have your standard Mac/Linux application start with a doubleclicked file, you can just associate them with winebrowser.
Thanks. That worked perfectly!
wuxort
New Member
New Member
Posts: 1
Joined: 2010-09-19, 11:23 UTC

Icons

Post by *wuxort »

It would be nice if i can get the Icon-s working, so i could separate all those things better, i think its easy to make, though i don't know exactly. I would be happy if i see this in a newer version, or just a post how can I do that :)

Thanx

WuXorT
Murdah777
New Member
New Member
Posts: 1
Joined: 2010-10-14, 12:56 UTC
Contact:

Post by *Murdah777 »

Nice!! That works great!

is there a way to do a right-click on a music folder and choose "open with music player", like winamp does?
Post Reply