Recent Posts

Pages: [1] 2 3 ... 10
1
General / No sound initially with hdmi
« Last post by bizmoan on Today at 08:31:14 AM »
I initially had no sound with hdmi and got it to work finally. Now my problem is no sound on the intro video until i click in the menus display for a console, and go back and now i have sound working. I think its an easy fix to get the intro working, the load menu also opens up in the background and the cursor is showing on attract mode, until that dissapears then i can get it working, any thoughts on windows settings, to get this working. Before the cursor was not exposed, and it would work or maybe its more of command issue no idea, im pretty new to attract mode.

Thanks for the help in advance.

2
Scripting / Changing the ordering of a list on the fly
« Last post by zpaolo11x on Today at 06:12:51 AM »
Is there a way to change the order of a list from, say, "by name" to "by year"? The only thing I can do right now is create in AM two filters, one with sorting by year and one with sorting by title, but it would be really convenient if a layout could change this order on the fly...
3
Themes / Re: SDArcade V3.00
« Last post by mgerety on Today at 06:02:07 AM »
Love this.. can't wait to try it out next week.
4
Scripting / Re: reset - reload layout
« Last post by spud1 on Yesterday at 11:19:03 PM »
Hi.  Thanks for replying.  In fact, it was Giacomo who started the thread and asked the original question.

My use case is a little different.  I'm running a plugin which does the following.  Whenever I add a game to Favourites, it invokes a series of bash scripts which adds the game to my favourites romlist.  If I wait about 10 seconds and go back to the Favourites layout, the game will be among the favourites.  However, if I time it badly, then my favourites romlist will not have been updated.  With your script, I can now press the "R" key and it will update the layout manually, rather than having to exit the layout and re-enter it.  That is great.  It's just it would be fantastic if I didn't have to press "R" and that instead the plugin automatically reloads the layout once all of the bash scripts have finished.

To give you an idea, my current plugin is:

Quote
// This plugin regenerates the "Favourites.txt" romlist when a game is selected as a favourite or deselected as a favourite
fe.add_transition_callback( "favourites" );
function favourites( ttype, var, ttime )
{
 switch ( ttype )
 {
  case Transition.ChangedTag:
                system( "sudo /bin/bash /opt/retropie/configs/all/favourites.sh" ); // Starts the Favourites bash script to update the Favourites romlist whenever a game is tagged or untagged
        return false;
}}

This plugin invokes the bash script that starts the update to the favourites romlist.  It works in the background. 

Ideally, after the bash script has finished (and it takes about 10 seconds), this plugin would reload the romlist automatically.  I was thinking something like this:

Quote
// This plugin regenerates the "Favourites.txt" romlist when a game is selected as a favourite or deselected as a favourite
fe.add_transition_callback( "favourites" );
function favourites( ttype, var, ttime )
{
 switch ( ttype )
 {
  case Transition.ChangedTag:
                system( "sudo /bin/bash /opt/retropie/configs/all/favourites.sh" ); // Starts the Favourites bash script to update the Favourites romlist whenever a game is tagged or untagged
                 fe.signal("reload");
        return false;
}}

However, I'm not sure how to get the "reload" signal to wait about 10 seconds.

Thanks.
5
General / Re: Attract only works in window mode.
« Last post by Bgoulette on Yesterday at 09:43:50 PM »
Hi all, rather than start a new topic, I wanted to add my two cents, since I think my issue might be related.

If I run AM in windowed mode, things are fine. If I run it set to Fill screen, everything starts out fine, but after I launch a game and attempt to exit back to AM, nothing happens. I have to Alt-Tab to get out of things, and then the process repeats.

Any ideas? I'm running AM 2.5.1 on a Windows 10 machine (ver 1803, OS build 17134471) with a GTX 1050 Ti card. Thanks for your time!
6
Scripting / Re: reset - reload layout
« Last post by keilmillerjr on Yesterday at 07:14:59 PM »
I am very confused on your goal. Are you still looking to reset an animation? If you read the comments on the module. There is functions like restart(). This should help you.

Possibly share some code?
7
Scripting / Re: reset - reload layout
« Last post by spud1 on Yesterday at 05:59:27 PM »
I'm also looking to adapt keilmillerjr's plugin so that I can call on it automatically either at time intervals or without pressing a key, rather than having to press the R key to invoke it.  Not quite sure how to do that and would be grateful for any help please. 

In the meantime, using  keilmillerjr's code, I just stripped out the framerate code leaving the reload layout code. 

I place "plugin.nut" in a sub-folder of "plugins" called "Reload", then enable it and set it to the R key under Controls.

Code: [Select]
// --------------------
// Load Modules
// --------------------
fe.load_module("helpers");

// --------------------
// Plugin User Options
// --------------------
class UserConfig </ help="A plugin that reloads layouts with a key press." /> {
</ label="Reload Layout Key",
help="The key that triggers the layout to reload. Use Custom 2.  Remember to set the key in Controls.  Set the key to R",
options="Custom1, Custom2, Custom3, Custom4, Custom5, Custom6",
order=1 />
reloadKey="Custom2";
}

// --------------------
// Reload
// --------------------
class Reload {
config = null;

reloadKey = null;


constructor() {
// Config
config = fe.get_config();

// Reload Layout
reloadKey = config["reloadKey"].tolower();
fe.add_signal_handler(this, "reload");

}

// Reload Layout on Key Press - R key
function reload(str) {
if (str == reloadKey) fe.signal("reload");
return false;
}
}
fe.plugin["Reload"] <- Reload();
8
General / Re: Attract only works in window mode.
« Last post by popoklo on Yesterday at 05:14:13 PM »
Thank you Raygun for fixes. Tested .5.1-1

I also had this very annyoing problem since ever.
- Now with Fillscreen it is working. Mame gets focus and shows up.
- Fullscreen keeps Blackscreen problem

Oomek my PC:
Integrated Graphics with HD Radeon 4290.
Tested Windows 7 and Windows 10 with this Graphic. For AM its the same Problem.

I suggest that people with Integrated Graphics could suffer from that problem!
My second PC is with dedicated modern GPU. No problems there.
9
General / Re: Intro Video Looping Looping Looping Looping Looping
« Last post by gusgorman on Yesterday at 10:08:09 AM »
Hi keilmillerjr,
   Thanks so much for helping with this.

Yes, the intro.nut file matches your link. Just to be safe (in case I missed some small detail when comparing the two files), I copy and pasted your source into my intro.nut file. But unfortunately it didn't change anything; the video continues to loop repeatedly.

But thank you for helping regardless.
10
General / Re: CPU Usage 100%!! PC User
« Last post by UnknownFigure on Yesterday at 08:09:33 AM »
Understood. We'll have to wait and see.
Pages: [1] 2 3 ... 10