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] 2 3 ... 24
1
General / Re: Broken new user registrations
« on: August 05, 2017, 12:43:16 AM »
Hi the project isn't dead, it has just gone into hibernation for the time being while I focus on other stuff...

Registrations for the forum should work again now, my apologies to those who have been shut out for the last while.   I've disabled the email activation as a temporary measure, I do intend to find a more lasting solution to the forum hosting issues...

2
Scripting / Re: How to destroy a variable or an object in Squirrel?
« on: March 22, 2017, 05:30:39 PM »
you can't destroy attractmode objects from a script after they are created.  best thing to do is to set their visible attribute to false and just stop using them (or reuse them for something else)

cheers

3
Try putting all the artworks in a single directory that matches the name...

So:
Atari2600/Atari2600.mp4
Atari2600/Atari2600..mp4
etc...

Altbeast/Altbeast.png
Altbeast/Altbeast..png
etc...

4
Themes / MOVED: How to change listbox scrolling acceleration?
« on: February 25, 2017, 08:45:06 AM »

5
General / Re: How to change listbox scrolling acceleration?
« on: February 25, 2017, 08:39:06 AM »
open your attract.cfg file in a text editor and change the "accelerate_selection" setting to false.  that will disable the selection from speeding up

you can also edit the "selection_speed_ms" setting in this file to change the speed of selection changes when a key is held down

6
I'm not aware of any technical reason why one would be better than the other.  They are both for audio resampling as you figured.  There are two due to the fork that happened to FFmpeg a few years ago.  swresample is what ffmpeg calls their resampler, avresample is the one for libav


7
General / Re: Password on setup screen?
« on: February 17, 2017, 08:11:42 AM »
Hi there,

While I haven't tried it for a while, you could also use the included KonamiCode plugin to assign a sequence of keypresses to bring up the display... i.e up,up,down,down,B,A.... you could make that the only way to get to the config screen

8
update your screensaver.nut file to the latest development one and it allows you to do exactly this:

https://github.com/mickelson/attract/blob/master/config/screensaver/screensaver.nut

9
Announcements / Version 2.2.1 Released
« on: January 06, 2017, 08:19:15 PM »
A new year and a new version of Attract-Mode!  Mainly bug fixes with this one, change log is posted below....

# Changelog #

## Commits from v2.2.0 to v2.2.1

### Andrew Mickelson (17 commits)

* Bump to version 2.2.1
* [linux] fixes for multimonitor mode with X11
* [rpi] Misc. cleanup of emulation launching on the RPi
* Added a description of the default controls to the readme
* Fix move speed in config menus when key held down
* Fix freetype2 header not found during compile
* [linux] Added --console cmdline option to enable script from console
* Improved combo key handling, added more initial key mappings
* Default "Confirm Favourites" value is now "true"
* Fix audio volume changing for layout sounds after running emulator
* Add cn entry in en.msg
* [windows] fix frontend not giving up focus in fullscreen mode
* [windows] fix 'working directory' setting when running an emulator
* [linux] Smoother transition to emulator from 'fullscreen mode'.
* Added "Working Directory" emulation setting
* Minor reorder of options in the misc. config menu
* Issue #250 - Fix improper handling of "Upos" joystick axis

### banemon (1 commits)

* cn.msg

### David Gillies (1 commits)

* Create Linux desktop entry

### Rene BIGOT (1 commits)

* Support for wheel fade

10
Scripting / Re: custom1 key trigger animation
« on: January 02, 2017, 09:15:38 AM »
this should do it:

Code: [Select]
fe.add_signal_handler("trigger_animation");
function trigger_animation( sig )
{
   if ( sig == "custom1" )
   {

      // insert code for what you want on cistom1 here
      // i.e. animate=true...

      return true;
   }

   return false;
}

11
Scripting / Re: override input_map from script?
« on: January 01, 2017, 03:39:25 PM »
I'm not sure what you are trying to do with overridng the input_map, but if you want to stop the frontend from handling a particular action, you can do that from a plugin or layout script by adding a signal handler that returns true whenever the signal corresponding to that action is received.  https://github.com/mickelson/attract/blob/master/Layouts.md#add_signal_handler

So for example:
Code: [Select]
fe.add_signal_handler("suppress_select");
function suppress_select( sig )
{
   if ( sig == "select" ) return true;

   return false;
}

will stop whatever is configured as the 'select' input from working

you could then trigger the "select" signal yourself from the script whenever you want it triggered, using
Code: [Select]
fe.signal("select");
If you just want a different key to be the "select" key, you could have a tick function that regularly checks if your select key is pressed using
Code: [Select]
fe.get_input_state()https://github.com/mickelson/attract/blob/master/Layouts.md#get_input_state

those are the basics anyways of how you could approach an input override using what is there now.

hope this helps

12
General / Re: Will this work in Android?
« on: January 01, 2017, 03:17:48 PM »
I am not aware of anyone getting this to work on Android.

In theory it should work.  the libraries that AM uses all support Android.  Android is based on linux which AM supports.  I expect there would have to be some Android specific code added to make it useful (launching other activities etc.)

13
General / Re: Deleting roms
« on: January 01, 2017, 03:12:05 PM »
You can also delete a game (from a romlist, not the file itself) using the "Edit Game" command in attractmode

configure -> controls -> Edit Game - map this to a key

Now when you are on the game you want to edit, you can press the mapped key, which pops up an edit menu

At the bottom of the edit menu is an option to "Delete this Game"

14
General / Re: reset controls
« on: January 01, 2017, 03:07:01 PM »
Also, if you delete all the entries under the "input_map" section of the attract.cfg file then the frontend should reset things back to the default control scheme the next time you load it.

Pages: [1] 2 3 ... 24