Attract-Mode Support Forum
Attract-Mode Support => General => Topic started by: lordricker on December 04, 2020, 06:58:31 AM
-
So in the effort to find a near latency free option for old arcade games (me and dad both agree that sometimes the galaga ship just doesnt shoot when you press the button or similar effects on other games on mame) i tried shmupmame and it did not give results like we were wanting.
I have now stumbled upon ShmupArch which has some powerful latency options and pacman feels like butter on it. Unfortunately i tried setting it up on attractmode like i had with the mame versions but it just shows a black screen for a second or two then back to game select.
Has anyone tried shmuparch (or i think retroarch is basically the same backend) on attractmode and got it to work?
nevato theme on attractmode just looks so nice.
-
Please tell us the commandline arguments (with full paths) to start a romfile.
so we can get it to AM.
-
not completely sure what that means. this is the config file for shmup arch in attract mode
# Generated by Attract-Mode v2.6.0
#
executable C:\mame\ShmupArch 6\ShmupArch 6\retroarch.exe
args [name]
rompath C:\mame\ShmupArch 6\ShmupArch 6\roms
romext .zip;.7z
system Arcade
info_source listxml
artwork marquee C:\mame\shmupmame42_64bit\marquee
artwork snap C:\mame\shmupmame42_64bit\snap
artwork wheel C:\mame\shmupmame42_64bit\wheel
the roms folder is inside the second ShmupArch 6 folder
-
I think, your arguments are not correct.
because of space in foldername (ShmupArch 6) this should do it:
args "[romfilename]"
maybe this too:
executable "C:\mame\ShmupArch 6\ShmupArch 6\retroarch.exe"
if not:
start CMD / commandline / command prompt : Here (https://www.howtogeek.com/235101/10-ways-to-open-the-command-prompt-in-windows-10/)
Are you able to start a romfile from there?
"C:\mame\ShmupArch 6\ShmupArch 6\retroarch.exe" "C:\mame\ShmupArch 6\ShmupArch 6\roms\your_example_game123.zip"
if not : what is the correct command to start it from there?
-
You need to tell retroarch which core to use. You should also tell it to run in full screen.
something like this
# Generated by Attract-Mode v2.6.1
#
executable C:\mame\ShmupArch 6\ShmupArch 6\retroarch.exe
args -f -L cores\<name_of_core>.dll "[romfilename]"
-
So i took the spaces out and now when I start a game in attract mode it opens up the retro arch backend, im not sure how to command it to go to the game selected after that point, I might not be understanding Progets args line. say galaga.zip is the rom, ive tried these
-f -L cores\<fbneo_libretro.dll>.dll "galaga.zip"
-f -L cores\<fbneo_libretro.dll>.dll "[galaga.zip]"
-f -L cores\<fbneo_libretro.dll>.dll [galaga.zip]
all of these produces the original result, black for a sec then back to game select on attract mode
-
Try one of these
# Generated by Attract-Mode v2.6.1
#
executable C:\mame\ShmupArch 6\ShmupArch 6\retroarch.exe
args -f -L cores\fbneo_libretro.dll "[romfilename]"
# Generated by Attract-Mode v2.6.1
#
executable C:\mame\ShmupArch 6\ShmupArch 6\retroarch.exe -f -L cores\fbneo_libretro.dll
args "[romfilename]"
-
so just to be sure, i should type "[romfilename]" or should it actually be the the name of the file i want to play.
-
"[romfilename]"
The actual game names will be in the romlist once you generate it.
-
ok so i tried both of those to no avail, same issue
i tried out the cmd thing,
retroarch.exe opens up the back end as expected
galaga.zip just opens up the galaga folder
-
Try running this from the Windows command line. The goal is to see Galaga run and not see the RetroArch GUI.
"C:\mame\ShmupArch 6\ShmupArch 6\retroarch.exe" -f -L "C:\mame\ShmupArch 6\ShmupArch 6\cores\fbneo_libretro.dll" "C:\mame\ShmupArch 6\ShmupArch 6\roms\galaga.zip"
-
that command line did open up galaga correctly.
i tried
executable C:\mame\ShmupArch6\ShmupArch6\retroarch.exe
args -f -L "C:\mame\ShmupArch 6\ShmupArch 6\cores\fbneo_libretro.dll" "[romfilename]"
didnt work
-
your paths are not correct, because you left the space in path name ("ShmupArch 6" VS "ShmupArch6")
if command line of progets works (or customize to your existing paths and correct folder structure):
executable "C:\mame\ShmupArch 6\ShmupArch 6\retroarch.exe"
args -f -L "C:\mame\ShmupArch 6\ShmupArch 6\cores\fbneo_libretro.dll" "[romfilename]"
rompath C:\mame\ShmupArch 6\ShmupArch 6\roms
romext .zip;.7z
generate your collection/romlist again
-
yeah i had renamed the shmuparch6 folders to have no spaces
i did try that one and it still does black screen then menu after a few seconds
executable C:\mame\ShmupArch6\ShmupArch6\retroarch.exe
args -f -L "C:\mame\ShmupArch6\ShmupArch6\cores\fbneo_libretro.dll" "[romfilename]"
rompath C:\mame\ShmupArch6\ShmupArch6\roms
romext .zip;.7z
just for reference the code that worked in cmd was
C:\>"C:\mame\ShmupArch6\ShmupArch6\retroarch.exe" -f -L "C:\mame\ShmupArch6\ShmupArch6\cores\fbneo_libretro.dll" "C:\mame\ShmupArch6\ShmupArch6\roms\galaga.zip"
just tried it again
-
Try these
executable C:\mame\ShmupArch6\ShmupArch6\retroarch.exe
args -f -L C:\mame\ShmupArch6\ShmupArch6\cores\fbneo_libretro.dll "[romfilename]"
rompath C:\mame\ShmupArch6\ShmupArch6\roms
romext .zip;.7z
executable C:\mame\ShmupArch6\ShmupArch6\retroarch.exe -f -L C:\mame\ShmupArch6\ShmupArch6\cores\fbneo_libretro.dll
args "[romfilename]"
rompath C:\mame\ShmupArch6\ShmupArch6\roms
romext .zip;.7z
-
aye aye aye
no dice.
that last one seemed promising
-
Post your C:\mame\ShmupArch6\ShmupArch6\last_run.log file.
-
ok looks like i had to turn logging on, i think this is the file
-
That's a retroarch log file. We need the attractmode log file. Post your C:\mame\ShmupArch6\ShmupArch6\last_run.log file.
-
got confused cause retro arch is shmuparch6, i almost posted the attract mode log since it sounded like that was what you wanted
anyways here is the attract mode log
-
That log file doesn't show any failed game launches. Run attractmode, start a game or two that fail to load, exit attractmode and then copy the last_run.log file so we can see the game launch errors.
-
hmm. is it possible it is technically starting it the closing? when start a game it goes out of attract mode then black screen for a second or two then back into attractmode game select
tried three different ones on this on all with that result
-
Try this. It will cause a delay for the game to load so give it a little time. If it doesn't work provide the updated last_run.log.
# Generated by Attract-Mode v2.6.0
#
executable C:\mame\ShmupArch6\ShmupArch6\retroarch.exe
args -f -L C:\mame\ShmupArch6\ShmupArch6\cores\fbneo_libretro.dll "[romfilename]"
rompath C:\mame\ShmupArch6\ShmupArch6\roms
romext .zip;.7z
system Arcade
info_source listxml
nb_mode_wait 5
artwork marquee C:\mame\shmupmame42_64bit\marquee
artwork snap C:\mame\shmupmame42_64bit\snap
artwork wheel C:\mame\shmupmame42_64bit\wheel
-
well that makes the black screen last longer
-
Your executable and args don't match what is above in the log. Changing these will also change your working directory which is not correct in the log.
-
sorry i guess im confused, not sure how the logs dont match the executable and args if that is what the logs were pulled from?
-
Post your current attract mode emulator.cfg file.
-
here is the emulator config for attractmode
-
That doesn't point to an executable. Change it to this.
# Generated by Attract-Mode v2.6.0
#
executable C:\mame\ShmupArch6\ShmupArch6\retroarch.exe
args -f -L C:\mame\ShmupArch6\ShmupArch6\cores\fbneo_libretro.dll "[romfilename]"
rompath C:\mame\ShmupArch6\ShmupArch6\roms
romext .zip;.7z
system Arcade
info_source listxml
nb_mode_wait 5
artwork marquee C:\mame\shmupmame42_64bit\marquee
artwork snap C:\mame\shmupmame42_64bit\snap
artwork wheel C:\mame\shmupmame42_64bit\wheel
-
hm not sure why i didnt see that, anyways i just copied that code into the config file. no changes here is the run log
-
Maybe try this, it's from another post with a similar issue.
"AM needs to be run in Admin mode (Right click, properties, Run as admin), even when logged in to windows with an admin account."
-
if only it were that easy :/
well ill keep messing around with it, seems strange that you can start it from CMD but not in attract mode
-
so i put this in the config file for attract mode and it does open up galaga as expected, i was just trying to match what we put in cmd
# Generated by Attract-Mode v2.6.0
#
executable "C:\mame\ShmupArch6\ShmupArch6\retroarch.exe"
args -f -L "C:\mame\ShmupArch6\ShmupArch6\cores\fbneo_libretro.dll" "C:\mame\ShmupArch6\ShmupArch6\roms\galaga.zip"
rompath C:\mame\ShmupArch6\ShmupArch6\roms
romext .zip;.7z
system Arcade
info_source listxml
nb_mode_wait 2
artwork marquee C:\mame\shmupmame42_64bit\marquee
artwork snap C:\mame\shmupmame42_64bit\snap
artwork wheel C:\mame\shmupmame42_64bit\wheel
so i guess the question is how to get it to recognize the different roms??
-
Post your romlist.txt.
-
here is the romlist.txt
-
the only difference i can see between "[romfilename]" and the one that works is there is a forward slash instead of back slash
*** Running: "C:\mame\ShmupArch6\ShmupArch6\retroarch.exe" -f -L "C:\mame\ShmupArch6\ShmupArch6\cores\fbneo_libretro.dll" "C:\mame\ShmupArch6\ShmupArch6\roms/galaga.zip"
that was romfilename
*** Running: "C:\mame\ShmupArch6\ShmupArch6\retroarch.exe" -f -L "C:\mame\ShmupArch6\ShmupArch6\cores\fbneo_libretro.dll" "C:\mame\ShmupArch6\ShmupArch6\roms\galaga.zip"
this was the one that worked but its typed in just like that in args
-
You set attract.exe to run as admin in properties, correct?
Try these and provide the last_run.log for each of them if none of them work. Make sure you copy and paste these since they each have small differences you might or might not notice.
# Generated by Attract-Mode v2.6.0
#
executable C:\mame\ShmupArch6\ShmupArch6\retroarch.exe
args -f -L C:\mame\ShmupArch6\ShmupArch6\cores\fbneo_libretro.dll [name]
rompath C:\mame\ShmupArch6\ShmupArch6\roms
romext .zip;.7z
system Arcade
info_source listxml
nb_mode_wait 5
artwork marquee C:\mame\shmupmame42_64bit\marquee
artwork snap C:\mame\shmupmame42_64bit\snap
artwork wheel C:\mame\shmupmame42_64bit\wheel
# Generated by Attract-Mode v2.6.0
#
executable C:\mame\ShmupArch6\ShmupArch6\retroarch.exe
args -f -L C:\mame\ShmupArch6\ShmupArch6\cores\fbneo_libretro.dll [name][romext]
rompath C:\mame\ShmupArch6\ShmupArch6\roms
romext .zip;.7z
system Arcade
info_source listxml
nb_mode_wait 5
artwork marquee C:\mame\shmupmame42_64bit\marquee
artwork snap C:\mame\shmupmame42_64bit\snap
artwork wheel C:\mame\shmupmame42_64bit\wheel
# Generated by Attract-Mode v2.6.0
#
executable C:\mame\ShmupArch6\ShmupArch6\retroarch.exe
args -f -L C:\mame\ShmupArch6\ShmupArch6\cores\fbneo_libretro.dll [rompath]\[name][romext]
rompath C:\mame\ShmupArch6\ShmupArch6\roms
romext .zip;.7z
system Arcade
info_source listxml
nb_mode_wait 5
artwork marquee C:\mame\shmupmame42_64bit\marquee
artwork snap C:\mame\shmupmame42_64bit\snap
artwork wheel C:\mame\shmupmame42_64bit\wheel
# Generated by Attract-Mode v2.6.0
#
executable C:\mame\ShmupArch6\ShmupArch6\retroarch.exe
args -f -L C:\mame\ShmupArch6\ShmupArch6\cores\fbneo_libretro.dll [name]
workdir C:\mame\ShmupArch6\ShmupArch6\roms
rompath C:\mame\ShmupArch6\ShmupArch6\roms
romext .zip;.7z
system Arcade
info_source listxml
nb_mode_wait 5
artwork marquee C:\mame\shmupmame42_64bit\marquee
artwork snap C:\mame\shmupmame42_64bit\snap
artwork wheel C:\mame\shmupmame42_64bit\wheel
# Generated by Attract-Mode v2.6.0
#
executable C:\mame\ShmupArch6\ShmupArch6\retroarch.exe
args -f -L C:\mame\ShmupArch6\ShmupArch6\cores\fbneo_libretro.dll [name][romext]
workdir C:\mame\ShmupArch6\ShmupArch6\roms
rompath C:\mame\ShmupArch6\ShmupArch6\roms
romext .zip;.7z
system Arcade
info_source listxml
nb_mode_wait 5
artwork marquee C:\mame\shmupmame42_64bit\marquee
artwork snap C:\mame\shmupmame42_64bit\snap
artwork wheel C:\mame\shmupmame42_64bit\wheel
-
we finally found it, the 3rd one there was the ticket
# Generated by Attract-Mode v2.6.0
#
executable C:\mame\ShmupArch6\ShmupArch6\retroarch.exe
args -f -L C:\mame\ShmupArch6\ShmupArch6\cores\fbneo_libretro.dll [rompath]\[name][romext]
rompath C:\mame\ShmupArch6\ShmupArch6\roms
romext .zip;.7z
system Arcade
info_source listxml
nb_mode_wait 5
artwork marquee C:\mame\shmupmame42_64bit\marquee
artwork snap C:\mame\shmupmame42_64bit\snap
artwork wheel C:\mame\shmupmame42_64bit\wheel
thank you progets for sticking around trying to figure this out.
-
I'm glad you got it working. You can probably remove the "nb_mode_wait 5" line since that wasn't the issue.