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: Virtua Racing Rumble - mamehooker  (Read 7259 times)

0 Members and 1 Guest are viewing this topic.

baritonomarchetto

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 822
  • Last login:Yesterday at 01:15:19 am
Virtua Racing Rumble - mamehooker
« on: May 11, 2020, 09:36:47 am »
As far as I know, Boomslang's FFPlugin gets FF and rumble information from the MAME driver. Anyway, I cannot have mamehooker to hook to that output, but only lamps: is the rumble for that game "hidden" under one of those lamps assignations eventually?

And another question while I am there: are FFPlugin and Mamehooker mutually esclusive? I would like to have both sending outputs to my peripheral, but I can have one or the other it seems...

(Thanks!)
« Last Edit: May 11, 2020, 09:38:39 am by baritonomarchetto »

baritonomarchetto

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 822
  • Last login:Yesterday at 01:15:19 am
Re: Virtua Racing Rumble - mamehooker
« Reply #1 on: May 11, 2020, 12:01:46 pm »
I have noticed vr outputs have changed name from mame 0.160 to 0.220. Unfortunately none of them sound like a rumble to me.
I also made some cohexistence tests, but they confirm that MameHooker and FFBPlugin cannot co-exist

Boomslang

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1063
  • Last login:January 01, 2024, 08:20:43 pm
  • I want to build my own arcade controls!
Re: Virtua Racing Rumble - mamehooker
« Reply #2 on: May 11, 2020, 04:08:04 pm »
Yes unfortunately right now you cant use both at same time.

I've spoken to Howard about it but he has been too busy last few months to have time for us to sort it out, it's on to-do list

 The name is digit0 for vr and you need to change cabinet to upright to get it

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:July 13, 2025, 11:38:27 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Virtua Racing Rumble - mamehooker
« Reply #3 on: May 11, 2020, 04:14:46 pm »
I'm sorry guys.  Working on the house and I've got to get a new pc purchased and assembled before I want to even try working on a pc-related project.  This thing is limping bad...you should hear the fans.   :'(

baritonomarchetto

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 822
  • Last login:Yesterday at 01:15:19 am
Re: Virtua Racing Rumble - mamehooker
« Reply #4 on: May 12, 2020, 01:57:17 am »
I had the same two weeks ago with the PC I am configuring for my racingcab: no boot, just noisy fans.
« Last Edit: May 12, 2020, 10:40:34 am by baritonomarchetto »

baritonomarchetto

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 822
  • Last login:Yesterday at 01:15:19 am
Re: Virtua Racing Rumble - mamehooker
« Reply #5 on: May 12, 2020, 02:01:47 am »


The name is digit0 for vr and you need to change cabinet to upright to get it

I tryied to have that output light a bulb yesterday to figure what it was used for, but I had a steady light (and some random crashes I still have to dig out). Digit1 gave me a flashing light instead: should I assume they are outputting arcaic digital messages for FF and not rumble?


SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1238
  • Last login:Today at 06:39:46 pm
    • For Amusement Only e.V.
Re: Virtua Racing Rumble - mamehooker
« Reply #6 on: May 12, 2020, 09:41:22 am »
Unless they "changed" something again...

digit0 are driveboard commands
digit1 are the 8 lamps

The cabinet setting actually is important.
If my memory serves me correctly, "DELUXE" and "TWIN" send out "normal" FFB commands, and "UPRIGHT" does not.

*edit*
I dunno it Virtua Racing actually supports "rumble".
« Last Edit: May 12, 2020, 09:48:53 am by SailorSat »
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


baritonomarchetto

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 822
  • Last login:Yesterday at 01:15:19 am
Re: Virtua Racing Rumble - mamehooker
« Reply #7 on: May 12, 2020, 10:04:27 am »
With Force Feedback Plugin,  Virtua Racing Upright outputs rumble so it's somewhere there. Being that Mamehooker handles lights too, untill MH and FFBP cannot coexist I will stay with mamehooker (for Mame). What I have difficulties to figure out is what is the line/command I should place my "mamehooker xinput advanced code" to have rumblr (digit0 seems not working as I would... Only a brief rumble on game startup, then nothing).

(Thanks for the help so far!)

Boomslang

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1063
  • Last login:January 01, 2024, 08:20:43 pm
  • I want to build my own arcade controls!
Re: Virtua Racing Rumble - mamehooker
« Reply #8 on: May 12, 2020, 06:25:38 pm »
read post below
« Last Edit: May 12, 2020, 08:17:49 pm by Boomslang »

Boomslang

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1063
  • Last login:January 01, 2024, 08:20:43 pm
  • I want to build my own arcade controls!
