Main > Software Forum
MameHooker wip 2019
Howard_Casto:
The long dormant mamehooker 5.2 will hopefully be released soon. Aside from some better ultimarc support the main additions this time are dials and text box support for display files, which will allow you to build an instrument panel on a second screen for racers and flight sims. I'm currently testing the new features for bugs and tweaking a few things, and you know how slow I am about releases these days, but here is what I'm adding according to the "what's new":
Added Buffer position flag, which allows you to set a value to a single character in a buffer (%b1p1% = buffer 1, first character)
Loading a display file no longer steals focus, making them more compatible with some games and emulators.
Display file cleanup is now more robust.
Added monitor short-cuts for display file positions... if you define the position variables of a display file to %2, for example, it will automatically be resized to monitor 2.
Added Dial elements to display files. For use with racing games and such.
Added text boxes to display files. Useful for text that needs to be centered.
Added Support for newer Ultimarc devices such as the Ultimate I/O, the Servo Stick and the NanoLED.
To preserve my sanity, mamehooker now checks to see if a ledwiz has been detected by the dll before sending a command... so no more beeps!
Again, purely for my benefit, the test prompt and function selection prompt now appear directly below the main window.
I'm preparing a couple of example instrument panels, so I'll post pics when they are done.
baritonomarchetto:
Nice to see further developments of such a brilliant piece of code, Howard. Keep it up
Howard_Casto:
Thanks man. I'll get this out of the way and then troubleshooter 2 is next..... HUGE updates to it. ;)
Howard_Casto:
Ok, as promised here is a simple example of the new dial functions. Note that all the tick marks and numbers are rendered... they aren't images. Everything is customizable, so even gauges for flight sims should be possible if you get a bit creative with the background image. As I post this I realize that it isn't very exciting as-is. I'll try to post a video later so you can see them in action.
I've also took the time to make bar-style meters. Technically you could do these via a series of images, but this makes it possible to just make a "full on" and "full off" image and let mamehooker deal with the calculations.... no need to make 100 images for a 100 position meter. It's the same deal with the dials... you technically could do them with images, but it's an ungodly amount of work, not to mention a real pain to package up and distribute to others.
Howard_Casto:
Found a nasty bug.... this is why I test extensively. It might take a while to fix.
Navigation
[0] Message Index
[#] Next page
Go to full version