lr-mame2003 driver improvement and backport
-
@gamez-fan said in lr-mame2003 driver improvement and backport:
a waste of my time likely as the Roms to which im adding them will be
I see your point but it doesn't seem like it would be a complete waste of time. I thought duplicate CRC's are common-ish (not sure the word I am looking for there) beyond parent/clones which require a different name for merge sets if that's the case which is a different thing altogether. Same name but different CRC's probably common with 1,000's of IC chips.
With this small number of games not as big a deal but now merge it up to the main DAT and you have thousands of CRC's ClrMamePro is sorting through trying to match. I guess I wouldn't add it to the code either knowing that but I would add it to the DAT and let it guarantee the correct ROM is present. I am guessing if it's a duplicate CRC but actually the incorrect ROM you're going to experience some weird anomaly when playing.
all but impossible to find unless someone is in the know of a place to grab em..??
I guess also I was assuming you had access to the ROMs you're adding and was able to test and play them? I take it from that statement that's not the case? I can appreciate adding the changes but if you're sure they don't exist or if you can't find them then they really aren't playable?
Instead of using "pre-check" maybe "pre-load" might be a better word? All those ROMs are preloaded and hash checked whether used or not. There can only be one parent/clone relationship at a time. It can be a one to many relationship (thinking like a NAT but no clone to clone) and MAME doesn't care which of these two files it resides in or set type (non-merge, merged, split-merge) to work properly barring the BIOS. If the game loads you only need to look at 2 files to find the ROM.
If even one ROM doesn't pass the name/CRC/SHA1/(size?) then MAME is going to kick an error and drop you out of the emulator. The thought being if you don't have exactly what you're listing in the driver there's no way the game will launch if the ROM isn't present regardless if the driver is for reference or actually used. It checks if the file hash matches the code hash and loads it up. If all ROMs load successfully hopefully your game sprites, sound, etc. load and play properly.
-
@gamez-fan said in lr-mame2003 driver improvement and backport:
NEO_BIOS_SOUND_128K( "269-m1d.bin", CRC(fd4f0ff9) SHA1(e97e864aaa4789d854363512986e80c0606da996) )
Here's what I can tell you.
This dump of
269-m1d.bin
was never as far as I can tell used in official MAME. Before thesvc
driver was introduced in MAME 0.103u2, there were however MAME PLUS builds that incorporated a work-in-progress driver using that version of the ROM.When the driver appears in MAME 0.103u2, everyone is using a dump of that ROM with crc=
447b3123
sha1=a09adc2c0ee2ee0f01287ceb97474a1a58093bd2
I am pretty handy with tracking down specific ROMs but this one really may be lost in time. You stumped me! But I want to ask: is this really the version of the ROM that the backported code requires, since it was never apparently used by MAME? What version of MAME does the backport come from?
-
@markwkidd It wouldn't surprise me if the rom comes from CoinOps, MAMEoX or some other Xbox First generation Mame port.
-
Sorry i don't read all the thread, so busy for the moment, but if you search ROM from MameoXtra or CoinOps i have all of them, if you write a list i can try them or give the good CRC ?
-
Sounds like the XBOX versions have modified the actual ROMs to get the game to work rather than the code and that's why they are so obscure, they're custom. Surely ANY ROM will be available in the latest MAME and Rollback sets otherwise they are not official dumps ?
-
Yeah i think some of these Roms came from Kawaks sources, plus as they are hacks you dont see them supported in current MAME
-
@gamez-fan said in lr-mame2003 driver improvement and backport:
Yeah i think some of these Roms came from Kawaks sources, plus as they are hacks you dont see them supported in current MAME
Unfortunately the most recent versions of Kawaks no longer uses that dump of the ROM and I have been unable to locate a Kawaks ROM collection that includes it. Those kinds of sets are not nearly as well preserved as MAME ROMs :\
-
@markwkidd said in lr-mame2003 driver improvement and backport:
@gamez-fan said in lr-mame2003 driver improvement and backport:
Yeah i think some of these Roms came from Kawaks sources, plus as they are hacks you dont see them supported in current MAME
Unfortunately the most recent versions of Kawaks no longer uses that dump of the ROM and I have been unable to locate a Kawaks ROM collection that includes it. Those kinds of sets are not nearly as well preserved as MAME ROMs :\
I have another NeoGeo driver that im looking over just now first impressions are it uses the proper MAME dumps and as such it might be the better one to use.
-
Ok here's the commit.........
I had to keep kof2003d as to add the proper parent would have been difficult due to Neogeo protection and decryption code changes between MAME78
and MAME103.u5 when that game was first added so better we stick with the decrypted version as we have the code in the source to boot that one
plus a Rom handy that we can use, hopefully the other games which are now using different Roms are ok with the existing code in the driver
i guess you'll find out when ya try to play em.Regards!!
-
@maxbeanz said in lr-mame2003 driver improvement and backport:
Surely ANY ROM will be available in the latest MAME and Rollback sets otherwise they are not official dumps ?
That's what I always thought too. :) That's interesting so the challenge was due to them not being official hence not available in the rollback?
I have a good start on the DAT. I combed through a 2nd time and added the description (full name), year and manufacturer and merge info. A 3rd time to add the <BIOS SET> and BIOS files information and a 4th time to sort the ROMs alphabetically. So they basically look like the example below.
I am currently verifying the list against the source code and then I need to add the samples last which should be creating a quick list in Notepad and pasting them into the DAT. The new samples are going to require the original ROMs be recreated but nothing will be changed. Basically overwriting the original files or removing them as samples aren't stored with the ROMs.
The list of new games is below do you think it would be worth adding the list to the first post so we have a list & location to reference these new games?
I am not sure if the Markdown code block is working as the preview pane isn't showing it properly.
I don't know if there's a way to format a table to make the new games list more legible. I tried a basic HTML table but it doesn't seem to work.
<game name="mslug4" romof="neogeo"> <description>Metal Slug 4</description> <year>2002</year> <manufacturer>Mega</manufacturer> <biosset name="euro" description="Europe MVS (Ver. 2)" default="yes"/> <biosset name="euro-s1" description="Europe MVS (Ver. 1)"/> <biosset name="us" description="US MVS (Ver. 2?)"/> <biosset name="us-e" description="US MVS (Ver. 1)"/> <biosset name="asia" description="Asia MVS (Ver. 3)"/> <biosset name="japan" description="Japan MVS (Ver. 3)"/> <biosset name="japan-s2" description="Japan MVS (Ver. 2)"/> <rom name="000-lo.lo" merge="000-lo.lo" size="65536" crc="e09e253c" sha1="2b1c719531dac9bb503f22644e6e4236b91e7cfc"/> <rom name="263-c1.bin" size="8388608" crc="84865f8a" sha1="34467ada896eb7c7ca58658bf2a932936d8b632c"/> <rom name="263-c2.bin" size="8388608" crc="81df97f2" sha1="2b74493b8ec8fd49216a627aeb3db493f76124e3"/> <rom name="263-c3.bin" size="8388608" crc="1a343323" sha1="bbbb5232bba538c277ce2ee02e2956ca2243b787"/> <rom name="263-c4.bin" size="8388608" crc="942cfb44" sha1="d9b46c71726383c4581fb042e63897e5a3c92d1b"/> <rom name="263-c5.bin" size="8388608" crc="a748854f" sha1="2611bbedf9b5d8e82c6b2c99b88f842c46434d41"/> <rom name="263-c6.bin" size="8388608" crc="5c8ba116" sha1="6034db09c8706d4ddbcefc053efbc47a0953eb92"/> <rom name="263-m1.bin" size="65536" crc="38ffad14" sha1="03d526a887aad28306400c21abd131b9c301c221"/> <rom name="263-m1d.bin" size="65536" crc="0c4c42f8" sha1="b7be47d909f5e4fcfe769ead0653d40e1e708d36"/> <rom name="263-p1.bin" size="1048576" crc="27e4def3" sha1="a08785e8145981bb6b5332a3b2df7eb321253cca"/> <rom name="263-p2.bin" size="4194304" crc="fdb7aed8" sha1="dbeaec38f44e58ffedba99e70fa1439c2bf0dfa3"/> <rom name="263-v1.bin" size="8388608" crc="01e9b9cd" sha1="0b045c2999449f7dab5ae8a42e957d5b6650431e"/> <rom name="263-v2.bin" size="8388608" crc="4ab2bf81" sha1="77ccfa48f7e3daddef5fe5229a0093eb2f803742"/> <rom name="asia-s3.rom" merge="asia-s3.rom" size="131072" crc="91b64be3" sha1="720a3e20d26818632aedf2c2fd16c54f213543e1"/> <rom name="sfix.sfx" merge="sfix.sfx" size="131072" crc="354029fc" sha1="4ae4bf23b4c2acff875775d4cbff5583893ce2a1"/> <rom name="sm1.sm1" merge="sm1.sm1" size="131072" crc="97cf998b" sha1="977387a7c76ef9b21d0b01fa69830e949a9a9626"/> <rom name="sp-e.sp1" merge="sp-e.sp1" size="131072" crc="2723a5b5" sha1="5dbff7531cf04886cde3ef022fb5ca687573dcb8"/> <rom name="sp-j2.rom" merge="sp-j2.rom" size="131072" crc="acede59c" sha1="b6f97acd282fd7e94d9426078a90f059b5e9dd91"/> <rom name="sp-s.sp1" merge="sp-s.sp1" size="131072" crc="c7f2fa45" sha1="09576ff20b4d6b365e78e6a5698ea450262697cd"/> <rom name="sp-s2.sp1" merge="sp-s2.sp1" size="131072" crc="9036d879" sha1="4f5ed7105b7128794654ce82b51723e16e389543"/> <rom name="usa_2slt.bin" merge="usa_2slt.bin" size="131072" crc="e72943de" sha1="5c6bba07d2ec8ac95776aa3511109f5e1e2e92eb"/> <rom name="vs-bios.rom" merge="vs-bios.rom" size="131072" crc="f0e8f27d" sha1="ecf01eda815909f1facec62abf3594eaa8d11075"/> </game>
- "Cabal (World, Joystick version)" cabal cabal.c
- "Power Instinct Legends (USA)" plegends cave.c
- "Puzz Loop 2" pzloop2j cps2.c
- "Denjin Makai" denjinmk denjnmk.c
- "DJ Boy" djboy djboy.c
- "Baryon - Future Assault" baryon dreamwld.c
- "Cute Fighter" cutefght dreamwld.c
- "Dream World" dreamwld dreamwld.c
- "Gaia - The Last Choice Of Earth" gaialast dreamwld.c
- "Rolling Crush" rolcrush dreamwld.c
- "Counter Run (bootleg set 1)" countrnb freekick.c
- "Asura Buster - Eternal Warriors" asurabus fuukifg3.c
- "Hyper Street Fighter II: The Anniversary Edition (Asia 040202)" hfs2a cps2.c
- "Title Fight (World)" titlef multi32.c
- "Hyper Crash (version D)" hcrash nemesis.c
- "Bang Bang Busters" bbbuster neogeo.c
- "Choutetsu Brikin'ger - iron clad (prototype)" ironclad neogeo.c
- "Crossed Swords 2" crswd2bl neogeo.c
- "Ghostlop (protoype)" ghostlop neogeo.c
- "The King of Fighters 2001" kof2001 neogeo.c
- "The King of Fighters 2002" kof2002 neogeo.c
- "The King Of Fighters 2003 (Decrypted C)" kof2003d neogeo.c
- "Last Hope" lasthope neogeo.c
- "Metal Slug 4" mslug4 neogeo.c
- "Metal Slug 5" mslug5 neogeo.c
- "Pochi & Nyaa" pnyaa neogeo.c
- "Power Instinct Matrimelee" matrim neogeo.c
- "Rage of the Dragons" rotd neogeo.c
- "Samurai Shodown V" samsho5 neogeo.c
- "Samurai Shodown V Special" samsho5sp neogeo.c
- "Sengoku 3" sengoku3 neogeo.c
- "Snk Vs Capcom : Svc Chaos" svcboot neogeo.c
- "Zintrick / Oshidashi Zentrix (hack / bootleg)" zintrckb neogeo.c
- "Zupapa!" zupapa neogeo.c
- "Zupapa! (Decrypted C)" zupapan neogeo.c
- "Gunbarich" gnbarich psikyosh.c
- "Dyna Gears" dynagear ssv.c
- "Vasara 2 (set 1)" vasara2 ssv.c
- "Sonic Boom" sonicbom system16.c
- "Air Rescue" arescue system32.c
- "Rock'n Tread 2 (Japan)" rockn2 tetrisp2.c
- "Rock'n 3 (Japan)" rockn3 tetrisp2.c
- "Rock'n 4 (Japan)" rockn4 tetrisp2.c
- "Fire Shark" fireshrk toaplan1.c
- "Vimana" vimana toaplan1.c
- "FixEight (bootleg)" fixeighb toaplan2.c
-
@gamez-fan said in lr-mame2003 driver improvement and backport:
Ok here's the commit.........
Thanks @gamez-fan there seems something wrong with the link.
-
@riverstorm said in lr-mame2003 driver improvement and backport:
@gamez-fan said in lr-mame2003 driver improvement and backport:
Ok here's the commit.........
Thanks @gamez-fan there seems something wrong with the link.
Yeah whatever link i paste the site doesn't seem to wanna play, anyway i've done what you were asking for hopefully the Neogeo Roms which have
changed will still work with the existing prot and crypt code you'll need to test em and let me know, and BTW your two games short above.........Knuckle Bash 2 "toaplan2"
In Your Face "megasys1"Regards.
-
Ok im taking a different direction now i want you guys to test these changes before i commit them to master here is a source please compile it make
your dats and test the NeoGeo games in question which are just these ones as the decrypted sets barring one game are all gone now............"Bang Bang Busters" bbbuster neogeo.c
"Choutetsu Brikin'ger - iron clad (prototype)" ironclad neogeo.c
"Crossed Swords 2" crswd2bl neogeo.c
"Ghostlop (protoype)" ghostlop neogeo.c
"The King of Fighters 2001" kof2001 neogeo.c
"The King of Fighters 2002" kof2002 neogeo.c
"The King Of Fighters 2003 (Decrypted C)" kof2003d neogeo.c
"Last Hope" lasthope neogeo.c
"Metal Slug 4" mslug4 neogeo.c
"Metal Slug 5" mslug5 neogeo.c
"Pochi & Nyaa" pnyaa neogeo.c
"Power Instinct Matrimelee" matrim neogeo.c
"Rage of the Dragons" rotd neogeo.c
"Samurai Shodown V" samsho5 neogeo.c
"Samurai Shodown V Special" samsho5sp neogeo.c
"Sengoku 3" sengoku3 neogeo.c
"Snk Vs Capcom : Svc Chaos" svcboot neogeo.c
"Zintrick / Oshidashi Zentrix (hack / bootleg)" zintrckb neogeo.c
"Zupapa!" zupapa neogeo.cHere's the Src
-
@gamez-fan said in lr-mame2003 driver improvement and backport:
I've changed will still work with the existing prot and crypt code you'll need to test em and let me know, and BTW your two games short above.........
Knuckle Bash 2 "toaplan2"
In Your Face "megasys1"Regards.
Ok thanks, yeah I think there's some changes causing some weird issues. I will go back and verify the changed Neogeo sets and add the 2 missing. I will shoot you a text once the DAT is complete but it will be after the holidays.
-
New working game plus a a small graphical improvement for Biomechanical Toy and Maniac Square
Thunder Hoop (nice wee game)
-
BTW i have some other code sitting on my PC just now which would get some extra Kaneko16 games playable in this core check the games in the driver below............
Currently this core will only play.....
Blaze On
Great 1000 Miles Rally 1 and 2
Magical Crystals
Sand Scorpian
The Berlin WallIm having some trouble getting B.Rap Boys and Shogun Warriors to work " i think the CPU decryption is incompatable with this core" but you can have all the other games
playable here if you want..?? i guess it depends on two things how well they play in other Arcade Emulators on this platform..??, and well since all the Roms in the driver
would need to change "to take advantage of some sound and graphical improvements" if your adverse to that or not..??.Anyway no hard feelings if you all would rather leave things be as i did this code for another project but i can easily add it in here should there be a want
Regards!!!
-
@darksavior said in lr-mame2003 driver improvement and backport:
Any chances Night Slashers might be ported? It doesn't run well on mame2010, so maybe 2003 can.
Ok Night Slashers is done i get around 35fps in MAME72 i assume you'll get more on the Rpi3, still in the testing phase just now though i need to make
sure all the other Deco16 games which this core supports are still fine with the new code but i dont think there will be any issues but better i test
everything before doin the final commit.Regards
-
New working game Night Slashers : https://github.com/libretro/mame2003-libretro/pull/254
code via iq_132 and reworked for the MAME-2003 core.
one of the most heavily protected Data East games gfx, sound and inputs are encrypted, start by adding
in all the needed code into the driver mem maps, inputs, video routines, sound handling, protection and speedup.
By request and fully tested!! this code will only affect 20 or so Data East games which either use the
Deco 16 or 32 based video hardware and they all pass with flying colours after this update.
BTW a few files will need to change so bear with me ;)Supporting Joe & Mac Return : https://github.com/libretro/mame2003-libretro/pull/262
@gamez-fan Due to the changes needed to get Night Slashers playable might as well make more use of them by adding
support for another new working game.
Actually this one supports quite a few more games but they need some changes backported to
the Arm CPU in order to work this would be dangerous as the CPU's are so different between
this core and the one i'd be backporting from.
So rather than maybe break the ARM CPU i just decided to leave it be and strip out the non
working games from the driver leaving just the one game playable that doesn't require further
updates to the aforementioned CPU.Thanks a lot for these two games, i'm a great great fan <3 <3<3
-
@darknior @gamez-fan Excellent. Mame-2003 makes Night Slashers totally playable. I do get some slowdown to like 50-56fps on the second level with heavy transparencies, but I'm sure an overclock will help that. It's nowhere near as slow as mame2010. I maybe encountered a minor graphic bug..the carriage you chase down in level 2 is mostly transparent except for the wheels. I'll still play it this way.
-
@darksavior said in lr-mame2003 driver improvement and backport:
@darknior @gamez-fan Excellent. Mame-2003 makes Night Slashers totally playable. I do get some slowdown to like 50-56fps on the second level with heavy transparencies, but I'm sure an overclock will help that. It's nowhere near as slow as mame2010. I maybe encountered a minor graphic bug..the carriage you chase down in level 2 is mostly transparent except for the wheels. I'll still play it this way.
You get better fps than i do on the ole Xbox :) with regards to the carriage on level two that bug with the alpha transparency layers happens in currant MAME i think..??
but a good friend of mine has fixed it for the next FBA build although im not sure if the speed will be good on this hardware for Night Slashers when using FBA.
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.