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.


Topics - 8bitsdeep

Pages: [1]
1
Scripting / Signal handling removing key repeat
« on: March 28, 2020, 09:10:57 PM »
Normally when you hold down an arrow key, the key repeat triggers and AM will quickly start scrolling through your list. However, my current theme scrolls sideways instead of vertically, so I handled the signals accordingly in the script to keep things intuitive for the user without having to remap controls specifically for my theme. But doing this stops key repeat from working.

Code: [Select]
fe.add_signal_handler( this, "on_signal" );
function on_signal( sig ) {
    if(sig == "left"){
        fe.list.index--;
        return true;
    }
    else if(sig == "right"){
        fe.list.index++;
        return true;
    }
    else return false;
}

Is there a way to fix this or perhaps a better way to handle a horizontal scroll input?

2
General / Poor video playback performance
« on: July 20, 2019, 10:52:04 PM »
I've been away for a while and was wondering if there were any new developments/tips in this area.

All my video snaps are low quality MP4s of varying origin. (EmuMovies, YouTube, etc)  Some always play just fine in AM, others always stutter or freeze horribly. Is there a know reason for this?

It used to be you couldn't select anything except "software" for Video Decoder in Windows 10.  Now dxva2 seems to be an option but the performance seems to be the same. Is this not working? Am I missing something?

Any general tips at all to get consistent performance in all videos would be greatly appreciated. The more I try other frontends, even the almighty Launchbox/BigBox, the more I feel like AM is the best. But the inconsistent video performance is really a buzz killer.

3
I've not had to config AM stuff for a while and I must be rusty cause this is stumping me.  Nothing happens when I try to launch a game with this config:

Code: [Select]
executable           ..\RetroArch\retroarch.exe
args                 -L ..\RetroArch\cores\fbneo_libretro.dll "[romfilename]"
rompath              ..\games\Arcade
romext               .zip
system               Arcade
artwork    flyer           ..\media\boxart\arcade
artwork    marquee         
artwork    snap            ..\media\video\arcade
artwork    wheel           ..\media\logos\arcade

  • The games run fine when launched from within RetroArch.
  • This same config format works fine with other RA cores.
  • I typed:  ..\RetroArch\retroarch.exe -L ..\RetroArch\cores\fbneo_libretro.dll ..\games\arcade\galaga.zip
    into the command line from the AM directory and that worked.
  • The AM log doesn't show any errors.


4
Scripting / Multiple triggers for a single animation?
« on: November 06, 2017, 02:11:45 PM »
I'd like to trigger this animation on Transition.StartLayout and Transition.EndNavigation.

Code: [Select]
local t_fade_out = { when = Transition.EndNavigation, property = "alpha", start = 255, end = 0, time = 300, delay = 1000 }
Is this possible? Or do I just have to make separate animations for each trigger?

5
Scripting / Cycle through random game snaps on Display Menu?
« on: November 02, 2017, 02:18:00 AM »
Instead of just having a single video snap for each system, I'd like to play random game snaps from the selected system while on the display menu.

For example, when I'm selecting a system in the Display Menu, if I'm currently on the NES, random game snaps for NES games should play.


Is this possible?  All the code I've found uses fe.list.index = rand(); to just jump around games in the current list. Is there any way to access a list other than the current one?

6
General / Any way to choose which monitor AM lanuches on?
« on: October 09, 2017, 12:51:46 PM »
Haven't been able to find a way to set which monitor AM opens on, short of changing which is my primary display.

(To be clear, I'm talking about AM itself, not the programs it is launching)

7
General / [Possible Bug?] AM can't launch games in Dolphin
« on: February 26, 2017, 01:18:48 PM »
See attached image.  The smaller window is the AM console.  Larger is me manually typing the same command into the command prompt from the AM directory.  Manual command works, AM doesn't.

Is this a bug or am I missing something here?

8
General / Using FFmpeg for video decoding on PC?
« on: February 13, 2017, 09:25:18 AM »
I've noticed some larger background videos I'd like to use in my theme hitch a lot.  Googling has found a lot of people using RetroPie setups that compile FFmpeg into Attract Mode so they can set the Video Decoder option to mmal instead of software.

Is there a way do something similar on a PC?

9
General / Attract Mode closing when launching PS1 games
« on: February 09, 2017, 03:01:13 PM »
I'm at a loss here.  Finally got around to adding my PS1 games to my AM setup, using the same layout and emulator (RetroArch) as my other systems.  However, when I launch a PS1 game, RetroArch opens and plays the game properly, but AM immediately closes.  All other systems work just fine, only my PS1 games have this problem.

If anyone has any ideas, I'd appreciate it.


10
General / Custom Metadata Fields?
« on: January 31, 2017, 05:28:31 AM »
Loving AM so far. I have my layout mostly sorted out and really glad I came over from Emulation Station.

Only remaining problem: the game metadata fields seem very much geared to arcade games, while I'm mostly interested in consoles.

Is there anyway to customize my metadata fields or am I just gonna have to pretend Manufacturer = Developer, etc etc?

11
Scripting / Detect which system is being displayed?
« on: January 29, 2017, 09:28:33 AM »
I'd like to change some colors used in my layout based on which system's games are currently displayed.

I tried:
Code: [Select]
switch("[System]")
{
    case "NES":
        t.set_rgb(255,0,0);
break;
}

"[System]" outputs the text "NES" as expected when used in an add_text call, but doesn't seem to work in a conditional. I also tried removing the quotes around [System].

Is there a way to do this?

12
Scripting / Is there a good way to handle varying boxart dimensions?
« on: January 29, 2017, 02:16:43 AM »
I'm making my first layout and I'm almost done, just one major hurdle remains.  I'd like the layout to display the boxart centered in the empty area on the right. (see image).  Problem is, depending on the console, the box will have wildly different dimensions.  NES vs SNES for example is tall rectangles vs wide ones.

I'd rather avoid stretching artwork into a pre-defined box, for obvious reasons. Has anyone come up with a good way to handle this sort of thing?

Pages: [1]