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
Themes / Re: New theme AMFlash, preview.
« on: Yesterday at 11:44:39 AM »
Added new background to Flash theme. Soon a new updated video.

Themes / Re: Arcadeflow theme v 5.8 [Release] Updated 31 October 2019
« on: November 03, 2019, 06:02:22 AM »
I have a problem with the Display Menu. Every time I set this option to enable in the general layout menu, the screen goes totally black. The system displays do not appear. I used attract-console and enjoyed this message.

Attract-Mode v2.6.0 (Windows, SFML 2.5.1 + SWF + 7z + Curl)
avcodec 58.54.100 / avformat 58.29.100 / swscale 5.5.100 / avutil 56.31.100 / swresample 3.5.100

Config: D: \ ARCADE \ $ \ attract.cfg

*** Initializing display: 'Atomiswave'
 - Loaded master romlist 'atomiswave' in 0 ms (14 entries kept, 0 discarded)
 - Constructed 2 filters in 0 ms (28 comparisons)
 - Loaded layout: D: \ ARCADE \ $ \ layouts / Arcadeflow / (layout.nut)
 - Constructed 1 filters in 0 ms (5 comparisons)
 - Loaded layout: D: \ ARCADE \ $ \ layouts / Arcadeflow / (layout.nut)

AN ERROR HAS OCCURED [the index '-1' does not exist]

* FUNCTION [tick ()] D: \ ARCADE \ $ \ layouts / Arcadeflow / layout.nut line [5540]

[tags] TABLE
[newfocusindex] 14
[offseTable] ARRAY
[snapzTable] ARRAY
[prf] TABLE
[disp] TABLE
[uifonts] TABLE
[displayselected] -1
[display_surface] INSTANCE
[themeT] TABLE
[attract] TABLE
[bgs] TABLE
[vidszTable] ARRAY
[attract_snap] INSTANCE
[snd] TABLE
[attract_text2] INSTANCE
[attract_text] INSTANCE
[flowT] TABLE
[squarizer] true
[count] TABLE
[spdT] TABLE
[fade] TABLE
[letterobj] INSTANCE
[lettersize] TABLE
[displayname] INSTANCE
[tiles] TABLE
[tilesTableZoom] ARRAY
[glomxTable] ARRAY
[noshader] INSTANCE
[bd_mxTable] ARRAY
[tilesTable] ARRAY
[widthpadded] 432
[selectorwidth] 648
[vidszTableFade] ARRAY
[vid2zTable] ARRAY
[dat] TABLE
[surfacePos] 0.5
[surfacePosOffset] 1512
[tilesTablePos] TABLE
[globalposnew] 0
[vidpos] ARRAY
[delayvid] 9940
[vidindex] ARRAY
[regsys] TABLE
[fadevid] 9920
[frg] TABLE
[pixelpic] INSTANCE
[frost] TABLE
[rotate90] true
[overmenu] INSTANCE
[overmenuwidth] 583.20001220703
[hist_screensurf] INSTANCE
[hist_glow_pic] INSTANCE
[scrollreset] true
[vertical] true
[hist_screenT] TABLE
[historypadding] 26.799999237061
[hist_direction] 0
[flh] 1080
[shadowsurf2] INSTANCE
[histglow] TABLE
[shadow] TABLE
[flw] 1920
[hist_text] INSTANCE
[hist_titletxt_bot] INSTANCE
[hist_title] INSTANCE
[hist_titleT] TABLE
[hist_titletxt_bd] INSTANCE
[hist_titletxt] INSTANCE
[hist_title_top] INSTANCE
[aflogo_surface] INSTANCE
[data_surface] INSTANCE
[data_surface_sh] INSTANCE
[fg_surface] INSTANCE
[attract_surface] INSTANCE
[attract_black] INSTANCE
[layoutblacker] INSTANCE
[hist_textT] TABLE
[hist_screen] INSTANCE
[shadowsurf1] INSTANCE
[hist_text_surf] INSTANCE
[history_surface] INSTANCE
[tick_time] 890
[this] TABLE
Script Error in tick function: tick - the index '-1' does not exist
 ! Unexpectedly lost focus to: explorer.exe (8940)

General / File @<> for plugin UtilityMenu
« on: October 24, 2019, 10:41:27 AM »
I have a batch file that creates favorites list in AM for Windows PC, and would like to run this file within AM. Researching a bit, I found that the UtilityMenu plugin does that. but I don't know how to create a .nut file that loads this batch file. Could anyone help me?

Scripting / Re: Default filter on return of displays
« on: October 23, 2019, 01:46:45 PM »
A layout could be coded to overcome this, saving the current filter in the non volatile memory and recalling it when changing display. It would make a lot of sense when you have displays drawing from the same romlist (as in the Naomi example)

I have no idea how to implement this in my theme. Would you help me zpaolo11x?

