Recent Posts

Pages: [1] 2 3 ... 10
1
Scripting / Re: Q: how to triger two diff animations ?
« Last post by qqplayer on Today at 09:33:39 AM »
This is from Arcade Color Theme and worked for me:

Code: [Select]
::OBJECTS2 <- {
obg = fe.add_image ("black.png",0,0,flw, flh),
osbg = fe.add_image ("white.png", flx*0.249,fly*0.187,flw*0.501, flh*0.667),
osbg2 = fe.add_image("black.png", flx*0.252,fly*0.19,flw*0.496, flh*0.66),
osnap = fe.add_artwork("snap", flx*0.252,fly*0.19,flw*0.496, flh*0.66),
oshadow = fe.add_image("oshadow.png", flx*0.252,fly*0.19,flw*0.496, flh*0.66),
oTitle = fe.add_text("[Title] ([Year])",flx*0.26, fly*0.2, flw*0.47, flh*0.03),
oPreviewbg = fe.add_image("previewbg.png", flx*0.755,fly*0.19,flw*0.03, flh*0.05),
oPreview = fe.add_image("preview.png", flx*0.755,fly*0.19,flw*0.03, flh*0.05),
}

OBJECTS2.osbg.set_rgb( bgRed, bgGreen, bgBlue );
OBJECTS2.osnap.trigger = Transition.EndNavigation;
OBJECTS2.osnap.preserve_aspect_ratio = true;
OBJECTS2.oTitle.align = Align.Left;
OBJECTS2.oTitle.font="Arial";
OBJECTS2.oPreview.set_rgb( bgRed, bgGreen, bgBlue );

OBJECTS2.obg.visible=false;
OBJECTS2.osbg.visible=false;
OBJECTS2.osbg2.visible=false;
OBJECTS2.osnap.visible=false;
OBJECTS2.oshadow.visible=false;
OBJECTS2.oTitle.visible=false;
OBJECTS2.oPreview.visible=false;
OBJECTS2.oPreviewbg.visible=false;

class displayPreview{

_trigger="Custom1";

constructor()
{
fe.add_signal_handler( this, "on_signal" )
_trigger=fe.get_config()["preview"].tolower();
}

function on_signal( signal )
{
if ( signal == _trigger )
{
local previewClick = fe.add_sound("previewClick.mp3")
previewClick.playing=true
display_preview();
return true;
}
return false;
}
}

displayPreview();

function display_preview()
{

if (OBJECTS2.obg.visible == false) {

OBJECTS2.obg.visible=true;
OBJECTS2.osbg.visible=true;
OBJECTS2.osbg2.visible=true;
OBJECTS2.osnap.visible=true;
OBJECTS2.oshadow.visible=true;
OBJECTS2.oTitle.visible=true;
OBJECTS2.oPreview.visible=true;
OBJECTS2.oPreviewbg.visible=true;

local move_ogb = {
    property = "alpha", start = 210 end = 210, time = 1
 }

local move_osbg_y = {
    property = "y", start = fly*2 end = fly*0.186, time = 300
 }

local move_osbg2_y = {
    property = "y", start = fly*2 end = fly*0.19, time = 300
 }

local move_osnap_y = {
    property = "y", start = fly*2 end = fly*0.19, time = 300
 }

local move_oshadow_y = {
    property = "y", start = fly*2 end = fly*0.19, time = 300
 }

local move_oTitle_y = {
    property = "y", start = fly*2 end = fly*0.2, time = 300
 }

local move_oPreview_y = {
    property = "y", start = fly*2 end = fly*0.165, time = 300
 }

animation.add( PropertyAnimation( OBJECTS2.obg, move_ogb ) );
animation.add( PropertyAnimation( OBJECTS2.osbg, move_osbg_y ) );
animation.add( PropertyAnimation( OBJECTS2.osbg2, move_osbg2_y ) );
animation.add( PropertyAnimation( OBJECTS2.osnap, move_osnap_y ) );
animation.add( PropertyAnimation( OBJECTS2.oshadow, move_oshadow_y ) );
animation.add( PropertyAnimation( OBJECTS2.oTitle, move_oTitle_y ) );
animation.add( PropertyAnimation( OBJECTS2.oPreview, move_oPreview_y ) );
animation.add( PropertyAnimation( OBJECTS2.oPreviewbg, move_oPreview_y ) );

}

else if (OBJECTS2.obg.visible == true) {

OBJECTS2.obg.visible=false;
OBJECTS2.osbg.visible=false;
OBJECTS2.osbg2.visible=false;
OBJECTS2.osnap.visible=false;
OBJECTS2.oshadow.visible=false;
OBJECTS2.oTitle.visible=false;
OBJECTS2.oPreview.visible=false;
OBJECTS2.oPreviewbg.visible=false;
}
}
2
General / Attract Mode window focus problem - but only with MAME?
« Last post by apzonerunner on Today at 05:37:17 AM »
Hey folks!

