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 - raygun

Pages: 1 ... 23 24 [25] 26 27
361
Scripting / Re: Listbox Question about sel background
« on: August 29, 2014, 07:06:10 AM »
hmm ok I'll check that the docs cover this!

362
General / Re: Attract-Mode has lost ALL sound!!!
« on: August 29, 2014, 07:02:29 AM »
also be sure to check if you are getting any messages in the command line console

363
General / Re: Noob Strikes Again
« on: August 29, 2014, 06:59:31 AM »
do you have 'autorotation' enabled in the general config menu?

364
Scripting / Re: Listbox Question about sel background
« on: August 19, 2014, 06:42:57 PM »
to clear the selection background it is either

listbox.selbg_alpha = 0;

or

listbox.selbg_alpha = 255;

i forget right now whether it is 0 or 255 that sets it to transparent.

cheers


365
General / Re: Help With Mame Config?
« on: August 04, 2014, 11:10:36 PM »
Ok that's great that you fixed it.

I'll look into having the frontend change the working directory to match the location of the executable on Linux.  That will match the behaviour on windows and should avoid this problem for the future for others.

366
General / Re: Help With Mame Config?
« on: August 02, 2014, 09:24:11 PM »
Hi Gath,

You can change the layout that gets used in the "lists" configuration in the config menu.  Its one of the options for each list.  The toggle layout button is for switching between multiple versions of the same layout (if multiple vers are present).

I'm not sure why its crashing when you press the toggle layout button.  if you could let me know what layout you are getting the crash on I'll try to reproduce it here.



367
Scripting / Re: Colour cycling script.
« on: July 29, 2014, 08:39:54 PM »
Very cool subtle effect Luke.

I was testing some stuff out with your swapper layout the other night and when I first noticed the colours shifting I thought I was finally losing it...  ;D

368
General / Re: Mess Software List or No-Intro issue.
« on: July 29, 2014, 08:29:13 PM »
Hi redhalo, I'm not familiar with no-intro so someone else may be more help for answering this than me.

This thread at byoac seems to deal with a similar issue?: http://forum.arcadecontrols.com/index.php?topic=140064.0

So maybe try the fuzzy rename or fatmatch programs that are mentioned?

369
Trying to build a simple list routine so I can alter the selected game height.

Only lists the first 9 games. Using up/down changes the preview image appropriately but the list doesn't change.

Code: [Select]
// Layout by cools / Arcade Otaku
// Layout User Options
class UserConfig {
 </ label="Preview Image", help="Choose snap/video snap, title, flyer or none.", options="snap,video,title,flyer,none" /> preview_image = "snap";
}
local my_config = fe.get_config();

// Layout Constants
// Font found on 9031.com
fe.layout.font="Arcade-Regular"
local rot=(fe.layout.base_rotation+fe.layout.toggle_rotation)%4;
local flw=fe.layout.width;
local flh=fe.layout.height;
switch (rot) {
 case RotateScreen.Right:
 case RotateScreen.Left:
  fe.layout.width=flh;
  fe.layout.height=flw;
  flw=fe.layout.width;
  flh=fe.layout.height;
  break;
}

// Preview image
local preview=fe.add_artwork (my_config["preview_image"],0,0,flw,flh/3);

// List
local lbx=0;
local lby=flh/3;
local lbw=flw;
local lbh=flh-lby;
local itn=9;
local ith=lbh/itn;
lby+=(ith*(itn/2));

for (local i=(itn/2)*-1;i<(itn/2);i+=1){
 if (i==0) {
  fe.add_text(fe.game_info (Info.Title),lbx,lby+(ith*i)-5,lbw,ith+10);
 }
 else {
  fe.add_text(fe.game_info (Info.Title,i),lbx,lby+(ith*i),lbw,ith);
 }
}

Actually, just doing this doesn't work as I'd expect:
Code: [Select]
fe.add_text(fe.game_info (Info.Title),0,0,fe.layout.width,fe.layout.height/25);
Even throwing the latter part alone into a "local game=" statement fails for it to update.

Try replacing:

Code: [Select]
fe.add_text(fe.game_info (Info.Title),0,0,fe.layout.width,fe.layout.height/25);
with:

Code: [Select]
local temp = fe.add_text("[Title]",0,0,fe.layout.width,fe.layout.height/25);
temp.index_offset = i;

