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: Wind fan simulation  (Read 4905 times)

0 Members and 1 Guest are viewing this topic.

codeena

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 222
  • Last login:December 03, 2023, 06:23:54 pm
  • This site is cool
Wind fan simulation
« on: December 03, 2021, 02:54:48 pm »
Hi arcade racing fans. Does anyone use a fan(s) to simulate air/wind when playing your racing games? I believe that there's software in which you can map your pedals to use variable speed fans but I would like to use these types of fans with skiing games like MAME''s Alpine Racer, M2's Sega Ski Super G, Supermodel's Ski Champ, etc. but these games don't use an accelerator. Does anyone know if something like this exists or would it have to be programmed like Boomslang's awesome FFB Plugin? I'm assuming it's wishful thinking but I thought to ask anyway. TIA

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9394
  • Last login:Today at 02:12:01 pm
  • Designated spam hunter
Re: Wind fan simulation
« Reply #1 on: December 03, 2021, 08:43:51 pm »
*** Disclaimer: I haven't tried hooking up these outputs -- this is just theory. ***

The first thing I thought of when I read your post was that Prop Cycle has a blower fan so I put "github MAME propcycl" into a search engine. (propcycl is the ROMname for Prop Cycle)

That led to the namcos22.cpp driver source code.

Search through the driver's MAME source in your browser by using CTRL-F, "fan" (or other keyword), then find previous/find next to step through all nine instances where "fan" appears in the file.
- This process confirmed on lines 64, 974, 2587, and 2682 that Prop Cycle has a fan output.
- It also confirmed on lines 975 and 2655 that Aqua Jet also has a fan output.

If a game doesn't have an output, you still might be able to use a LUA script to read a speed-related value from the game's memory and turn that into a fan output.
- Alpine Racer would be an excellent candidate for this approach because your current speed is displayed in the lower right corner of the screen during gameplay. (7:25-9:04)   ;D




Scott

codeena

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 222
  • Last login:December 03, 2023, 06:23:54 pm
  • This site is cool
Re: Wind fan simulation
« Reply #2 on: December 04, 2021, 11:30:47 am »
hey Scott thanks for the reply. You just reminded me that I was going to try to hook up my Game Bike (exercise bike for the PSX/PS2) to my PC and try it on Prop Cycle, although the Game Bike only has left-right x-axis steering. But yes, that game would make sense to have blowing air too.

I never owned a blower fan for gameplay but I thought it was a cool (literally) effect with Raw Thrills' Super Alpine Racer. I recently purchased a deluxe Alpine Racer 2 and it does not have fans but I did see a photo from another cab that had them facing the player. Perhaps they were just regular fans.

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10871
  • Last login:Today at 03:47:56 pm
  • Obey.
    • The Chris Burke Band
Re: Wind fan simulation
« Reply #3 on: December 04, 2021, 10:03:17 pm »
There was a set of usb fans and lights that worked with various PC games a decade ago but I can’t remember the name,.


Good luck?


 :dunno

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: Wind fan simulation
« Reply #4 on: December 05, 2021, 11:04:14 pm »
There is definately software out there to do this, I believe when I was involved a little with motion simulator scene on xsimulator they had some projects setup to blow air and sometimes even direction of fans etc

Getting the info out of the game wouldn't really be that difficult once you have a working setup

codeena

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 222
  • Last login:December 03, 2023, 06:23:54 pm
  • This site is cool
Re: Wind fan simulation
« Reply #5 on: December 08, 2021, 04:18:09 pm »
Thanks for the replies all. These are encouraging comments and may lead to a possible add-on to pursue in the future, adding some fun to a good number of racing games! 

mongoosetoo

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:January 03, 2022, 09:44:38 pm
  • If you ain't first, you're last!
Re: Wind fan simulation
« Reply #6 on: January 03, 2022, 05:23:33 pm »
I.m not sure if this will help you, but Arctic Thunder (and Ultimate) use "face wind" with a fan.  The fan turns on when you jump into the air.  Both of the arcades are PC based, so you may be able to figure it out. 

Beautiful

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10
  • Last login:June 22, 2022, 06:57:05 am
  • Player of the Beautiful Game
Re: Wind fan simulation
« Reply #7 on: January 04, 2022, 02:33:21 pm »
If it doesn't exist yet it should be quite easy (in theory) as all you'd need is to map the voltage regulator going to the fan to watch the input of the accelerator. Granted this would be easier in driving games as its a linear curve and I'm sure I've seen it implemented previously but the logic behind it is sound.

Another lateral way of approaching it would be to get one of those sound activated LED light strips, disconnect it from the bulbs and rig its output to the fan instead. For optimal tweaking you could mod the code (probably best running it all from a RPi at this point) to respond to certain frequency ranges with different bursts of voltage just like it would to colour shift the LEDs.

First you'd need to be able to code. Latter you could whip up a proof of concept version in an afternoon as the LEDs already have the tech in the controller.

Good luck and have fun.

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10871
  • Last login:Today at 03:47:56 pm
  • Obey.
    • The Chris Burke Band
Re: Wind fan simulation
« Reply #8 on: January 04, 2022, 11:31:30 pm »
Googling “simhub fans” brought up a bunch of stuff. 


pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10871
  • Last login:Today at 03:47:56 pm
  • Obey.
    • The Chris Burke Band
Re: Wind fan simulation
« Reply #9 on: January 04, 2022, 11:48:25 pm »
“Wind simulator.”  Google that.

There’s some defunct device called a Vortx 4D that’s reminiscent of what I remember.  What a recall was like two PC fans with LED lights and it was long before 2018 but a similar idea.