Support pack for Ortek VRC-1100 and Hama 00052451

Discussion in 'Remotes' started by CyberSimian, May 6, 2019.

  1. CyberSimian
    • Team MediaPortal

    CyberSimian Test Group

    Joined:
    June 10, 2013
    Messages:
    1,609
    Likes Received:
    533
    Gender:
    Male
    Location:
    Southampton
    Ratings:
    +951 / 3
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    This post contains a support pack for use with the Ortek VRC-1100 and Hama 00052451 remote controls. The support pack allows these remote controls to work with MP1, and cures some of the quirks that these remote controls have. This support pack does not work with MP2. The major components are:

    Centarea HID.xml
    This is the configuration file that specifies the action performed by each button on the remote control. This file can be modified by clicking "Mapping" on the "Sceneo" tab in the "Remotes and Input Devices" section of the "MediaPortal Configuration" tool. Two versions of the configuration file are provided:

    Centarea HID.xml_a -- this is the advanced configuration file. It provides improved usability, but requires the user to install the AutoHotKey tool.

    Centarea HID.xml_b -- this is the basic configuration file. This allows the Ortek and Hama remote controls to work with MP1, but does not provide any usability improvements. This version does not require use of the AutoHotKey tool.​

    The advanced and basic versions of the configuration file are not compatible with each other, so you should decide which version you want to use before customising the button assignments to suit your own preferences.

    Centarea HID.ahk
    This is the AutoHotKey script that performs the processing needed to improve the usability of the Ortek and Hama remote controls. For example, this script allows MediaPortal to be started from the Windows desktop by pressing the START button on the remote control. This script requires no modification by the user.

    Centarea HID.ini
    This is a standard Windows-format INI file that contains several settings which control the processing performed by the AutoHotKey script. This can be modified by the user.

    Centarea HID.txt
    This is a plain-text file that explains how to use the support pack.

    install.bat
    This is a batch script that installs the support pack files in the correct folders. Existing files in those folders are not overwritten -- they are moved to a backup folder that is located in the "InputDeviceMappings" folder. There is a corresponding uninstall.bat if you wish to discontinue use of the support pack.


    Brief installation instructions
    (1) Create a dedicated folder to contain the support pack. This folder can reside anywhere in your system, but avoid placing the dedicated folder in the "Team MediaPortal" folder tree. The folder can have any name that you choose, but the name Centarea HID (2019-05-06) is suggested.

    (2) Download the zip file attached to this post, and place it in the dedicated folder. Unzip the zip file.

    (3) Read the file "Centarea HID.txt" and decide whether you want to use the advanced configuration or the basic configuration.

    (4) To start using the support pack, run "install.bat". The bat file will ask you whether you want to use the advanced configuration or the basic configuation. The installation will preserve existing files in a backup folder, and then copy the relevant files to their appropriate locations.

    (5) If you want to use the advanced configuration, download and install the AutoHotKey tool. Reboot your system to start the Centarea HID AutoHotKey script.


    Summary of changes in version 2019-05-06
    (1) Revised installation procedure.
    (2) Basic configuration file added.
    (3) Two minor bug fixes in the AHK file (the AutoHotKey script).
    (4) Clarifications in the TXT file.
    (5) Revisions to several button definitions in the XML file (the configuration file).

    Note: the XML file is upwardly compatible with the previous release, and you can continue to use your customised version. However, MP 1.22 required a fix to the handling of the VOLUME and MUTE buttons for Microsoft MCE RC6 remote controls, and this has had an adverse effect on the behaviour of those buttons in the Centatrea HID.

    To correct this problem, you should modify the actions of the VOLUME_UP, VOLUME_DOWN, and MUTE buttons so that they perform no action (select action "Invalid"). The buttons will continue to control the volume as usual. Without this change, you will find that the on-screen display of volume level gives an incorrect indication of the volume level (for example, it may indicate maximum volume level when the volume is not at maximum).

    However, if you use the "CEC Remote" plugin, you should leave the definitions of the VOLUME and MUTE buttons unchanged (the "CEC Remote" plugin requires this in order to work correctly).

    Refer to the file "Centarea HID.txt" for more details of the changes in this release.

    Edit (2019-05-07): Replaced the zip file with one compressed using a method that Windows understands. No change to the content.

    -- from CyberSimian in the UK

    Statistics
    Code (Text):
    1.  Release     Downloads
    2. 2016-01-14      259
    3. 2016-05-19       64
    4. 2016-10-25       77
    5. 2016-12-09      252
    6. 2019-05-06        5 (so far)


     

    Attached Files:

    Last edited: May 7, 2019
    • Like Like x 1
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. CyberSimian
    • Team MediaPortal

    CyberSimian Test Group

    Joined:
    June 10, 2013
    Messages:
    1,609
    Likes Received:
    533
    Gender:
    Male
    Location:
    Southampton
    Ratings:
    +951 / 3
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    This post reserved for future use.
     
  4. mrceolla

    mrceolla Portal Pro

    Joined:
    December 11, 2010
    Messages:
    135
    Likes Received:
    10
    Ratings:
    +12 / 0
    Thanks CyberSimian! I've been using your older AHK script on two different MP1 installs and 2 VRC-1100 remotes. In Win7, I used to use an EventGhost solution but that doesn't work in Win10. I've noticed a few minor issues with the script I'm currently using and looking forward to trying this out to see if they've been fixed. For example, I can't use my mouse and keyboard like I want with AHK running. Also, some of the media buttons don't work correctly if not on the home screen. Looking forward to trying this out.

    Cheers!
     
  5. CyberSimian
    • Team MediaPortal

    CyberSimian Test Group

    Joined:
    June 10, 2013
    Messages:
    1,609
    Likes Received:
    533
    Gender:
    Male
    Location:
    Southampton
    Ratings:
    +951 / 3
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    It may not be possible to fix or circumvent all problems, but please report behaviour that does not seem right, and I will see if a fix or circumvention is possible.

    -- from CyberSimian in the UK
     
  6. mrceolla

    mrceolla Portal Pro

    Joined:
    December 11, 2010
    Messages:
    135
    Likes Received:
    10
    Ratings:
    +12 / 0
    One of the problems I have is that Shift-1 (or exclaimation point) doesn't work to bring up the video diagnostics display when I have this all running.

    Another thing I just noticed is that in Win10, I need to click on the desktop before the green Start button will work to open up MediaPortal.

    Can anything be done about those 2 things?

    Much thanks!
     
  7. CyberSimian
    • Team MediaPortal

    CyberSimian Test Group

    Joined:
    June 10, 2013
    Messages:
    1,609
    Likes Received:
    533
    Gender:
    Male
    Location:
    Southampton
    Ratings:
    +951 / 3
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    You can achieve this by modifying the definition of the "!" key in the keyboard section of the configuration file. The left screen shot below shows the definition that you need for the "!" keyboard key. The right screen shot shows a definition for the "#" button on the remote control that performs the same function (MP uses the first "No condition" definition):

    exclamation_key.jpg number_sign_button.jpg

    I will add the definition for the "!" key to the XML files included in the support pack for the next release.

    I have noticed this too, with Windows 7. The root cause is (I think) that AutoHotKey is not digitally signed by Microsoft. This means that Windows won't allow it to run with administrator privileges.

    On my Windows 7, I often have several command windows open, some with user privileges, and some with adminstrator privileges. If it is one of the adminstrator windows that has the focus when I press the START button, the AutoHotKey script cannot run and MP does not start. In contrast, if it is one of the user windows that has the focus, or the desktop has the focus, MP starts as expected.

    I think that there are ways that you can personally digitally-sign the AutoHotKey exe file, but of course you have to do this on your own system (the AutoHotKey that you download won't be digitally signed). Look for "signcode.exe" and others (I did only a quick search, so I may have misunderstood what is possible).

    -- from CyberSimian in the UK
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!