in both the places where you have it.  I think that should work.

The fe.game_info() command is only really useful when it is called from a tick or a transition function.  The frontend doesn't actually know what the current game is when the layout script itself is run (it only knows that later on when transitions and ticks occur)....


370
General / Re: Beginner questions- Random music & Video clips
« on: July 29, 2014, 08:09:38 PM »
Hello, I've been playing around with Attract Mode setting up my first arcade, and I really love the ease of use. However, there are 2 things I can't figure out:

1) Is there a way to have Attract play random songs in the background instead of one song over and over? Like every time it boots up, it picks a song at random from the audio folder?

2) I have .mp4 video clips of games, but I can't figure out how to get them to run in the screensaver mode. What folder do they need to be in? What settings do I need applied?

Thanks in advance!

Hi there,

1.  Unfortunately there isn't an easy way to have attract play random songs in the background right now.  You could write a plugin that selects a random file from a list and plays it at startup, but that might get kind of clunky.  I'll look into adding an easy way to have random songs played as the ambient music in the next version.

A bit of a quirk is that Attract-Mode will load and play music files if it encounters them when it is searching for artworks.  So you could put a music file in with your marquee, snap, (or as your own custom) artworks and Attract-Mode would play the music file thinking it is a video if it is the first match that is found... this might be useful depending on what you are trying to do.

2.  The screensaver looks in the "snap" artwork for the videos it wants to play.  So you should check under the emulator configuration to make sure that the path to your video clips is the first directory listed for the "snap" artwork.

Hope that helps.

371
General / Re: ZSNES emulator config
« on: July 21, 2014, 10:03:26 PM »
Try running Attract-Mode from a command prompt (cmd.exe).  Whenever it runs an emulator it first prints the command-line it is trying to run.  So you should be able to see what is going on from the message it gives.

372
General / Re: Help-a-noob
« on: July 21, 2014, 09:58:32 PM »
Id like to think that I pick things up quick computerwise, but for the life of me I can't get a grasp on lists and favorites.  Could someone post a couple of their examples?  For example in mame, i like only 1981 games. How would I go about that? Thanks for your time!

Hey there,

For your example with mame, you would create a filter in the list's configuration with a rule that "Year" equals "1981".

So here is what it looks like in the attract.cfg file.  This is the config for one list named Arcade that uses the mame romlist.  It has three filters ("All", "Favourites" and "1981"):

Code: [Select]
list Arcade
layout               orbit
romlist              mame
filter               All
filter               Favourites
rule                 Favourite equals 1
filter               1981
rule                 Year equals 1981

In the controls configuration, you can map the "Next Filter" and "Previous Filter" actions to a key or button and then cycle between the various filters that you have for a particular list...

You also mentioned favourites, there is an "Add/Remove Favourite" action that can be mapped which is used to mark a game as a favourite.  The "Favourites" filter will show only the games that you have marked as favs...

hope this helps.

373
Announcements / Version 1.3.2 Released.
« on: July 11, 2014, 11:38:18 AM »
A new version of Attract-Mode is now available!

This is primarily a bug fix release, here's what's new:

- fixes favourites and tags so they are no longer lost when entries are filtered out by the current filter
- slight change to the artwork selection order: matched clone videos are now preferred over matched name images
- [Linux] fix for emulator launching when running in "Fullscreen Mode"
- video playback now keeps going during transition effects
- fixed video stutter when using more recent versions of FFmpeg
- updated the Windows binaries to use FFmpeg 2.2.4
- layouts can now get and set the user-toggled rotation status
- various screensaver improvements: added a mute option, added an option to overlay wheel artwork on the video and 2x2 video modes
- various other small fixes and improvements

Downloads are available here: http://attractmode.org/download.html
Support Forum: http://forum.attractmode.org

Enjoy!

374
General / Re: using catver.ini
« on: July 09, 2014, 06:49:24 AM »
in the emulator configuration, one of the fields is called 'additional import files' or something like that.  Put the full path to your catver.ini file in there and then regenerate your romlist.  That should pick up the categories.

375
General / Re: Favourites not working properly ?
« on: July 09, 2014, 06:43:04 AM »
The next release is almost ready, I just need some time to package everything up.  So  it'll be posted sometime in the next few days, maybe even tonight.

If you compile the most recent code from github yourself that will fix it too!

Pages: 1 ... 23 24 [25] 26 27