NeoGeo games "raster irq enable/disable" at F1 press
-
@andershp said in NeoGeo games "raster irq enable/disable" at F1 press:
is there a way to make "raster iqr enable/disable" button NOT be hotkeyed to F1?
I don't know what emulator you are using since you still refuse to mention it, but you probably should use an emulator with sane default mapping, like FBNeo (which won't have any key mapped to weird stuff like that).
-
@barbudreadmon
I was confusing the fact that it's developed by the Metal Slug guys with NeoGeo. The ROM I'm having this issue with, is emulated via lr-mame2003 -
@andershp said in NeoGeo games "raster irq enable/disable" at F1 press:
lr-mame2003
Maybe @mahoneyt944 can give you some hints. Note that i don't think mame had proper video emulation for irem m92 back in 2003.
-
You'll have to better describe the issue, here's the mapping I see:
-
@mahoneyt944
Hmm how to describe it better...
When I press F1 I get the onscreen message:
"Raster IRQ Enabled" and "Raster IRQ Disabled" again and again.I guess there's a system command to toggle raster IRQ on/off by pressing F1. And the question is if there's a way to use, say, map F10 to do this instead...?
-
@andershp My 2 cents here : i mentioned it above, many mame games - iirc including several irem boards - had broken raster effects (advanced gfx effects, shadows and transparency are the most well-known of them) back in 2003, and i think that F1 key is probably some kind of leftover debug key.
I think mame osd has some menu item to remap "system keys" or something of the likes, that's probably where you need to unmap this F1. Yet, imho you should probably avoid using mame2003 for games that have known issues which were fixed since then, except if your device can't keep up with the fixed emulation (that might be the case here if you are using an old pi model, raster effects are usually demanding). -
@barbudreadmon
Thanks, I will search inside the menus or otherwise change rom and emulator to FBNeo for this particular game. -
@andershp fwiw, i tested this in mame2003+ (i don't have mame2003), F1 was indeed mapped to that "toggle raster effects" thingy, and i couldn't find a way to disable this key, so i think it's hardcoded somewhere in mame's code and impossible to remap.
-
@barbudreadmon yes just did some digging on this. Looks like this is our culprit
-
One solution is to use core options and set the input interface to retropad. Using simultaneous or keyboard will allow f1 to be used.
I'll review the code and other instances like it to see if a better solution is available
-
Ok, issue is fixed. Update mame2003 specifying "from source" to get the fix.
-
@mahoneyt944 hmmm i saw your commit, imho you should have turned this into a core option or something, here you are basically dropping support for devices that don't have the specs to run those games with rasters, and i think one of the main reasons for using mame2003 is its friendliness for lower spec devices
-
@barbudreadmon there's no documentation for this feature for any user to know to use it unless they reviewed the source..... Which is very problematic. Similar code throughout the core uses debug for these types of things currently. At some point I'd like to comb through the debug actions and standardize them in a way that's easier but for now..... I just wanted to get it working.
-
@mahoneyt944
Ok I tried but the version of RetroPie that I'm running is 4.3, and it requested me to update to 4.4.
I'm on a Pi 3B+ so I've been reluctant to update everything but tried the Setup Script and now it will not even enter the RetroPie Setup menu... Gives me all sorts of messages like
Err http://mirrordirector.raspbian.org/raspbian/ jesse/main ... 404 not found etc.But every systemupdate begins with fetching the newest RetroPie Setup script, right?
-
@mahoneyt944 @barbudreadmon
By the way, really appreciate you guys digging into this - thanks! -
@andershp you can update emulators without updating everything else. Go into RetroPie setup, Manage packages, manage main packages, find mame2003, update from source. This will take about 25 mins or so.
-
@andershp said in NeoGeo games "raster irq enable/disable" at F1 press:
I'm on a Pi 3B+ so I've been reluctant to update everything but tried the Setup Script and now it will not even enter the RetroPie Setup menu... Gives me all sorts of messages like
Err http://mirrordirector.raspbian.org/raspbian/ jesse/main ... 404 not found etc.But every systemupdate begins with fetching the newest RetroPie Setup script, right?
Your system (Jessie) is wildly out of date. We are two OSes ahead (first Stretch, then Buster. Bullseye is right around the corner, maybe.)
Unfortunately, you cannot update through the setup script. In fact you cannot even update in-situ at all. You need to backup your
roms
,bios
,configs
, andsplashscreens
dirs, and install the latest official image from RetroPie.org.uk/download, then you can restore your backed-up directories and you'll be basically right back where you were, but with a current and supported configuration. -
@sleve_mcdichael
Okay, but since I'm not running newest pi hardware, will this result in slowdowns? And I have my setup running very well with Pegasus Frontend and everything.
I can always try and revert back, I guess. -
@andershp said in NeoGeo games "raster irq enable/disable" at F1 press:
will this result in slowdowns?
There is a chance that some emulators will perform differently, not necessarily slower (sometimes we manage making the code lighter), if you change versions. But that shouldn't be a major concern if you are using mame2003, it never went through major emulation improvements, and never will, that's the concept behind those vintaged cores, with mame2003+ as the exception.
Note that you should be wary of the config files compatibility if you jump retroarch versions.
-
@mahoneyt944 said in NeoGeo games "raster irq enable/disable" at F1 press:
@andershp you can update emulators without updating everything else. Go into RetroPie setup, Manage packages, manage main packages, find mame2003, update from source. This will take about 25 mins or so.
Thanks man. This solved the raster issue!
I did notice the game was very slow to start and exit (only the first time I tried it though), as well as a test of another mame game made the pi crash when exiting. Coincidental?
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.