Calling from IR works.
Drag & drop does not.
In short - the change made no difference.
Need help with IRToWav
Moderator: Moderators
Ah, ok, IRToWav.bat changes the current directory, so "." won't work. Even if not, Windows would change it where it is specified in the property.
Try this: save the following content as setup.bat, put it in the same directory as IRToWav, then double click on it once. It'll create the .bat files with the classpath embedded.
This may not work on Windows 98/Me. If that's the case, manually edit the batch files and specify the classpath with full directory name surrounded by double quotes.
Hal
Try this: save the following content as setup.bat, put it in the same directory as IRToWav, then double click on it once. It'll create the .bat files with the classpath embedded.
Code: Select all
echo @echo off >IR2W.bat
echo java -classpath "%CD%" IRToWav %%1 %%2 %%3 %%4 %%5 %%6 %%7 %%8 %%9 >>IR2W.bat
echo @echo off >IRToWav.bat
echo cd /d %userprofile%\Desktop >>IRToWav.bat
echo echo Building sound file, wait.... >>IRToWav.bat
echo java -classpath "%CD%" IRToWav %%1 >>IRToWav.bat
echo echo Prepare the remote for download: >>IRToWav.bat
echo echo Click on the play button on your audio player when you are ready. >>IRToWav.bat
echo pause >>IRToWav.bat
echo start Upgrade.Wav >>IRToWav.batHal
-
Capn Trips
- Expert
- Posts: 3989
- Joined: Fri Oct 03, 2003 6:56 am
"...and they were forced to eat their minstrels.
AND THERE WAS GREAT REJOICING! ('yay')"
That did it.
Thank you greatly.
(I would next humbly suggest updating the IRtoWAV.zip file, and uploading it somewhere over here, rather than only over at Yahoo, where it currently resides.)
AND THERE WAS GREAT REJOICING! ('yay')"
That did it.
(I would next humbly suggest updating the IRtoWAV.zip file, and uploading it somewhere over here, rather than only over at Yahoo, where it currently resides.)
Last edited by Capn Trips on Wed Aug 10, 2005 1:26 am, edited 1 time in total.
-
The Robman
- Site Owner
- Posts: 21889
- Joined: Fri Aug 01, 2003 9:37 am
- Location: Chicago, IL
- Contact:
I clued Alain into this thread yesterday, but he's in middle of moving so he doesn't have much computer access right now.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
-
Capn Trips
- Expert
- Posts: 3989
- Joined: Fri Oct 03, 2003 6:56 am
Well, as a stopgap, I uploaded the zip with the setup.bat added HERE, and will be happy to remove it if/when Alain has the time/inclination to upload the "official" version.
-
aberguerand
- Advanced Member
- Posts: 259
- Joined: Sun Aug 10, 2003 11:55 pm
- Location: Lausanne, VD, Switzerland
Hello all,
sorry for the late answer, as Rob mentioned, I had no real Internet access during the last days.
Thanks to Hal for providing an elegant solution to the nasty Java classpath issue. I will integrate Hal's setup batch in the "official" version and amend the instructions accordingly, giving credits to whom they are dued.
As a side note, I did not know that IR was actually calling IRToWav, I thought the Java code had been ported and integrated in IR
. Anyway, I will also mention it in the instructions.
Alain
sorry for the late answer, as Rob mentioned, I had no real Internet access during the last days.
Thanks to Hal for providing an elegant solution to the nasty Java classpath issue. I will integrate Hal's setup batch in the "official" version and amend the instructions accordingly, giving credits to whom they are dued.
As a side note, I did not know that IR was actually calling IRToWav, I thought the Java code had been ported and integrated in IR
Alain