Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Help with U-Hid configuration script  (Read 2841 times)

0 Members and 1 Guest are viewing this topic.

MidLifeCrisis

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 8
  • Last login:March 09, 2024, 10:39:23 am
  • And... It's broke again... and so am I
Help with U-Hid configuration script
« on: December 12, 2021, 01:13:44 am »
Hello,

I am new to the hobby and can't seem to figure this out. I am using an Ultimarc U-Hid and am attempting to create a batch file to load different configurations to the encoder based on the emulator I am running.

In the U-Hid manualt it says:
The U-Config utility can be run from a command-line (ie Batch file) by using the command “U-Config <name of HID file>”. The board will be programmed with the contents of the HID file.

This is the batch file I am trying to create:
@ECHO OFF
START "" "C:\Program Files (x86)\Uconfig\u-config Keyboard_1.hid"
PAUSE

When I run this, I keep getting a "File not Found" error. I've tried different places to put the quotation marks, I've tried putting the <> like it shows in the directions, I've tried placing a - before the file as well as a /, but can't seem to get it to work.  I've also tried it through AHK with no success.

Any help with the correct way to send the command would be greatly appreciated. Thank you.




Havok

  • Keeper of the __Blue_Stars___
  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4522
  • Last login:October 22, 2023, 09:14:44 pm
  • Insufficient facts always invite danger.
Re: Help with U-Hid configuration script
« Reply #1 on: December 22, 2021, 01:46:00 am »
You're not specifying the actual executable in your batch file. Normally when you use the Start command, it references some application. I'm not familiar with this product, but I would hazard a guess that your second line should be something like this:

"C:\Program Files (x86)\Uconfig\U-Config.exe" "C:\Program Files (x86)\Uconfig\u-config Keyboard_1.hid"

I'm assuming the uconfig filename and location, so obviously change them to where it is on your system, but hopefully that helps.