Re: Virtua Racing Rumble - mamehooker
« Reply #9 on: May 12, 2020, 07:44:15 pm »
Ive done a little testing here and managed to get it to at least have outputs work on Both Mamehooker and FFB Plugin at same time

Ill release new FFB Arcade Plugin version
« Last Edit: May 12, 2020, 08:07:12 pm by Boomslang »

baritonomarchetto

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 822
  • Last login:Yesterday at 01:15:19 am
Re: Virtua Racing Rumble - mamehooker
« Reply #10 on: May 13, 2020, 01:57:25 am »
That's great!
In case both MH and FFBP try to handle the same output at the same time, is there some "priority" option eventually?
(I will test this as soon as possible, thanks a lot!)
« Last Edit: May 13, 2020, 01:59:57 am by baritonomarchetto »

Boomslang

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1063
  • Last login:January 01, 2024, 08:20:43 pm
  • I want to build my own arcade controls!
Re: Virtua Racing Rumble - mamehooker
« Reply #11 on: May 13, 2020, 02:06:57 am »
That's great!
In case both MH and FFBP try to handle the same output at the same time, is there some "priority" option eventually?
(I will test this as soon as possible, thanks a lot!)

No there won't be, What you decide to do with either Mamehooker or FFB Plugin is up to you but if you decided to set both apps to use the same output at the same time then they will both run effect

baritonomarchetto

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 822
  • Last login:Yesterday at 01:15:19 am
Re: Virtua Racing Rumble - mamehooker
« Reply #12 on: May 13, 2020, 02:54:13 am »
Makes sense. Perfect!
(PS: noticed that on github you renamed the link to the zip file of the latest release "1.8.7" while instead you meant "1.8" I suppose ;))
« Last Edit: May 13, 2020, 04:18:37 am by baritonomarchetto »

Boomslang

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1063
  • Last login:January 01, 2024, 08:20:43 pm
  • I want to build my own arcade controls!
Re: Virtua Racing Rumble - mamehooker
« Reply #13 on: May 13, 2020, 04:20:19 am »
Makes sense. Perfect!
(PS: noticed that on github you renamed the link to the zip file of the latest release "1.8.7" while instead you meant "1.8" I suppose ;))

no lol

i did zip and 7z and gave option to download depending how what you prefer

7z ends up like 4mb while zip is like 50mb or more

baritonomarchetto

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 822
  • Last login:Yesterday at 01:15:19 am
Re: Virtua Racing Rumble - mamehooker
« Reply #14 on: May 13, 2020, 04:35:32 am »
When I realized the stupidity I wrote, you had already answered me :(
Thanks ;)
« Last Edit: May 13, 2020, 04:38:21 am by baritonomarchetto »

baritonomarchetto

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 822
  • Last login:Yesterday at 01:15:19 am
Re: Virtua Racing Rumble - mamehooker
« Reply #15 on: May 13, 2020, 05:01:02 am »
Made a test "on-the-fly": it works great!

Boomslang

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1063
  • Last login:January 01, 2024, 08:20:43 pm
  • I want to build my own arcade controls!
Re: Virtua Racing Rumble - mamehooker
« Reply #16 on: May 13, 2020, 05:37:07 am »
 :cheers:

baritonomarchetto

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 822
  • Last login:Yesterday at 01:15:19 am
Re: Virtua Racing Rumble - mamehooker
« Reply #17 on: May 14, 2020, 02:10:28 am »
Yesterday I toyed with this a little and can confirm that now the two can co-exist in a system.
Going back to Virtua Racing, looks like my attempts on get it "rumbling" failed because VR does Force Feedback, not rumble (doh! :D). So, my question (for Boomslang mainly) is: would it be possible to "convert" FF effects into rumble effects? In other words: would it be possible to "catch" off-road and collision messages (or FF function) and turn them into rumble-compatibile outputs?
(Thanks for the help so far!)

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:July 13, 2025, 11:38:27 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Virtua Racing Rumble - mamehooker
« Reply #18 on: May 14, 2020, 04:28:46 am »
Finally finished ordering computer parts.  I was about to head to bed when I saw this. 

It's possible because I did it for that Daytona wrapper a few years back, but the end result isn't always great because of the way you have to do it.  Typically those force feedback values are an absolute position, or a direction plus power of force.  What you do is read those values constantly in a loop, storing the previous value and if the difference between the values is more than a certain threshold, indicating a sharp movement, you turn on rumble for either a set period or time or until the difference threshold of future reads decreases beyond a certain point, indicating stillness.  It sounds pretty straight forward, but the problem is most force feedback systems take the real position of the wheel into account and of course the player can turn the wheel, so an extremely sharp turn could give a false positive. 

