lr-mame2003 driver improvement and backport
-
@markwkidd said in lr-mame2003 driver improvement and backport:
@zerojay said in lr-mame2003 driver improvement and backport:
@markwkidd said in lr-mame2003 driver improvement and backport:
@zerojay said in lr-mame2003 driver improvement and backport:
nvram doesn't get written out
Could you say more about what you mean by this?
nvram doesn't get written to disk.
Yes, under what emulator and circumstances? All retroarch arcade emulators should be writing nvram.
mame2000. Looks like the source version does indeed write it out now but the binary one needs to be recompiled.
Now if only we could get into the service menu or the usual MAME tab menu with just a controller...
-
https://github.com/libretro/mame2003-libretro/pull/168
@gamez-fan Hook up sound MCU for Vimana
Actually i spoke to soon it was possible to do this one without the input tags :) -
@zerojay said in lr-mame2003 driver improvement and backport:
Now if only we could get into the service menu or the usual MAME tab menu with just a controller...
Thank you for checking on this. Could I ask you to post your experience trying to use the
TAB
menu with source-compiled mame2000 in this github issue? https://github.com/libretro/mame2000-libretro/issues/25 -
-
https://github.com/libretro/mame2003-libretro/pull/173
New Driver which supports 5 games
Code via iq_132 with some graphical updates by myself for Cute Fighter- Baryon - Future Assault (c) 1997 SemiCom / Tirano
- Cute Fighter (c) 1998 SemiCom
- Rolling Crush (c) 1999 Trust / SemiCom
- Gaia - The Last Choice of Earth (c) 1999 SemiCom / XESS
- Dream World (c) 2000 SemiCom
- Baryon - Future Assault (c) 1997 SemiCom / Tirano
-
@gamez-fan said in lr-mame2003 driver improvement and backport:
@zerojay said in lr-mame2003 driver improvement and backport:
I was really hoping that openice would be one of the games that would get these speed boosts. Oh well. Right now, it runs with slowdown on mame2003 and runs perfect speed on anything older but nvram doesn't get written out so it's useless.
Totally experimental as i found it can break the sound in some T-Unit games not using the DCS soundcore, which will require a workaround to sort
but just now for testing purposes if you can compile your own build in the MAME-2003 source goto src/vidhrdw/midtunit and do this.......#define FAST_DMA 1 /* DMAs complete immediately; reduces number of CPU switches */
This should boost up the performance in Open Ice Challenge but enough to playable on the Rpi im not sure..?? you'll need to try it and see.
I compiled with the change and it appears that retroarch is unable to load the compiled .so file that results from it:
[ERROR] Failed to open libretro core: "/opt/retropie/libretrocores/lr-mame2003/mame2003_libretro.so"
[ERROR] Error(s): /opt/retropie/libretrocores/lr-mame2003/mame2003_libretro.so: undefined symbol: driver_baryon -
@zerojay said in lr-mame2003 driver improvement and backport:
I compiled with the change and it appears that retroarch is unable to load the compiled .so file that results from it:
[ERROR] Failed to open libretro core: "/opt/retropie/libretrocores/lr-mame2003/mame2003_libretro.so"
[ERROR] Error(s): /opt/retropie/libretrocores/lr-mame2003/mame2003_libretro.so: undefined symbol: driver_baryonYeah i just added a new driver dreamwld.c which will likely need to be declared in the overall sources hence the above compile errors
if you can point me towards the sources then i can fix this. -
@gamez-fan said in lr-mame2003 driver improvement and backport:
@zerojay said in lr-mame2003 driver improvement and backport:
I compiled with the change and it appears that retroarch is unable to load the compiled .so file that results from it:
[ERROR] Failed to open libretro core: "/opt/retropie/libretrocores/lr-mame2003/mame2003_libretro.so"
[ERROR] Error(s): /opt/retropie/libretrocores/lr-mame2003/mame2003_libretro.so: undefined symbol: driver_baryonYeah i just added a new driver dreamwld.c which will likely need to be declared in the overall sources hence the above compile errors
if you can point me towards the sources then i can fix this.https://github.com/libretro/mame2003-libretro/blob/master/link.T
https://github.com/libretro/mame2003-libretro/blob/master/Makefile.commoni think that's it
-
@dankcushions said in lr-mame2003 driver improvement and backport:
@gamez-fan said in lr-mame2003 driver improvement and backport:
@zerojay said in lr-mame2003 driver improvement and backport:
I compiled with the change and it appears that retroarch is unable to load the compiled .so file that results from it:
[ERROR] Failed to open libretro core: "/opt/retropie/libretrocores/lr-mame2003/mame2003_libretro.so"
[ERROR] Error(s): /opt/retropie/libretrocores/lr-mame2003/mame2003_libretro.so: undefined symbol: driver_baryonYeah i just added a new driver dreamwld.c which will likely need to be declared in the overall sources hence the above compile errors
if you can point me towards the sources then i can fix this.https://github.com/libretro/mame2003-libretro/blob/master/link.T
https://github.com/libretro/mame2003-libretro/blob/master/Makefile.commoni think that's it
Thanks i've declared the new driver in the makefile that should fix the compile errors
-
@gamez-fan said in lr-mame2003 driver improvement and backport:
@dankcushions said in lr-mame2003 driver improvement and backport:
@gamez-fan said in lr-mame2003 driver improvement and backport:
@zerojay said in lr-mame2003 driver improvement and backport:
I compiled with the change and it appears that retroarch is unable to load the compiled .so file that results from it:
[ERROR] Failed to open libretro core: "/opt/retropie/libretrocores/lr-mame2003/mame2003_libretro.so"
[ERROR] Error(s): /opt/retropie/libretrocores/lr-mame2003/mame2003_libretro.so: undefined symbol: driver_baryonYeah i just added a new driver dreamwld.c which will likely need to be declared in the overall sources hence the above compile errors
if you can point me towards the sources then i can fix this.https://github.com/libretro/mame2003-libretro/blob/master/link.T
https://github.com/libretro/mame2003-libretro/blob/master/Makefile.commoni think that's it
Thanks i've declared the new driver in the makefile that should fix the compile errors
No go. Dumped my copy of the lr-mame2003 source and pulled down a fresh copy, made the change for DMA as we previously mentioned and compiled.
When running with verbose logging:
Parameters:
Executing: SDL_VIDEO_EGL_DRIVER=/opt/vc/lib/libEGL.so SDL_VIDEO_GL_DRIVER=/opt/vc/lib/libGLESv2.so /opt/retropie/emulators/retroarch/bin/retroarch
-L /opt/retropie/libretrocores/lr-mame2003/mame2003_libretro.so --config /opt/retropie/configs/mame-libretro/retroarch.cfg "/home/pi/RetroPie/rom
s/mame-libretro/openice.zip" --verbose --appendconfig /dev/shm/retroarch.cfg
[INFO] RetroArch 1.6.7 (Git 8e8bdaa)
[INFO] Redirecting save file to "/home/pi/RetroPie/roms/mame-libretro/openice.srm".
[INFO] Redirecting savestate to "/home/pi/RetroPie/roms/mame-libretro/openice.state".
[INFO] === Build =======================================
Capabilities: NEON VFPv3 VFPv4
Built: Sep 10 2017
[INFO] Version: 1.6.7
[INFO] Git: 8e8bdaa
[INFO] =================================================
[INFO] [Config]: loading config from: /opt/retropie/configs/mame-libretro/retroarch.cfg.
[INFO] Config: appending config "/dev/shm/retroarch.cfg"
[INFO] Loading dynamic libretro core from: "/opt/retropie/libretrocores/lr-mame2003/mame2003_libretro.so"
[ERROR] Failed to open libretro core: "/opt/retropie/libretrocores/lr-mame2003/mame2003_libretro.so"
[ERROR] Error(s): /opt/retropie/libretrocores/lr-mame2003/mame2003_libretro.so: undefined symbol: driver_baryon
/opt/retropie/supplementary/runcommand/runcommand.sh: line 1014: 16143 Segmentation fault SDL_VIDEO_EGL_DRIVER=/opt/vc/lib/libEGL.so SDL_VIDEO_GL_DRIVER=/opt/vc/lib/libGLESv2.so /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2003/mame2003_libretro.
so --config /opt/retropie/configs/mame-libretro/retroarch.cfg "/home/pi/RetroPie/roms/mame-libretro/openice.zip" --verbose --appendconfig /dev/shm/retroarch.cfg -
Actually, just noticed your change didn't yet get pulled so I applied it manually. The game loads and runs but even on my overclocked pi3 with resolution at 640x480, it seems to go back and forth between full speed and very slow (though audio sounds fine).
-
@zerojay said in lr-mame2003 driver improvement and backport:
Actually, just noticed your change didn't yet get pulled so I applied it manually. The game loads and runs but even on my overclocked pi3 with resolution at 640x480, it seems to go back and forth between full speed and very slow (though audio sounds fine).
Open ice does the exact same thing on the Xbox with the DMA off but i noticed when i turned it on the game did get a slight boost not as much as MK2 or MK3
which is what i really use it for, i thought it was worth a try on the Rpi incase you got a better speedup via the DMA change but alas it was not to be which is a pity, -
I am able to play it with advmame 0.94 with my overclock and it's pretty playable there. Thanks for the help.
-
Hi ! First of all, thanks for your work !
I use retroarch and just saw in the new changelog that there is a Mame2003_midway core.
I found the site with the source but can't find the DLL
When i Update the core in retroarch section I only can see the tradionnal 2003 core but not the midway one.
Can you help me to reach this dll ?Thx
Regards
-
@yevaman said in lr-mame2003 driver improvement and backport:
Hi ! First of all, thanks for your work !
I use retroarch and just saw in the new changelog that there is a Mame2003_midway core.
I found the site with the source but can't find the DLL
When i Update the core in retroarch section I only can see the tradionnal 2003 core but not the midway one.
Can you help me to reach this dll ?Thx
Regards
I'll take a run at it today.
-
Rock'n Tread 1 - 5 (Japan) : https://github.com/libretro/mame2003-libretro/pull/178
Tetris Plus 2 World : https://github.com/libretro/mame2003-libretro/pull/177
-
Fix : https://github.com/libretro/mame2003-libretro/pull/179
Driftout 94 remove incorrect protection :
Monster Slider fix incorrect level logic game now playable :
Twin Eagle II add dsp handling and fix graphics game now playable :Add Dyna Gears new working game : https://github.com/libretro/mame2003-libretro/pull/180
-
@gamez-fan Thanks for all your great updates & patches.
I know I'm insisting on this as I already made this comment on github..
but is there any chance to get sound in "Deep Scan" (sega vicdual) ?
That would be so great!Recently samples were added to another vicdual game (more info here). I asked if it is possible to add a similar "sample player module" to Deep Scan on that thread but no answer. Samples are available; they are the same as Depth Charge.
-
Lets get Fire Barrel playable : https://github.com/libretro/mame2003-libretro/pull/182
@gamez-fan Fix sound and improve the bad graphical layer, original code by BP and myself
-
@udb23 said in lr-mame2003 driver improvement and backport:
@gamez-fan Thanks for all your great updates & patches.
I know I'm insisting on this as I already made this comment on github..
but is there any chance to get sound in "Deep Scan" (sega vicdual) ?
That would be so great!Recently samples were added to another vicdual game (more info here). I asked if it is possible to add a similar "sample player module" to Deep Scan on that thread but no answer. Samples are available; they are the same as Depth Charge.
I take it you mean this game it's the only one i can see called Deep Scan in the MAME78 vicdual driver..........
GAMEX(1979, invds, 0, invinco4, invds, invds, ROT270, "Sega", "Invinco / Deep Scan", GAME_IMPERFECT_SOUND )
It seems to have sound but your saying it needs to use the same samples as depth charge..?? it should be easy enough to hook it
to those samples in the driver if thats what the game requires i honestly haven't played this one.
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.