Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - G_attract_Mame

Pages: [1]
1
General / Re: How to set up attract mode on a PC step by step
« on: July 12, 2020, 02:08:03 PM »
I am not on mac...
and my mame 221 seems to be broken (hangs on launch)

but..from your AM config change

Code: [Select]
executable           /volumes/Roms2/Mame0220/mame64
to

Code: [Select]
executable           /volumes/Roms2/Mame0220/./mame64
report back to me here

Thank you for the reply. As for mame221, haven't tried it, but did you do an update and/or installed it on another location? I had errors with bgfx, but I fixed it, when I changed a config file and adjusted the bgfx path, it worked fine. If you are using linux, I think it should be similar to mac?


As for your suggestion, I just tried it, but with the same results; when I open the attract.app, I don't see the bezels and when I click on a rom, it makes mame64 crash.
When I try it again via the command line option; ./attract, I see the bezels and when I open a rom, it starts and works perfect. I only don't get back to attract when I close it, but that is for another time.
Below the Mame.cfg and below that what happens when I do it via the command line.

Mame.cfg:
# Generated by Attract-Mode v2.6.1
#
executable           /volumes/Roms2/Mame0220/./mame64
args                 [name]
rompath              /volumes/Roms2/Mame0220/roms/
romext               .zip;.7z
system               Arcade
info_source          listxml
nb_mode_wait         1
exit_hotkey          Escape
pause_hotkey         /volumes/Roms2/Mame0220/marquees
artwork    marquee         /volumes/Roms2/Mame0220/marquees
artwork    snap            /volumes/Roms2/Mame0220/snaps

When I do ./attract, select a rom and close it:
Attract-Mode v2.6.1 (OSX, SFML 2.5.1 +FontConfig +SWF +Curl)
avcodec 58.54.100 / avformat 58.29.100 / swscale 5.5.100 / avutil 56.31.100 / swresample 3.5.100

Config: /Users/geoffreyhans/.attract/attract.cfg

*** Initializing display: 'MAME'
 - Loaded master romlist 'mame2' in 173 ms (13241 entries kept, 0 discarded)
 - Constructed 1 filters in 0 ms (13241 comparisons)
Fontconfig error: Cannot load default config file
Fontconfig warning: ignoring UTF-8: not a valid region tag
 - Loaded layout: ../config/layouts/Basic/ (layout.nut)
 ! Unexpectedly lost focus to: Unknown
 - Working directory: /volumes/Roms2/Mame0220/.
*** Running: /volumes/Roms2/Mame0220/./mame64 alexkidd1
 ! Unexpectedly lost focus to: Unknown
317-0021.key ROM NEEDS REDUMP
WARNING: the machine might not run correctly.
Average speed: 100.01% (5 seconds)




2
General / Re: How to set up attract mode on a PC step by step
« on: July 09, 2020, 02:16:52 AM »
Additionally, I tried some changes to the launch script (see below), but with no success, hence the same results: attract starts, romlist shows, no bezels and a get a mame64 crash when I try to start a rom.

Still don't understand why the commandline ./attract works great, but the app launcher fails?

#!/bin/bash
#cd "${0%/*}"
cd /applications/attract.app/contents/macos/
./attract

3
General / Re: How to set up attract mode on a PC step by step
« on: July 08, 2020, 02:34:12 PM »
Hi there,

I am trying to get Attract to start mame on my Mac, that looks similar to Thermo had a few months ago. I have installed/setup mame 0220 on an external harddrive, which works; by opening the mame64 file I get the menu and if I use commandline option, for example ./mame64 19xx, it runs 19xx

From mame I exported the xml file and via the command line, I managed to read the xml file and I see my roms list in Attract. What I don't see are my pictures, though I have set it up, pointing to the folder on the external drive (see below the mame.cfg file). So, only the romslist show and the rest is blanco. Directly in Mame, I do see the pictures and everything I have installed.

In Attract, if I click on a rom, it seems that mame64 is being opened, but shortly after, it returns to the Attract menu again and somewhat later I see an crash error of mame64, with a very long log list, which is too complex for me to make sense.

@akafox, you asked Thermo to run attract via command line mode, so I did; ./atttract. Guess what happened? The pictures showed! Guess what happened when I double clicked on a rom? It started the game, just like with mame. No crashes or what so ever. Only thing is when I exit the rom, everything else exits as well, so no going back to attract.

Maybe start with the first question, if I open the attract app, I don't see the pictures and trying to open a rom, causes a crash on Mame. If I use the command line, everything works fine. Why is it different and what can I try to solve it?

Thanks in advance,
Geoffrey
p.s. here's the script below:
# Generated by Attract-Mode v2.6.1
#
executable           /volumes/Roms2/Mame0220/mame64
args                 [name]
rompath              /volumes/Roms2/Mame0220/roms/
romext               .zip;.7z
system               Arcade
info_source          listxmla
nb_mode_wait         1
exit_hotkey          Escape
pause_hotkey         /volumes/Roms2/Mame0220/marquees
artwork    marquee         /volumes/Roms2/Mame0220/marquees
artwork    snap            /volumes/Roms2/Mame0220/snaps

Pages: [1]