Scripting / Re: Plugin Sequencer
« on: October 23, 2019, 01:35:12 PM »
I read the file and it is perfectly up and running but in my theme and robospin it behaves strangely. In the jedione video, the plugin makes Spinwheel spin for a long time and smoothly, while mine barely rotates.  :(

See how the plugin is behaving in the video below.

Scripting / Plugin Sequencer
« on: October 23, 2019, 06:35:43 AM »
Could anyone configure this plugin to work just like what jedione posted in this topic?



Scripting / Default filter on return of displays
« on: October 23, 2019, 03:47:26 AM »
I didn't find in the forum about filters by default between one display and another. And I don't know if my question is in this forum. So, I apologize in advance if this is not the place.

Let me explain further. By default AM sets the display with the filter "ALL". I am in the MAME display and use the "Fighters" filter, if I go to another display (NAOMI), the filter will be active for "ALL".
If I return to the MAME display, the filter I previously selected will be enabled.

I wish that when navigation between one display or another occurred, the filters would reset, in this case, back to the default filter "ALL". Every time I go back to the display where I applied a particular filter, I have to select the "ALL" filter to show all games again. This is very annoying.

Does AM have this option or do I need to add a script to my theme?
Thanks in advance for your help.

Themes / Re: New theme AMFlash, preview.
« on: October 19, 2019, 04:47:58 AM »
Update. Some screenshots.

The coin insertion program in AM did not work. And I didn't find anything about it either. I had to abandon this idea.  :(

Scripting / Re: KeyboardSearch module
« on: October 02, 2019, 10:39:11 AM »
Thank you iOtero;D

Scripting / Re: KeyboardSearch module
« on: September 28, 2019, 11:17:40 AM »
I want to remove as quotes when you start typing in search. And also add total items found on that same screen. It's possible?

Scripting / Re: [ListSize]
« on: September 25, 2019, 11:13:30 AM »
Just replace 'size' with 'index '
Something like this, cant test atm

Code: [Select]

 ::OBJECTS2 <- {

system2= fe.add_text("",0, 25, 640, 30)


function transition_system2(ttype, var, ttime)
    switch ( ttype )
        case Transition.ToNewList:
case Transition.StartLayout:
case Transition.ToNewSelection:
case Transition.FromOldSelection:

local display2 = fe.list.index - 3
OBJECTS2.system2.msg = display2;


fe.add_transition_callback("transition_system2" );


P.D. Should be better create a single working function but I think this its better for you to understand how it works  ;)

Code: [Select]
This class is a container for status information regarding the current display. The instance of this class is the fe.list object. This class cannot be otherwise instantiated in a script.


    name - Get the name of the current display.
    display_index - Gett the index of the current display. Use the fe.set_display() function if you want to change the current display.
    filter_index - Get/set the index of the currently selected filter. (see fe.filters for the list of available filters).
    index - Get/set the index of the currently selected game.
    search_rule - Get/set the search rule applied to the current game list. If you set this and the resulting search finds no results, then the current game list remains displayed in its entirety. If there are results, then those results are shown instead, until search_rule is cleared or the user navigates away from the display/filter.
    size - Get the size of the current game list. If a search rule has been applied, this will be the number of matches found (if > 0)

So you can use all this properties depending on what you need, I mean, fe.list.size, fe.list.index...

Thank you so much!  ;D

Scripting / Re: [ListSize]
« on: September 23, 2019, 12:12:36 PM »
Quote from: qqplayer
This works, just need to set the right position and color.

That's easy.  :)

Quote from: qqplayer
I mean, you will need to show ListEntry and in this case system1 its like a fake ListSize with 3 less items.

But "ListEntry" keeps popping up at number 13. Not wanting to abuse, could you pass me another code or script using "ListEntry" as the last?  ::)
Besides English, I'm horrible in programming. Thank you very much for your goodwill qqplayer.

Scripting / Re: [ListSize]
« on: September 17, 2019, 10:21:53 AM »
I think my explanation is a little confusing. I want the 13 item to appear on the menu. What I don't want is for the number 13 to appear instead of 10 because atract mode lists those options as items. When I use [LastSize] list the number 13. I would like to present 10 items where I circled the image written SYSTEMS.

Scripting / Re: [ListSize]
« on: September 15, 2019, 09:55:44 AM »
I hope you can understand with my bad English. ;D
 Below is the code and the image.

Code: [Select]
//Display ListEntry and ListSize info
local lels = fe.add_text( "[ListEntry]/[ListSize]", flx*0.032, fly*0.683, flw*0.25, flh*0.04 );
lels.set_rgb( 255, 255, 255 );
lels.charsize = 12;
lels.align = Align.Right;

For example, the magic token [ListSize] the number of items in the game list.

In the "Display Menu" atract mode lists the systems I created. It has a total of 10 systems, but I added options as "shutdown", "favorites" and "all games", the listing goes to 13 items. I would like [ListeSize] to remove these 3 items. As if subtracting [ListSize] -3 to list the 10 items. I feel very difficult in this part of script and programming language. Thanks for the help.

Scripting / [ListSize] [Resolved]
« on: September 14, 2019, 08:39:19 PM »
Is it possible to run [ListSize] by decreasing the number of items? For example, my theme lists 13 systems, 3 of which are not systems but options. I would like to use [ListSize] by decreasing these 3 items.

Pages: [1] 2 3