Just a quick query... I've had attract mode set up for a while now with no major problems, except something has just broken out of the blue with no changes made to break it. Go figure... I'm hoping this is a pretty obvious fix.

So, I'm running attract mode in the default fill screen mode. I've got a number of different machines on there, from steam to MAME to some old consoles, some using MAMEUI, some not.

Anyway, here's my problem: with MAME, and only MAME, when I quit out of a game attractmode doesn't get Focus back. Attract Mode is there, frozen, and the focus is instead on the windows taskbar (which I have set to automatically hide). With every other thing focus is handed back fine - be that Street Fighter 4 or 5 through Steam, NullDC for Dreamcast, Dolphin for Gamecube - they all play nice. This problem is specific to MAME. It's easily fixed with a quick alt-tab, but that's not ideal, obviously.

My attract mode settings seem to be fine - fill screen, console hidden, etc. Whats more, this worked with MAME previously, so this problem is new. It used to be fine. Any ideas? Any work-arounds? Thanks all!
3
General / Re: Attract Mode + RetroPie on Ubuntu help
« Last post by yelever on Today at 04:13:18 AM »
Here's my es.systems.cfg file

<system>
    <name>mastersystem</name>
    <fullname>Sega Master System</fullname>
    <path>/home/yelever/RetroPie/roms/mastersystem</path>
    <extension>.7z .sms .bin .zip .7Z .SMS .BIN .ZIP</extension>
    <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ mastersystem %ROM%</command>
    <platform>mastersystem</platform>
    <theme>mastersystem</theme>

Launching Attract mode from from the Ubuntu menu which has run attract mode as that's the only way it shows up.

Tried the es.cfg and get does the same before I tried yours, just flickers and returns to the attract mode.
4
General / Re: Great difficulty setting up Attract mode
« Last post by Exilic on Today at 03:59:10 AM »
It seems like the issue isn't with attractmode, it's with the emulators. If the image uses retro arch, launch an emulator and then try pressing f1. If a menu pops up, look through your options there.

I actually did try that with every button on the keyboard as well as tab. But no luck yet.

The image does use retroarch and i think that is where my difficuly lies for me. Which function in retroarch should use F1 to open up options for settings?

I go to Arcade Emulator when i go to let's say Double Dragon, I press tab and F1 nothing comes up, when i go to a different game under Arcade Emulator and then press tab the options popup, but when i change the keys it does not work for Double Dragon.

I configured the keys in retroarch.cfg under arcade folder for player 1 copied/pasted to player 2 and rebooted and my left and right keys were not working for both players, and getting glgeterror 0x500 had to rewrite my backup image.

But i guess this forum is not for this issue
5
General / Re: Great difficulty setting up Attract mode
« Last post by keilmillerjr on Today at 03:28:56 AM »
It seems like the issue isn't with attractmode, it's with the emulators. If the image uses retro arch, launch an emulator and then try pressing f1. If a menu pops up, look through your options there.
6
General / Re: Attract Mode + RetroPie on Ubuntu help
« Last post by progets on Today at 12:52:25 AM »
Post your /etc/emulationstation/es_systems.cfg file.

This will have the command that EmulationStation is using to launch your Sega Master System games. It should be almost the same in Attract-Mode but the command and the arguments are on different lines and %ROM% changes to "[romfilename]" in the emulator.cfg file

How are you launching Attract-Mode?
7
General / Re: Attract Mode + RetroPie on Ubuntu help
« Last post by yelever on Today at 12:02:50 AM »
Yes.  Everything runs fine through EmulationStation.  With the cfg you suggested it's like it's loading retroarch but no game so just get a black screen but it does show my gamepad text and can access the retroarch menus and settings.
8
General / Re: PROJECT 64
« Last post by KTURNER on Yesterday at 08:55:22 PM »
Well I got project 64 working now. It turns out it was the pc I was using just like my layout problems. The only issue I have now is that is shows the desktop for a few seconds before the emulator loads. I read somewhere how to fix this but I can not find it. I tried the peek desktop bug I don't see were xp has that
9
General / Re: Attract Mode + RetroPie on Ubuntu help
« Last post by progets on Yesterday at 08:40:25 PM »
Do the games run properly in EmulationStation?
10
Themes / Hyperspin Themes Crash Attract Mode
« Last post by 32assassin on Yesterday at 04:56:14 PM »
I been adding Hyperspin themes to my Pi running Attract Mode,  but some themes that contain SWF files seem to crash Attract Mode.

I exported all the SWF files from my Main Menu themes and converted them to PNG,  but I can't do this for all 1000 plus MAME game themes.

this themes in particular
http://www.hyperspin-fe.com/files/file/11317-mame-arcade-classics-169-main-menu-themes/

seem to crash Attract MODE (White screen) once this happens no game can load and I have to re-boot the PI

anyone seen this before or know how to fix it.

scroll to Minute 3 of the video
https://youtu.be/Za3xJzEddqE
Pages: [1] 2 3 ... 10