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 - Wenzon

Pages: 1 2 3 [4]
46
Scripting / Re: KeyboardSearch module
« on: June 23, 2019, 08:44:50 AM »
Run:
Code: [Select]
attract --loglevel debug

launch the keyboardsearch module and put here the last_run.log file.

I'm putting 2 files. One log and the other layout. I put the module script in the last line of the layout file.

47
Scripting / Re: KeyboardSearch module
« on: June 23, 2019, 07:12:01 AM »
I'm not sure but think something is missing in this line for the module to work on my theme.
Code: [Select]
local search_surface = fe.add_surface(fe.layout.width, fe.layout.height)

Try:

Code: [Select]
local flwc = fe.layout.width;
local flhc = fe.layout.height;

local search_surface = fe.add_surface(flwc, flhc)

nothing.  :'(

48
Scripting / Re: KeyboardSearch module
« on: June 19, 2019, 08:32:06 AM »
I'm not sure but think something is missing in this line for the module to work on my theme.
Code: [Select]
local search_surface = fe.add_surface(fe.layout.width, fe.layout.height)

49
Scripting / Re: KeyboardSearch module
« on: June 17, 2019, 10:45:25 AM »
Hi...

I have some trouble to istalling this module, actually i have:

- placed the /modules/objects/keyboard-search/ in the same folder
- copy the code in my module (all showed in the wiki)
- assigned the custom1 key

Nothing happens at the pression of the key, its the fist time i try to install a module....if someone can help me a bit.  ;D


I have the same difficulty as Marcoqwerty. I did the same procedure with no results. I have worked for months on a custom theme for my bartop and to conclude it, I need to include this module to be perfect.

I'm putting the attached layout.nut to see if anyone helps me. I'm almost giving up.  :(



50
Scripting / Re: Script for abbreviation of current display name.
« on: June 10, 2019, 08:28:50 AM »
I'm trying to develop a theme but I'm not good at programming. Would someone help me with a script that abbreviated the name of the display I'm using?

Example: Capcom Play System III for CPSIII.

Thank you all and sorry for my English.

someone helped me with this

Code: [Select]
       // System   
        for ( local i = 0; i < fe.displays.len(); i++ ) {
            local filter = fe.displays[i];
            local shortname = filter.name.toupper();
            local offset = 90 * i;
           
            switch(filter.name) {
                //prefer known abbreviations
               case "Sega Model 2":
                    shortname = "SM2";
                    break;
                case "Sega Model 3":
                    shortname = "SM3";
                    break;
        case "Sega Naomi":
                    shortname = "NAO";
                    break;
                case "Commodore 64":
                    shortname = "C64";
                    break;
                case "Nintendo Entertainment System":
                    shortname = "NES";
                    break;
                case "Super Nintendo Entertainment System":
                    shortname = "SNES";
                    break;
                case "Microsoft MSX":
                    shortname = "MSX";
                    break;    
                case "Sega Mega Drive":
                    shortname = "MD";
                case "Nintendo DS":
                    shortname = "NDS";
                    break;

                //grab the first three letters as the short name
                default:
if (shortname.len() > 4)
shortname = shortname.slice(0, 4);
                    break;
            }
           
            local newfilt = fe.add_text(shortname, -98 + offset, 10, 300, 80);
                newfilt.set_rgb( 255, 255, 255 );
                newfilt.font = "CODE";
                newfilt.charsize = 30;
                newfilt.style = Style.Bold;

            local underline = fe.add_image("images/red.png", 22 + offset, 70, 60, 3);
            underline.set_rgb( 240, 0, 0 );
    underline.visible = false ;

            if (i == fe.list.display_index)
                underline.visible = true;
            ui_filters.push(newfilt);
ui_underline.push(underline);

        }

fe.add_transition_callback( this, "on_transition" );

The script worked but did not show the name of the display I'm using.

In the figure below the display is Capcom Play System III and its script presented the abbreviation of ATOMISWAVE ("ATOM").

I struggled to see if I could run the script correctly but I did not master the programming language. Now in editing of image I dominate a little bit.  :)

qqplayer's script is almost that. If you can help me, I'll be very grateful.

51
Scripting / Script for abbreviation of current display name.
« on: June 06, 2019, 09:56:00 AM »
I'm trying to develop a theme but I'm not good at programming. Would someone help me with a script that abbreviated the name of the display I'm using?

Example: Capcom Play System III for CPSIII.

Thank you all and sorry for my English.

52
Scripting / Re: attract-history-parser
« on: May 31, 2019, 04:41:11 AM »
Problem in video.

53
Themes / Re: Arcadeflow theme v 4.3 [Release] Updated 6 May 2019
« on: May 08, 2019, 08:33:46 AM »
Quote
Got it. There's an issue with Attract Mode when you use the same layout for the Displays and as Display Menu, but I'm doing something like this: I'll develop an Arcadeflow theme with a "Display Menu" option. Just duplicate the theme folder and apply the copied layout as Display Menu layout, activating the option in the layout settings. In this way everything will work with no glitches and a nice appearance.

I was going to tell you about it now.  ;D

