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 - 8bitsdeep

Pages: [1] 2 3 4
1
Scripting / Re: Signal handling removing key repeat
« on: March 29, 2020, 12:00:37 PM »
Perfect, thank you!

2
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?

3
Themes / Re: Arcadeflow theme v 5.6 [Release] Updated 20 September 2019
« on: October 04, 2019, 07:42:57 PM »
I appreciate the detailed response!  Makes a lot of sense.

4
Themes / Re: Arcadeflow theme v 5.6 [Release] Updated 20 September 2019
« on: September 30, 2019, 01:22:24 PM »
This is truly incredible theme. Bravo, zpaolo11x, for this impressive feat.

I have one question. How hard would it be to alter the direction the grid flows?  I'd love to use this, but I find the way the grid is ordered somewhat bizarre.

Currently, it seems to flow like this:
Code: [Select]
1  3  5  7
2  4  6  8
<-- (scrolling horizontally) -->

This would feel much more intuitive to me:
Code: [Select]
1  2  3  4     ^
5  6  7  8     v
(scrolling vertically)


Apologies if this has been addressed somewhere, but this is one huge thread.

5
Themes / Re: Ambience HD theme [WIP]
« on: July 30, 2019, 09:14:37 PM »
I want to be perfectly honest with you. I started rewritting the theme, but in the meantime I got distracted and started experimenting with asynchronous loading of images for AttractMode. I’ve underestimated the complexity of the task and it’s taking longer as I thought it would.
Here’s a little demo and as you can see I load almost 300 snaps in 100ms while preserving smooth 60fps.

https://youtu.be/xYKcS_rrjpM

I can drop it and finish Ambience, but you have to answer it for yourself, what is more important, finishing my theme, or async image loading for AM ;)

As who can't use most community themes because they're too choppy, this is a thing a beauty. Best of luck finishing it up!

I suffer from chronic health problems as well. It can be very rough.  I hope you feel better soon, mate.

6
General / Re: Poor video playback performance
« on: July 25, 2019, 09:32:00 AM »
Thanks everyone! I ran everything through handbrake (default settings, .mp4) and that seems to have done the job.

7
General / Re: Poor video playback performance
« on: July 21, 2019, 08:01:22 AM »
What did you use to convert them?

8
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.

9
It worked!!!

I pasted in clockman's lines and altered the paths accordingly and it worked.  Altered them to relative paths, still worked. Best as I can tell it was the lack of \ on the end of the rompath that was the problem.  Weird, since I could have sworn I tried adding that in several times. *facepalm*

Thanks everyone!

10
Yeah, this doesn't make any sense at all.  :-\

11
Still no luck after trying the above options.this. 

RetroArch error log:

Code: [Select]
[INFO] Loading dynamic libretro core from: "D:\Arcade\RetroArch\cores\fbneo_libretro.dll"
[INFO] [Overrides] no core-specific overrides found at D:\Arcade\RetroArch\config\FinalBurn Neo\FinalBurn Neo.cfg.
[INFO] [Overrides] no content-dir-specific overrides found at D:\Arcade\RetroArch\config\FinalBurn Neo\Arcade.cfg.
[INFO] [Overrides] no game-specific overrides found at D:\Arcade\RetroArch\config\FinalBurn Neo\galaga.cfg.
[INFO] [Shaders]: preset directory: D:\Arcade\RetroArch\shaders\presets
[INFO] [Remaps]: remap directory: D:\Arcade\RetroArch\config\remaps
[INFO] [Remaps]: no game-specific remap found at D:\Arcade\RetroArch\config\remaps\FinalBurn Neo\galaga.rmp.
[INFO] [Remaps]: no content-dir-specific remap found at D:\Arcade\RetroArch\config\remaps\FinalBurn Neo\Arcade.rmp.
[INFO] [Remaps]: no core-specific remap found at D:\Arcade\RetroArch\config\remaps\FinalBurn Neo\FinalBurn Neo.rmp.
[INFO] Redirecting save file to "D:\Arcade\RetroArch\saves\galaga.srm".
[INFO] Redirecting savestate to "D:\Arcade\RetroArch\states\galaga.state".
[INFO] Environ GET_LOG_INTERFACE.
[INFO] Content loading skipped. Implementation will load it on its own.
[INFO] CRC32: 0x25a4b18e .
[INFO] Environ SYSTEM_DIRECTORY: "D:\Arcade\RetroArch\system".
[INFO] Environ SET_CONTROLLER_INFO.
     [libretro ERROR] [FBNEO] Couldn't locate the galaga archive anywhere, this game probably won't boot.
     [libretro ERROR] [FBNEO] ROM at index 0 with CRC 0xab036c9f is required ...
     [libretro ERROR] [FBNEO] Can't launch this game, some files are missing.
[ERROR] Failed to load content.
[INFO] Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[INFO] Unloading game..
[INFO] Unloading core..
[INFO] Unloading core symbols..this.

This is my current cfg.
Code: [Select]
# Generated by Attract-Mode v2.5.1
#
executable           "D:\Arcade\RetroArch\retroarch.exe"
args                 -L "D:\Arcade\RetroArch\cores\fbneo_libretro.dll" "[romfilename]"
rompath              "D:\Arcade\games\Arcade"
romext               .zip
system               Arcade
artwork    flyer           ..\media\boxart\arcade
artwork    marquee         
artwork    snap            ..\media\video\arcade
artwork    wheel           ..\media\logos\arcade

If I add an \ on the end of the rompath, the indented lines in the error log go away but the game still doesn't launch and the rest of the log is the same.

12
General / Re: [HELP] Delay to start snap
« on: July 19, 2019, 11:02:31 AM »
If you want more control over the load delay, you can also do it manually. I like adding this to my themes to keep navigation as snappy as possible.  Change "load_timer_max" to however long you want the delay to be in ms. You can also do the same thing to update box art and such manually for the smoothest possible navigation when using a text-based game list.

Code: [Select]
local has_moved = false;
local load_timer_max = 50;
local load_timer = load_timer_max;

////////
// Video
////////
local video = fe.add_image("snap.mp4", 0, 800, 600);
video.preserve_aspect_ratio = true;

////////
// Transitions
///////
fe.add_transition_callback( "my_transition" );
function my_transition( ttype, var, ttime )
{
switch ( ttype )
{
case Transition.ToNewSelection:
has_moved = true;
load_timer = load_timer_max;
break;

case Transition.ToNewList:
case Transition.FromGame:
updateMedia();
break;
}

return false;
}

///////////
//Custom Load Timer
///////////
fe.add_ticks_callback( "updateTick" );
function updateTick( ttime )
{
load_timer = max(0, load_timer-1);

//Update game media after delay
if( has_moved && load_timer == 0)
{
updateMedia();
has_moved = false;
}

}

////////
// Functions
////////
function max(a,b){
if(a > b) return a;
else return b;
}

function updateMedia(){
video.file_name = fe.get_art("snap");
}

13
That also didn't work.  Thanks for trying though!

14
Absolute paths don't worth either.  :-\

15
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.


Pages: [1] 2 3 4