MiSTerFPGA autofire update now live

This is the main shmups forum. Chat about shmups in here - keep it on-topic please!
Post Reply
deepthaw
Posts: 17
Joined: Thu Jun 11, 2020 7:49 pm

MiSTerFPGA autofire update now live

Post by deepthaw »

All,

The updates to autofire I put together for MiSTerFPGA are now in the release branch and showing up for anybody using update_all to update their MiSTer. Even though I'm no good at them I play a lot of shmups and figured we needed better/more precise autofire timing like what retroarch and mame have.

* hold button + press menu/osd to toggle through rates. now defaults to 10/15/30hz
* autofire is now tied to vsync so it will be frame exact press/release
* if a game isn't 60hz, it'll scale the rate to match the actual rate (setting 15hz autofire in a 55hz game will actually be 13.5hz)
* autofire_rates= can be set in mister.ini to define up to five custom rates. put in a value like 20, and it'll use the closest value that fits into 60hz.
* e.g. autofire_rates=15,20,30 would choose 15, 20 and 30hz.
* since these are saved in the .ini, you can use the [corename] labels to save presets per core like other .ini settings.
* can use 0b prefix in .ini to set frame on/frame off autofire patterns of whatever arbitrary nonsense you'd like, up to 64 frames. 0b000111 == three frames button held, three frames released.

a pr has been submitted to add several sets of defaults you can pick in ini_settings.sh for people who just want more/less rates and don't want to edit the .ini, so that should hopefully go live in the next week or so.

have fun all!
User avatar
Jeneki
Posts: 2678
Joined: Wed Aug 12, 2009 4:56 pm
Location: Minnesota, USA

Re: MiSTerFPGA autofire update now live

Post by Jeneki »

Sounds great! I'll check this out later tonight.
Typos caused by cat on keyboard.
Post Reply