Skip to content

OpenFIRE Public Release 5.2 - Dawn

Latest
Compare
Choose a tag to compare
@SeongGino SeongGino released this 03 Sep 19:19
· 10 commits to OpenFIRE-dev since this release

Blinkenlights and Serial Fixes

  • Builtin LEDs support was extended to Raspberry Pi Pico (non-W) boards, using its green User LED with interpolated on/off output based on the color information given.
  • Fixed player start/select button not being reflected properly in offscreen button presses.
  • When Low Buttons Mode is enabled, toggling Offscreen Button Mode will change the onscreen A/B buttons to Mouse Buttons 4/5. This primarily allows Virtua Cop 3 to be playable with a single button gun + pedal.
    • As far as I'm aware, VC3 is the only game that doesn't support true offscreen reload and has more than a single button layout (trigger, reload, weapon swap, E.S. Pedal), so this shouldn't affect other games substantially.
  • LED tests (initiated from the App) are now corrected, and will reflect the color across all (non-static) LED devices rather than just fourpins.
  • Calibration mode saves current step info before mouse cursor movement, not after, which should reduce chances of cali info being incorrect due to fast gun movement in calibration.
  • Displays will now display a Mamehook indicator on single element/blank layouts when serial handoff mode is invoked from the PC.
  • Rumble pulses (initiated from serial/Mamehook) will respect and use the specified rumble strength setting for the rise and falloff stages of each pulse.
  • Solenoid pulses (initiated from serial/Mamehook) will always initiate a normal solenoid event cycle using the gun's solenoid timer settings.
    • This will allow for, e.g. using a solenoid in games like Operation Wolf which uses a motor, and thus feedback events would either be unsafe or feel awkward when used as solenoid feedback.
  • Serial LED commands of the same color channel now correctly overwrites static states, fixing situations where color pulses would not work if the same color had already been set to a fixed value before.

Installation

Download the firmware file that corresponds to your microcontroller - if it's not listed, you may have luck with the generic image, but you'll have to map your controls manually.
For first-time installation, plug in your RP2040 board while holding the BOOTSEL button to enter bootloader mode (this also happens if your boards has no code loaded on it yet) - it will appear as a removable drive named RPI-RP2. Now simply drag'n'drop your chosen .UF2 file to the drive, let it copy, and it will automatically unmount and reboot into OpenFIRE! You can now setup the gun as you please from the OpenFIRE App.

For any future firmware updates, you can simply connect ("dock") the gun to the OF App, and click the Reboot to Bootloader option in the Gun Tests tab.

Board files are as follows:

  • adafruitItsy: Adafruit ItsyBitsy RP2040 - Samco Carrier Boards Layout (2.0 [default] or 1.1 [set preset in app])
  • adafruitKB2040: Adafruit "Keeboar" KB2040 - Other Carrier Boards Layout
  • arduinoNano: Arduino Nano RP2040 Connect
  • rpipico: Raspberry Pi Pico (non-W) and clones thereof
  • rpipicow-noBT: Raspberry Pi Pico W, USB-only
  • vccgndYD: VCC-GND YD RP2040 (aka: the Chinese Pico clone with embedded NeoPixel)
  • waveshareZero: Waveshare RP2040 Zero
  • generic: Generic RP2040, may or may not work if your board isn't listed above.

Pico W Bluetooth binaries are for development purposes only, as they do not work currently and will only be made available in the automated build artifacts on the repo.