Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
applyppf3: command not found
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
BWoso
l33t
l33t


Joined: 31 Dec 2003
Posts: 920
Location: Cleveland Ohio, USA

PostPosted: Sun Apr 10, 2005 11:38 pm    Post subject: applyppf3: command not found Reply with quote

Hello all,
I am trying to run a fix.bat file that is going to fix the aspect ratio on an avi file. I gave the file executable permissions and ran sh fix.bat. Here is some useful output.
Code:
$ ls
applyppf3.exe  fixa.bat  fixs.bat              natr-xvid-tvid_1.ppf  natr-xvid-tvid_2.ppf
fix.bat        fixb.bat  natr-xvid-tvid_1.avi  natr-xvid-tvid_2.avi  sample-natr-xvid-tvid.ppf
$ sh fix.bat
fix.bat: line 1: applyppf3: command not found
fix.bat: line 2: applyppf3: command not found
$ cat fix.bat
applyppf3 a natr-xvid-tvid_1.avi natr-xvid-tvid_1.ppf
applyppf3 a natr-xvid-tvid_2.avi natr-xvid-tvid_2.ppf
I would assume that I have to emerge something for this to work, so can someone enlighten me to what I have to emerge or what I have to do. Thanks.
_________________
I think that the forums are the greatest thing about Gentoo, thanks to everyone that posts on them!

The best way to cheer yourself up is to try to cheer somebody else up.
-Mark Twain-
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Sun Apr 10, 2005 11:50 pm    Post subject: Reply with quote

Ehhhhr... That is a windoze app, isn't it?

If affirmative, which I suppose is, then you need to emerge wine, but there is a big chance that the app do not completely work (or at all). Anyway, if this is a Windows app and the bat file is a windows batch file you will need to edit that file and change some things to make it work under linux, starting by changing all the ocurrences of 'applyppf3.exe' for 'wine ./applyppf3.exe'.

Of course you need to know a bit about .bat files to properly do this, and you will also need to know how wine configuration file works and so on.

If you need help ask here, but as I said I doubt that that apps will work if its a windows one. If it is not then excuse me, but it seems the like. :wink:
Back to top
View user's profile Send private message
BWoso
l33t
l33t


Joined: 31 Dec 2003
Posts: 920
Location: Cleveland Ohio, USA

PostPosted: Mon Apr 11, 2005 12:11 am    Post subject: Reply with quote

wine fix.bat didn't work, but this did.
Code:
$ wine applyppf3.exe a natr-xvid-tvid_1.avi natr-xvid-tvid_1.ppf
ApplyPPF v3.0 by =Icarus/Paradox= Nov 26 2001
Patchfile is a PPF3.0 patch. Patch Information:
Description : fix aspect setting
File_id.diz : not available
Patching ... successful.
$ wine applyppf3.exe a natr-xvid-tvid_2.avi natr-xvid-tvid_2.ppf
ApplyPPF v3.0 by =Icarus/Paradox= Nov 26 2001
Patchfile is a PPF3.0 patch. Patch Information:
Description : fix aspect setting
File_id.diz : not available
Patching ... successful.

I forgot about wine, thanks for the help.
_________________
I think that the forums are the greatest thing about Gentoo, thanks to everyone that posts on them!

The best way to cheer yourself up is to try to cheer somebody else up.
-Mark Twain-
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Mon Apr 11, 2005 12:30 am    Post subject: Reply with quote

BWoso wrote:
wine fix.bat didn't work, but this did.
Code:
$ wine applyppf3.exe a natr-xvid-tvid_1.avi natr-xvid-tvid_1.ppf
ApplyPPF v3.0 by =Icarus/Paradox= Nov 26 2001
Patchfile is a PPF3.0 patch. Patch Information:
Description : fix aspect setting
File_id.diz : not available
Patching ... successful.
$ wine applyppf3.exe a natr-xvid-tvid_2.avi natr-xvid-tvid_2.ppf
ApplyPPF v3.0 by =Icarus/Paradox= Nov 26 2001
Patchfile is a PPF3.0 patch. Patch Information:
Description : fix aspect setting
File_id.diz : not available
Patching ... successful.

I forgot about wine, thanks for the help.

If you want post the .bat file and i will modify it for you.
Back to top
View user's profile Send private message
BWoso
l33t
l33t


Joined: 31 Dec 2003
Posts: 920
Location: Cleveland Ohio, USA

PostPosted: Mon Apr 11, 2005 1:12 am    Post subject: Reply with quote

I looked at the .bat file and all it did was do the two commands that I posted above, so I just ran those seperate. I would assume if I had put wine infront of both of the commands in the .bat file it would have worked, but I didn't think about that until after I had already done them seperate. But thanks for the offer.
_________________
I think that the forums are the greatest thing about Gentoo, thanks to everyone that posts on them!

The best way to cheer yourself up is to try to cheer somebody else up.
-Mark Twain-
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Mon Apr 11, 2005 1:25 am    Post subject: Reply with quote

No problem. :D

In my old times I used DOS a lot, and know almost anything about DOS batch scripting (that is nothing compared to the power of the most simple linux shell, like sh). To compare command.com with bash would be like comparing penguin with an F-18, in terms of flying, of course. :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum