#1 2004-11-09 18:44:40

Richard
Member
Registered: 2004-01-09
Posts: 9

Opening pars in linux

In windows when you open a par it automatically checks the rars.
I'm having probems getting this to happen in Linux (kde).
Ive associated the par extension with wine and par like this
wine '/home/skynet/.wine/drive_c/Program Files/QuickPar/QuickPar.exe'
But all this does is open quickpar in the select files to protect mode.

Are there any commands or switches I can add to get it to check the rars?

Offline

 

#2 2004-11-09 19:16:02

PeterBClements
Site Admin
From: United Kingdom
Registered: 2004-01-05
Posts: 1529
Website

Re: Opening pars in linux

You need to pass the name of the file that you clicked on to QuickPar.

The file association that gets created on Windows is:

"C:Program FilesQuickParQuickPar.exe" "%1"

So you need to use something that does the equivalent with wine.

Offline

 

#3 2004-11-16 07:28:55

Mr.Usenet
Veteran
From: Denmark (GMT+01:00)
Registered: 2004-10-24
Posts: 110
Website

Re: Opening pars in linux

on Linux/KDE3 it is:
[b:2679ip6m]setarch i386 wine "C:Program FilesQuickParQuickPar.exe" "%c"[/b:2679ip6m]
but it doesnt work.
All that happens is that QP opens and shows 2 lines;
[list:2679ip6m][*:2679ip6m]Recovery Files         0 recovery blocks[/*:m:2679ip6m]
[*:2679ip6m]Data Files                      0 blocks found[/*:m:2679ip6m][/list:u:2679ip6m]
And the progress bar says 100%
I also tried some of the other %ids, [b:2679ip6m]%i %U %u %m %F %f [/b:2679ip6m]none of those works, they just opens the main program.


Jesper
RedHat Fedora 10 'x86_64' @ Linux 2.6.x
AMD Ath 64 X2 Dual Core 4000+ ~ 1024MB DDR RAM ~ nVIDIA GeForce 6200 TC PCIe 16x @ 512MB DDR RAM
2x 320GB SATA-II Harddisks (Raid) ~ Fiber Connection @ 15/15mbit

Offline

 

#4 2004-11-16 11:29:23

PeterBClements
Site Admin
From: United Kingdom
Registered: 2004-01-05
Posts: 1529
Website

Re: Opening pars in linux

"Mr.Usenet":17grmh3e wrote:

on Linux/KDE3 it is:
[b:17grmh3e]setarch i386 wine "C:Program FilesQuickParQuickPar.exe" "%c"[/b:17grmh3e]
but it doesnt work.
[/quote:17grmh3e]
I suspect you have a problem with quote removal. Try the following:

[code:17grmh3e]setarch i386 wine "C:Program FilesQuickParQuickPar.exe" "%c"[/code:17grmh3e]

Offline

 

#5 2004-11-16 15:16:51

Mr.Usenet
Veteran
From: Denmark (GMT+01:00)
Registered: 2004-10-24
Posts: 110
Website

Re: Opening pars in linux

with "%c" it gives an error
"Service 'Wine/Programs/QuickPar/QuickPar.desktop' is malformatted."
When I click ok, it opens QP as decribed above.


Jesper
RedHat Fedora 10 'x86_64' @ Linux 2.6.x
AMD Ath 64 X2 Dual Core 4000+ ~ 1024MB DDR RAM ~ nVIDIA GeForce 6200 TC PCIe 16x @ 512MB DDR RAM
2x 320GB SATA-II Harddisks (Raid) ~ Fiber Connection @ 15/15mbit

Offline

 

#6 2004-11-16 16:20:29

PeterBClements
Site Admin
From: United Kingdom
Registered: 2004-01-05
Posts: 1529
Website

Re: Opening pars in linux

"Mr.Usenet":3uq1c1ic wrote:

with "%c" it gives an error
"Service 'Wine/Programs/QuickPar/QuickPar.desktop' is malformatted."
[/quote:3uq1c1ic]
Is that the exact error (including the position of any spaces and punctuation)? What was the full name and location of the file you tried to open?

Try the following:

[code:3uq1c1ic]setarch i386 wine "C:Program FilesQuickParQuickPar.exe" ""%c""[/code:3uq1c1ic]

Offline

 

#7 2004-11-16 17:45:59

Richard
Member
Registered: 2004-01-09
Posts: 9

Re: Opening pars in linux

Tried that Peter, still get an error like Mr Usenets
[b:12mjr8v0]Service '.hidden/wine-2.desktop' is malformatted[/b:12mjr8v0]
<!-- s:cry: --><img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very sad" /><!-- s:cry: -->

Offline

 

#8 2004-11-16 18:30:58

Mr.Usenet
Veteran
From: Denmark (GMT+01:00)
Registered: 2004-10-24
Posts: 110
Website

Re: Opening pars in linux

using [b:sgwnyn9b]setarch i386 wine "C:Program FilesQuickParQuickPar.exe" ""%c""[/b:sgwnyn9b] doesnt give the error [b:sgwnyn9b]Service 'Wine/Programs/QuickPar/QuickPar.desktop' is malformatted.[/b:sgwnyn9b] (thats the exact one) but it still opens QP with the two 0 block lines.

The folder that the PAR file is executed from is always:
/hd2/Upload/NewsBIN/<abbreviation of newsgroupname>/
/hd2/Upload/NewsBIN/<news.group.name>/
or in seperate subdirs as /foldername or /folder.name or /folder name
the filenames vary from upper/lower/mixed with and without spaces.
I have also tried in /hd2/Upload/filename.par2

My Wine version is 20041019 (Fedora Core 2 rpm)
and KDE version is 3.3.1-2.2


Jesper
RedHat Fedora 10 'x86_64' @ Linux 2.6.x
AMD Ath 64 X2 Dual Core 4000+ ~ 1024MB DDR RAM ~ nVIDIA GeForce 6200 TC PCIe 16x @ 512MB DDR RAM
2x 320GB SATA-II Harddisks (Raid) ~ Fiber Connection @ 15/15mbit

Offline

 

#9 2004-11-16 18:31:22

PeterBClements
Site Admin
From: United Kingdom
Registered: 2004-01-05
Posts: 1529
Website

Re: Opening pars in linux

I can't think of any other permuations you could try.

I suggest you visit whatever web sites provide support for wine.

Offline

 

#10 2006-12-26 14:38:35

Richard
Member
Registered: 2004-01-09
Posts: 9

Re: Opening pars in linux

*bump*  <!-- ssmile --><img src="{SMILIES_PATH}/icon_smile.gif" alt="smile" title="Smile" /><!-- ssmile -->

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB

QuickPar © 2002–2008 Peter B. Clements