thanks barf, i'll make a mac specific thread. i dl'd irscrutinizer from the link you provided and it launches and runs just fine natively. yea i agree its a java issue, but i'm over my head with that.
best,
jeff
RMIR v2.12 available
Moderator: Moderators
Just for the fun of it:
While looking at greeno's thread, it occurs to me that the class DynamicURLClassLoader appears to be a solution in search of a problem. The only thing it is (presently) used for is to locate icons (RemoteMaster.createIcon(String)), and there are much easier ways to do that than to deploy a custom ClassLoader. (Tried imageURL = RemoteMaster.class.getResource( "/" + imgLocation ) -- works.)
According to SVN it was checked in by user yawor. Marcin, are you there?
While looking at greeno's thread, it occurs to me that the class DynamicURLClassLoader appears to be a solution in search of a problem. The only thing it is (presently) used for is to locate icons (RemoteMaster.createIcon(String)), and there are much easier ways to do that than to deploy a custom ClassLoader. (Tried imageURL = RemoteMaster.class.getResource( "/" + imgLocation ) -- works.)
According to SVN it was checked in by user yawor. Marcin, are you there?
If you look up revision 1595 in which Marcin introduced this, he describes it as "Attempt at fixing Java 9 and 10 compatibility issue". It apparently replaced an earlier module ClassPathAdder.java that I haven't looked up. So there was an issue to be resolved, though I have no idea if it was a sensible way of doing it. These Java issues are way beyond my understanding.Barf wrote:While looking at greeno's thread, it occurs to me that the class DynamicURLClassLoader appears to be a solution in search of a problem.
Graham
I just tried to export this file as Girr. The file uses the NEC2 protocol, Device=50, Sub Device defaulted. Turned out that the export was erroneous; it had S (subdevice) = 0. Correct would have been to leave it out (or to have S=255-D=155).
@Barf
Your post is in the wrong thread, as the current RMIR thread is that for RMIR v2.13. The bug causing your error appears to be a very longstanding error in protocols.ini. If you look at the entry for the NEC 4DEV Combo you will see
with similar entries for the other three Device / Sub Device pairs. The Sub Device default [-0] means that the default is the complement of the device parameter with index 0, which is Device 1. A number of other NEC protocols have similar entries, but those that use PID=00 5A do not. This is not normally significant as the NEC005ATranslator handles the default for this executor, but it matters for the export to a Girr file. So the Sub Device default for protocol.ini entries with PID=00 5A needs to be changed from 0 to [-0]. If you try this, you should find that it fixes the problem.
There are a few NEC entries that use other executors and have a Sub Device default of 0. Unless I have missed something, these are NEC-34 and NEC1-rnc, both of which I suspect are little used. Unless you think otherwise, I will change these too to [-0] for the next release of RMIR.
Your post is in the wrong thread, as the current RMIR thread is that for RMIR v2.13. The bug causing your error appears to be a very longstanding error in protocols.ini. If you look at the entry for the NEC 4DEV Combo you will see
Code: Select all
DevParms=Device 1,Sub Device 1=[-0],...There are a few NEC entries that use other executors and have a Sub Device default of 0. Unless I have missed something, these are NEC-34 and NEC1-rnc, both of which I suspect are little used. Unless you think otherwise, I will change these too to [-0] for the next release of RMIR.
Graham
mathdon wrote:@Barf
Your post is in the wrong thread,
Sounds good!The bug causing your error appears to be a very longstanding error in protocols.ini. If you look at the entry for the NEC 4DEV Combo you will seewith similar entries for the other three Device / Sub Device pairs. The Sub Device default [-0] means that the default is the complement of the device parameter with index 0, which is Device 1. ... Unless you think otherwise, I will change these too to [-0] for the next release of RMIR.Code: Select all
DevParms=Device 1,Sub Device 1=[-0],...