lr-mame2003 driver improvement and backport
-
If there is going to be a 'null sample' in the DAT, I suggest it should be the 188 byte CRC. I'm making an educated guess that the 188 byte file is a valid WAV file (meaning it has a header) with no audio.
On the other hand a 0-byte file can't be a valid WAV file. Based on my reading while looking for
emperor.wav
, older versions of MAME might crash when trying to load a 0-byte WAV. In other words, if there is going to be a 'fake' WAV it seems best to make it a valid fake WAV. :) -
@markwkidd said in lr-mame2003 driver improvement and backport:
In other words, if there is going to be a 'fake' WAV it seems best to make it a valid fake WAV. :)
Thanks Mark, that makes sense why I didn't hear anything with the 188 byte sample. That's the one we were going to use (the older 188 byte) samples from the 0.125u1 and older set. Current samples (0.125u2 and newer) are the ones using the zero-byte files.
-
I read in the 'whatsnew.txt' on Github (2003plus) that 'Explosive Breaker' was added but I don't see it in the datfile. Are there more missing ? (I used the DAT posted on Github, does anyone detect this game with the manually generated DAT ?)
EDIT: Also, I just noticed this post . Apparently there are no unofficial roms used.
-
@maxbeanz said in lr-mame2003 driver improvement and backport:
I read in the 'whatsnew.txt' on Github (2003plus) that 'Explosive Breaker' was added but I don't see it in the datfile. Are there more missing ? (I used the DAT posted on Github, does anyone detect this game with the manually generated DAT ?)
EDIT: Also, I just noticed this post . Apparently there are no unofficial roms used.
From arcadez: "Explosive Breaker didn't make the cut so i've removed it from the newly supported games list, however the japan version of this game Bakuretsu Breaker is now playable in this core via my Kaneko16 updated from a while back."
-
@maxbeanz said in lr-mame2003 driver improvement and backport:
I used the DAT posted on Github, does anyone detect this game with the manually generated DAT ?)
I just generated one this morning after updating from source and the samples are not in the DAT under Bakuretsu Breaker yet.
Another quick question Shark Attack has 2 sample sets. One is 'full size' and the other is 'reduced size'. I added the full size is that the one you would prefer. I don't think I've played Shark Attack so not quite sure the difference. It's 35MB vs. about 1.5MB.
-
@riverstorm I was talking about the actual game (Explosive Breaker), not samples :)
Regarding Shark Attack, I think the larger version has the same sample played over and over for 3 and a half minutes ! whereas the reduced one only plays the sample once and lets MAME repeat it as needed (i think). Maybe use the reduced one as there's quite a size difference.
-
@maxbeanz said in lr-mame2003 driver improvement and backport:
@riverstorm I was talking about the actual game (Explosive Breaker), not samples :)
Regarding Shark Attack, I think the larger version has the same sample played over and over for 3 and a half minutes ! whereas the reduced one only plays the sample once and lets MAME repeat it as needed (i think). Maybe use the reduced one as there's quite a size difference.
Ah, that's interesting. I'll change it to reduced.
Yes the newest generated DAT does have Bakuretsu Breaker. I was looking for samples with it as they are on the mind lately. ;)
-
Built from source (2003plus) using the latest manually generated DAT (from the MAME menu) new 'svc.zip' has corrupted graphics, 'svcboot.zip' works fine.
Samples don't work on any game ? (BIOS/mame2003-plus/samples)
-
@maxbeanz - Here's the new DAT. All sets are pulled from the 'Current Section' on Twisty's site. If a sample didn't exist that's current then I pulled it from the 'Older Section'. Things to note on the sets used.
Alternate sets from the 'Current Section'
- Gorf set Pre-0.125u1
- Shark Attack reduced version
Enhanced versions for the 'Unofficial Section' enhanced by Gyrovision
- Berzerk
- Carnival
- Donkey Kong
- Space Invaders
- Qbert
- Rallyx
- Star Castle
- Vanguard
-
@markwkidd - I spent some time last night taking a look at the missing ROMs. I am using MAME 0.196 and Rollback 0.196 that came out a few days ago. I verified my sets are accurate.
With the newest DAT (from yesterday). It looks like King of Fighters was removed which corrected the hacked ROMs, SVC was overhauled and now uses official ROMs but Hyper Street Fighter still looks like it's using hacked ROMs. I Rebuilt with all sets, even the BIOS device sets just to be sure and they don't seems to exist in the official set.
I don't mind if they are hacked ROMs but any chance you could use your kung-fu research skills to verify one way or the other? I think Arcadez said they are official so I am not 100% sure. I do have them from the old reference set we made before the fork but it's a bit tough to search every zip in every ROM from the official set which is like 80,000 ROMs to match them but ClrMamePro is not picking these ones up.
It helps so I can make a subfolder and use and Adds-Path in ClrMamePro for one-off and miscellaneous ROMs that aren't official.
Hyper Street Fighter II: The Anniversary Edition (Asia 040202) [folder: hsf2a - size: 45mb] missing rom: hs2ax.03 [size: 524288] [CRC32: 5f3d7397] [SHA1: 96f327dd998105ad5dc46bc9d3b741805a840d68] missing rom: hs2ax.04 [size: 524288] [CRC32: 59acf108] [SHA1: e68fe233681175b29a35badab249c2b892b23af3]
-
@riverstorm Do any samples work on yours ? They don't seem to play on mine. I have them in 'BIOS/mame2003-plus/samples' which is the folder that's automatically created.
As I posted above, the new 'svc.zip' seems to have corrupted graphics, 'svcboot.zip' works fine though. Arcadez posted the 2 missing roms for hsf2a on Github (not sure if they are official).
-
I haven't tested anything yet. I was fiddling with my Pi last night and crashed it. I really dislike those virtual pad inputs. My input looks like "z RETROPAD1 B" when you try and use the letter "z". If you enter 2 or 3 inputs you have a HUGE string of inputs that is hard to follow. I found if I disable/comment out all inputs from Retroarch and just use the controller it does clean up some of the inputs, actually most (my main MAME default.cfg is 100% clean but I couldn't find them all like z and s still have garbage when doing individual game configurations.
I don't know if the "Plus crew" will address it, if it's even possible, but it kind of drives me crazy.
I will test out SVC later today after I rebuild as I have both the sets and samples ready to go.
As for the hsf2a I take it they are just unofficial ROMs? If they are posted on Github they must not be in the official set.
-
@riverstorm that's an issue on the RetroArch end but as you have been finding out the doubled "RETROPAD" inputs can be prevented by using custom retroarch.cfg.
PS I'm not sure if the double listings hurts anything, although it might. I will probably find out when I finally get around to setting up my brother's X-Arcade Tankstick to work with Lakka.
In brief, you need to have a custom retroarch.cfg mame2003-plus that unmaps all of the 'conflicting' keys listed here: https://docs.libretro.com/guides/retroarch-keyboard-controls/
-
@markwkidd Can you confirm that samples are working for you ?
-
Yes that is the correct location for samples. I just downloaded from source today. I recently switched over to Arcade and run everything from there. I built my inputs around MAME and had a heck of a time figuring out how to override all/retroarch.cfg for FBA keyboard/IPAC only while keeping everything else the same including controllers but I did finally get everything working.
So that left the mame-libretro folder open for testing mame2003-plus without overwriting my working set but I have to override everything for mame2003-plus. I dumped about 20 games and found several issues.
- svc - crashes to the menu
- svcboot - crashes to menu
- Depth Charge - no sound
- Donkey Kong - half sound, missing several pieces
- Zaxxon - no sound
The sounds all work perfectly in lr-mame2003. Several sounds do work correctly but out of the handful I tested I had several errors. It's going to take a whole group of testers to really test all these ROMs.
I had to prompt 'ok' on some ROMs things you can bypass with lr-mame2003 core options like
mame2003-skip_warnings = "enabled"
-
@markwkidd said in lr-mame2003 driver improvement and backport:
PS I'm not sure if the double listings hurts anything, although it might. I will probably find out when I finally get around to setting up my brother's X-Arcade Tankstick to work with Lakka.
In brief, you need to have a custom retroarch.cfg mame2003-plus that unmaps all of the 'conflicting' keys listed here: https://docs.libretro.com/guides/retroarch-keyboard-controls/Thanks Mark I will look into it for sure. I don't think it does hurt anything but I would love to see that fixed or at least a clean input screen. If only disabling inputs temporarily to get them clean.
When I used a mouse left click I get something like this "RETROPAD1 LEFT MOUSE RETROPAD2 LEFT MOUSE RETROPAD3 LEFT MOUSE RETROPAD4 LEFT MOUSE. That's from one key press.
It's a real pain as every options shows '...' because the input strings are SO long. Thanks for the links I will check it out. After I disabled everything in Retroarch keys like Z & S were still having "ghost" inputs but couldn't quite figure out where they were defined as everything
all/retroarch.cfg
were commented out and alsoarcade/retroarch.cfg
had nothing. -
Instead of commenting out those lines in the
retroarch.cfg
, could you try to set them to"nul"
?such as:
input_rewind = "nul"
-
@markwkidd said in lr-mame2003 driver improvement and backport:
Instead of commenting out those lines in the
retroarch.cfg
, could you try to set them to"nul"
?such as:
input_rewind = "nul"
Ah ok, nice, thanks Mark yeah that makes sense. I think it's more cosmetic and a real pain for viewing inputs at a glance but last night I was able to get a completely clean default.cfg for MAME and was close on <game>.cfg overrides for like pinball, etc. that make more sense with the left/right shoulders or triggers, etc. until I crashed it by getting delete happy with some needed files. I will try again tonight and hunt down those scraggler Retroarch settings. :)
-
@markwkidd just to add to that with what you said everything just became crystal clear. Those few left over keys that are still in use.
When I disable Retroarch settings it's only temporary as once things are setup I re-enable all the inputs and everything works fine and looks correct. Then I backup my default.cfg between updates so it only needs to be done once.
What prompted me to do is when I started setting up inputs for players 2, 3 and 4 I have assigned all the alphabet keys and of course more virtual pad inputs started making strings even longer so I thought why not clean it up.
Also it seems the Pause key disappeared from lr-mame2003 TAB input I just noticed last night. I have to check mame2003-plus tonight and see if it's there as I left my SD card at home after lunch when testing a few games.
-
@riverstorm said in lr-mame2003 driver improvement and backport:
So that left the mame-libretro folder open for testing mame2003-plus without overwriting my working set but I have to override everything for mame2003-plus. I dumped about 20 games and found several issues.
- svc - crashes to the menu
- svcboot - crashes to menu
- Depth Charge - no sound
- Donkey Kong - half sound, missing several pieces
- Zaxxon - no sound
@markwkidd This confirms that the samples in the samples directory are not being played.
'svcboot.zip' works fine on mine, I built from source this morning and manually generated the datfile. Are you sure you have the right roms ?
'svc.zip' has corrupted graphics.
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.