View previous topic :: View next topic |
Author |
Message |
BWoso l33t
Joined: 31 Dec 2003 Posts: 920 Location: Cleveland Ohio, USA
|
Posted: Sun Apr 10, 2005 11:38 pm Post subject: applyppf3: command not found |
|
|
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 |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Sun Apr 10, 2005 11:50 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
BWoso l33t
Joined: 31 Dec 2003 Posts: 920 Location: Cleveland Ohio, USA
|
Posted: Mon Apr 11, 2005 12:11 am Post subject: |
|
|
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 |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Mon Apr 11, 2005 12:30 am Post subject: |
|
|
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 |
|
|
BWoso l33t
Joined: 31 Dec 2003 Posts: 920 Location: Cleveland Ohio, USA
|
Posted: Mon Apr 11, 2005 1:12 am Post subject: |
|
|
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 |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Mon Apr 11, 2005 1:25 am Post subject: |
|
|
No problem.
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. |
|
Back to top |
|
|
|