lr-mame2003 driver improvement and backport
-
ISSUE : NMK16.c https://github.com/libretro/mame2003-libretro/issues/298
@gamez-fan The nmk16 driver is in a sorry state at this point in the MAME dev cycle, alotta games dont have sound
or bad sound plus there are protection and graphical problems in quite a few others, so im going to attempt to backport mine which will sort all of the above plus add support for a couple more games.
The later nmk16.c has the Afega games and code to Emulate them rolled into the driver since these
are rubbish games and to significantly cutdown on the workload im going to strip out this code
and these games will remain as they were in this core not working in afega.c
NMK16 WIP 5 Stages
Add NMK004 machine this will Emulate the sound "done"
Strip Afega code from the driver and video "done"
Rollback my nmk16 driver to MAME-2003 codebase "ongoing"
Test all the games after the update "todo"
After full testing port the code to this core "todo" -
Hookup the nmk004 machine https://github.com/libretro/mame2003-libretro/pull/305
NMK16 big update https://github.com/libretro/mame2003-libretro/pull/300
@gamez-fan Code via iq_132 and reworked for the MAME-2003 core
I've updated the driver and video plus hooked up the nmk004 sound core here's a quick breakdown
of the changes which have been fully tested beforehand.......Now playable
Air Attack
Hacha Mecha Fighter
Task Force Harrier
Thunder DragonNewly supported
Air Attack
Hacha Mecha Fighter Unprotected Version
Saboten Bombers (set 2)Now with full sound
Acrobat Mission
Bio-ship Paladin
Black Heart
GunNail
Hacha Mecha Fighter
Koutetsu Yousai Strahl
Super Spacefortress Macross
Thunder Dragon
US AAF Mustang
VandykeRoms that have changed
Hacha Mecha Fighter
Thunder DragonThe one that got away
Rapid Hero
Unfortunately i cant backport the TLCS90 CPU core which would enable full sound in Rapid Hero
from my core as it wont be compatable with this one.- WOAW incredible update i love it, thanks :)
So many cool new Shoot'em up to play <3
- WOAW incredible update i love it, thanks :)
-
It looks like @gamez-fan reverted all his work and changed his name to ghost over at Github. Kind of a shame as he had implemented some nice changes and updates. Here's the completed DAT. Not that it will do much good now.
-
@riverstorm said in lr-mame2003 driver improvement and backport:
It looks like @gamez-fan reverted all his work and changed his name to ghost over at Github. Kind of a shame as he had implemented some nice changes and updates. Here's the completed DAT. Not that it will do much good now.
mame2003-plus-libretro repository: https://github.com/arcadez/-mame2003-plus-libretro
new user name: arcadez -
@markwkidd said in lr-mame2003 driver improvement and backport:
@riverstorm said in lr-mame2003 driver improvement and backport:
It looks like @gamez-fan reverted all his work and changed his name to ghost over at Github. Kind of a shame as he had implemented some nice changes and updates. Here's the completed DAT. Not that it will do much good now.
mame2003-plus-libretro repository: https://github.com/arcadez/-mame2003-plus-libretro
new user name: arcadezThat's good news so he's still continuing his work?
-
Looks like support was recently added for 'Donkey Kong II Jumpman Returns'. I've been wanting to play that on the Pi for a while now.
-
@mediamogul said in lr-mame2003 driver improvement and backport:
Looks like support was recently added for 'Donkey Kong II Jumpman Returns'.
Hey Media nice addition I added it to the DAT.
I did finish 11/22/63 a while back...finally. I enjoyed it but to much character development for me. My first King novel as I usually just watch his movies. Nothing like a good horror flick. ;) They could have cut the middle 600 pages out and kept the first and last 300. It's was a fairly long book. I am quickly reading through The Maze Runner series before the last movie comes out. I am on book 3 of 6 but I think they only plan on 3 movies as they weren't to popular. I like the books and the build up of the looking-for-a-cure-memory-wipes is thought provoking. I just hope the answer is not a let down. 3 books in and there's very little know as to the why they did it to these two groups of kids but it seems to be the main premise of each book.
I combed through this thread and I think I added everything from here so the DAT is current up to around January 1st. Here's the game list and ROMs of around 80 to 90.
There are a few ROM files I was never able to locate used for the decrypted versions of Metal Slug 4 & 5. Also Pochi & Nyaa plus the decrypted version. 1 ROM from each archive.
Missing ROMs:
Metal Slug 4 (Decrypted C) [system: Neo-Geo - folder: mslug4nd - parent: mslug4 - size: 70mb] missing rom: ms4n_s1.rom [size: -] [CRC32: c4f4ed0e] Metal Slug 5 (Decrypted C) [system: Neo-Geo - folder: mslug5nd - parent: mslug5 - size: 82mb] missing rom: ms5n_c4.rom [size: -] [CRC32: 899fb2af] Pochi & Nyaa [system: Neo-Geo - folder: pnyaa - size: 23mb] missing rom: 267-v1d.bin [size: -] [CRC32: 1ac7db71] Pochi & Nyaa (Decrypted C) [system: Neo-Geo - folder: pnyaan - parent: pnyaa - size: 23mb] missing rom: 267-v1d.bin [size: -] [CRC32: 1ac7db71] missing rom: pnyaa_s1.rom [size: -] [CRC32: 88ffbb15]
New games added:
* "Air Rescue" arescue * "Asura Buster - Eternal Warriors" asurabus * "B.Rap Boys (World)" brapboys * "B.Rap Boys Special (Japan)" brapboysj * "Bang Bang Busters" bbbuster * "Baryon - Future Assault" baryon * "Blood Warrior" bloodwar * "Bonk's Adventure" bonkadv * "Boogie Wings (Euro v1.5)" boogwing * "Cabal (World, Joystick version)" cabal * "Cabal (bootleg of Joystick version)" cabalbl * "Chain Reaction (World, Version 2.2)" chainrec * "Charlie Ninja" charlien * "Choutetsu Brikin'ger - iron clad (prototype)" ironclad * "Counter Run (bootleg set 1)" countrnb * "Crossed Swords 2" crswd2bl * "Cute Fighter" cutefght * "Denjin Makai" denjinmk * "Diet Go Go (Euro v1.1)" dietgo * "Diet Go Go (USA v1.1)" dietgou * "DJ Boy" djboy * "Donkey Kong II: Jumpman Returns (Hack)" dkongx * "Dream World" dreamwld * "Dyna Gears" dynagear * "Fire Shark" fireshrk * "FixEight (bootleg)" fixeighb * "Fujiyama Buster" fjbuster * "Gaia - The Last Choice Of Earth" gaialast * "Ghostlop (protoype)" ghostlop * "Great 1000 Miles Rally" gtmr * "Gunbarich" gnbarich * "Hacha Mecha Fighter" hachamf * "Hyper Crash (version D)" hcrash * "Hyper Crash (version C)" hcrashc * "Hyper Street Fighter II: The Anniversary Edition (Asia 040202)" hfs2a * "In Your Face" inyourfa * "Joe & Mac Returns (World, Version 1.1) joemacr * "King of Fighters, The 2001" kof2001 * "King of Fighters, The 2001 (Decrypted C)" kof2k1nd * "King of Fighters, The 2001 Plus" kf2k1pls * "King of Fighters, The 2002" kof2002 * "King of Fighters, The 2002 (Decrypted C)" kof2k2nd * "King of Fighters, The 2002 Plus" kf2k2pa * "King Of Fighters, The 2003 (Decrypted C)" kof2003d * "Knuckle Bash 2" Toaplan * "Last Hope" lasthope * "Metal Slug 4" mslug4 * "Metal Slug 4 (Decrypted C)" mslug4nd * "Metal Slug 5" mslug5 * "Metal Slug 5 (Decrypted C)" mslug5nd * "Pack'n Bang Bang (prototype)" packbang * "Pochi & Nyaa" pnyaa * "Pochi & Nyaa (Decrypted C)" pnyaan * "Power Instinct Legends (USA)" plegends * "Power Instinct Matrimelee" matrim * "Puzz Loop 2" pzloop2j * "Night Slashers (Korea Rev 1.3)" nslasher * "Osman (World)" osman * "Rage of the Dragons" rotd * "Rock'n Tread (Japan, alternate)" rockna * "Rock'n Tread 2 (Japan)" rockn2 * "Rock'n 3 (Japan)" rockn3 * "Rock'n 4 (Japan)" rockn4 * "Rohga Armour Force (Asia/Europe v3.0)" rohga * "Rohga Armour Force (US v1.0)" rohgau * "Rolling Crush" rolcrush * "Saboten Bombers" sabotenb * "Samurai Shodown V" samsho5 * "Samurai Shodown V Special" samsho5sp * "Sengoku 3" sengoku3 * "Sengoku 3 (Decrypted C)" sngoku3n * "Shogun Warriors" shogwarr * "Snk Vs Capcom : Svc Chaos" svcboot * "Sonic Boom" sonicbom * "Task Force Harrier" tharrier * "Thunder Dragon" tdragon * "Thunder Hoop" thoop * "Title Fight (World)" titlef * "Vasara 2 (set 1)" vasara2 * "Vasara 2 (set 2)" vasara2a * "Vimana" vimana * "Wing Force (Japan, prototype)" wingforc * "Zintrick / Oshidashi Zentrix (hack / bootleg)" zintrckb * "Zupapa!" zupapa * "Zupapa! (Decrypted C)" zupapan
Games with sound or sound improvements:
* "Asura Buster - Eternal Warriors" asurabus (code fix) * "Asura Blade - Sword of Dynasty" asurabld (code fix) * "Cosmic Alien" cosmica * "Fantasy (US)" fantasy * "Fantasy (Japan)" fantasyj * "Fire Shark"fireshrk (code fix) * "Donkey Kong (US set 1)" dkong * "Donkey Kong (US set 2)" dkongo * "Donkey Kong (Japan set 1)" dkongjp * "Donkey Kong (Japan set 2)" dkongjo * "Donkey Kong (Japan set 3) (bad dump?)" dkongjo1 * "Donkey Kong Junior (US)" dkongjr * "Donkey Kong Jr. (bootleg)" dkongjrb * "Donkey Kong Junior (bootleg?)" dkngjnrb * "Donkey Kong Jr. (Japan)" dkongjrj * "Donkey Kong Junior (Japan?)" dkngjnrj * "Donkey Kong 3 (bootleg on Donkey Kong Jr. hardware) dkong3b * "Drakton" drakton (game not working) * "Fire Barrel (Japan)" firebarr (code fix) * "Nibbler (set 1)" nibbler * "Nibbler (set 2)" nibblera * "Pioneer Balloon" "pballoon * "Radar Scope" radarscp * "Rock'n Tread (Japan, alternate)" rockna (code fix) * "Rock'n Tread 2 (Japan)" rockn2 (code fix) * "Rock'n 3 (Japan)" rockn3 (code fix) * "Rock'n 4 (Japan)" rockn4 (code fix) * "Sasuke vs. Commander" sasuke * "Satan of Saturn" satansat * "Street Heat - Cardinal Amusements" strtheat * "Vanguard (SNK)" vanguard * "Vanguard (Centuri)" vangrdce * "Vimana"vimana (code fix) * "Zarzon" zarzon
Games now working (code fixes):
* Snowboard Championship snowboar * Fire Barrel firebarr * Avenging Spirit avspirit * Street Fighter (with Added Speedup) sf1 * Driftout '94 drifto94 * Monster Slider mslider * Twin Eagle II twineag2
-
@riverstorm said in lr-mame2003 driver improvement and backport:
Nothing like a good horror flick. ;)
I couldn't agree more.
hey could have cut the middle 600 pages out and kept the first and last 300.
My uncle has read all of King's books and that might very well be the criticism I hear from him the most. I've read a few myself, 11/22/63 included, and he does tend to be unnecessarily over-descriptive which adds a lot to the weight of his books.
I am quickly reading through The Maze Runner series
That series has escaped me, but I've been meaning to check it out. It sounds like something I might like.
-
@mediamogul said in lr-mame2003 driver improvement and backport:
he does tend to be unnecessarily over-descriptive which adds a lot to the weight of his books.
That's probably a better way of wording it. I knew more about "Jake & Sadie" then I needed to know to make for a good story and some other pieces just seemed to be background filler with nothing to do with the main plot. It's ok for books but movies just give me enough background to make them interesting/care and keep the pace moving. Make those 2 hours interesting. :)
I've read almost every Louis L'Amour book and he does something similar-ish that I always found interesting. If he described a canyon, cave, water hole or a certain piece of country, etc. he made it geographically & historically accurate as possible. He would do a lot of research before writing.
I can't make no promises on The Maze Runner...yet...but if you read the first book you'll know if you want to continue to the next and learn about the "Flare". Side note Ready Player One is shaping up to be interesting and looking forward to seeing it in another month or so.
-
@riverstorm said in lr-mame2003 driver improvement and backport:
if you read the first book you'll know if you want to continue to the next and learn about the "Flare".
I'll give it a look for sure. I'm excited for 'Ready Player One' as well. Everyone I know keeps saying they hope it turns out better than 'Ender's Game', but that project was plagued with issues from the beginning. RPO seems to have had a mostly trouble-free production and as you say, it appears to have shaped up well. Here's hoping it'll rock the socks.
-
@riverstorm said in lr-mame2003 driver improvement and backport:
It looks like @gamez-fan reverted all his work and changed his name to ghost over at Github. Kind of a shame as he had implemented some nice changes and updates. Here's the completed DAT. Not that it will do much good now.
Thanks a lot :)
You really make a good work with this DAT file, it will help :)
Do you think you will continue to update it ? ...
And why not add your link to the MAME GIT page ?It can be for users interesting to update this page : https://github.com/arcadez/-mame2003-plus-libretro/blob/master/README.md
Add you link and explain quickly what add this MAME version from the original one. -
@riverstorm said in lr-mame2003 driver improvement and backport:
Missing ROMs:
The only way these ROMs are going to appear is if someone digs out exactly the right version of Kawaks (whether its original or coinops xbox builds) from about 2004. I don't have much hope they'll surface at large on the internet at this point.
-
@darknior said in lr-mame2003 driver improvement and backport:
Do you think you will continue to update it ? ...
I think the work @gamez-fan does is great but he doesn't really have a "procedure" and that last big NMK update I had no idea what ROMs I needed to add/update. I don't need a lot of information but the ROM name and driver minimally.
I know this a gray area but if he was testing the games as he was adding them it would have saved hours to have access to the ROMs to build out a DAT. I don't think he was testing his changes even. Building from scratch is incredibly banal. I think I spent around 40 hours total on this project as so many DAT entries were done manually without the ROM sets.
Here's what one game entry looks like:
<game name="arescue"> <description>Air Rescue</description> <year>1992</year> <manufacturer>Sega</manufacturer> <rom name="epr14508.7" size="524288" crc="6702c14d" sha1="dc9324f16a3e3238f5ccdade9451d6823a50b563"/> <rom name="epr14509.14" size="524288" crc="daa5a356" sha1="ca87242c59de5ab5f9406635bee758a855fe20bc"/> <rom name="epr14513.35" size="262144" crc="f9a884cd" sha1="73010fff5e0257355e08e78838c74af86ed364ce"/> <rom name="epr14539.6" size="131072" crc="1a1b5532" sha1="f3651470222036703b7ecedb6e91e4cdb3d20df7"/> <rom name="epr14540.13" size="131072" crc="c2b4e5d0" sha1="69f8ddded5095df9012663d0ded61b78f1692a8d"/> <rom name="mpr14496.25" size="524288" crc="737da16c" sha1="52247d9bc2924e90d040bef484a541b1f4a9026f"/> <rom name="mpr14497.29" size="524288" crc="ebd7ed17" sha1="2307dc28501965432d2ff55a21698efdce014401"/> <rom name="mpr14498.34" size="524288" crc="d4a764bd" sha1="8434a9225ed1e01e8b1cfe169268e42cd3ce6ee3"/> <rom name="mpr14499.38" size="524288" crc="fadc4b2b" sha1="01c02a4dfad1ab19bac8b81b61d37fdc035bc5c5"/> <rom name="mpr14500.24" size="1048576" crc="0a064e9b" sha1="264761f4aacaeeac9426528caf180404cd7f6e18"/> <rom name="mpr14501.28" size="1048576" crc="4662bb41" sha1="80774e680468e9ba9c5dd5eeaa4791fa3b3722fd"/> <rom name="mpr14502.33" size="1048576" crc="988555a9" sha1="355e44319fd51358329cc7cd226e4c4725e045cb"/> <rom name="mpr14503.37" size="1048576" crc="90556aca" sha1="24df62af55048db66d50c7034c5460330d231bf5"/> <rom name="mpr14504.23" size="1048576" crc="46dd038d" sha1="9530a52e2e7388437c20ebcb19bf84c8b3b5086b"/> <rom name="mpr14505.27" size="1048576" crc="be142c1f" sha1="224631e00c2458c39c6a2ef7978c2b1131fb4da2"/> <rom name="mpr14506.32" size="1048576" crc="5dd8fb6b" sha1="7d21cacb2c9dba5db2547b6d8e89397e0424ee8e"/> <rom name="mpr14507.36" size="1048576" crc="db3f59ec" sha1="96dcb3827354773fc2911c62260a27e90dcbe96a"/> <rom name="mpr14510.22" size="524288" crc="5ea6d52d" sha1="d424082468940bb91ab424ac7812839792ed4e88"/> <rom name="mpr14511.26" size="524288" crc="074c53cc" sha1="9c89843bbe8058123c25b7f8f86de754ddbca2bb"/> <rom name="mpr14512.31" size="524288" crc="9da48051" sha1="2d41148d089a75362ed0fde577eca919213ac666"/> </game>
When you multiply it by 90 it starts to become a fairly large file. Plus you need to tag the BIOS, clone ROMs, merge files, samples, etc.
Many of the drivers only had the CRC listed (no size or SHA1). So I would hunt for the ROM and back fill the missing information. Basing the find purely on CRC (which can lead to incorrect files) as I believe that's how ROM management tools do it. They are capable of renaming files so matches are based off hash mainly.
The other information is not critical but for completeness and it almost removes any chance of changed, duplicate or corrupted file CRCs due to all fields need to match for each ROM file (CRC, SHA1 & size). Again with access to the working ROM none of this information is needed as it's easy to generate the data from the files themselves. With a properly named ROM it's quite easy to build the main file and then add the other information.
If you read through this thread on Github it might help explain. Some suggestions were made to try and streamline the process but not even he had access to the ROMs he was making changes for. I do appreciate his work but I think he prefers to be "spontaneous" in his project and I get that too as he's doing it in his spare time.
https://github.com/libretro/mame2003-libretro/pull/300#issuecomment-355664120
EDIT: Shortly thereafter he removed his account. I think that's what Github does. Is rename it to "ghost" when deleted? I thought he changed his name at first as all his threads now say ghost. :)
-
@markwkidd said in lr-mame2003 driver improvement and backport:
The only way these ROMs are going to appear is if someone digs out exactly the right version of Kawaks (whether its original or coinops xbox builds) from about 2004. I don't have much hope they'll surface at large on the internet at this point.
I agree I spent a lot of time looking for those last few files. Even on archive sites. I came to the conclusion they were modified originals for Kawaks, etc. For some reason many Asian sites come up in searches but I couldn't even get a hold of the programs (patch executables) to modify the original ROMs.
-
@markwkidd @Riverstorm I'd like to help track some of these down but, unfortunately, there's no way for anyone to contact users here privately. lol
-
@supermagicom said in lr-mame2003 driver improvement and backport:
I'd like to help track some of these down but, unfortunately, there's no way for anyone to contact users here privately
This being the primary reason private messages are disabled on this forum.
-
Looks like I may have spoken to soon about 'Donkey Kong II Return of Jumpman'. Arcadez notes say that the latest ROM should work, but it doesn't seem to. There's so much controversy about how the current development is somewhat scattered with this core, I may just wait until the dust settles a little before trying to troubleshoot it.@herb_fargus, while searching, I saw where the game was running for you, but outside of the implication of lr-fbalpha, you didn't mention what emulator you were using. Was it in fact lr-fbalpha? Also, are samples functional for the 'Donkey Kong' games there? -
edit:
-
I must have had an incomplete transfer, because the game wasn't launching with lr-fbalpha either. I resent the file and it launched in both cores. However, while I've obtained the improved dkong.zip sample and it works perfectly in lr-fbalpha, it doesn't seem to work in lr-mame2003-plus.
I have to admit to being a bit confused about how the newer samples are placed for this core. I haven't seen mention of a separate location for them, so I put the sample in
~/RetroPie/BIOS/mame2003/sample/
which didn't work. I can only imagine that there's another location, as 2003/2003-plus couldn't really coexist otherwise.As a somewhat funny side note, dkongx needs dkong as a parent ROM, so I thought I'd see if it would launch using the Pauline Edition of dkong and it did actually launch, albeit with a messed up color palette for the character and collectable item sprites.
-
@herb_fargus I was talking about old Xbox tools related to the old sets, not the roms themselves. ;)
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.