New folder for new protocols for protocols.ini (RM)
Posted: Fri Jan 22, 2010 3:26 pm
As Graham has been adding a whole bunch of new protocols to DecodeIR, the program that works behind the scenes to recognize protocols in programs like IR, IR Tool, DecodeCCF, etc. I though I should provide a place to put the code that would be needed to add the protocols to RM (ie, the protocols.ini file).
So, to that end, I have created this folder:
http://www.hifi-remote.com/forums/dload ... cat_id=131
In there you will find an updated copy of the protocols.ini file and you will find code for various other protocols, saved as text files. Anybody is free to add files to this folder whenever they come up with the right code for an un-supported protocol.
Graham (mathdon) will sweep this folder every so often and will add the code to the master file if he approves it.
However, while most protocols can be added by simply adding an entry to the protocols.ini file, there are some that require new translators to be written (these are little java programs). When this is the case, you should expect to see a zip file containing a text file with the protocols.ini code and a .class file. The .class file will need to be added to RemoteMaster.jar in order for it to work (see instructions below). You may also see a .java file in the zip if the author has chosen to include it for documentation purposes, but you don't need to do anything with the .java file.
To add a .class file to RemoteMaster.jar this is what you need to do:
1) Create a folder called c:\com\hifiremote\jp1
2) Save the .class file in this folder
2) Open RemoteMaster.jar using WinZip (or whatever zip software you prefer).
3) Add the file, preserving the path info (in WinZip, check the "Save full path info" box)
4) Save and close the file.
So, to that end, I have created this folder:
http://www.hifi-remote.com/forums/dload ... cat_id=131
In there you will find an updated copy of the protocols.ini file and you will find code for various other protocols, saved as text files. Anybody is free to add files to this folder whenever they come up with the right code for an un-supported protocol.
Graham (mathdon) will sweep this folder every so often and will add the code to the master file if he approves it.
However, while most protocols can be added by simply adding an entry to the protocols.ini file, there are some that require new translators to be written (these are little java programs). When this is the case, you should expect to see a zip file containing a text file with the protocols.ini code and a .class file. The .class file will need to be added to RemoteMaster.jar in order for it to work (see instructions below). You may also see a .java file in the zip if the author has chosen to include it for documentation purposes, but you don't need to do anything with the .java file.
To add a .class file to RemoteMaster.jar this is what you need to do:
1) Create a folder called c:\com\hifiremote\jp1
2) Save the .class file in this folder
2) Open RemoteMaster.jar using WinZip (or whatever zip software you prefer).
3) Add the file, preserving the path info (in WinZip, check the "Save full path info" box)
4) Save and close the file.