Quote
I'm coding it right now, I'll share it as soon as ready...
I will wait anxiously.

54
Themes / Re: Arcadeflow theme v 4.3 [Release] Updated 6 May 2019
« on: May 08, 2019, 07:48:26 AM »
Quote
I saw that you have "wheel" artwork and screenshot for the different displays, like "Capcom classics", "Capcom System I" etc, where do you get them and how do you configure AM to assign each of these to the displays?

Uooouuu !!!  :o
Many questions and inquiries for my poor English.  ;D

I'll try to explain. Wheel, artwork and screenshot, I basically found it on google.

In the Attractmode settings, both must have the same name in the "Emulators and Displays" (Image1 and Image2).

In "Displays Menu Options", "Style Menu / Layout", you have to select your theme (ArcadeFlow).

55
Themes / Re: Arcadeflow theme v 4.3 [Release] Updated 6 May 2019
« on: May 07, 2019, 11:32:53 AM »
Who knows in a next update you can fix this?  ;)

Honestly... I'm already working on it :D It seems the issue is in the generation of the labels, since the display menu doesn't have a proper order, the label is always "null" and that messes with everything. I'm trying to patch it, but I think I'll need your help for some beta-testing ;D

No problems!
You can count on my help.  ;D

56
Themes / Re: Arcadeflow theme v 4.3 [Release] Updated 6 May 2019
« on: May 07, 2019, 02:20:08 AM »
Quote
As far as the missing labels bar is concerned, could you test if, with Arcadeflow 4.3 and using the "Default" theme for display menu, the label list is working as expected?


It works as you suggested. But other way the problem persists.

Who knows in a next update you can fix this?  ;)

This theme is very beautiful. It's a beautiful job.

57
Themes / Re: Arcadeflow theme v 4.2 [Release] Updated 2 May 2019
« on: May 06, 2019, 02:07:36 AM »
I put in the main menu the systems "Capcom I, Capcom II, Capcom III, NeoGeo, Atomiswave", among others. When I run the Attractmode the main menu appears messed up as reported. By going through the systems the listing returns to normal.

Ok, I think I'm getting it, let me check if I got it right, each "system" is in fact a Display in Attract Mode configuration? And AM is starting in "Display Menu" mode, right? So basically my theme glitches when used as display menu?

Perfectly.   :)

58
Themes / Re: Arcadeflow theme v 4.2 [Release] Updated 2 May 2019
« on: May 05, 2019, 03:01:45 AM »
I found a bug.

When you set this theme in the main menu having other systems, the listing gets banged.

I see the issues you mention, but I only use one system and one display so I never experienced that. Can you tell me how to configure AM for multiple systems like you have, so that I can debug it? Also when you launch AM with Arcadeflow, is there any error message on the console you can copy paste here for debug?


Error message does not exist. I use only one monitor.

I put in the main menu the systems "Capcom I, Capcom II, Capcom III, NeoGeo, Atomiswave", among others. When I run the Attractmode the main menu appears messed up as reported. By going through the systems the listing returns to normal.

The "ScrollbarBar Style LabelList" option disappears when you access the main menu or some system.

I use the latest version of Attractmode. Here are the settings I use for your theme.


Code: [Select]
layout_config Arcadeflow
param                amchangetimer 10
param                amenable Inactivity only
param                ammessage  - PRESS ANY KEY -
param                amsound Yes
param                amtimer 120
param                amtune
param                audiovidhistory No
param                audiovidsnaps No
param                baserotation None
param                bgblurred
param                colortheme Dark
param                cropsnaps Square
param                customsize
param                darkpanel Dark
param                dat_path $HOME/mame/dats/history.dat
param                datashadowsmooth Yes
param                fpson No
param                frostedglass Yes
param                generate_index
param                historypanel White panel
param                horizontalrows 1
param                index_clones Yes
param                layersnap No
param                layervideo No
param                livesearch Yes
param                lowres No
param                newgame No
param                overmenubutton select
param                paramx1
param                paramx2
param                paramx3
param                paramx4
param                paramx5
param                paramx6
param                paramx7
param                paramx8
param                paramx9
param                paramxx0
param                paramxx1
param                paramxx2
param                paramxx3
param                paramxx4
param                paramxx5
param                paramxx6
param                paramxx7
param                paramxx8
param                paramxx9
param                scanlinemode Aperture
param                scrollertype LabelList
param                searchmeth Screen keys
param                snapglow Yes
param                snapgradient Yes
param                splashlogo Yes
param                splashlogofile
param                themeaudio Yes
param                thumbvideo Yes
param                verticalrows 1

59
Themes / Re: Arcadeflow theme v 4.2 [Release] Updated 2 May 2019
« on: May 04, 2019, 09:41:15 AM »
I found a bug.

When you set this theme in the main menu having other systems, the listing gets banged.
The "Scrollbar Style LabelList" option does not appear in the main menu or when accessing other systems. (image1)

The organization comes back when you start selecting the system. But the problem of the ScrollbarBar Style LabelList continues when you access one of the systems. (Image 2 and 3)

Sorry my english.  :-[


Pages: 1 2 3 [4]