Hope that makes sense. 

baritonomarchetto

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 822
  • Last login:Yesterday at 01:15:19 am
Re: Virtua Racing Rumble - mamehooker
« Reply #19 on: May 14, 2020, 07:11:35 am »
Thanks for the explanation Howard: makes perfect sense to me.

Boomslang

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1063
  • Last login:January 01, 2024, 08:20:43 pm
  • I want to build my own arcade controls!
Re: Virtua Racing Rumble - mamehooker
« Reply #20 on: May 14, 2020, 07:32:47 am »
Is there some particular reason you want it as a rumble output via mamehooker compared to just using FFB Plugin to do rumble directly on controller?

baritonomarchetto

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 822
  • Last login:Yesterday at 01:15:19 am
Re: Virtua Racing Rumble - mamehooker
« Reply #21 on: May 14, 2020, 07:38:32 am »
In my understanding digit0 (and digit1 eventually?) send FF messages, not rumble. I noticed that in FFBPlugin.ini there's not an option for setting rumble strenght to right and left motors, so I assumed rumble cannot be supported by both MH and your plugin. Correct me if I am wrong.

PS: I don't use the FFBP GUI because, even if supported by this new PC, I have a screen resolution of 640x480 (low res CRT) and virtua racing config button is out of the screen
« Last Edit: May 14, 2020, 07:41:25 am by baritonomarchetto »

Boomslang

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1063
  • Last login:January 01, 2024, 08:20:43 pm
  • I want to build my own arcade controls!
Re: Virtua Racing Rumble - mamehooker
« Reply #22 on: May 14, 2020, 07:43:59 am »
yeah it sends ff but I convert ff to rumble already with FFB Plugin if you select like xbox controller as device and have enable rumble checked

If you select a wheel as device then you should uncheck Enable Rumble and you will get force feedback

FFB Plugin does both FFB or Rumble depending on device chosen and ive automatically made it use either left or right rumble motor depending on ffb effect generally

baritonomarchetto

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 822
  • Last login:Yesterday at 01:15:19 am
Re: Virtua Racing Rumble - mamehooker
« Reply #23 on: May 14, 2020, 09:23:37 am »
Ok. I had some issue yesterday honestly and I could not get consistent results (sometimes I had rumble indeed, sometimes nothing, sometimes the same effect I had with Mamehooker when hooking my rumble motor to digit0). Very random behaviour I could not dig further.

baritonomarchetto

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 822
  • Last login:Yesterday at 01:15:19 am
Re: Virtua Racing Rumble - mamehooker
« Reply #24 on: May 14, 2020, 12:05:01 pm »
I made some additional tests today, with a fresh install of mame and FFBP and everything was ok! May I ask you if it's possible to increase the default rumble strenght value on VR? It's a little weak. Also, let me go OT asking : do you plan to convert to rumble some otjer game eventually? i.e. california speed or something?
(Thanks!)

Boomslang

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1063
  • Last login:January 01, 2024, 08:20:43 pm
  • I want to build my own arcade controls!
Re: Virtua Racing Rumble - mamehooker
« Reply #25 on: May 14, 2020, 04:29:43 pm »
The rumble should work on every game supported by FFB Plugin I'm pretty sure.

To increase strength you have only 1 option with rumble, you can either raise min force above 0 eg I'f you make it 30 it means the minimum force applied to any effect is 30% strength

There is something I do for wheel effects called Power Mode but I havent added that for rumble effects yet

baritonomarchetto

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 822
  • Last login:Yesterday at 01:15:19 am
Re: Virtua Racing Rumble - mamehooker
« Reply #26 on: May 15, 2020, 01:57:07 am »
Ok. I will try rising the minimum force just to "feel" if rumble actually is triggered on those games I felt nothing yesterday.
Thanks for the help and your work so far!

Boomslang

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1063
  • Last login:January 01, 2024, 08:20:43 pm
  • I want to build my own arcade controls!
Re: Virtua Racing Rumble - mamehooker
« Reply #27 on: May 15, 2020, 05:18:59 am »
Ok. I will try rising the minimum force just to "feel" if rumble actually is triggered on those games I felt nothing yesterday.
Thanks for the help and your work so far!

Just tested it here and works for sure on California Speed on Xbox One Controller

baritonomarchetto

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 822
  • Last login:Yesterday at 01:15:19 am
Re: Virtua Racing Rumble - mamehooker
« Reply #28 on: May 15, 2020, 07:57:53 am »
Rising minimum force actually brings to life some of those racers!
(I thought it was a threshold to cut low value rumble messages)