Recent Posts

Pages: [1] 2 3 ... 10
Themes / Capcom Diamondplate Horizontal Layout
« Last post by FrizzleFried on Yesterday at 11:00:30 PM »
Capcom Diamondplate themed Attract Mode horizontal layout.  You can read more about it HERE.

General / AM Freezes when adding more than 5 roms in Hyperpie 2 PC edition
« Last post by sternrulez on Yesterday at 08:09:08 PM »

I finally got all of my Future Pinball tables over to the appropriate drive, only to realize I have to zip each one individually to have all the assets present. That is the least of my issues however, thus the topic above.

I was only able to add 1 zipped table to the directory at a time when creating a new list, but if that weren't bad enough I can't have more than 5 tables in the directory before AM crashes. I've searched for hours for a solution, only to come up empty. I have an xml file with tables listed, but I have no idea where it should be placed in order for AM to read it.  The only other thing I haven't tried is chaining rompaths in the settings with 5 tables in each folder.  I think it's totally ludicrous to have to make what...70-75 directories each with 5 tables in? I don't even know if that would work, plus I'm betting AM would crash after trying to read such an extensive listing of rompaths.

I'm at my wits end here, I'll end up having to go back to hyperspin and put up with the lousy controller support or maybe boot up my GameEx program and see if I fare any better with that, so any help provided would be greatly appreciated. Thanks in advance!  :)
General / Re: Can Attract mode start up programs on startup??
« Last post by Herodes on Yesterday at 06:33:18 PM »
Ok i go try that thanks for your reply :)
General / Re: Linux config
« Last post by rcampbel3 on Yesterday at 06:04:44 PM »
This is my "Super Nintendo Entertainment System.cfg" file. Hope this helps.

# Generated by Attract-Mode v2.2.1-41-dirty
executable           retroarch
args                 -L /usr/lib/libretro/ "[romfilename]"
rompath              /usr/local/share/games/snes/roms
romext               .smc;.sfc;.fig;.swc;.SMC;.SFC;.FIG;.SWC;.zip;.ZIP
system               Super Nintendo (SNES);super-nintendo-snes
import_extras        /usr/local/share/games/snes/snes.xml
artwork    boxart          /usr/local/share/games/snes/boxart
artwork    cartart         /usr/local/share/games/snes/cartart
artwork    flyer           /usr/local/share/games/snes/fanart;/usr/local/share/games/snes/titles
artwork    marquee         /usr/local/share/games/snes/marquee
artwork    snap            /usr/local/share/games/snes/videos;/usr/local/share/games/snes/snap;/usr/local/share/games/snes/screens
artwork    wheel           /usr/local/share/games/snes/wheel
Themes / NESPiAM Theme
« Last post by harvey263 on Yesterday at 05:05:35 PM »
This is a 1920x1080 layout I made for my NESPi  It works good with my Raspberry Pi 3.  All of the code I just took from OlRoom and Robospin and moved it around some.

Scripting / Re: Display-Specific Music?
« Last post by calle81 on Yesterday at 12:51:26 PM »
Second, let me understand what you are asking... you want unique music on a per-title basis? So like Galaga has it's own song, and Ms. Pacman has another song?

I will only use it for the displays menu. So Nes, snes etc can have music that overrides the video snaps music. I found a simple workaround:

//Background Music
local bgMusic = fe.add_sound("")
function bgmusic_transitions( ttype, var, ttime ) {
 switch ( ttype ) {
  case Transition.FromOldSelection:
         bgMusic.file_name = "../../music/"+fe.game_info(Info.Title)+".mp3"
  case Transition.ToGame:
  case Transition.ToNewList:
         bgMusic.file_name = "../../music/"+fe.game_info(Info.Title)+".mp3"
 return false;
Scripting / Re: Display-Specific Music?
« Last post by YellowBirdAZ on Yesterday at 12:15:38 PM »

First off check here for the latest version of this plugin:

Just be aware if you use this, the toggling between music and video sounds is handled in my custom layout. If you want to use that JukeboxMode plugin with another layout, you will have to look in my custom layout and copy the code for the music/sfx switching.

Second, let me understand what you are asking... you want unique music on a per-title basis? So like Galaga has it's own song, and Ms. Pacman has another song?
General / Re: Can Attract mode start up programs on startup??
« Last post by YellowBirdAZ on Yesterday at 12:08:51 PM »
Hey, I recommend another solution. I had the same basic issue you did but here's how I solved it.

First off, install Autohotkey (AHK). It's a scripting language that has been very helpful with my project, and as you get familiar with it you can use it for all sorts of other things. There are probably other options (Python, Perl, etc.)  But AHK is well-suited to arcade projects because you can use it for re-mapping controls, assigning multiple functions to the same input, window placement and resizing, and so on.

So in my cabinet, instead of booting to AttractMode, I boot to an AHK script I compiled as an executable. Here is the source for that script.

Code: [Select]

RunWait C:/CSR/ChangeScreenResolution.exe /d=\\.\DISPLAY1 /w=320 /h=240,,HIDE
Run C:/IPAC Profiles/poly.ipc,,HIDE
Run C:/AHK Scripts/always.exe,,HIDE
Run C:/AttractMode/attract.exe -c C:/AttractMode,,MAX

So it's very easy to read as you can see.

First thing it does is sets my resolution to 320x240 (and waits until that is done before moving to next step).

Second, I load the appropriate IPAC profile (I use the IPAC for my controls, you may be doing something different).

Third, it launches another AHK script that will run in the background as long as the machine is running. This is where I do some control re-mapping and I have hotkeys set up to change resolutions (for error recovery if the display goes black or otherwise unreadable).

Finally, it runs AttractMode before exiting.

Anyhow, I think this might work for you and I bet you'll find other ways to use AHK. Your steps will of course be different, but this is a way to boot into AttractMode while also starting up whatever other processes you need.
General / Linux config
« Last post by KTURNER on Yesterday at 08:34:08 AM »
If its not to much trouble could someone post their config file for snes on linux. I got it to show my rom list but I caint get it to launch.
Scripting / Problem with marquee
« Last post by Mayki07 on Yesterday at 03:53:58 AM »
If I have an animated marquee, I can not place it on the top layer. If I have a static marquee, it's not a problem. Do you advise anyone?

Animate with Property Animation :
Code: [Select]
local scale_cfg = {
    when = Transition.ToNewSelection,
    property = "scale",
    start = 1.0,
    end = 1.1,
    time = 1200
    tween = Tween.Quad,

local scale1_cfg = {
    when = Transition.ToNewSelection,
    property = "scale",
    start = 1.1,
    end = 1.0,
    time = 1200
    tween = Tween.Quad,
delay = 1200

animation.add( PropertyAnimation( OBJECTS.marquee, scale_cfg ) );
animation.add( PropertyAnimation( OBJECTS.marquee, scale1_cfg ) );

Animated Marquee :

Static Marquee :

Pages: [1] 2 3 ... 10