JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

Need help with IRToWav
Goto page Previous  1, 2
 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - Software
View previous topic :: View next topic  
Author Message
Capn Trips
Expert


Joined: 03 Oct 2003
Posts: 3990

                    
PostPosted: Tue Aug 09, 2005 7:02 pm    Post subject: Reply with quote

Calling from IR works.

Drag & drop does not.

In short - the change made no difference.
Back to top
View user's profile Send private message
mtakahar
Expert


Joined: 03 Aug 2003
Posts: 281

                    
PostPosted: Tue Aug 09, 2005 8:49 pm    Post subject: Reply with quote

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.
Code:
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.bat


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
Back to top
View user's profile Send private message
Capn Trips
Expert


Joined: 03 Oct 2003
Posts: 3990

                    
PostPosted: Wed Aug 10, 2005 12:01 am    Post subject: Reply with quote

"...and they were forced to eat their minstrels. Confused Twisted Evil
AND THERE WAS GREAT REJOICING! ('yay')" Very Happy Laughing

That did it. Very Happy 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.)


Last edited by Capn Trips on Wed Aug 10, 2005 2:26 am; edited 1 time in total
Back to top
View user's profile Send private message
mtakahar
Expert


Joined: 03 Aug 2003
Posts: 281

                    
PostPosted: Wed Aug 10, 2005 1:54 am    Post subject: Reply with quote

I agree. Let's hope Alain finds this thread.
I can copy the file over here with this setup included, but it'll make it harder for Alain to update it later.

Hal
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21238
Location: Chicago, IL

                    
PostPosted: Wed Aug 10, 2005 7:29 am    Post subject: Reply with quote

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!
Back to top
View user's profile Send private message Visit poster's website
Capn Trips
Expert


Joined: 03 Oct 2003
Posts: 3990

                    
PostPosted: Wed Aug 10, 2005 7:47 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
aberguerand
Advanced Member


Joined: 11 Aug 2003
Posts: 257
Location: Lausanne, VD, Switzerland

                    
PostPosted: Fri Aug 12, 2005 4:40 am    Post subject: Reply with quote

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 Neutral . Anyway, I will also mention it in the instructions.

Alain
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> JP1 - Software All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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


 

Powered by phpBB © 2001, 2005 phpBB Group
Top 7 Advantages of Playing Online Slots The Evolution of Remote Control