Attract-Mode Support Forum

Attract-Mode Support => Themes => Topic started by: zpaolo11x on January 15, 2018, 12:10:01 PM

Title: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: zpaolo11x on January 15, 2018, 12:10:01 PM
Arcadeflow theme updated to revision 4.4!

From revision 3.6 Arcadeflow requires AM 2.5.

This new revision is mostly dedicated to the Displays Menu. There's a "Displays Menu" option in the utility menu (accessible going "up" from the thumbs list) that will show an overlay with the displays menu if you keep all the Attract Mode setting as default.

If you want to use a more fancy displays menu, you can now use Arcadeflow as display menu, there's an option to activate to tailor it to this use. To avoid conflicts though you should duplicate Arcadeflow layout folder and use one as usual, and the other only for displays menu (see AM options). In this way you can activate the proper optimization option.

Since all this display menu thing is pretty new and pretty trick for me, please keep me informed with any bugs you should encounter!

There's a What's new file inside the archive, but I won't past here the whole readme anymore so this post is going to be simpler.

You can download Arcadeflow 4.4 here:

DOWNLOAD LATEST VERSION (http://www.mixandmatch.it/AF#44)

You can see a detailed history and also download old versions here:

VERSIONS HISTORY (http://www.mixandmatch.it/AF)

v1.4 on youtube (I know this is so old...)
https://youtu.be/sUZW1vHs7Lg (https://youtu.be/sUZW1vHs7Lg) https://youtu.be/sUZW1vHs7Lg

# Arcadeflow - Attract Mode theme by zpaolo11x - v 4.4 #

Arcadeflow is an horizontal scrolling, grid based theme for MAME, it doesn't support multiple systems and is based on snapshots and game titles, not on flyers or cartridge boxes. If you have video snaps they will appear over the selected thumbnail without sound, and you can open a larger video preview with sound.

The layout adapts to different aspect ratios (5:4, 4:3, 16:9 and 16:10) automatically and reasonably well (external snaps get partially cut but not completely obscured) and a different layout is enabled for vertical aspect ratio.

Arcadeflow is heavily configurable, please take some time to go through the option and you'll see you can tailor it to most of your needs.

## What's new in v 4.4 #

- Added a new "Displays Menu" option. With this option enabled you can use Arcadeflow as a Displays Menu layout without glitches
- Added a voice on the main menu to enter "Displays Menu"
- Added frosted glass effect under "Displays Menu" overlay
- More robust code for filters and labels

## Custom controls #

When you hit the "select" or "custom" control button (see layout options) an overlay context menu appears, here you can do different things to activate the following functions:

- "SELECT" launches the current game
- "UP" enters the "More of the same..." search function, filtering games with the same year, manufacturer, main category or sub-category of the current game
- "DOWN" enters the "History" page where you can see and scroll the game history and see a larger game preview
- "LEFT" to enter the Tags menu
- "RIGHT" to add/remove favorites
- "ESC" goes back to the thumbnail list

## General layout menu #

You can access a general menu by going "UP" from the first row of thumbnails. This menu features:

- "Filters" menu
- "Displays" menu
- "Search" function (see options)
- "Layout options" from AM 2.4+
- "Attract Mode" to engage attract mode without waiting the timeout

## Tags #

You can add a "Completed" tag to games, that will add a "Completed" stamp on the thumbnails

## Sorting and scrolling #

When your list is sorted by name a large preview letter will appear while scrolling through the list.
If your list is sorted by year the year will appear instead of the letter.
You can go "DOWN" from the latest row to enter a "large jumps" scrolling mode which depends on the scrollbar preferences: it can do "page jumps" (one screen at a time) or "label jump" based on your list sort order.

## Displays Menu #

Arcadeflow supports Displays Menu in many ways:

- You can enter the Displays Menu from the general layout menu, this will show your displays in the usual overlay menu
- You can use Arcadeflow itself as a Displays Menu layout:
  - duplicate the layout folder and apply the theme as Displays Menu layout
  - go in the layout options and enable "Displays Menu mode" so that the layout gets tailored
  - Be sure to add "wheel" and "snaps" artworks for your Displays in the menu-art folder of Attract Mode

## Layout options #

GENERAL

- "Displays Menu mode" : Enable this if you plan to use Arcadeflow as Displays Menu
- "Context Menu Button" : Setup the button to use to recall game info and actions context menu (can be "select")
- "Rows in horizontal" : Number of rows to use in 'horizontal' mode
- "Rows in vertical" : Number of rows to use in 'vertical' mode
- "Scrollbar style" : "Select how the scrollbar should look: Timeline, Simple Scrollbar or Labels List
- "Smooth shadow" : Enable smooth shadow under game title and data in the GUI
- "Screen rotation" : Select a persistent screen rotation option
- "Frosted glass" : Add a frosted glass effect for menu backgrounds
- "Low resolution": Optimize theme for low resolution screens, 1 row layout forced, increased font size and cleaner layout
- "Resolution W x H" : Define a custom resolution for your layout independent of screen resolution

THUMBNAILS

- "Aspect ratio" : Chose wether you want cropped, square snaps or horizontal and vertical snaps
- "Glow effect" : Add a glowing halo around the selected game thumbnail
- "Video thumbs" : Enable video overlay on snapshot thumbnails
- "Thumb gradient" : Fades the artwork behind the game logo to its average color
- "New Game Indicator" : Games not played are marked with a glyph

BACKGROUND

- "Overlay Color" : Setup theme luminosity overlay
- "Custom BG Image" : Insert custom background art path
- "Background snap" : Add a faded game snapshot to the background
- "Animate BG snap" : Animate video on background

LOGO

- "Enable splash logo" : Enable or disable the AF start logo
- "Custom splash logo" : Chose a custom picture as splash logo

ATTRACT MODE

- "Enable attract mode" : Enable attract mode at layout startup, or after delay, or disable it
- "Custom attract music" : Insert the path to an mp3 you'd like to hear during attract mode
- "Enable game sound" : Enable game sounds during attract mode
- "Attract mode timer (s)" : Inactivity timer before attract mode is enabled
- "Game change time (s)" : Time interval between each game change
- "Attract message" : Text to show during attract mode

SEARCH

- "Search entry method" : Use keyboard or on-screen keys to enter search string
- "Immediate search" : Live update results while searching

HISTORY
- "Scanline effect" : Select scanline effect: default scanlines, half res scanlines, aperture mask or none
- "Text panel style" : Chose between a white history background or no background
- "Game panel style" : Select the look of the history game panel, dark or standard
- "History.dat" : History.dat location
- "Index Clones" : Set whether entries for clones should be included in the index.
- "Generate Index" : Generate the history.dat index now (this can take some time)

AUDIO

- "Theme sound" : Enables or disables the "click" and "woosh" theme sounds
- "Audio in videos (thumbs)" : Select wether you want to play audio in videos on thumbs
- "Audio in videos (history)" : Select wether you want to play audio in videos on history detail page

DEBUG

- "FPS Counter": Enable framerate counter for debug purposes
Title: Re: My first theme! Smooth grid :) [Preview]
Post by: calle81 on January 15, 2018, 12:23:55 PM
Nice! GJ :)
Title: Re: My first theme! Smooth grid :) [Preview]
Post by: zpaolo11x on January 15, 2018, 11:08:41 PM
Nice! GJ :)

Thank you, sorry for the giant screenshot, is there a better way to post screenshots? Because I have another theme with more screenshots and I don't want to do a mess :)
Title: Re: My first theme! Smooth grid :) [Preview]
Post by: calle81 on January 16, 2018, 07:13:28 AM
I use www.postimg.org :)
Title: Re: My first theme! Smooth grid :) [Preview]
Post by: zpaolo11x on January 17, 2018, 01:37:16 PM
Because my theme was starting to look a bit too much like Ambiance HD (and I swear I didn't see Ambiance HD before starting to work on mine :D) I've redone the graphics so that screenshots are in the correct aspect ratio :) I like the new soft shadows
Title: Re: My first theme! Smooth grid :) [Preview]
Post by: verion on January 18, 2018, 11:52:40 AM
nooooo! :D

Roll back to the first version with square cropped screenshots - it was really good.
More elegant than the last one - in my opinion.

And don't worry about the similarities to any other theme. I'm sure this won't bother anyone.

---

ps: simplest way to post screenshot is to scale it down to 800px width
Title: Re: My first theme! Smooth grid :) [Preview]
Post by: verion on January 18, 2018, 01:26:02 PM
I'm sure you've wanted it to look really minimal, but maybe adding some light semi-translucent background under the text could spice it up a little.
I've also added a little shadow under that title bar.
Title: Re: My first theme! Smooth grid :) [Preview]
Post by: ryuuji on January 22, 2018, 03:04:22 AM
I'm sure you've wanted it to look really minimal, but maybe adding some light semi-translucent background under the text could spice it up a little.
I've also added a little shadow under that title bar.

yeah listes to the jedi master above ^
Title: Re: My first theme! Smooth grid :) [Preview]
Post by: zpaolo11x on January 22, 2018, 10:29:48 PM
I'm sure you've wanted it to look really minimal, but maybe adding some light semi-translucent background under the text could spice it up a little.

Thank you for the comment, actually the kind of look you show in your mockup is exactly the first version of the theme I was working on, with lighter top band and drop shadow :D This is to say that, despite the fact that I like it, it's not fit with the kind of look I'm seeking right now: having a plain background gives more breath to the thumbnails IMO

I still have not decided if I like cropped or uncropped thumbs, uncropped has the advantage of immediately telling which games are vertical or horizontal... maybe I'll add it as an option :)

I'm also struggling with the Mac version of AM which sometimes behaves a bit different from the windows version, maybe it's also related to the hardware (the Windows machine is a 12 core Xeon with Quadro graphics card and PCIe4x SSD LOL, everything seems fast on that)
Title: Re: My first theme! Smooth grid :) [Preview]
Post by: verion on January 24, 2018, 09:45:27 AM
Sure - that's your design.

As for the mac - from my experience mac version (especially when using surfaces) takes a greater toll on CPU - compared to win version. On my Macbook Air (1.3Ghz 2 cores) simple theme with just one surface hovers around 60% CPU - and the same theme without surface is around 20-30%.
Title: Re: My first theme! Smooth grid :) [Preview]
Post by: Tapper on January 24, 2018, 06:37:03 PM
Looks pretty cool! Will try it out when released!
Title: Re: My first theme! Smooth grid :) [Preview]
Post by: jedione on January 24, 2018, 06:46:34 PM

Personaly i hate it,,,  Dont work for me.  just kidding ::)   

would love to try!   waiting thanks

Title: Re: My first theme! Smooth grid :) [Preview]
Post by: zpaolo11x on January 25, 2018, 10:28:47 PM
As for the mac - from my experience mac version (especially when using surfaces) takes a greater toll on CPU

You are absolutely right, the latest version from mameonmodernmacs is a lot better than the official one though. In the past I noticed many times that using and updating multiple layered pictures as single entities instead of "packaging" them in a surface (like in my theme with the snaps and logos) was better (on the Mac).

Right now this doesn't seem to be an issue anymore, but for example "set_pos" to reposition and scale images takes a large toll and I'm trying to reduce it as much as I can
Title: Re: My first theme! Smooth grid :) [Preview]
Post by: zpaolo11x on January 25, 2018, 10:38:21 PM
I've updated the theme with video snaps and other tweaks, right now it requires some preparation of snapshots (to avoid resizing pictures on the fly on my Mac) and the generating of fake blurred snapshots (dirty tricks, I know, but the crossfade effect is neat :D) but otherwise it's almost ready for release...

Preview video here:

https://drive.google.com/file/d/1nse_PPJXXvbx-dsJWXCLcTtbTt1ZLp8y/view?usp=sharing

as usual a bit of stuttering is due to the capture software...
Title: Re: My first theme! Smooth grid :) [Preview]
Post by: jedione on January 27, 2018, 06:33:31 PM
any new's   
 looks good.
Title: Re: My first theme! Smooth grid :) [Preview]
Post by: tekn0 on January 29, 2018, 08:58:15 AM
This looks great, is it working on the Pi3?
 I would love to test it.
Title: Re: My first theme! Smooth grid :) [Preview]
Post by: tekn0 on January 29, 2018, 08:59:26 AM
I'm sure you've wanted it to look really minimal, but maybe adding some light semi-translucent background under the text could spice it up a little.
I've also added a little shadow under that title bar.

This looks great. I much prefer the logos contained inside of the preview image.
Title: Re: My first theme! Smooth grid :) [Preview]
Post by: zpaolo11x on January 29, 2018, 10:22:22 PM
This looks great. I much prefer the logos contained inside of the preview image.

I'm ironing out some quirks and cleaning up the code before release, I have no idea of the performance on a Pi3 but it should work (I hope). The logos inside the snaps... I have to try it, since the snaps are all different orientations that would mean smaller logos, but I'll check if it looks better :)
Title: Re: My first theme! Arcadeflow v 1.0 [Release]
Post by: zpaolo11x on February 01, 2018, 10:15:28 PM
The first release is online, go back to the first post of this message and try it :)
Title: Re: My first theme! Arcadeflow v 1.0 [Release]
Post by: jedione on February 02, 2018, 07:18:57 AM
wow,  i am impressed i think you have some talent here
i love this theme....thanks boss 8)
Title: Re: My first theme! Arcadeflow v 1.0 [Release]
Post by: zpaolo11x on February 02, 2018, 11:07:14 AM
wow,  i am impressed i think you have some talent here
i love this theme....thanks boss 8)

Thank you so much! I just found an easier way to process the blurred backgrounds:

crop to 480x480
scale to 32x32
apply gaussian blur 9x9 pixels

this gives a result that's almost identical to the previous method, but the file size is way smaller (like 500 bytes instead of 15 KB).
Title: Re: My first theme! Arcadeflow v 1.0 [Release]
Post by: jedione on February 03, 2018, 09:45:35 AM
wow,  i am impressed i think you have some talent here
i love this theme....thanks boss 8)

Thank you so much! I just found an easier way to process the blurred backgrounds:

crop to 480x480
scale to 32x32
apply gaussian blur 9x9 pixels

this gives a result that's almost identical to the previous method, but the file size is way smaller (like 500 bytes instead of 15 KB).



this will be helpful for the pi i think....will try this theme on pi3 this weekend  and give you an update..thanks
Title: Re: Arcadeflow theme v 1.1 [Release]
Post by: zpaolo11x on February 11, 2018, 07:43:30 AM
Revision 1.1 is out with some tweaks and a couple of visual changes!
Title: Re: Arcadeflow theme v 1.1 [Release]
Post by: FrizzleFried on February 11, 2018, 12:59:50 PM
I wonder what I could be doing wrong.  I unzip to my LAYOUTS folder... when I select Arcadeflow Theme it simply shows a tanish background... a could of white highlighted boxes... and that is it.  No videos.  No snaps.  No marquees.  Etc.

Under Layout options there is nothing to change to vertical mode or any such thing.

Am I supposed to configure folder locations, etc or something somewhere?

Thanks!

EDIT: I just tried this in 3.811 by just dropping it in the LAYOUTS-ATTRACT folder on the BOOT drive (I'm using an ARpiCADE BTW)...

...nope.  It just crashes... essentially doing nothing but making the layout that was active prior "stick" ...

I am not sure if it's just incompatible with the Pi3?
Title: Re: Arcadeflow theme v 1.1 [Release]
Post by: zpaolo11x on February 11, 2018, 02:04:03 PM
I wonder what I could be doing wrong.  I unzip to my LAYOUTS folder... when I select Arcadeflow Theme it simply shows a tanish background... a could of white highlighted boxes... and that is it.  No videos.  No snaps.  No marquees.  Etc.

Wow that is not good, not good at all. I'm not sure if the theme is compatible with the Pi, I can't check it, but have you followed the instruction for the creation of the "blur" art category, to obtain the blurred backgrounds? Maybe I can add it as an option so if you don't want/can't generate blurred backgrounds you can still use the theme with a simple background...

There is no option for vertical display because the theme should adapt automatically, at what resolution are you running it? Did you have the chance to try v 1.0 or only 1.1?
Title: Re: Arcadeflow theme v 1.1 [Release]
Post by: FrizzleFried on February 11, 2018, 02:47:33 PM
I wonder what I could be doing wrong.  I unzip to my LAYOUTS folder... when I select Arcadeflow Theme it simply shows a tanish background... a could of white highlighted boxes... and that is it.  No videos.  No snaps.  No marquees.  Etc.

Wow that is not good, not good at all. I'm not sure if the theme is compatible with the Pi, I can't check it, but have you followed the instruction for the creation of the "blur" art category, to obtain the blurred backgrounds? Maybe I can add it as an option so if you don't want/can't generate blurred backgrounds you can still use the theme with a simple background...

There is no option for vertical display because the theme should adapt automatically, at what resolution are you running it? Did you have the chance to try v 1.0 or only 1.1?

I only got to run 1.1... not 1.0.  I did NOT generate the backgrounds... I "assumed" it would simply run with a blank background (to test the theme of course).

I am running on an arcade monitor so the resolution is lower... 320x240, etc... the theme I've been using adapts to a few different low resolutions depending on the resolution of the game that was last played (I do believe). 

It just may not run on the Pi3...
Title: Re: Arcadeflow theme v 1.1 [Release]
Post by: zpaolo11x on February 11, 2018, 11:41:23 PM
I only got to run 1.1... not 1.0.  I did NOT generate the backgrounds... I "assumed" it would simply run with a blank background (to test the theme of course).

That's what should happen, if the "blur" category is not defined it should work with a plain gray background. One thing to note is that inside the zip file there's a Arcadeflow_11 folder, that's the one you have to put in the layouts folder. If you unzip the archive you'll probably end up with a Arcadeflow_11 folder INSIDE another Arcadeflow_11 folder, which would not work. Sorry that was my mistake in building the zip archive.

I also tested it with a 320x200 window resolution and it works, so maybe the issue is with the Pi itself.

P.S. thanks to this low resolution test I found a small issue with thumbs zooming: since the zooming item is a surface, the image content is at the resolution of the small tiles, so it gets pixellated when zooming to larger. I'll tweak the theme with a prescaler so that the image looks crisp when zoomed, and scaled back to the smaller size. That will look much better for low res screens.
Title: Re: Arcadeflow theme v 1.1 [Release]
Post by: FrizzleFried on February 12, 2018, 07:25:08 AM
Yea,  at first I had the extra folder inside the folder...

...upon fixing that,  I can see some layout options (from my recollection from last night... I was testing a lot of layouts)... but yeah,  it locked up.
Title: Re: Arcadeflow theme v 1.1 [Release]
Post by: zpaolo11x on February 12, 2018, 09:55:53 AM
Yea,  at first I had the extra folder inside the folder...

...upon fixing that,  I can see some layout options (from my recollection from last night... I was testing a lot of layouts)... but yeah,  it locked up.

I think this is caused by the Pi, maybe someone else can do a cross check...
Title: Re: Arcadeflow theme v 1.2 [Release]
Post by: zpaolo11x on February 19, 2018, 12:17:55 AM
Updated to v 1.2! Download file in the first post...

Title: Re: Arcadeflow theme v 1.3 [Release]
Post by: Deflektor on March 25, 2018, 03:01:20 PM
I'm seeing the same problem on my Pi3 also. Lots of white boxes everywhere, no art displayed, everything super laggy. Even text just appears as white blocks. I think that happens when a layout is too intensive for the Pi (maybe out of video memory?). I didn't generate any blurred images. Even when the menu only has ~12 things to display, it does this.
Title: Re: Arcadeflow theme v 1.3 [Release]
Post by: zpaolo11x on March 26, 2018, 03:05:11 AM
I'm seeing the same problem on my Pi3 also. Lots of white boxes everywhere, no art displayed, everything super laggy. Even text just appears as white blocks. I think that happens when a layout is too intensive for the Pi (maybe out of video memory?). I didn't generate any blurred images. Even when the menu only has ~12 things to display, it does this.

It looks like my theme is not suitable for Pi3 then, that's not good but sadly I have no way to check it since I don't have a Raspberry Pi to play with. If someone can check the theme on a PC or Mac that would clarify if it's a general issue or a Pi related issue. I tried to keep the theme not so heavy but being a two rows grid requires loading and caching of more artwork.

As a side note, does the "Silky" theme work on your setup?
Title: Re: Arcadeflow theme v 1.3 [Release]
Post by: FrizzleFried on March 26, 2018, 08:45:57 AM
The missing artwork may indicate an issue with the naming of files...  the names have to be identical ("File" does not equal "file" or "FILE" ... they are all different names in the eyes of linux).

Title: Re: Arcadeflow theme v 1.3 [Release]
Post by: Deflektor on March 26, 2018, 11:57:42 AM
As a side note, does the "Silky" theme work on your setup?

Yes, Silky works for me on the Pi. I just tested Arcadeflow on my PC and it works fine there (with the roms/art folders copied from my Pi).
Title: Re: Arcadeflow theme v 1.3 [Release]
Post by: zpaolo11x on March 26, 2018, 10:10:37 PM
Yes, Silky works for me on the Pi. I just tested Arcadeflow on my PC and it works fine there (with the roms/art folders copied from my Pi).

It's a relief to see that AF works on your PC, it's a quite complex theme and although I tried to debug it I might have missed something (I'm not a programmer after all :D) ... I asked about Silky because both themes are based on the same carrier, but AF has a heavy layered surface structure and a wide grid (for two rows scrolling) that might be unfit for the Pi.

I'll check if naming and caps are ok, but developing on a Mac it should be quite like Linux... If I'll get my hands on a Pi (and I'll have some spare time) I'll try it there and see if something can be done.
Title: Re: Arcadeflow theme v 1.4 [Release] Updated 22 Apr 2018
Post by: zpaolo11x on April 22, 2018, 10:46:33 AM
Updated Arcadeflow to version 1.4, see the first post for what's new!
Title: Re: Arcadeflow theme v 1.4 [Release] Updated 22 Apr 2018
Post by: verion on April 23, 2018, 02:46:23 AM
Is there an option for original layout - the one with square snaps and smaller wheel logo?
Title: Re: Arcadeflow theme v 1.4 [Release] Updated 22 Apr 2018
Post by: zpaolo11x on April 23, 2018, 06:29:51 AM
Is there an option for original layout - the one with square snaps and smaller wheel logo?

Not right now... Maybe I'll have it in the future, I know some like it that way. It shouldn't be much difficult on paper, but it will require a lot of code tweaking because the theme is now built around the idea of horizontal and vertical thumbs.

I'll see what can be done :)
Title: Re: Arcadeflow theme v 1.4 [Release] Updated 22 Apr 2018
Post by: tekn0 on May 06, 2018, 10:55:14 PM
Any updates on raspberry pi3 support? This looks really cool!
Title: Re: Arcadeflow theme v 1.4 [Release] Updated 22 Apr 2018
Post by: zpaolo11x on May 07, 2018, 01:23:36 AM
Any updates on raspberry pi3 support? This looks really cool!

Since I don't own a pi3 it's quite difficult to code for it :/ I'm thinking of producing a version that doesn't use surfaces, provided that my guess that surfaces are messing with the pi3 is a good guess :D
Title: Re: Arcadeflow theme v 1.4 [Release] Updated 22 Apr 2018
Post by: zpaolo11x on May 24, 2018, 11:54:51 PM
I'm uploading here a stripped down version of AF theme that I hope someone can test with a Raspberry Pi and report if it works or not... In this version I stripped most bells and whistles to reduce the number of textures in memory...

Title: Re: Arcadeflow theme v 1.4 [Release] Updated 22 Apr 2018
Post by: millercentral on May 28, 2018, 11:24:38 AM
While it took me a minute to understand I needed to resize my snaps (thanks for the scripts!) - I now have this theme working great on my cab, including the very nice Pop background. I really love how fast it is and how easy it is to navigate through large lists. Thank you for all the work on this!

I do have an "advanced usage" question, that may or may not be supported:  I have 3-sided cocktail style cabinet, and I would like to be able to rotate the theme between Horizontal and Vertical orientations on demand.  Attract Mode supports this (both with "toggle_rotate_right" button assignment, and with the "RotationControl" plugin which rotates the theme based on the orientation of the last run game). However, when I rotate ArcadeFlow, it squeezes the Horizontal layout into the vertical dimensions, rather than reloading with the vertical-optimized layout.

Is there anyway to trigger ArcadeFlow to recognize the orientation change and reload for the current AttractMode orientation when Toggle_Rotate_Right (for example) is pressed?

Thank you again for this great theme, and for the helper scripts to make setup great.
Title: Re: Arcadeflow theme v 1.4 [Release] Updated 22 Apr 2018
Post by: zpaolo11x on May 28, 2018, 12:39:08 PM
Thank you for the comments, I tried to reply to your messages but it seems that you have a full inbox. I'm glad you solved the issue of the white borders. I'd really like to make it work without having to resize the snaps but it got quite messy when I tried, that's why I put the scripts in the archive :D

Regarding rotation, I'll check what can be done. I am working on rev.15 right now I'll see if I can implement what you need. Right now AF gets its "rotation" from the screen resolution.

Title: Re: Arcadeflow theme v 1.4 [Release] Updated 22 Apr 2018
Post by: zpaolo11x on May 28, 2018, 12:58:28 PM
I do have an "advanced usage" question, that may or may not be supported:

Investigated a bit and this is how things work right now: at the start of the layout I check the screen resolution and decide whether to implement the "vertical" or "horizontal" layout. The difference is in the way objects (tiles) are set up and updated. The way I thought to implement what you need was to add a key routine where it would first apply the screen rotation, then "reload" the layout so everything would be set up "vertically". Sadly though it seems it's not possible to "reload" a layout :(

I made it! It works on my test system. I'll upload the new revision ASAP, stay tuned :D
Title: Re: Arcadeflow theme v 1.5 [Release] Updated 28 May 2018
Post by: Giacomo1982 on May 28, 2018, 02:24:43 PM
This is awesome!

Adesso posso parlare italiano, complimenti per il tema è molto bello e pieno di funzioni interessanti.
Se puo esserti d'aiuto a me non visualizza correttamente il bordo bianco introrno alle snapshot, funziona solo per 4:3? Io ho provato su 16:9.

Richiesta senza impegno
Vorrei tanto inserire nel mio layout un carrier con i titoli che funziona bene come il tuo, ho provato a cambiare la variabile "rows" in 1 ma non riesco ad abbassare l'altezza

neanche cambiando la riga 143 in:
local carrier_h = 2*height+(2)*padding+padding*margin_scaler

mi daresti una mano?

grazie Paolo!!!
Title: Re: Arcadeflow theme v 1.5 [Release] Updated 28 May 2018
Post by: zpaolo11x on May 28, 2018, 10:19:35 PM
Se puo esserti d'aiuto a me non visualizza correttamente il bordo bianco introrno alle snapshot, funziona solo per 4:3? Io ho provato su 16:9.

Rispondo al volo a questa, poi ritpondo all'altra parte del messaggio... Prova a ri-scaricare la versione 15, ho fatto una piccola modifica che dovrebbe correggere un problema con i bordi bianchi (li vedi solo in verticale, giusto?). Se non funziona, prova a scaricare la versione PI2 dal mio commento precedente e dimmi cosa si vede sugli screenshot dei giochi, c'è un testo di debug...

Ciao!
Title: Re: Arcadeflow theme v 1.5 [Release] Updated 28 May 2018
Post by: millercentral on May 29, 2018, 08:52:01 AM
New version works GREAT when using hotkeys to rotate left or right, thank you! The only thing not yet working is when RotationControl plug in auto rotates the layout when returning from a game based on that games orientation. To repro:


I'm no coder, but I assume adding a Transition.FromGame case in the transition callback would catch this edge case.
Title: Re: Arcadeflow theme v 1.5 [Release] Updated 28 May 2018
Post by: jtslade on May 29, 2018, 09:05:49 AM
Very Cool looking theme.

Runs slow in VirtualBox so I'm going to try on my Vertical cocktail Cab (Running Groovy Arcade 2017)

How can I enable being able to select games with left and right on the joystick? Right now only up and down works.

Also I have a Arcade CRT so it runs in 3:4 (Vertical) at like 320x240 resolution. Can I set only like two rows of games?

Thank you!
Title: Re: Arcadeflow theme v 1.5 [Release] Updated 28 May 2018
Post by: zpaolo11x on May 29, 2018, 10:46:53 AM

  • Enable the RotationControl plugin, and set it to Auto Rotate (I also disabled PreserveAspectRatio).
  • From a horizontal aspect ratio, launch a vertical game, then exit the game
  • AM comes back with the layout stretched vertically.

I'm no coder, but I assume adding a Transition.FromGame case in the transition callback would catch this edge case.

I see and I was able to reproduce the issue, I think you are right: some routine to reload the theme if there's been a screen rotation after coming back from the game should do the trick. I'll check what can be done, or I can try and bypass the autorotation plugin completely but that would be a bit overkill :D
Title: Re: Arcadeflow theme v 1.5 [Release] Updated 28 May 2018
Post by: Giacomo1982 on May 29, 2018, 12:26:05 PM
Se puo esserti d'aiuto a me non visualizza correttamente il bordo bianco introrno alle snapshot, funziona solo per 4:3? Io ho provato su 16:9.

Rispondo al volo a questa, poi ritpondo all'altra parte del messaggio... Prova a ri-scaricare la versione 15, ho fatto una piccola modifica che dovrebbe correggere un problema con i bordi bianchi (li vedi solo in verticale, giusto?). Se non funziona, prova a scaricare la versione PI2 dal mio commento precedente e dimmi cosa si vede sugli screenshot dei giochi, c'è un testo di debug...

Ciao!

Niente is vedono ancora in verticale

Ti ho inviato i miei 3 theme nella mail dagli un occhio!!  ;)

STRIPE è praticamente al 99.9% devo aggiungere le descrizioni e le foto di qualche console
HUD anche questo 99% anche qui mi mancano le console
STRIPE_2 è quello in cui implementare il tuo bellissiimo carrier
grazie dell'aiuto!
Title: Re: Arcadeflow theme v 1.5 [Release] Updated 28 May 2018
Post by: zpaolo11x on May 30, 2018, 05:16:09 AM
How can I enable being able to select games with left and right on the joystick? Right now only up and down works.

Also I have a Arcade CRT so it runs in 3:4 (Vertical) at like 320x240 resolution. Can I set only like two rows of games?

When you run the theme on a vertical display it should apply the "vertical" theme, and you should be able to navigate the games using left-right (to switch column) and up-down (to switch rows). Does it work for you? Arcadeflow redefines the arrow keys with a custom routine I don't know if it can interfere with other controls...

As for the rows of games, you want just two (instead of three) so that thumbs are bigger? I'm refining the vertical layout getting more space for thumbs and reducing the title font, I'll see if a two rows option doesn't cut too much of the screenshots :) I'll check AF at low resolution to see how it goes, sadly my Mac is a retina model and many details (like text) are rendered at high resolution even if the layout width and height are 320x240 :/
Title: Re: Arcadeflow theme v 1.6 [Release] Updated 8 June 2018
Post by: zpaolo11x on June 08, 2018, 07:58:30 AM
AF 1.6 is out!

Many of you will find useful tweaks and features requested on the forum, so if you want to try it and tell me if it's working as expected that would be greatly appreciated :D
Title: Re: Arcadeflow theme v 1.5 [Release] Updated 28 May 2018
Post by: jtslade on June 11, 2018, 09:30:08 AM
How can I enable being able to select games with left and right on the joystick? Right now only up and down works.

Also I have a Arcade CRT so it runs in 3:4 (Vertical) at like 320x240 resolution. Can I set only like two rows of games?

When you run the theme on a vertical display it should apply the "vertical" theme, and you should be able to navigate the games using left-right (to switch column) and up-down (to switch rows). Does it work for you? Arcadeflow redefines the arrow keys with a custom routine I don't know if it can interfere with other controls...

As for the rows of games, you want just two (instead of three) so that thumbs are bigger? I'm refining the vertical layout getting more space for thumbs and reducing the title font, I'll see if a two rows option doesn't cut too much of the screenshots :) I'll check AF at low resolution to see how it goes, sadly my Mac is a retina model and many details (like text) are rendered at high resolution even if the layout width and height are 320x240 :/



Awesome, Thank you.. Is this in the new version. I can test it on my Vertical 19" CRT cocktail Groovy Arcade Cab this week.
Title: Re: Arcadeflow theme v 1.5 [Release] Updated 28 May 2018
Post by: zpaolo11x on June 11, 2018, 11:20:24 PM
Awesome, Thank you.. Is this in the new version. I can test it on my Vertical 19" CRT cocktail Groovy Arcade Cab this week.

Yes it is, maybe some fonts are still too small for such low resolution, but I can tweak it following your feedback :)
Title: Re: Arcadeflow theme v 1.7 [Release] Updated 5 July 2018
Post by: zpaolo11x on July 04, 2018, 11:36:15 PM
Updated to 1.7! New menu system and history plugin integrated. Have fun!
Title: Re: Arcadeflow theme v 1.7 [Release] Updated 5 July 2018
Post by: jedione on July 05, 2018, 07:18:59 AM
Arcadeflow_17,   is broken for me  :-[

Arcadeflow_14  is working fine

im on windows 10 with latest AM build..

anyone else ?
Title: Re: Arcadeflow theme v 1.7 [Release] Updated 5 July 2018
Post by: zpaolo11x on July 05, 2018, 07:30:52 AM
Arcadeflow_17,   is broken for me  :-[

Arcadeflow_14  is working fine

Ops, this is not good, can you be more specific? Also you can try one of the other releases from here:

https://github.com/zpaolo11x/Arcadeflow-AM-Theme/releases

1.7 is a pretty big update so maybe something went wrong along the way...
Title: Re: Arcadeflow theme v 1.7 [Release] Updated 5 July 2018
Post by: verion on July 05, 2018, 09:11:46 AM
Looks really good - but I really miss the early version with square contained art+logo (see attachment).
Looks like there is no chance to bring that back, right?
Title: Re: Arcadeflow theme v 1.7 [Release] Updated 5 July 2018
Post by: zpaolo11x on July 05, 2018, 02:12:03 PM
Looks really good - but I really miss the early version with square contained art+logo (see attachment).
Looks like there is no chance to bring that back, right?

I'm really thinking of a way to do it, without having to generate square snapshots with a script. It's one feature I'd like to implement but really complicated.
Title: Re: Arcadeflow theme v 1.7 [Release] Updated 5 July 2018
Post by: zpaolo11x on July 05, 2018, 11:45:45 PM
Looks like there is no chance to bring that back, right?

You know what? I made it! I'm refining some details and I don't think I'll be able to release it until next week but I was able to crop snaps using surfaces (and used a trick to make it smoother), so in the end now it works. How did I not think about it before??

I just have to re-do some graphics (shadows mainly), decide if I like the dimensions of the snaps and then I'll release something as soon as possible ;D
Title: Re: Arcadeflow theme v 1.7 [Release] Updated 5 July 2018
Post by: verion on July 06, 2018, 01:59:21 AM
Cool - that's a great news.
And the flexibility/responsiveness of that theme is great. Really good job!

I suppose that with "default" color scheme you can put any current-game-related artwork? Not just blurred snap?
Title: Re: Arcadeflow theme v 1.7 [Release] Updated 5 July 2018
Post by: zpaolo11x on July 06, 2018, 02:13:48 AM
I suppose that with "default" color scheme you can put any current-game-related artwork? Not just blurred snap?

In theory if you want different artwork as background (game related artwork that is) you should just point the "blur" artwork label to something else. That said, AF expects this background to be in square format and I honestly don't remember if it will maintain the aspect ratio... I'll check and report later.
Title: Re: Arcadeflow theme v 1.7 [Release] Updated 5 July 2018
Post by: zpaolo11x on July 06, 2018, 05:16:52 AM
Cool - that's a great news.

Arcadeflow 1.8 is out with square cropped thumbs. Please report any bugs ;D
Title: Re: Arcadeflow theme v 1.8 [Release] Updated 5 July 2018
Post by: verion on July 06, 2018, 05:20:49 AM
great I'll test it and let you know
Title: Re: Arcadeflow theme v 1.9 [Release] Updated 25 July 2018
Post by: zpaolo11x on July 25, 2018, 12:42:25 AM
Arcadeflow 1.9 is out and is 2.4 compliant! Please test it and let me know :)
Title: Re: Arcadeflow theme v 1.9 [Release] Updated 25 July 2018
Post by: pibuilder on July 25, 2018, 05:48:07 PM
Arcadeflow 1.9 is out and is 2.4 compliant! Please test it and let me know :)

 This looks pretty much exactly what I'd like to use in my RPI3B+ Curious to know if this updated version 1.9 will work with it ? How should the file structure be on the Rpi with all these files ? Do I keep it zipped / unzipped within the layouts folder ? I have a few other themes running right now but I really dig this particular layout. It's called Arcade Flow, as the name would suggest I would imagine most people are using these inside of cabinets only Ideally I'd like it to work on an rpi3b+.
Title: Re: Arcadeflow theme v 1.9 [Release] Updated 25 July 2018
Post by: zpaolo11x on July 25, 2018, 11:25:19 PM
This looks pretty much exactly what I'd like to use in my RPI3B+ Curious to know if this updated version 1.9 will work with it ?

As you probably know if you've read the rest of the thread, AF is not really suited for the Raspberry Pi, at least this was true for Attract Mode 2.3, don't know if 2.4 is better. I'd really like to be able to tweak my theme to work with the Pi but testing is not easy since I don't own a Pi myself.

Quote
How should the file structure be on the Rpi with all these files ? Do I keep it zipped / unzipped within the layouts folder ? I have a few other themes running right now but I really dig this particular layout.

AFAIK you can use the archive as it is (zipped) or unzip it to a folder with the theme name and put it in the layouts folder.

Quote
It's called Arcade Flow, as the name would suggest I would imagine most people are using these inside of cabinets only Ideally I'd like it to work on an rpi3b+.

Well actually the name comes from the fact that the theme is intended for MAME users: it doesn't use flyers because not all arcade games have good flyers and it doesn't use game boxes art because of course arcade doesn't have boxes :) If I did it for other system I would make it different I think.

Title: Re: Arcadeflow theme v 1.9 [Release] Updated 25 July 2018
Post by: pibuilder on July 27, 2018, 07:44:16 AM
So just an update on this when I used it on my rpi3b+ I got what I consider the WSOD aka White Screen Of Death. some of the fonts looked like lines weird things from a spaceship blocky weirdness nothing working etc /  nothing was showing no rom list / game list wasn't showing. No Snaps / Videos weren't showing.

As you probably know if you've read the rest of the thread, AF is not really suited for the Raspberry Pi, at least this was true for Attract Mode 2.3, don't know if 2.4 is better. I'd really like to be able to tweak my theme to work with the Pi but testing is not easy since I don't own a Pi myself.

Brand new Rpi3b+ is cheap ! They are about 50-60$ including a Power Supply / Heat sinks + depending on what size microSD memory card you go with. It's worth it just to tinker with one. I almost feel compelled to send you one so long as you can get this working on an rpi3b+ properly.
Title: Re: Arcadeflow theme v 1.9 [Release] Updated 25 July 2018
Post by: zpaolo11x on July 30, 2018, 06:10:43 AM
I will try and look into AF RPi compatibility (again ;D) but my fear is that, as before, AF is to heavy for the Pi. And I know the pi is really cheap, what I lack though is the spare time to dedicate to it. I can play with code every time I have some spare time but playing with the Pi won’t be so straight forward I fear.
Title: Re: Arcadeflow theme v 1.9 [Release] Updated 25 July 2018
Post by: ryuuji on August 10, 2018, 05:48:59 PM
on 4:3 monitor all my horizontal games snaps are cropped like the vertical ones :/
Title: Re: Arcadeflow theme v 1.9 [Release] Updated 25 July 2018
Post by: zpaolo11x on August 11, 2018, 03:26:45 AM
on 4:3 monitor all my horizontal games snaps are cropped like the vertical ones :/

What emulator and what version? Have you updated your romlist recently? Can you post a screenshot?
Title: Re: Arcadeflow theme v 1.9 [Release] Updated 25 July 2018
Post by: ryuuji on August 11, 2018, 03:33:23 AM
I m using Attract Mode 2.4 on Windows 10. AM runs on a 2nd monitor 4:3 aspect ratio. The layout interprets that all the games are vertical games so the horizontal game snaps are cropped.
sshot below

Title: Re: Arcadeflow theme v 1.9 [Release] Updated 25 July 2018
Post by: zpaolo11x on August 11, 2018, 11:16:43 AM
I m using Attract Mode 2.4 on Windows 10. AM runs on a 2nd monitor 4:3 aspect ratio. The layout interprets that all the games are vertical games so the horizontal game snaps are cropped.
sshot below

Hmm I see many things that are not how they should be in that screenshot... you don't have snaps? because all the tiles have no screenshots except the one that is zoomed in (probably playing a video). But that's not the main issue.

What puzzles me is the aspect ratio: while the screenshot resolution is undoubtedly 4:3, it seems that AF "thinks" it's a 16:9 and therefore stretches the thumbs. This shouldn't be the case, AF should adapt to the proper aspect ratio... Are you using AF 19? I'll prepare a debug layout to check what's going on. Also try re-downloading AF because there was a mistake in one upload

AF should adapt thumbs with respect to the Info.Rotation property of games, sometimes it's necessary to refresh the romlist to make it work.

Title: Re: Arcadeflow theme v 1.9 [Release] Updated 25 July 2018
Post by: jedione on August 11, 2018, 12:38:00 PM
so i just put the script that zpaolo11x posted for a blur background  and this is what i get...

pretty cool i think     no need for blured image file,,   works with snaps or video.

if you want ill post it up,,  i just put it in its own layout and call it at the begining of the theme   "fe.do_nut("blur.nut");"

you tube....https://youtu.be/a5ARsBBMpTA (https://youtu.be/a5ARsBBMpTA)
Title: Re: Arcadeflow theme v 1.9 [Release] Updated 25 July 2018
Post by: zpaolo11x on August 11, 2018, 12:41:56 PM
you tube....https://youtu.be/a5ARsBBMpTA (https://youtu.be/a5ARsBBMpTA)

Cool, I'm merging the effect in Arcadeflow right now (but together with many other changes that are slowing me down a bit), how did you do it? If you want you can send me the files to paolo.zago@gmail.com
Title: Re: Arcadeflow theme v 1.9 [Release] Updated 25 July 2018
Post by: jedione on August 11, 2018, 01:11:20 PM
you got it.....coming your way
Title: Re: Arcadeflow theme v 1.9 [Release] Updated 25 July 2018
Post by: calle81 on August 11, 2018, 03:35:06 PM
you got it.....coming your way

 :o :o  I want it too!  :D
Title: Re: Arcadeflow theme v 1.9 [Release] Updated 25 July 2018
Post by: ryuuji on August 11, 2018, 04:53:57 PM
I m using Attract Mode 2.4 on Windows 10. AM runs on a 2nd monitor 4:3 aspect ratio. The layout interprets that all the games are vertical games so the horizontal game snaps are cropped.
sshot below

Hmm I see many things that are not how they should be in that screenshot... you don't have snaps? because all the tiles have no screenshots except the one that is zoomed in (probably playing a video). But that's not the main issue.

What puzzles me is the aspect ratio: while the screenshot resolution is undoubtedly 4:3, it seems that AF "thinks" it's a 16:9 and therefore stretches the thumbs. This shouldn't be the case, AF should adapt to the proper aspect ratio... Are you using AF 19? I'll prepare a debug layout to check what's going on. Also try re-downloading AF because there was a mistake in one upload

AF should adapt thumbs with respect to the Info.Rotation property of games, sometimes it's necessary to refresh the romlist to make it work.

The current setup AM 2.4 started yesterday from scratch and yes I m missing the screenshots for games atm .... downloaded AF1.9 right now also still the same
screenshot using game_station layout + the AM cfg + window.am (if that helps anything ... looks ok I would say)
Title: Re: Arcadeflow theme v 1.9 [Release] Updated 25 July 2018
Post by: zpaolo11x on August 11, 2018, 11:24:18 PM
Jedione I was looking at your video and it seems the theme is a bit stretched vertically, is it an artifact of the video or do you see it like that? Because that’s not good, I’ll have to check aspect ratios but not having an external display is a bit difficult. Do you use one or two monitors?
Title: Re: Arcadeflow theme v 1.9 [Release] Updated 25 July 2018
Post by: jedione on August 12, 2018, 12:34:18 AM
it,s just AM in windowed mode pulled open quickly, and recorded with bandicam...

thats all. :)
Title: Re: Arcadeflow theme v 1.9 [Release] Updated 25 July 2018
Post by: qqplayer on August 12, 2018, 05:20:30 AM
so i just put the script that zpaolo11x posted for a blur background  and this is what i get...

pretty cool i think     no need for blured image file,,   works with snaps or video.

if you want ill post it up,,  i just put it in its own layout and call it at the begining of the theme   "fe.do_nut("blur.nut");"

you tube....https://youtu.be/a5ARsBBMpTA (https://youtu.be/a5ARsBBMpTA)

Awesome , I love the bg effect.

@zpaolo11x your theme is one of the best ever!!
Title: Re: Arcadeflow theme v 2.0 [Release] Updated 17 August 2018
Post by: zpaolo11x on August 17, 2018, 08:38:48 AM
Arcadeflow 2.0 is out!

It uses shaders instead of pre-generated artwork for shadows and blurred backgrounds, and I'm crossing my fingers that it's not exploding :D

Title: Re: Arcadeflow theme v 2.0 [Release] Updated 17 August 2018
Post by: zpaolo11x on August 19, 2018, 11:38:42 PM
Just checked AF2.0 on my Windows machine and the layout has some heavy slowdowns I don't see on my Mac. I suspect the culprit here is the nested surface used for logo shadows, I solved it in the past with some tricks so I'm positive I can solve it soon.

- UPDATE - solved the issue with the slowdowns, I'll re-check it on the Mac and then post the update to 2.1

In the meantime I wrote my own blur shader, but I discovered that a single pass 2D shader, even if it only requires one surface to apply, is overall slower than a dual pass 1D shader, which requires two nested surfaces to work.
Title: Re: Arcadeflow theme v 2.0 [Release] Updated 17 August 2018
Post by: markoattract on August 20, 2018, 02:43:11 AM
Intanto congratulazioni Paolo per lo splendido tema ! :D

I have a little problem with this theme :
All is working great but i don't have the static screenshots. i have the wheel , but only a blanck rectangle under the game's logos ... When i select a game the video preview starts with no problem.

So maybe i have to change the folder name for static screenshots ?

Thanks for your help .

Grazie ! ;D

- Marco -

Title: Re: Arcadeflow theme v 2.0 [Release] Updated 17 August 2018
Post by: zpaolo11x on August 20, 2018, 06:00:32 AM
All is working great but i don't have the static screenshots. i have the wheel , but only a blanck rectangle under the game's logos ... When i select a game the video preview starts with no problem.

Well the theme gets the screenshot data from the "snap" category, in the default mame configuration on Attract Mode this category points to two folders: $HOME/mame/snap and $HOME/mame/video, if you have your snaps and videos in those folders it should work.
Title: Re: Arcadeflow theme v 2.0 [Release] Updated 17 August 2018
Post by: markoattract on August 20, 2018, 10:46:38 AM
Quote
Well the theme gets the screenshot data from the "snap" category, in the default mame configuration on Attract Mode this category points to two folders: $HOME/mame/snap and $HOME/mame/video, if you have your snaps and videos in those folders it should work.

Thanks for the answer, but this didn't solve my problem... I have 2 folders named Snaps and video in my MAME folder ; how do i have to set the mame.cfg in Attract mode for the screenshot to works ?

Thanks again for your help ! :D

- Marco -
Title: Re: Arcadeflow theme v 2.0 [Release] Updated 17 August 2018
Post by: progets on August 20, 2018, 11:04:21 AM
Code: [Select]
artwork    snap      X:\<path>\Video;X:\<path>\Snap
Title: Re: Arcadeflow theme v 2.0 [Release] Updated 17 August 2018
Post by: keilmillerjr on August 20, 2018, 11:15:14 AM
This theme came out excellent! Simple, not flashy - but still fun to look at!
Title: Re: Arcadeflow theme v 2.0 [Release] Updated 17 August 2018
Post by: zpaolo11x on August 20, 2018, 12:12:22 PM
Code: [Select]
artwork    snap      X:\<path>\Video;X:\<path>\Snap

That's the way I have my AM set and it works fine in AF, if it doesn't work there might be something else...
Title: Re: Arcadeflow theme v 2.0 [Release] Updated 17 August 2018
Post by: zpaolo11x on August 20, 2018, 12:15:04 PM
This theme came out excellent! Simple, not flashy - but still fun to look at!

Thank you! I've learned a lot and had a lot of fun developing this theme, now I'm getting into shaders :D I also tried to make the theme very customizable, if you want it more flashy (flashyer? flashier? ) you can play with background overlay and logo customization ;)
Title: Re: Arcadeflow theme v 2.0 [Release] Updated 17 August 2018
Post by: PrettyPrincess on August 20, 2018, 09:29:31 PM
My goodness. This theme is so beautiful. This deserves a Nobel Peace Prize for art.

In the future, do you plan to add sounds for video previews? Currently, my 480p mp4 files don't play any sound. Unless I have to use a certain type of video format or enable sound somewhere?
Title: Re: Arcadeflow theme v 2.1 [Release] Updated 21 August 2018
Post by: zpaolo11x on August 20, 2018, 11:37:26 PM
Updated to v 2.1!

Fixed some bugs and added some workarounds, improved blur shaders (now with programmable sigma)

Enjoy!
Title: Re: Arcadeflow theme v 2.1 [Release] Updated 21 August 2018
Post by: zpaolo11x on August 22, 2018, 02:14:05 AM
A small experiment I'm doing, to enhance readability for the titles in square tile mode, I tried adding a gradient of the average tile color. Seems to work quite nice.

It's a simple GLSL shader that samples the picture layer and adds an alpha gradient, it's fast but still operating on the full resolution snap is not ideal. There's probably a smarter way to do it (vertex shaders?) but let me know if you like the look...
Title: Re: Arcadeflow theme v 2.1 [Release] Updated 21 August 2018
Post by: calle81 on August 22, 2018, 09:59:28 AM
The context menu is genius. Any chance you could make it into a module so that it could be used easily with other themes? The search function is amazing....
Title: Re: Arcadeflow theme v 2.1 [Release] Updated 21 August 2018
Post by: zpaolo11x on August 22, 2018, 10:34:37 AM
The context menu is genius. Any chance you could make it into a module so that it could be used easily with other themes? The search function is amazing....

Thank you! I got some feedback from a user who asked for more "joystick compliance", so I thought about the context menu :D Most of the cool features I added to the theme come from suggestions from the forum, which is great! And the search function, well that actually is the keyboard search module, but I had to bury it deep in the theme.

The context menu is pretty simple actually, just a picture that pops up and a custom routine in the on_signal function... I have no idea how to code modules, and most of all I fear it's too "intertwined" in the current layout :D (I'm a bad programmer, I know, my code is a mess)
Title: Re: Arcadeflow theme v 2.1 [Release] Updated 21 August 2018
Post by: calle81 on August 22, 2018, 03:35:41 PM
I "borrowed" your ambiance code for a new background option in the HyperPie 2 theme. Hope that is ok otherwise I'll remove it!

Anyway, do you know if it is possible to reduce the flickering when using video snaps?

https://www.youtube.com/watch?v=aeIaF-gl1jA&t=44s
Title: Re: Arcadeflow theme v 2.1 [Release] Updated 21 August 2018
Post by: zpaolo11x on August 22, 2018, 04:00:31 PM
I "borrowed" your ambiance code for a new background option in the HyperPie 2 theme. Hope that is ok otherwise I'll remove it!

No problem at all :) Are you using the GLSL shader or the "multiple scaling" code? In AM2.4 if you enable mipmap the latter will look definitely better.

Quote
Anyway, do you know if it is possible to reduce the flickering when using video snaps?

I don't think so, the flickering happens due to the downsampling of the image to a lower resolution. It might be better if the downsampling was smoother (maybe again enabling mipmap?). If I knew GLSL enough to write a shader that first downsamples the image with bilinear filtering and then apply the smoothing it would be much better
Title: Re: Arcadeflow theme v 2.1 [Release] Updated 21 August 2018
Post by: calle81 on August 23, 2018, 02:49:18 AM
Is it possible to change how much it down samples? Would like to get the effect Oomek has here https://youtu.be/XGQiUk5uwGw
Title: Re: Arcadeflow theme v 2.1 [Release] Updated 21 August 2018
Post by: zpaolo11x on August 23, 2018, 03:33:09 AM
Is it possible to change how much it down samples? Would like to get the effect Oomek has here https://youtu.be/XGQiUk5uwGw

Oomek shader is much better than mine, but if you paste the code you are using here I'll see what can be done. Essentially if you want a "less blurred" image you should change the size of the prescaled picture, and apply the same amount of blur...
Title: Re: Arcadeflow theme v 2.1 [Release] Updated 21 August 2018
Post by: calle81 on August 23, 2018, 03:50:28 AM
Thanks for taking the time to answer my questions. Really appreciate it :) I copy pasted the exact same values you have so it should be the same as in Arcade Flow:

I guess this is the size of the prescaled picture
local smallsize = 32
local blursize = 1/32.0

Is this where I set the amount of blur?

local shaderH1 = fe.add_shader( Shader.Fragment, "gauss_kernsigma.txt" )
shaderH1.set_texture_param( "source")
shaderH1.set_param("kernelZ", 11.0, 2.5)
shaderH1.set_param("offsetFactor", blursize, 0.0)
xsurf1.shader = shaderH1

local shaderV1 = fe.add_shader( Shader.Fragment, "gauss_kernsigma.txt" )
shaderV1.set_texture_param( "source")
shaderV1.set_param("kernelZ", 11.0, 2.5)
shaderV1.set_param("offsetFactor", 0.0, blursize)
xsurf2.shader = shaderV1
Title: Re: Arcadeflow theme v 2.1 [Release] Updated 21 August 2018
Post by: zpaolo11x on August 23, 2018, 05:01:00 AM
Thanks for taking the time to answer my questions. Really appreciate it :) I copy pasted the exact same values you have so it should be the same as in Arcade Flow:

I guess this is the size of the prescaled picture
local smallsize = 32
local blursize = 1/32.0

Is this where I set the amount of blur?

local shaderH1 = fe.add_shader( Shader.Fragment, "gauss_kernsigma.txt" )
shaderH1.set_texture_param( "source")
shaderH1.set_param("kernelZ", 11.0, 2.5)
shaderH1.set_param("offsetFactor", blursize, 0.0)
xsurf1.shader = shaderH1

local shaderV1 = fe.add_shader( Shader.Fragment, "gauss_kernsigma.txt" )
shaderV1.set_texture_param( "source")
shaderV1.set_param("kernelZ", 11.0, 2.5)
shaderV1.set_param("offsetFactor", 0.0, blursize)
xsurf2.shader = shaderV1

Ok, so *smallsize* is the size of the prescaled surface (I guess I could use a vertex shader to do this, but I'm not sure :D ), this is important because it resamples the image and the resampling is a bit harsh, so if you want more detail in the blurred image you can start enlarging this. Also if you add some mipmap=1 parameters to the surface and artworks it should look better.

Then you can modify the parameters in "kernelZ": the first one is the number of samples (pixels) used for the blur, the second one is the sigma of the gaussian blur. Larger sigma means smoother blur because the average is done on more pixels, but to avoid clipping you should always keep the number of samples roughly 4x sigma (and an even number).

Title: Re: Arcadeflow theme v 2.1 [Release] Updated 21 August 2018
Post by: calle81 on August 23, 2018, 05:41:33 AM
Ok, awsome!

Got this using this code:

https://youtu.be/z2D9kZcrtWQ

if ( my_config["enable_bg"] == "Ambiance"){
// Picture background definition
local bgpic_x = 0
local bgpic_y = 0
local bgpic_w = flw
local bgpic_h = flh
local bgpic_ar = 1
// Apply color theme
local   themeoverlaycolor = 255
local   themeoverlayalpha = 100
local   themetextcolor = 255
local   themeshadow = 50
local shadeval = 255
local satinrate = 0.9
/// Display construction (BACKGROUND) 
local shadeval = 255
local   snapbg1 = null
local   snapbg2 = null
local xsurf1 = null
local xsurf2 = null
local bg_surface = null
local whitebg = null
local smallsize = 2048
local blursize = 1/256.0
local BGBLURRED = null
// Blurred backdrop definition
local bgx = 0
local bgy = (flh-flw)/2
local bgw = flw

xsurf1 = fe.add_surface(smallsize,smallsize)

snapbg1 = xsurf1.add_artwork ("snap",-smallsize*1/6.0,-smallsize*1/6.0,smallsize*4/3.0,smallsize*4/3.0)
snapbg1.set_rgb (shadeval,shadeval,shadeval)
snapbg1.alpha = 255
snapbg1.mipmap = 1
snapbg1.trigger = Transition.EndNavigation
//snapbg1.video_flags = Vid.ImagesOnly
snapbg1.smooth = true
snapbg1.preserve_aspect_ratio = true
::videoSound <- Vid.NoAudio;
snapbg1.video_flags = videoSound;

snapbg2 = xsurf1.add_artwork ("snap",-smallsize*1/6.0,-smallsize*1/6.0,smallsize*4/3.0,smallsize*4/3.0)
snapbg2.set_rgb (shadeval,shadeval,shadeval)
snapbg2.alpha = 255
snapbg2.mipmap = 1
snapbg2.trigger = Transition.EndNavigation
//snapbg2.video_flags = Vid.ImagesOnly
snapbg2.smooth = true
snapbg2.preserve_aspect_ratio = true
::videoSound <- Vid.NoAudio;
snapbg2.video_flags = videoSound;

xsurf2 = fe.add_surface(smallsize,smallsize)

bg_surface = fe.add_surface(flw,flh)



local shaderH1 = fe.add_shader( Shader.Fragment, "gauss_kernsigma.txt" )
shaderH1.set_texture_param( "source")
shaderH1.set_param("kernelZ", 11.0, 2.5)
shaderH1.set_param("offsetFactor", blursize, 0.0)
xsurf1.shader = shaderH1

local shaderV1 = fe.add_shader( Shader.Fragment, "gauss_kernsigma.txt" )
shaderV1.set_texture_param( "source")
shaderV1.set_param("kernelZ", 11.0, 2.5)
shaderV1.set_param("offsetFactor", 0.0, blursize)
xsurf2.shader = shaderV1

xsurf2.visible = false
xsurf2 = bg_surface.add_clone(xsurf2)
xsurf2.visible = true

xsurf1.visible = false
xsurf1 = xsurf2.add_clone(xsurf1)
xsurf1.visible = true

xsurf2.set_pos(bgx,bgy,bgw,bgw)

local bgpicture = null



   bgpicture = bg_surface.add_image(BGBLURRED,0,0,flw,flh)
   bgpicture.visible = false
   bgpic_ar = (bgpicture.texture_width*1.0) / bgpicture.texture_height

   if (bgpic_ar >= flw/(flh*1.0)){
      bgpic_h = flh
      bgpic_w = bgpic_h * bgpic_ar
      bgpic_y = 0
      bgpic_x = - (bgpic_w - flw)*0.5
   }
   else {
      bgpic_w = flw
      bgpic_h = bgpic_w / bgpic_ar*1.0
      bgpic_y = - (bgpic_h - flh)*0.5
      bgpic_x = 0
   }
   bgpicture=bg_surface.add_image (BGBLURRED,bgpic_x,bgpic_y,bgpic_w,bgpic_h)
   bgpicture.visible=true




   whitebg = bg_surface.add_text("",0,0,flw,flh)
   whitebg.set_bg_rgb(themeoverlaycolor,themeoverlaycolor,themeoverlaycolor)
   whitebg.bg_alpha = themeoverlayalpha
}
Title: Re: Arcadeflow theme v 2.2 [Release] Updated 23 August 2018
Post by: calle81 on August 23, 2018, 05:44:21 AM
I still only understand fragments of the code however. :P

Thanks for the help!
Title: Re: Arcadeflow theme v 2.1 [Release] Updated 21 August 2018
Post by: zpaolo11x on August 23, 2018, 05:58:16 AM
Ok, awsome!

Got this using this code:

https://youtu.be/z2D9kZcrtWQ


Looks pretty cool, the only thing I notice is that you put

Code: [Select]
local smallsize = 2048
local blursize = 1/256.0

This means that your texture will be 2048 x 2048 elements, then for each of this pixels the shader will calculate the smoothed value based on pixels that are not adjacent, but about 7 pixels away. This is not an issue in itself, it can generate some artifacts but it's not your case. On the other hand you are calculating way more pixels then necessary and you should try smallsize = 256 which should provide similar results with a lighter calculation.
Title: Re: Arcadeflow theme v 2.2 [Release] Updated 23 August 2018
Post by: zpaolo11x on August 23, 2018, 05:59:02 AM
I still only understand fragments of the code however. :P

I have problems in understanding my code myself LOL :D

Anyway, AF2.2 is out! I love GLSL shaders :D
Title: Re: Arcadeflow theme v 2.2 [Release] Updated 23 August 2018
Post by: zpaolo11x on August 27, 2018, 02:15:55 AM
For the release of AF2.3 I have done a lot of tweaking of filters to improve performances. On my Mac the improvement is pretty good, on Windows I'm still trying to understand what sometimes slows down the system. Maybe GLSL shaders using OpenGL 1.2 are not suitable for recent cards?

Anyway I'm also playing with a new aesthetic, which will be optional of course, of adding a faded, pixellated game screen on the background. And it can be animated too. This is a bit outside the original spirit of this theme, but this screenshot looks so neat :D

Title: Re: Arcadeflow theme v 2.2 [Release] Updated 23 August 2018
Post by: calle81 on August 27, 2018, 10:51:21 AM
Wow, that looks really cool!
Title: Re: Arcadeflow theme v 2.2 [Release] Updated 23 August 2018
Post by: jedione on August 27, 2018, 06:18:53 PM
i think the pixalated, looks great for an option.
Title: Re: Arcadeflow theme v 2.2 [Release] Updated 23 August 2018
Post by: keilmillerjr on August 27, 2018, 07:57:22 PM
Great idea!
Title: Re: Arcadeflow theme v 2.2 [Release] Updated 23 August 2018
Post by: verion on August 28, 2018, 03:05:56 AM
pixelated bg looks really good
Title: Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
Post by: zpaolo11x on August 29, 2018, 07:48:40 AM
Just released Arcadeflow 2.3 with a lot of cosmetic improvements, see in the attachment how you can add glow around the thumbs or pixellated background. And also redesigned the options menu for more clarity...

Title: Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
Post by: crawlingpeter on August 29, 2018, 08:49:46 AM
I haven't had a chance to use this yet because my system isn't quite operational, but I had to post and say how awesome this looks! Can't wait to check it out!
Title: Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
Post by: keilmillerjr on August 29, 2018, 09:07:19 AM
Dayum!!! Looks great!
Title: Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
Post by: dukpoki on August 29, 2018, 05:18:14 PM
That glow is so sexy!   8)
Title: Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
Post by: zpaolo11x on August 31, 2018, 01:42:33 PM
Whops there was a mistake in the latest archive, an old shader for the glow that didn't enable alpha channel. Corrected in the first post, now the archive is up to date.
Title: Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
Post by: jedione on August 31, 2018, 06:09:07 PM
yaa this just got sweeter...i love the glow...thank you

their is one thing that i would like to change for my own view
and that would to bring up the two game rows a bit.

ill explor to see how i can do it,  if you have any quick help on wear to go in the script
that would be cool... thanx...

here is a pic of what i mean, just seems tight on the bottom and little dead space on top.

(http://i68.tinypic.com/18y812.png)

What do you think ?

after thought...your pics loo more even..  i think i might be missing som of the info to display?
Title: Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
Post by: jedione on August 31, 2018, 06:21:44 PM
also was wondering went through the opitions,  and did not see how to use the new pixel back ground?
maybe im blind to it....  help?

man it looks sharp!

Title: Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
Post by: zpaolo11x on September 01, 2018, 12:57:57 AM
ill explor to see how i can do it,  if you have any quick help on wear to go in the script
that would be cool... thanx...

I see, just find in the layout.nut this two lines:

Code: [Select]
local header_h = 200*scalerate
local footer_h = 100*scalerate

They define the height of the header and footer, then the size of the thumbs is calculated accordingly. Consider that internally the theme considers a vertical size of 1200, so 200 for the header, 900 for the thumbs, 100 for the footer. Everything is then scaled to your screen resolution. Play with those two numbers.

Quote
after thought...your pics loo more even..  i think i might be missing som of the info to display?

I think you are missing some information about the games: the title name for example looks like the rom name, while it should be longer (and broken into two lines, therefore more even). Also manufacturer and year data is missing, try rescan your library from attract mode menus...
Title: Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
Post by: zpaolo11x on September 01, 2018, 01:06:50 AM
also was wondering went through the opitions,  and did not see how to use the new pixel back ground?
maybe im blind to it.... 

The options is in the "BACKDROP" section: "Background snap" enables the pixelated snaps, "Animate background snaps" uses videos instead of static pictures. Let me know if it works

Title: Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
Post by: jedione on September 01, 2018, 04:29:22 AM
thanks,  working.....u rock...
Title: Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
Post by: tekn0 on September 09, 2018, 07:06:44 AM
This looks so cool! Nice work!
Title: Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
Post by: keilmillerjr on September 16, 2018, 01:19:47 PM
I tried the theme on my mac. Only artwork displayed is wheel. I assume it would play my snap artwork for the thumbnail. Am I doing something wrong?
Title: Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
Post by: zpaolo11x on September 16, 2018, 10:07:38 PM
I tried the theme on my mac. Only artwork displayed is wheel. I assume it would play my snap artwork for the thumbnail. Am I doing something wrong?

The theme expects to have static screenshots and videos in the same category called "snap", I think this was the default settings in the "mame" emulator for Attract Mode. You don't see the artwork at all? What Mac are you running on? Also try disabling "gradient" on thumbnails and let me know if it changes anything
Title: Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
Post by: keilmillerjr on September 17, 2018, 02:14:27 AM
I tried the theme on my mac. Only artwork displayed is wheel. I assume it would play my snap artwork for the thumbnail. Am I doing something wrong?

The theme expects to have static screenshots and videos in the same category called "snap", I think this was the default settings in the "mame" emulator for Attract Mode. You don't see the artwork at all? What Mac are you running on? Also try disabling "gradient" on thumbnails and let me know if it changes anything

I have snaps and videosnaps paths both under the “snap” artwork for mame. What I’m seeing is similar to what some one else said they had seen in the beginning of this thread. I’m not sure if they resolved it.
Title: Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
Post by: zpaolo11x on September 17, 2018, 02:28:35 AM
I have snaps and videosnaps paths both under the “snap” artwork for mame. What I’m seeing is similar to what some one else said they had seen in the beginning of this thread. I’m not sure if they resolved it.

That issue at the beginning of the thread I think was due to use of the theme on a rPi (not suited because of the huge number of surfaces) or the lack of static snaps. In your case it's different, for example the artwork for wheels looks good. I see your mac has a discrete graphics card, maybe there's an issue with the shaders, could you run attract mode from terminal and see if any error message appears?

Title: Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
Post by: keilmillerjr on September 17, 2018, 02:35:09 AM
I always run from terminal. No errors.
Title: Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
Post by: zpaolo11x on September 17, 2018, 02:38:49 AM
I always run from terminal. No errors.

This is very strange :/ since you are using AF 2.3, can you try using the layout_noshader.nut instead? You should at least see snaps on thumbnails.
Title: Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
Post by: keilmillerjr on September 17, 2018, 05:43:11 AM
I always run from terminal. No errors.

This is very strange :/ since you are using AF 2.3, can you try using the layout_noshader.nut instead? You should at least see snaps on thumbnails.

Will try that tonight. Thank you.
Title: Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
Post by: zpaolo11x on September 17, 2018, 05:55:14 AM
Will try that tonight. Thank you.

Just to be sure, since from the screenshots it really looks like the artwork is completely missing, are you sure your category is called "snap" and not "Snap" or "snaps" or any other spelling? :D I'm really puzzled
Title: Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
Post by: keilmillerjr on September 17, 2018, 02:09:14 PM
Will try that tonight. Thank you.

Just to be sure, since from the screenshots it really looks like the artwork is completely missing, are you sure your category is called "snap" and not "Snap" or "snaps" or any other spelling? :D I'm really puzzled

artwork is indeed labeled “snap”.

I renamed layout.nut to layout_shader.nut, and duplicated layout_noshader.nut to layout.nut. Video snap is shown! Snap images however do not.
Title: Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
Post by: zpaolo11x on September 17, 2018, 10:34:29 PM
I renamed layout.nut to layout_shader.nut, and duplicated layout_noshader.nut to layout.nut. Video snap is shown! Snap images however do not.

Ok, I found why video snaps were not showing: I spelled "yes" instead of "Yes" in the default option. This was easy. The hard part is the snaps issue, I'm still struggling to see the reason, maybe a lack of video memory? I'll do some tests in my emulated environment to see if texture memory can affect this...
Title: Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
Post by: Luke_Nukem on September 17, 2018, 11:28:24 PM
Would love a setting to permanently set the rotation. Can't figure out how to get AM to save it.
Title: Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
Post by: zpaolo11x on September 18, 2018, 01:08:29 AM
artwork is indeed labeled “snap”.

I checked with a virtual machine and even with 256 Mb of VRAM I could see textures , so that's not the issue. Can you check what kind of files you have in the snaps folder? Resolution, file type etc.
Title: Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
Post by: keilmillerjr on September 18, 2018, 05:11:45 PM
artwork is indeed labeled “snap”.

I checked with a virtual machine and even with 256 Mb of VRAM I could see textures , so that's not the issue. Can you check what kind of files you have in the snaps folder? Resolution, file type etc.

MAME 0.200 EXTRAs/snap
AntoPISA's progetto-SNAPS MAME Snapshots
Pulled from complete set neogeo, vs unisystem, and nofiller2p
Average file size of snap directory 22879.6 bytes using
Code: [Select]
$ find ./ -ls | awk '{sum += $7; n++;} END {print sum/n;}'All images are PNG format
All image dimensions correlate to their games native resolution, mostly 320x224, 320x240, or some other 240p variation.
Title: Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
Post by: zpaolo11x on September 21, 2018, 12:00:07 AM
All image dimensions correlate to their games native resolution, mostly 320x224, 320x240, or some other 240p variation.

Ok, AF expects the aspect ratio of snaps to be 4:3 or 3:4, I'll change it in a future release probably and yet I don't think this is going to be an issue... I know it's a lot of trouble but you could try downloading the previous versions of AF from my github and see if older versions work with your setup. https://github.com/zpaolo11x/Arcadeflow-AM-Theme/releases

Title: Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
Post by: zpaolo11x on September 21, 2018, 12:01:41 AM
Would love a setting to permanently set the rotation. Can't figure out how to get AM to save it.

I have no idea how to do it in AttractMode. My theme detects the screen orientation and changes accordingly, and you can then rotate the screen with the hotkeys. You have a cocktail cabinet?
Title: Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
Post by: grendyzer on September 21, 2018, 03:14:32 AM
thanks, good color, good theme, il like.
Title: Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
Post by: zpaolo11x on September 22, 2018, 06:15:15 AM
I have snaps and videosnaps paths both under the “snap” artwork for mame.

I've been able to replicate the issue: it seems my theme has issues if I link to the original snaps with no aspect ratio correction. Strange, investigating
Title: Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
Post by: zpaolo11x on September 27, 2018, 07:35:38 AM
Version 2.4 is out, and now it adapts the aspect ratio of thumbs automatically. This was a huge rewrite in many aspects (backgrounds etc) so if you see anything strange please let me know.

Also added CRT filters to the game preview in the history page!

Title: Re: Arcadeflow theme v 2.4 [Release] Updated 27 September 2018
Post by: verion on September 27, 2018, 08:13:19 AM
Cool theme. I'm using it on my computer.
Title: Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
Post by: Luke_Nukem on September 27, 2018, 04:40:32 PM
Would love a setting to permanently set the rotation. Can't figure out how to get AM to save it.

I have no idea how to do it in AttractMode. My theme detects the screen orientation and changes accordingly, and you can then rotate the screen with the hotkeys. You have a cocktail cabinet?

Something like this:

Code: [Select]
class UserConfig {
</ label="Screen Rotate", help="Swap X/Y dimensions for rotated screens",
options="Yes,No" />
rotated="No";
}

local layoutSettings = fe.get_config();

switch (layoutSettings["rotated"]){
case "No":
        fe.layout.width = ScreenWidth;
        fe.layout.height = ScreenHeight;
        fe.layout.orient = RotateScreen.None;
        break;
case "Yes" :
        fe.layout.width = ScreenHeight;
        fe.layout.height = ScreenWidth;
    fe.layout.orient = RotateScreen.Right;
        break;
};

How do I exit from the game history view? If I press excape while showing history, I get the Attract exit screen behind the history.
Title: Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
Post by: zpaolo11x on September 27, 2018, 10:03:02 PM

Something like this:


Oh ok, actually what I meant was I don't know if AM has a setting for starting with a rotation, or just hotkeys. I'll implement the rotation in the next version.

Quote
How do I exit from the game history view? If I press excape while showing history, I get the Attract exit screen behind the history.

This is strange, if you press the escape key it should exit the history screen and go back to the main UI. Are you on 2.4 or some nightly build? I'll double check on Windows (AF 2.4 was tested on a Mac only) and see what's the issue.

[EDIT] Do you have the history plugin enabled? I think it might clash with the history implementation of AF
Title: Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
Post by: zpaolo11x on September 27, 2018, 10:04:19 PM
I have snaps and videosnaps paths both under the “snap” artwork for mame.

I've been able to replicate the issue: it seems my theme has issues if I link to the original snaps with no aspect ratio correction. Strange, investigating

I was mistaken: the reason why I replicated the issue is because I changed the snaps folder and it looked exactly like your screenshots. Could you try with Arcadeflow 2.4 if the issue is still there?
Title: Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
Post by: zpaolo11x on September 28, 2018, 05:29:55 AM
Would love a setting to permanently set the rotation. Can't figure out how to get AM to save it.

Arcadeflow 2.5 is out (just one day after 2.4 LOL) because I wanted to implement this feature! Test it and let me if it works as you expected!
Title: Re: Arcadeflow theme v 2.6 [Release] Updated 2 October 2018
Post by: zpaolo11x on October 02, 2018, 07:38:36 AM
Arcadeflow 2.6 is out with a new "frosted glass" menu background!

Enjoy and report any bugs!
Title: Re: Arcadeflow theme v 2.6 [Release] Updated 2 October 2018
Post by: Luke_Nukem on October 02, 2018, 03:25:42 PM
Another release! You're a machine!
Title: Re: Arcadeflow theme v 2.6 [Release] Updated 2 October 2018
Post by: zpaolo11x on October 02, 2018, 10:39:20 PM
Another release! You're a machine!

LOL actually this should've been release 2.5, but I had the rotation option ready and I thought I was not going to fix frosted glass so soon... maybe I should use "minor" release numbers :D
Title: Re: Arcadeflow theme v 2.7 [Release] Updated 11 October 2018
Post by: zpaolo11x on October 11, 2018, 05:17:48 AM
Updated to 2.7 but it seems I'm unable to upload the archive... You can download it from github: https://github.com/zpaolo11x/Arcadeflow-AM-Theme/releases (https://github.com/zpaolo11x/Arcadeflow-AM-Theme/releases)

UPDATE: I was able to upload the correct file in the first post

Main new feature of this version: you can define a custom resolution independent from your screen resolution. Good for testing purposes or if for whatever reason you need a different aspect ratio. In the picture a 4:3 layout on a 16:10 screen (with black pillars)
Title: Re: Arcadeflow theme v 2.8 [Release] Updated 19 October 2018
Post by: zpaolo11x on October 19, 2018, 05:11:52 AM
Updated to 2.8, I promise I'll slow down now :D I just wanted to release the new and improved cross-fade method so the background will "jump" less abruptly when you are changing game while the cross-fade is still going on.

Enjoy and report bugs or issues!
Title: Re: Arcadeflow theme v 2.8 [Release] Updated 19 October 2018
Post by: dukpoki on October 19, 2018, 11:03:30 PM
It's very impressive how much work and updates you put into this theme but bro, how about a new original theme next?  Pretty please?   ;)  Seriously, you have amazing talent and I personally feel that it's a shame that you aren't making more varied themes!
Title: Re: Arcadeflow theme v 2.8 [Release] Updated 19 October 2018
Post by: zpaolo11x on October 20, 2018, 01:06:52 AM
It's very impressive how much work and updates you put into this theme but bro, how about a new original theme next?  Pretty please?   ;) 

Aha thank you, actually I think Arcadeflow reached a point where only incremental updates are going to happen, so yes I'm thinking of a couple different concept for themes.

One is an old idea I had, of a row of arcade cabinets with all the games running together, and as in a real arcade you can hear the sound from the selected game, and lower volume sounds from the other games. This is not possible to do in current AM sadly because you can't change individual volumes of videos.

The other idea (which could be mixed with the former) is a dual layer parallax scrolling "carrier" with a row of thumbnails on the first layer and a row of larger images as the background layer. I have to modify Oomek carrier though because as it is you can't just put two carriers one on top of the other :D
Title: Re: Arcadeflow theme v 2.8 [Release] Updated 19 October 2018
Post by: verion on October 20, 2018, 02:48:07 AM
Not sure if it count as a bug... because I'm using AM 2.2 (mac) :D
But 2.7 and 2.8 crashes AM (on mac).
It was ok with 1.8

Code: [Select]
libc++abi.dylib: terminating with uncaught exception of type std::logic_error: basic_string::_S_construct NULL not valid
/Applications/OnyxArcade.app/Contents/MacOS/launch.sh: line 3:  1159 Abort trap: 6           ./attract

I'll let you know iwhen I update AM (next week hopefully) if it fixes the problem.
Title: Re: Arcadeflow theme v 2.8 [Release] Updated 19 October 2018
Post by: zpaolo11x on October 20, 2018, 09:42:42 AM
Not sure if it count as a bug... because I'm using AM 2.2 (mac) :D
But 2.7 and 2.8 crashes AM (on mac).

I'm almost sure you can have issues with the new versions on AM 2.2, it was tested on AM 2.3 up to Arcadeflow 2.5 (more or less), but now I can't test it on 2.3 anymore, and I remember I had issues in the past on AM 2.2.

Quote
I'll let you know iwhen I update AM (next week hopefully) if it fixes the problem.

I'm developing my theme on a Mac with AM 2.4.1 so everything should be fine, at least I hope...
Title: Re: Arcadeflow theme v 2.8 [Release] Updated 19 October 2018
Post by: verion on October 21, 2018, 02:06:21 AM
Just like I thought... it must be my ancient AM version, not mac thing.
I'll report the success after I upgrade AM :D
Title: Re: Arcadeflow theme v 2.8 [Release] Updated 19 October 2018
Post by: zpaolo11x on November 28, 2018, 06:47:05 AM
Huge redesign coming in AF 2.9 (or should I step directly to 3.0? :D ), here is a sneak peek:

- Pixel art category icons
- Brand logos
- Smooth drop shadow under every UI text
- New streamlined logo and smooth background when loading

I cant't wait to iron out some bugs and release it :D


Title: Re: Arcadeflow theme v 2.8 [Release] Updated 19 October 2018
Post by: calle81 on November 28, 2018, 07:12:23 AM
Hell yeah! The new icons look super cool :)
Title: Re: Arcadeflow theme v 2.8 [Release] Updated 19 October 2018
Post by: Giacomo1982 on November 29, 2018, 11:02:18 AM
Now it's gonna be better than before! I really like your " genre icons"! Excellent work Paolo!
Title: Re: Arcadeflow theme v 2.8 [Release] Updated 19 October 2018
Post by: keilmillerjr on November 29, 2018, 03:13:29 PM
Looks great!
Title: Re: Arcadeflow theme v 2.8 [Release] Updated 19 October 2018
Post by: zpaolo11x on December 02, 2018, 08:17:53 AM
Released version 2.9 with all new main screen :)
Title: Re: Arcadeflow theme v 2.9 [Release] Updated 2 December 2018
Post by: Giacomo1982 on December 03, 2018, 04:35:14 AM
On github the last version is 2.8
Title: Re: Arcadeflow theme v 2.9 [Release] Updated 2 December 2018
Post by: zpaolo11x on December 03, 2018, 05:03:09 AM
On github the last version is 2.8

I know, I still have to update that with all the artworks, but you can get 2.9 from the first post of this thread. I’ll uodate github asap
Title: Re: Arcadeflow theme v 2.9 [Release] Updated 2 December 2018
Post by: gunthermic on December 08, 2018, 03:10:10 AM
On github the last version is 2.8

I know, I still have to update that with all the artworks, but you can get 2.9 from the first post of this thread. I’ll uodate github asap

I keep looking at first post and dont see,. I see link to github which is still 2.8.. I see no link on first pot to download 2.9??

Edit: Never-mind found it scrolling line by line. It's hidden between two images. Maybe sir, move it to bottom of post or to top? very, very hard to see it sir.
Title: Re: Arcadeflow theme v 2.9 [Release] Updated 2 December 2018
Post by: zpaolo11x on December 08, 2018, 03:17:16 AM
Edit: Never-mind found it scrolling line by line. It's hidden between two images. Maybe sir, move it to bottom of post or to top? very, very hard to see it sir.

I was just going to point that out, I'm sad it's a bit hidden but I don't know how to move it on top or bottom without having to change the other uploads. I'll see if I can fix it, sorry for the inconvenience.. Ok, fixed, the link is now at the bottom
Title: Re: Arcadeflow theme v 2.9 [Release] Updated 2 December 2018
Post by: keilmillerjr on December 08, 2018, 10:32:45 PM
Hi Zpaolo11x! I am happy to say that I have arcade flow up and running on my mac without any issues! It even works nicely with the sequencer plugin. Cant wait to put it on the arcade machine. The only error I get is the following:

Code: [Select]
Uniform "maincolor" not found in shader
Title: Re: Arcadeflow theme v 2.9 [Release] Updated 2 December 2018
Post by: zpaolo11x on December 09, 2018, 12:27:59 AM
The only error I get is the following:

Code: [Select]
Uniform "maincolor" not found in shader

Good to know that it's working now! That message is a leftover of an alpha blending correction shader that is actually not used anymore, I forgot to remove the creation of the shader. It's not a real issue, I'll fix it in the next release.
Title: Re: Arcadeflow theme v 3.0 [Release] Updated 12 December 2018
Post by: zpaolo11x on December 12, 2018, 07:14:32 AM
Version 3.0 is out with lots of bug fixes and smoother fading effects. Enjoy!
Title: Re: Arcadeflow theme v 3.0 [Release] Updated 12 December 2018
Post by: FrizzleFried on December 20, 2018, 03:25:25 PM
Version 2.8 works for me ...

Version 2.9 I was unable to get before it was taken offline (still looking).

Version 3.0 crashes to the basic layout for me.
Title: Re: Arcadeflow theme v 3.0 [Release] Updated 12 December 2018
Post by: zpaolo11x on December 20, 2018, 09:36:21 PM
Version 2.8 works for me ...

Version 2.9 I was unable to get before it was taken offline (still looking).

Version 3.0 crashes to the basic layout for me.

Can you share the console log when 3.0 crashes? You can get 2.9 from github, the link is in the first post. I know 3.0 has a bug when a game has no category data, I re-uploaded it here so if you want you can try re-downloading it for a check.
Title: Re: Arcadeflow theme v 3.0 [Release] Updated 12 December 2018
Post by: zpaolo11x on December 20, 2018, 09:40:17 PM
Also be aware that 2.9 is designed for AM 2.4 and above, what version are you using?
Title: Re: Arcadeflow theme v 3.0 [Release] Updated 12 December 2018
Post by: FrizzleFried on December 21, 2018, 06:45:24 AM
Version 2.8 works for me ...

Version 2.9 I was unable to get before it was taken offline (still looking).

Version 3.0 crashes to the basic layout for me.

Can you share the console log when 3.0 crashes? You can get 2.9 from github, the link is in the first post. I know 3.0 has a bug when a game has no category data, I re-uploaded it here so if you want you can try re-downloading it for a check.

Will do...

EDIT: I just tried the newly uploaded ZIP (I assume...it's the file on original post) and it too does not work for me.  Stupid question... how do I generate a console log?
Title: Re: Arcadeflow theme v 3.0 [Release] Updated 12 December 2018
Post by: zpaolo11x on December 26, 2018, 04:07:08 AM
Just updated to v3.1, with new icons and many bug fixes
Title: Re: Arcadeflow theme v 3.0 [Release] Updated 12 December 2018
Post by: zpaolo11x on December 26, 2018, 04:10:52 AM

EDIT: I just tried the newly uploaded ZIP (I assume...it's the file on original post) and it too does not work for me.  Stupid question... how do I generate a console log?

If you are on windows there’s a attract-console.ece executable you can launch to get the console output, on Linux or Mac OS just launch from the shell. I think the most important thing to know is the version of AM you are using, is it 2.4+?
Title: Re: Arcadeflow theme v 3.0 [Release] Updated 12 December 2018
Post by: FrizzleFried on December 26, 2018, 07:49:28 AM
Actually... its. 2.3... let me update attract mode when I have a little time and then give it another try.  I'm testing using my windows box.
Title: Re: Arcadeflow theme v 3.1 [Release] Updated 26 December 2018
Post by: keilmillerjr on December 26, 2018, 04:37:35 PM
Error occurs, with a screenshot, and sometimes arcade flow utility menu pops up - when Up is held.

Code: [Select]
Keils-iMac:MacOS keiljr$ /Applications/Attract.app/Contents/MacOS/launch.sh
Attract-Mode v2.5.1 (OSX, SFML 2.4.2 +SWF +Curl)
avcodec 58.35.100 / avformat 58.20.100 / swscale 5.3.100 / avutil 56.22.100 / swresample 3.3.100

Config: /Users/keiljr/.attract/attract.cfg

*** Initializing display: 'Arcade'
 - Loaded master romlist 'mame' in 7 ms (583 entries kept, 114 discarded)
 - Constructed 10 filters in 1 ms (5830 comparisons)
 ! Unexpectedly lost focus to: Unknown
 - Loaded layout: /Users/keiljr/.attract/layouts/Arcadeflow_31/ (layout.nut)
 ! Unexpectedly lost focus to: Unknown

AN ERROR HAS OCCURED [rename() failed]

CALLSTACK
*FUNCTION [tick2()] /Users/keiljr/.attract/layouts/Arcadeflow_31/layout.nut line [2948]

LOCALS
[grabdither] 0
[frost_surface] INSTANCE
[grabticker] 0
[grabpath0] "/Users/keiljr/.attract/screen1.png"
[grabpath] "/Users/keiljr/.attract/grab1.png"
[frost_pic] INSTANCE
[rotate90] false
[immediatesignal] false
[grabsignal] "up"
[overmenu] INSTANCE
[overmenuflow] 0
[surfacePos] 254.32191467285
[globalposnew] 1143.4403076172
[selectorwidth] 864
[overmenuwidth] 777.59997558594
[flowspeed] 25
[historyflow] 0
[history_surface] INSTANCE
[fg_surface] INSTANCE
[data_surface] INSTANCE
[data_surface_sh] INSTANCE
[themeshadow] 70
[overlay_listbox] INSTANCE
[hist_title] INSTANCE
[hist_screen] INSTANCE
[noshader] INSTANCE
[logoshow] 0
[aflogo_surface] INSTANCE
[prf] TABLE
[tick_time] 12424
[this] TABLE
Script Error in tick function: tick2 - rename() failed
 ! Unexpectedly lost focus to: Unknown

Code: [Select]
input_map
custom1              R
custom2              F
select               Return
select               LControl
back                 Escape
down                 Down
up                   Up
configure            Tab
add_favourite        LAlt
next_filter          Space
next_display         LShift
intro                Num5
left                 Left
right                Right
default             back exit
default             up prev_game
default             down next_game
default             left prev_game
default             right next_game

One suggestion: some text is too small at 640x480 and smaller resolutions. Perhaps increasing size, or having option to remove some of these tiny elements? I only tested in windowed borderless mode on my mac. Gives an ok but not perfect idea of what it will look like on my arcade machine or pi with 15khz crt’s.
Title: Re: Arcadeflow theme v 3.1 [Release] Updated 26 December 2018
Post by: zpaolo11x on December 26, 2018, 11:41:42 PM
Error occurs, with a screenshot, and sometimes arcade flow utility menu pops up - when Up is held.

I was able to replicate the issue, it is related to the "frosted glass" effect and happens when there are no screenshots in the .attract folder. I'll fix it in the next release, meanwhile you can try two workarounds:

- disable "frosted glass" effect from the theme options

- take a couple of screenshots so that you get at least a screen1.png image in your .attract folder, that should do the trick

Quote
One suggestion: some text is too small at 640x480 and smaller resolutions. Perhaps increasing size, or having option to remove some of these tiny elements? I only tested in windowed borderless mode on my mac. Gives an ok but not perfect idea of what it will look like on my arcade machine or pi with 15khz crt’s.

This is a good point, I'm thinking of some ways to adapt the theme better to low resolutions. One is, as you said, to enlarge the smaller items (main category text, counters on the scroller), the other would be to switch to a 1-row layout for the smaller resolutions so there's more room for text and thumbs are larger, but I got some issues with that.
Title: Re: Arcadeflow theme v 3.1 [Release] Updated 26 December 2018
Post by: zpaolo11x on December 26, 2018, 11:49:53 PM
I only tested in windowed borderless mode on my mac. Gives an ok but not perfect idea of what it will look like on my arcade machine or pi with 15khz crt’s.

You know you can also set a custom lower resolution in the layout options to better simulate lower res?
Title: Re: Arcadeflow theme v 3.1 [Release] Updated 26 December 2018
Post by: zpaolo11x on December 30, 2018, 03:22:00 PM

One suggestion: some text is too small at 640x480 and smaller resolutions.

What do you think, is this better? I enlarged some of the smaller elements...
Title: Re: Arcadeflow theme v 3.1 [Release] Updated 26 December 2018
Post by: keilmillerjr on December 30, 2018, 03:35:07 PM
If there’s anything you want me to test tonight on my pi to crt at 640x480 or 320x240, email me a copy and I’ll return image with my phone. keilmillerjr@me.com
Title: Re: Arcadeflow theme v 3.1 [Release] Updated 26 December 2018
Post by: darkand on January 01, 2019, 09:23:36 AM
https://imgur.com/VMrx4ti


How do I set it up to be correct?
Title: Re: Arcadeflow theme v 3.1 [Release] Updated 26 December 2018
Post by: zpaolo11x on January 01, 2019, 01:29:53 PM
https://imgur.com/VMrx4ti


How do I set it up to be correct?

It seems that the romlist is not correctly created, you have to go in the AM menu, emulators, mame, generate collection/romlist. This should add all the missing data to the theme. Then consider that Arcadeflow can't work with video snaps only, it also needs "static" snapshot artwork...
Title: Re: Arcadeflow theme v 3.1 [Release] Updated 26 December 2018
Post by: tjhooker on January 02, 2019, 11:51:30 AM
I think this layout looks gorgeous, would it be possible to make a version that allows you to have one row.
Title: Re: Arcadeflow theme v 3.1 [Release] Updated 26 December 2018
Post by: zpaolo11x on January 02, 2019, 03:04:47 PM
I think this layout looks gorgeous, would it be possible to make a version that allows you to have one row.

It should be easy since the number of rows is just a parameter, but for some reason when I enable a single row the thumbs are not centered correctly. I’ll try to find the issue and implement single row in a future release
Title: Re: Arcadeflow theme v 3.1 [Release] Updated 26 December 2018
Post by: tjhooker on January 02, 2019, 03:45:57 PM
That would be great, thanks
Title: Re: Arcadeflow theme v 3.1 [Release] Updated 26 December 2018
Post by: zpaolo11x on January 05, 2019, 01:45:47 AM
That would be great, thanks

Sneak peek, coming to 3.2 soon :)
Title: Re: Arcadeflow theme v 3.2 [Release] Updated 5 January 2018
Post by: zpaolo11x on January 05, 2019, 06:59:53 AM
Version 3.2 is out! Optimization in the drop shadow routine and new 1-row layout :)
Title: Re: Arcadeflow theme v 3.2 [Release] Updated 5 January 2018
Post by: keilmillerjr on January 05, 2019, 09:59:56 AM
New ROWSxCOLUMNS is awesome option!

Does weird stuff with snapshots.

Sending next_game and previous_game signals set in my attract.cfg in single row format causes it to jump two games.
Title: Re: Arcadeflow theme v 3.2 [Release] Updated 5 January 2018
Post by: tjhooker on January 05, 2019, 09:37:02 PM
Version 3.2 is out! Optimization in the drop shadow routine and new 1-row layout :)

Thank you, it looks great  :)
Title: Re: Arcadeflow theme v 3.2 [Release] Updated 5 January 2018
Post by: zpaolo11x on January 06, 2019, 01:25:25 AM
Does weird stuff with snapshots.

Hmm can you elaborate? AF does some tricks using snapshots, namely every time you enter a menu AF takes a snapshot and rename it to use it for the frosted glass effect, once you exit it should delete all the renamed snapshots so it doesn't interfere with the usual snapshot count. I tested it on Win and Mac OS, hopefully it works also on Linux...

Quote
Sending next_game and previous_game signals set in my attract.cfg in single row format causes it to jump two games.

1-row is almost an hack right now, I already found a bug (the overlay menu is not aligned correctly) which is going to be fixed ASAP. Actually the theme has never responded very well to “next_game” and “prev_game” signals because it hijacks them to its own purposes. I’ll look into it anyway :)

[EDIT] I found that for some reason my theme sends fe.list.index ++ when it gets a "next_game" signal, thus the double step. I don't remember why that signal catch was in place (poor me, this theme is way too complex now :D ) but it seems I can strip that signal response and everything is working fine...

[EDIT 2] It was a "return true" missing, fixed and going to be released in 3.3
Title: Re: Arcadeflow theme v 3.2 [Release] Updated 5 January 2018
Post by: zpaolo11x on January 06, 2019, 01:32:23 AM
Version 3.2 is out! Optimization in the drop shadow routine and new 1-row layout :)

Thank you, it looks great  :)

Thank you, I'm sorry 3.2 is a bit bug-ridden, I'll try to fix everything ASAP and release 3.3 this evening (Italian time :D )
Title: Re: Arcadeflow theme v 3.3 [Release] Updated 6 January 2018
Post by: zpaolo11x on January 06, 2019, 10:27:53 AM
3.3 is out, hopefully it has less bugs than 3.2 :D
Title: Re: Arcadeflow theme v 3.3 [Release] Updated 6 January 2018
Post by: tjhooker on January 08, 2019, 11:06:35 AM
3.3 is out, hopefully it has less bugs than 3.2 :D

Not sure if I'm doing something wrong but now whenever I press left or right to change to the next game it skips a full page ie 3 games on 1 row, 10 games on 2 rows and 21 games in 3 rows
Title: Re: Arcadeflow theme v 3.3 [Release] Updated 6 January 2018
Post by: zpaolo11x on January 08, 2019, 11:21:12 AM
Not sure if I'm doing something wrong but now whenever I press left or right to change to the next game it skips a full page ie 3 games on 1 row, 10 games on 2 rows and 21 games in 3 rows

How are controls mapped in your AM?
Title: Re: Arcadeflow theme v 3.3 [Release] Updated 6 January 2018
Post by: tjhooker on January 08, 2019, 11:58:11 AM
Not sure if I'm doing something wrong but now whenever I press left or right to change to the next game it skips a full page ie 3 games on 1 row, 10 games on 2 rows and 21 games in 3 rows

How are controls mapped in your AM?

Thanks, problem solved - left and right were set as prev page and next page. Strange it worked fine in 3.2 but not to worry its fine now
Title: Re: Arcadeflow theme v 3.3 [Release] Updated 6 January 2018
Post by: zpaolo11x on January 08, 2019, 10:22:02 PM
Thanks, problem solved - left and right were set as prev page and next page. Strange it worked fine in 3.2 but not to worry its fine now

In 3.2 there was no response routine for next_page calls, and response to next_game had a bug, therefore probably after processing the "left" and "right" signal nothing more happened. AF 3.3 has corrected this and processes next_page and next_game correctly, but if you map those on left and right of course it won't work correctly.
Title: Re: Arcadeflow theme v 3.3 [Release] Updated 6 January 2018
Post by: zpaolo11x on January 25, 2019, 05:40:30 AM
Sneak peek of some effects I'm coding for 3.4...

- The glow behind the thumbnails get its colors from the actual thumbnail (still not working for animated thumbs, but soon...)
- In the history page there's a large CRT-like glow around the animated screenshot (sorry for the wild moiree effect, I'll see if I can reduce it :D ).
- The flat shaded area behind the game title on the thumbnail is not an average of the thumb colors but the actual thumbnail smoothed heavily.

I have to iron out some quirks before relasing it
Title: Re: Arcadeflow theme v 3.3 [Release] Updated 6 January 2018
Post by: FrizzleFried on January 25, 2019, 06:48:54 AM
I'm digging this layout thus far... tons of options... lots to learn from... awesome!
Title: Re: Arcadeflow theme v 3.4 [Release] Updated 31 January 2018
Post by: zpaolo11x on January 31, 2019, 10:32:00 AM
Updated to 3.4, enjoy and report bugs!
Title: Re: Arcadeflow theme v 3.4 [Release] Updated 31 January 2018
Post by: calle81 on January 31, 2019, 11:45:35 AM
u
Updated to 3.4, enjoy and report bugs!

Where I can i download it? It's not available on github :)
Title: Re: Arcadeflow theme v 3.4 [Release] Updated 31 January 2018
Post by: zpaolo11x on January 31, 2019, 12:02:58 PM
u
Updated to 3.4, enjoy and report bugs!

Where I can i download it? It's not available on github :)

It’s in the first post, between the two images. On github tomorrow
Title: Re: Arcadeflow theme v 3.4 [Release] Updated 31 January 2018
Post by: calle81 on February 01, 2019, 06:26:32 AM
Thanks, unfortunately AM freeze when I try to enter a display using this theme. Really weird. I have to go into task manager in order to shutdown AM.

I'd really like to learn how to use the sub menu. It would be awesome to be able to add this to more themes. :P
Title: Re: Arcadeflow theme v 3.4 [Release] Updated 31 January 2018
Post by: zpaolo11x on February 01, 2019, 01:17:10 PM
Thanks, unfortunately AM freeze when I try to enter a display using this theme. Really weird. I have to go into task manager in order to shutdown AM.

You mean this latest version freezes or even older versions? What revision of Attract Mode are you using? And do you have a console log or it just hangs? That's really strange :(
Title: Re: Arcadeflow theme v 3.4 [Release] Updated 31 January 2018
Post by: calle81 on February 01, 2019, 02:00:01 PM
I'm running the latest version from the daily build. And yeah I can't get to the console when i freezes. If it's only I that have the problem it must be something on my end.

Title: Re: Arcadeflow theme v 3.4 [Release] Updated 31 January 2018
Post by: zpaolo11x on February 01, 2019, 02:08:39 PM
I'm running the latest version from the daily build.

I meant if earlier versions of Arcadeflow were working, because the latest one has many changes and maybe some issue I didn't catch on my test systems.
Title: Re: Arcadeflow theme v 3.4 [Release] Updated 31 January 2018
Post by: zpaolo11x on February 03, 2019, 03:42:10 AM
I've put together a simple website to gather old versions of my theme, together with some screenshots. I'll update it from time to time and hopefully one day I'll had a true "vademecum" to explain all the features and options of the current revision :D

http://www.mixandmatch.it/AF
Title: Re: Arcadeflow theme v 3.4 [Release] Updated 31 January 2018
Post by: SFNMutt on February 06, 2019, 08:21:21 AM
the new version added the context menu to game select which means you have to select the game & then select it again.  I'm setting up my system for a 6yr old so I'd like to simplify things.  is there any way for me to disable this so selecting a game goes straight to the game and the context menu back to being a custom button?

thanks, love the theme by the way
Title: Re: Arcadeflow theme v 3.4 [Release] Updated 31 January 2018
Post by: zpaolo11x on February 06, 2019, 08:48:57 AM
I'm setting up my system for a 6yr old so I'd like to simplify things.  is there any way for me to disable this so selecting a game goes straight to the game and the context menu back to being a custom button?

It's so ironic that I changed the way it worked to make things simpler :D Disabling the new way is not straightforward, but if you can wait a bit I'll add it as an option in the next revision. Meanwhile you can get the previous version from the archive.
Title: Re: Arcadeflow theme v 3.4 [Release] Updated 31 January 2018
Post by: SFNMutt on February 06, 2019, 09:06:47 AM
WOW!  that was really quick.  I still have the older theme installed so I can totally use that. thank you!

by the way, the older version I was using is actually much older.  when I bumped up to the current version really love the icons in the upper left showing buttons & controls.  made me realize I had a couple games that required too many buttons.  :D
Title: Re: Arcadeflow theme v 3.4 [Release] Updated 31 January 2018
Post by: zpaolo11x on February 06, 2019, 10:32:06 AM
made me realize I had a couple games that required too many buttons.  :D

I decided to code that icon because the first thing I do when launching a game I don't know is going into mame settings to see how many button it uses :D

Anyway I implemented what you asked for this way: in the layout options you can select (as it was before) the overmenu button, but this time you can also chose "select". So if you chose "select" it will work like 3.4, if you chose "custom1" or other custom button it will work as the old layout. Just give me some time to tweak again the glow effect and I'll release it lol
Title: Re: Arcadeflow theme v 3.5 [Release] Updated 7 February 2019
Post by: zpaolo11x on February 07, 2019, 03:35:34 AM
Updated to revision 3.5! Download link in the homepage or at http://www.mixandmatch.it/AF
Title: Re: Arcadeflow theme v 3.5 [Release] Updated 7 February 2019
Post by: SFNMutt on February 07, 2019, 05:14:38 AM
I can't believe you already updated it, thank you.  this is great. 

your site made it really easy for me to install 1/2 a dozen old versions of your theme.  thanks for that too.


I've run into an issue.  Not asking you to fix it.  Just letting you know about it.  on my laptop where I've been setting up AttractMode, AF3.5 runs awesome.  for some reason on my home & work PCs it runs really slow.  I've tried disabling everything I can in theme options & deleted all the vid snaps but there were no changes in speed.  Changing to any of the themes that come w/ AttactMode solves it.  Dropping back to AF2 & changing the layout to no shader helps a lot but still slower than the laptop.  all 3 machines are new / fast W10 PCs & have 4k screens.  not sure why 1 would run any diff than the other.  the laptop is ridiculously fast but the 2 PCs certainly aren't dogs.  Both are newer i7s w/ a ton of ram & decent vid cards.  both PCs are using large HDTVs for screens so maybe that's got something to do w/ it.  I tired running AM in a small window but it was no different.

this doesn't matter as long as it runs good on the PC I've yet to setup for my arcade1up pacman. even if it doesn't, v2 will be all that unit needs.

here's a vid showing it running slow at work.
https://youtu.be/YrtK0Stze40
Title: Re: Arcadeflow theme v 3.5 [Release] Updated 7 February 2019
Post by: zpaolo11x on February 07, 2019, 05:31:17 AM
your site made it really easy for me to install 1/2 a dozen old versions of your theme.  thanks for that too.

You are welcome! There are some releases prior to 2.0 that are not 100% correct since back then I didn't plan to track all the versions and I messed with some files :D

Quote
Dropping back to AF2 & disabling the shader gets it to run fine on those machines.  all 3 machines are new / fast W10 PCs & have 4k screens.  not sure why 1 would run any diff than the other.  the laptop is ridiculously fast but the 2 PCs certainly aren't dogs.  Both are newer i7s w/ a ton of ram & decent vid cards.

It seems the issue here is with OpenGL shaders, I've had some issues in the past with my test rig: a xeon workstation with fast SSD, 32 GB of ram and Quadro card. I had to implement some tricks to make the layout smoother, but then I discovered a setting in nVidia control panel that made all my layouts run at 60fps with no tricks needed, which was the expected behavior of such a "monster" rig.

Maybe there's an nVidia card on your PCs? Another issue could be the high resolution, you can try reducing the resolution in Arcadeflow options, there's a field where you can put WIDTHxHEIGHT, just try something radical like 640x400 or similar to see if it improves.

I'll check the setting of my Quadro card tomorrow and report back
Title: Re: Arcadeflow theme v 3.5 [Release] Updated 7 February 2019
Post by: SFNMutt on February 07, 2019, 06:19:33 AM
YEAH! I have an update for you.  I decided to try it out on a different work computer w/ a human size monitor & the on board video card.  AF3.5 worked perfectly.  this means it's the big ass TV & high res.  disappointing that it won't run correctly on my 65" 4k tv but it's works perfectly on the 19" widescreen 1080p PC monitor which means I'm confident it'll be fine on my arcade machine.

when I get home I'll try dropping the resolution down on my home PC & see if that handles it.  i'll also try the AF res setting like you suggested.

thanks again
Title: Re: Arcadeflow theme v 3.5 [Release] Updated 7 February 2019
Post by: SFNMutt on February 07, 2019, 07:45:32 AM
thanks once again.  setting the resolution in theme settings fixed the slowdown.  works perfectly now!!!!  as a bonus, now I can see it in vertical 3:4 the way it'll look in the cabinet.  love it! 

I'll be sure to grab a vid of it working correctly when I finish up the last of the wheel images & properly resize the snaps.
Title: Re: Arcadeflow theme v 3.5 [Release] Updated 7 February 2019
Post by: zpaolo11x on February 07, 2019, 07:50:18 AM
thanks once again.  setting the resolution in theme settings fixed the slowdown.  works perfectly now!!!! 

Good to know, I'll see if there's a way to avoid this slowdowns: I always use fixed resolution buffers for shader effects (like 32x32 pixels or 200x200 pixels) which shouldn't have an impact since they won't depend on the resolution (the filtered image is then scaled to full size but that's not a very taxing process). The only shader that works at higher res is the one that applies the gradient blur on the thumbnails. Just as a proof, could you try disabling "color gradient" in Arcadeflow options and see if the slowdown is still present?
Title: Re: Arcadeflow theme v 3.6 [Release] Updated 14 February 2019
Post by: zpaolo11x on February 14, 2019, 03:07:53 AM
Arcadeflow 3.6 is out!

Changed the CRT shader to Lotte's, and fixed some bugs with AM 2.5 (now Arcadeflow only works from AM 2.5)

Title: Re: Arcadeflow theme v 3.7 [Release] Updated 18 February 2019
Post by: zpaolo11x on February 18, 2019, 05:43:50 AM
Released Arcadeflow 3.7 with revised look of history page and new CRT shaders based on Lotte but with some unique tweaks like vignetting.
Title: Re: Arcadeflow theme v 3.7 [Release] Updated 18 February 2019
Post by: OldGamer on February 23, 2019, 06:27:09 PM
 :) Hi zpaolo11x My name is James Castro and everyone in mugen community called me OldGamer
I wanted to take the time and make a Intro from your theme, because never came with one and I also Included the sound to go with intro and theme for Arcadeflow
and anyone are welcome to use  it as well :D
Here the AFIntro and sound files
download from Google Drive
https://drive.google.com/file/d/1_5WFpXb3rrguLyjtvGxqUpF7vyEjb3HO/view?usp=sharing
images demonstration  :D
(https://i.imgur.com/Q359xKf.png)




Title: Re: Arcadeflow theme v 3.7 [Release] Updated 18 February 2019
Post by: zpaolo11x on February 24, 2019, 12:39:00 AM
:) Hi zpaolo11x My name is James Castro and everyone in mugen community called me OldGamer
I wanted to take the time and make a Intro from your theme, because never came with one and I also Included the sound to go with intro and theme for Arcadeflow

This is cool! One suggestion: I see in the video you don't have "wheel" artwork for the game titles, in this case I suggest you go in Arcadeflow options and disable "Thumb Gradient" so you can see the thumb without the fade on top :)

I like the idea of an intro that stays there before one presses a button, maybe I'll embed it in AF in a future version, but your work is really nice! I'm thinking of a sort of attract mode for Arcadeflow, jumping from game to game (I already have all the routines for fading background and smooth shading ;)
Title: Re: Arcadeflow theme v 3.7 [Release] Updated 18 February 2019
Post by: zpaolo11x on February 24, 2019, 12:40:22 AM
I'm doing some testing of the new AF 3.8 and I discovered something weird, it seems that, on my Macbook Pro at least, AF 3.3 and AF 3.4 are dramatically faster and smoother than subsequent versions. Can someone confirm this? Maybe on a modern powerful machine this is not noticeable, I'm trying to spot the issue...

EDIT: Oh right, forget it, my AF 3.4 was set to use 640x400 resolution instead of 1280x800, no wonder it was faster LOL
Title: Re: Arcadeflow theme v 3.7 [Release] Updated 18 February 2019
Post by: OldGamer on February 24, 2019, 02:47:44 PM
I'm doing some testing of the new AF 3.8 and I discovered something weird, it seems that, on my Macbook Pro at least, AF 3.3 and AF 3.4 are dramatically faster and smoother than subsequent versions. Can someone confirm this? Maybe on a modern powerful machine this is not noticeable, I'm trying to spot the issue...

EDIT: Oh right, forget it, my AF 3.4 was set to use 640x400 resolution instead of 1280x800, no wonder it was faster LOL
hey zpaolo11x can you please show me and teach me on how did you add your logo on the screen like that can you show me and teach me how its really done like you had yours ?

(https://i.imgur.com/WjnNLME.png)
(https://i.imgur.com/gIM02jf.png)

I do have full pack of mame logos but I dont know where show be placed and yes all the logo are the same name as the rom name :D

Title: Re: Arcadeflow theme v 3.7 [Release] Updated 18 February 2019
Post by: zpaolo11x on February 25, 2019, 12:51:08 AM
hey zpaolo11x can you please show me and teach me on how did you add your logo on the screen like that can you show me and teach me how its really done like you had yours ?

It should be pretty easy: launch Attract Mode and go in the menu, go to the "Emulator", "Mame" section. After the "Pause Hotkey" entry there's a list of artwork entries, you should have already a "snap" entry. To use the game logos you have to create a "wheel" entry and point it to the folder where your logos are, then move down to "Generate collection/rom list" and refresh your list.
Title: Re: Arcadeflow theme v 3.7 [Release] Updated 18 February 2019
Post by: pkwillzinho on February 26, 2019, 04:37:53 PM
zpaolo11x, please, could you tell me where, in source code, do I edit for videosnaps to run faster when selecting a game?
Title: Re: Arcadeflow theme v 3.7 [Release] Updated 18 February 2019
Post by: zpaolo11x on February 26, 2019, 10:19:53 PM
zpaolo11x, please, could you tell me where, in source code, do I edit for videosnaps to run faster when selecting a game?

What do you mean by "run faster"? You want to avoid the delay between selecting a game and the start of the video snap? In that case just look for the lines where "delayvid" and "fadevid" are defined and change them like this:

Code: [Select]
// Video delay parameters to skip fade-in
local delayvid = 0.95
local fadevid = 0.95

This will make videos start almost immediately with a slight fade-in, it might get some stuttering because of the video loading, but overall I like the effect. LEt me know if it works as you like.
Title: Re: Arcadeflow theme v 3.7 [Release] Updated 18 February 2019
Post by: zpaolo11x on February 28, 2019, 02:59:52 AM
Sneak preview... I'm working on an "attract mode" for Arcadeflow. When enabled it will show the (customizable) logo, a (customizable) blinking text and a CRT-filtered random selection of game videos filling the screen. After an inactivity time the attract mode will kick in and you can customize the time each game will be on screen.
Title: Re: Arcadeflow theme v 3.8 [Release] Updated 1 March 2019
Post by: zpaolo11x on March 01, 2019, 02:40:14 AM
Upgraded to 3.8 with new attract mode (disabled by default, look at theme options!)
Title: Re: Arcadeflow theme v 3.9 [Release] Updated 7 March 2019
Post by: zpaolo11x on March 07, 2019, 05:31:35 AM
Version 3.9 is out with many many changes to the "attract mode" inside Arcadeflow. Look how crisp scanlines look in 320x200 with the new tricks!
Title: Re: Arcadeflow theme v 3.9 [Release] Updated 7 March 2019
Post by: dark1973 on March 08, 2019, 05:59:43 AM
Thanks. Great work.
Title: Re: Arcadeflow theme v 3.9 [Release] Updated 7 March 2019
Post by: keilmillerjr on March 08, 2019, 07:07:06 AM
A+ your turning out features quickly!
Title: Re: Arcadeflow theme v 4.0 [Release] Updated 1 April 2019
Post by: zpaolo11x on April 01, 2019, 01:44:48 AM
Updated to 4.0, new transitions and some bug fixes!
Title: Re: Arcadeflow theme v 4.1 [Release] Updated 11 April 2019
Post by: zpaolo11x on April 11, 2019, 02:11:12 AM
Updated to 4.1, biggest addition is a low resolution mode for very low resolution screens. See the attached screenshot for a (simulated) 320 x 240 resolution. The font is larger and the layout is cleaner. Of course if you like it you can enable it also in higher res screens :D
Title: Re: Arcadeflow theme v 4.1 [Release] Updated 11 April 2019
Post by: keilmillerjr on April 11, 2019, 05:35:15 AM
Thank you!
Title: Re: Arcadeflow theme v 4.1 [Release] Updated 11 April 2019
Post by: jedione on April 12, 2019, 06:34:53 PM
also.... a big thanks your way ...good work
Title: Re: Arcadeflow theme v 4.1 [Release] Updated 11 April 2019
Post by: zpaolo11x on April 16, 2019, 06:33:35 AM
Inspired by the thread regarding progress bars... sneak preview of something that might go in next release. Curious to have feedback about that
Title: Re: Arcadeflow theme v 4.1 [Release] Updated 11 April 2019
Post by: jedione on April 16, 2019, 06:45:41 AM
 i like it,
the way its set up reminds me of a history timeline

the more and different bars the better, ;D

my personal prefrence would be just a clean #-z line

is their a way to do that with your existing code?
Title: Re: Arcadeflow theme v 4.1 [Release] Updated 11 April 2019
Post by: zpaolo11x on April 16, 2019, 06:59:33 AM
the way its set up reminds me of a history timeline

That was the idea :D Also since I already have the proportional scrollbar it's a simple addition to the look of the theme.

Quote
my personal prefrence would be just a clean #-z line

is their a way to do that with your existing code?

Sure there is, actually that's how it started in the beginning because it's much simpler, but I found it a bit clashing with the horizontal scrollbar (that I wanted to retain). Of course I can be crazy enough to put all this variants as options in the theme LOL
Title: Re: Arcadeflow theme v 4.1 [Release] Updated 11 April 2019
Post by: jedione on April 16, 2019, 07:53:43 AM
well then ill just wait till you release it , or post the code, so i can play...thanks and good work
Title: Re: Arcadeflow theme v 4.1 [Release] Updated 11 April 2019
Post by: zpaolo11x on April 16, 2019, 09:10:19 AM
well then ill just wait till you release it , or post the code, so i can play...thanks and good work

The code is a slight variation from the one posted here:

http://forum.attractmode.org/index.php?topic=2864.msg19796#msg19796

The plus of this code is you don't need to pre-create the labels table, but every time you change the table you have to hide the old one, which might be a performance hit in the long run if you keep changing filters (maybe :D)
Title: Re: Arcadeflow theme v 4.1 [Release] Updated 11 April 2019
Post by: vicsidious on April 16, 2019, 12:00:58 PM
It's really sad that this theme won't work for raspberry pi 3! I would have used it for all my machines :(
Any way of making a lighter version, that the pi could run? All of us running Attract Mode on a Pi would be eternally greatful! :)
Title: Re: Arcadeflow theme v 4.1 [Release] Updated 11 April 2019
Post by: Dallinj on April 16, 2019, 04:36:46 PM
I know this theme is essentially mame-exclusive with regards to how it displays and handles data, but I was wondering if there was any way to force the aspect ratio of the game snaps to be horizontal. I'm trying to display snes games, but the boxart (which is all horizontal) is being squished into a vertical frames because there is no data telling the layout the orientation of the game. Any suggestions?
Title: Re: Arcadeflow theme v 4.1 [Release] Updated 11 April 2019
Post by: zpaolo11x on April 16, 2019, 10:24:25 PM
I know this theme is essentially mame-exclusive with regards to how it displays and handles data, but I was wondering if there was any way to force the aspect ratio of the game snaps to be horizontal.

You are right, Arcadeflow is heavily tied to using Mame or arcades, and especially to use screenshots as artwork. The idea behind this theme was exactly to build some nice graphics for machine that don't have proper "box art" (flyers are nice but sometimes a bit messy and difficult to find).

Building an entirely new "Consoleflow" theme would be interesting: consoles have some advantages like proper box art (should just tweak the drop shadows to be dynamically generated and not "faked" like they are now :D ), screens are always horizontal, probably no need to use "logo" artwork in the grid layout etc. I'll think of it but I'm not so much into console emulation :D

To answer your question more directly, I can fix something on the fly to force Arcadeflow to always display horizontal aspect ratio tiles in the grid, but the theme will force the artwork to fit in an horizontal 4:3 box, so some stretching of box art might occur. What is the aspect of SNES boxes?

[EDIT] Have you tried previous versions of Arcadeflow? Up to 3.7 (I think) it used actual snap resolution to detect horizontal or vertical games and should work with box art too...
Title: Re: Arcadeflow theme v 4.1 [Release] Updated 11 April 2019
Post by: zpaolo11x on April 16, 2019, 10:30:19 PM
It's really sad that this theme won't work for raspberry pi 3! I would have used it for all my machines :(
Any way of making a lighter version, that the pi could run? All of us running Attract Mode on a Pi would be eternally greatful! :)

I know, this is something I'd really like to do but there are some hurdles: first and foremost I don't own a Pi myself, I know the Pi is cheap and easy to get, but then the second point steps in: spare time :D I mostly code on my Mac at home or on my PC at coffee breaks at work, and in both cases it would be an issue to have to interact with the TV to check the Pi. If only there was a proper Pi "emulator" for testing code.
Also, on a technical standpoint, Arcadeflow relies heavily on GLSL shaders, and I'm still trying to find what can and what can't be done on the Pi. I don't want to return to using "pre-rendered" graphics for blurred backgrounds etc.
Title: Re: Arcadeflow theme v 4.1 [Release] Updated 11 April 2019
Post by: Dallinj on April 17, 2019, 05:12:11 PM
I know this theme is essentially mame-exclusive with regards to how it displays and handles data, but I was wondering if there was any way to force the aspect ratio of the game snaps to be horizontal.

You are right, Arcadeflow is heavily tied to using Mame or arcades, and especially to use screenshots as artwork. The idea behind this theme was exactly to build some nice graphics for machine that don't have proper "box art" (flyers are nice but sometimes a bit messy and difficult to find).

Building an entirely new "Consoleflow" theme would be interesting: consoles have some advantages like proper box art (should just tweak the drop shadows to be dynamically generated and not "faked" like they are now :D ), screens are always horizontal, probably no need to use "logo" artwork in the grid layout etc. I'll think of it but I'm not so much into console emulation :D

To answer your question more directly, I can fix something on the fly to force Arcadeflow to always display horizontal aspect ratio tiles in the grid, but the theme will force the artwork to fit in an horizontal 4:3 box, so some stretching of box art might occur. What is the aspect of SNES boxes?

[EDIT] Have you tried previous versions of Arcadeflow? Up to 3.7 (I think) it used actual snap resolution to detect horizontal or vertical games and should work with box art too...

Thanks for the response! The aspect ratio is just about 4:3, but I'll give an earlier version a try just to see what it does. You might not even need a consoleflow, because nes boxart looks pretty awesome as is  ;) https://imgur.com/a/P06i1sw


[EDIT] I tried and earlier version (3.7) and it's closer displaying fully, but the vertical gray box still remains https://imgur.com/a/Y3xOEcu

[EDIT 2] After trying some tweaking to the layout.nut, I realized the easy solution was right in front of me. Changing the actual game info is what fixed it. All SNES (and I assume other consoles as well) default to not having a rotation set, but setting the rotation to 0 made them look just like they should!
Title: Re: Arcadeflow theme v 4.2 [Release] Updated 2 May 2019
Post by: zpaolo11x on May 02, 2019, 05:37:32 AM
Version 4.2 is out with many changes to the scrollbar! Enjoy!
Title: Re: Arcadeflow theme v 4.2 [Release] Updated 2 May 2019
Post by: jedione on May 02, 2019, 06:57:45 AM
thanks,, this has to be one of the best themes ever made....for shure...

but right now im getting this error: :-[

im on...Attract-Mode v2.4.1 (Windows, SFML 2.5 +SWF +7z)

Code: [Select]
C:\auraAM\layouts/ArcadFlow/layout.nut line = (2940) column = (42) : error invalid constant [Transition.ChangedTag]
Script Error in C:\auraAM\layouts/ArcadFlow/layout.nut - invalid constant [Transition.ChangedTag]
 - Loaded layout: C:\auraAM\layouts/ArcadFlow/ (layout.nut)
 - Layout is empty, initializing with the default layout settings

loads default layout....
Title: Re: Arcadeflow theme v 4.2 [Release] Updated 2 May 2019
Post by: Enkak on May 02, 2019, 10:03:58 AM
Here the new release loads well (attract-mode 2.5.1) but I'm noticing some bugs related to alphabet scrollbar in timeline and LabelList when you press down and select the alphabet.
- Letter V before letter E.
- Many times, after you scroll to the right you get stuck and can't scroll back to the left side, only to the right.
- The Alphabet letters position don't correspond to where the games from that letter start when you scroll from letter to letter in the bar.

Great first effort using the alphabet scrollbar :)
Title: Re: Arcadeflow theme v 4.2 [Release] Updated 2 May 2019
Post by: Giacomo1982 on May 02, 2019, 10:08:15 AM
I appreciate your constant updating this great layout, but why not to create another one with a different layout? With your knowledge you can do anything you want.
Title: Re: Arcadeflow theme v 4.2 [Release] Updated 2 May 2019
Post by: zpaolo11x on May 02, 2019, 12:53:14 PM
thanks,, this has to be one of the best themes ever made....for shure...

but right now im getting this error: :-[

im on...Attract-Mode v2.4.1 (Windows, SFML 2.5 +SWF +7z)


I'm sorry but starting from version 3.6 Arcadeflow is only compatible with Attract Mode 2.5 +

I've tried to make it backward-compatible but it didn't work well :/
Title: Re: Arcadeflow theme v 4.2 [Release] Updated 2 May 2019
Post by: zpaolo11x on May 02, 2019, 12:56:29 PM
Here the new release loads well (attract-mode 2.5.1) but I'm noticing some bugs related to alphabet scrollbar in timeline and LabelList when you press down and select the alphabet.
- Letter V before letter E.
- Many times, after you scroll to the right you get stuck and can't scroll back to the left side, only to the right.

I was just able to replicate this issue, "label jump" is something I coded at the last minute and I need to debug it better it seems. Thank you for the feedback, hopefully I can sort it quickly.

Quote
- The Alphabet letters position don't correspond to where the games from that letter start when you scroll from letter to letter in the bar.

The letter should be in the middle between two tick marks, the marks are the start and end of the letter span area, and the letter is in the middle of the area, not at the beginning. Maybe it's a bit confusing... Also, when the tick marks are too close to each other no letter is shown.

That said, apart from the issues with the "label jump", is the letter order correct or you see them out of alphabetical order?
Title: Re: Arcadeflow theme v 4.2 [Release] Updated 2 May 2019
Post by: Enkak on May 02, 2019, 02:56:03 PM
Glad to help! :)

Out of alphabetical order. In these prints you can see the letter V before the E for example in both scrolling options.

You can notice also that in both prints when the letter is selected in the alphabetic bar it doesn't go to the first game of that letter.
Title: Re: Arcadeflow theme v 4.2 [Release] Updated 2 May 2019
Post by: zpaolo11x on May 02, 2019, 11:59:27 PM

Out of alphabetical order. In these prints you can see the letter V before the E for example in both scrolling options.

You can notice also that in both prints when the letter is selected in the alphabetic bar it doesn't go to the first game of that letter.

Ok, this is very strange :D I have some questions if you don't mind to take some time to help me debug this:

- I see in the second pic a ' label, can you go to that label and tell me some game names for that label? I could incorporate that in the "#" label but this is a minor issue...
- Is your current filter sorted in some special way? Or is it just sorted by name?
- It's very strange not only that V is before E, but also that M is present twice in the list, gonna check the case of this letters. Also, what are the games in the "V" label? Any strangeness in their names?

I didn't have these issues on my test machine, but I got some issue on another machine with way more ROMs, so now I'm syncing my machines and already found and squashed some bugs, if you can help me wth this it will be greatly appreciated. I think the issue is in the way my theme generate the sort order, for some reason my routine places a "V" before an "E", but it didn't happen in my tests...
Title: Re: Arcadeflow theme v 4.2 [Release] Updated 2 May 2019
Post by: zpaolo11x on May 03, 2019, 12:53:03 AM

You can notice also that in both prints when the letter is selected in the alphabetic bar it doesn't go to the first game of that letter.

Ok I think I fixed the "V" sorting issue: this was due to the fact that AttractMode ignores "The " and "Vs. " at the beginning of game names, my layout didn't consider "Vs. " so now it should be ok. Please if you can try the layout.nut attached to this message and tell me if it's fixed.

I can't tell if this will fix also the issue of the letter not showing the first game in the letter range, because I can't replicate that.
Title: Re: Arcadeflow theme v 4.2 [Release] Updated 2 May 2019
Post by: Enkak on May 03, 2019, 04:58:52 AM
Hi. :)

Testing with your new layout.nut

' label is because of games like '88 Games

I have these rules/filters:

global_filter       
      rule                 Category not_contains BIOS
      rule                 FileIsAvailable equals 1
   filter               All
      sort_by              Title

There's still some strange things going on with the letters/alphabet scroll selected. In timeline some letters are missing or out of place (letter V is fixed but you have the T before H, or missing the I, U and Z) like you can see in the pic with Salamander 2. You can also notice that position of the S, among others, is way out of place regarding where the letter starts. S games start near the P letter for example. Also gaming scroll still get's stuck there when I tried going back/left.

In LabelList you have all the letters it seems, but letter T is out of place. There's also the same weird jump problems scrolling the game list when the alphabet is selected. Gets stuck, jumps from several letters instead of going to the next (M going straight to P for example)

Hope this helps.
Title: Re: Arcadeflow theme v 4.2 [Release] Updated 2 May 2019
Post by: zpaolo11x on May 03, 2019, 05:17:12 AM

Testing with your new layout.nut

' label is because of games like '88 Games


Ok, first of all let me thank you so much for your help, it would be almost impossible to debug all this without help. It seems that most issues (the V, the T etc) are related to some parts of the name that AM strips when sorting, and that my function is not stripping correctly. I don't have the same games you have (like '88 Games for example) so I can't see the issues directly.

On the other hand, the missing I and U are done on purpose: when the distance between ticks is too small the ticks are present but the letter is hidden, to avoid overlapping. I'll see if I can get a better solution because as it is the letter is hidden even if the space is enough (like, long space, short space, long space the letter should be visible...) .

I think the jumping too is related to the game names not being parsed correctly, may I ask you a very great favor? I prepared a custom layout you should run it and send me the console output of that, it should list all your game titles together with the letters my routine is using for sorting. Analyzing this list will help me fix all remaining issues hopefully... You can send the attachment to me via private message or to paolo.zago@gmail.com

Title: Re: Arcadeflow theme v 4.2 [Release] Updated 2 May 2019
Post by: dukpoki on May 03, 2019, 10:57:15 AM
@Enkak

Not sure if this will help your situation with this theme but I found that sometimes letters jump around because the rom list isn't in 100% abc order.  Go to attract/romlists and find your mame.txt.  Open it up and you will find that most likely it is sorted by the first letter of the roms named by Mame's naming scheme.  For example "openice" will be sorted into the "O" of the list, but the game is actually "2 On 2 Open Ice Challenge (rev 1.21)" which in turn should be in the "#" of the list instead.  (Also "Vs. Balloon Fight" is actually "balonfght" so that would explain why you see that "V" game in the "B" category.)  Therefore the whole list should really be resorted using the second name which is the full name of the game.  You can import the whole list into Excel (if you have it), and resort it via columns.  Or if you are using a 32 bits Notepad++ you can download a plugin that will let you sort it by columns as well.  I hope future versions of AM fixes this when you use the "generate romlist" for games (should be sorted by "Title" which is the 2nd column).
Title: Re: Arcadeflow theme v 4.2 [Release] Updated 2 May 2019
Post by: zpaolo11x on May 03, 2019, 11:13:00 AM
@Enkak

Not sure if this will help your situation with this theme but I found that sometimes letters jump around because the rom list isn't in 100% abc order.  Go to attract/romlists and find your mame.txt.  Open it up and you will find that most likely it is sorted by the first letter of the roms named by Mame's naming scheme.

AFAIK if your filter is sorted by "Name" then the list is sorted by the rom file name, but if the filter is sorted by "Title" then the actual game title is used. But while Mame sorts everything disregarding articles (The Simpson comes under the "T" on Mame64 GUI) Attract Mode strips the articles and some other particles like "Vs.". The problem is I don't know what other particles are filtered.

No need to tweak lists in excel, I just need some time to figure out how to correct all this stripping :D
Title: Re: Arcadeflow theme v 4.2 [Release] Updated 2 May 2019
Post by: Enkak on May 03, 2019, 11:34:35 AM
@Enkak

Not sure if this will help your situation with this theme but I found that sometimes letters jump around because the rom list isn't in 100% abc order.  Go to attract/romlists and find your mame.txt.  Open it up and you will find that most likely it is sorted by the first letter of the roms named by Mame's naming scheme.  For example "openice" will be sorted into the "O" of the list, but the game is actually "2 On 2 Open Ice Challenge (rev 1.21)" which in turn should be in the "#" of the list instead.  (Also "Vs. Balloon Fight" is actually "balonfght" so that would explain why you see that "V" game in the "B" category.)  Therefore the whole list should really be resorted using the second name which is the full name of the game.  You can import the whole list into Excel (if you have it), and resort it via columns.  Or if you are using a 32 bits Notepad++ you can download a plugin that will let you sort it by columns as well.  I hope future versions of AM fixes this when you use the "generate romlist" for games (should be sorted by "Title" which is the 2nd column).

Thx for the help and idea. :) But since I use the filter to sort by "Title" to avoid using mame rom names the jump shouldn't happen I think.

@zpaolo11x

I will try doing it a little later today, using your custom layout and send an e-mail with the console output.
Title: Re: Arcadeflow theme v 4.2 [Release] Updated 2 May 2019
Post by: zpaolo11x on May 04, 2019, 01:42:07 AM
@zpaolo11x

I will try doing it a little later today, using your custom layout and send an e-mail with the console output.

I saw the list, I found the culprit: it's "Vs. The Goonies", my routine strips the "Vs." but not the "The", therefore the error in sorting. If you can try with the attached layout it should fix it, hopefully it will fix also the game letter issue...
Title: Re: Arcadeflow theme v 4.2 [Release] Updated 2 May 2019
Post by: Enkak on May 04, 2019, 07:45:01 AM
Just tried but sadly the same problems seem to persist with letter T before H. In these prints, for example, the scroll simple refuses to go back/left after you reach the letter S.
I can also confirm that this issues seem to happen only with MAME. Tried using it in other system/romlist and everything seems to be working good, no problems at all. Even the alphabet picks always the first game of each letter as it should, etc.

Sorry giving you so much trouble. Maybe other people can replicate these issues with MAME?
Title: Re: Arcadeflow theme v 4.2 [Release] Updated 2 May 2019
Post by: Wenzon 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.  :-[

Title: Re: Arcadeflow theme v 4.2 [Release] Updated 2 May 2019
Post by: zpaolo11x on May 04, 2019, 06:26:37 PM
Just tried but sadly the same problems seem to persist with letter T before H.

You are absolutely right: the fix was correct but in the incorrect order (long story short, it didn't fix anything). This time I'm pretty sure it's ok since I downloaded the Goonies rom just to test :D
Title: Re: Arcadeflow theme v 4.2 [Release] Updated 2 May 2019
Post by: zpaolo11x on May 04, 2019, 06:33:47 PM
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?
Title: Re: Arcadeflow theme v 4.2 [Release] Updated 2 May 2019
Post by: Cobra83 on May 04, 2019, 11:48:55 PM
zpaolo11x any chance you could upload the latest version of your theme to google drive or anywhere else? For some reason the link to your site won't work for me and it always times out, thanks in advance!
Title: Re: Arcadeflow theme v 4.2 [Release] Updated 2 May 2019
Post by: Wenzon 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
Title: Re: Arcadeflow theme v 4.2 [Release] Updated 2 May 2019
Post by: zpaolo11x on May 05, 2019, 04:44:25 AM
zpaolo11x any chance you could upload the latest version of your theme to google drive or anywhere else? For some reason the link to your site won't work for me and it always times out, thanks in advance!

Sure, you can download the latest version here:

https://drive.google.com/drive/folders/1oLCme-XK4We57y1mYwyzrAhpRPUoPdU1?usp=sharing

I'll add the other versions as soon as possible and I'll try to keep it updated with new releases
Title: Re: Arcadeflow theme v 4.2 [Release] Updated 2 May 2019
Post by: Enkak on May 05, 2019, 10:22:23 AM
Just tried but sadly the same problems seem to persist with letter T before H.

You are absolutely right: the fix was correct but in the incorrect order (long story short, it didn't fix anything). This time I'm pretty sure it's ok since I downloaded the Goonies rom just to test :D

Everything seems to be fixed now, congrats!
Title: Re: Arcadeflow theme v 4.2 [Release] Updated 2 May 2019
Post by: Cobra83 on May 05, 2019, 07:26:01 PM
Thank you!
Title: Re: Arcadeflow theme v 4.2 [Release] Updated 2 May 2019
Post by: zpaolo11x on May 06, 2019, 12:24:24 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? Sorry for the basic questions
Title: Re: Arcadeflow theme v 4.2 [Release] Updated 2 May 2019
Post by: zpaolo11x on May 06, 2019, 01:49:20 AM
Everything seems to be fixed now, congrats!

Fantastic news, hopefully there are no other names causing issues with the routine :D I'll publish the update ASAP for everyone
Title: Re: Arcadeflow theme v 4.2 [Release] Updated 2 May 2019
Post by: Wenzon 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.   :)
Title: Re: Arcadeflow theme v 4.2 [Release] Updated 2 May 2019
Post by: zpaolo11x on May 07, 2019, 12:55:36 AM

Perfectly.   :)

So, yesterday I played a bit with multiple displays, a thing I never did before. Basically my conclusion is that, as it stands, Arcadeflow is not good as a display menu theme, so if you don't want to have issues (like the first picture you posted with all the boxes overalpping) you should go in Displays -> Display Menu Options and select "Default" as "Menu style / Layout". With this setting you should have the display list in the usual overlapping menu, for some reasons the "frosted glass" effect is missing here, I'll see if it can be fixed.

Of course it would be much better to be able to use Arcadeflow for the displays too, but I think I'll have to recode it properly because it seems to have issues right now (which is expected because Arcadeflow is heavily tailored to Mame).

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?
Title: Re: Arcadeflow theme v 4.3 [Release] Updated 6 May 2019
Post by: Wenzon 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.
Title: Re: Arcadeflow theme v 4.3 [Release] Updated 6 May 2019
Post by: zpaolo11x on May 07, 2019, 07:55:06 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
Title: Re: Arcadeflow theme v 4.3 [Release] Updated 6 May 2019
Post by: Wenzon 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
Title: Re: Arcadeflow theme v 4.3 [Release] Updated 6 May 2019
Post by: zpaolo11x on May 08, 2019, 12:01:45 AM
You can count on my help.  ;D

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?
Title: Re: Arcadeflow theme v 4.3 [Release] Updated 6 May 2019
Post by: zpaolo11x on May 08, 2019, 01:56:13 AM
No problems!
You can count on my help.  ;D

I have investigated a bit the "Displays Menu" issue, first of all, I've done some tweaks to Arcadeflow so that it works with frosted glass if you use a "Default" layout for display menus, then I did some tweaks so that if you choose Arcadeflow as display menu layout, it doesn't crash and the timeline should still work. If you want you can check the attached layout.nut, so I can see how it looks when you use it as display menu.

I thought I could insert an option in Arcadeflow so that, when enabled, it would make the layout more fit to use as display menu, my idea was that the user could set the same layout (Arcadeflow) for all the displays and for the display menu, and tweak the settings of the display menu layout to enable that option. To my surprise though, if the same layout is used both as Display Menu Layout and as Display Layout, the options are shared, so this trick is a no go :(
Title: Re: Arcadeflow theme v 4.3 [Release] Updated 6 May 2019
Post by: Wenzon 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).
Title: Re: Arcadeflow theme v 4.3 [Release] Updated 6 May 2019
Post by: zpaolo11x on May 08, 2019, 07:56:14 AM
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).

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.

The "Display Menu" option will force some settings like:

- you'll always have square thumbs, because it's easyer :D
- no game data, button data ect will be loaded
- Scrollbar will have no labels because they don't make sense in that mode
- Overlay context menu will not work

I'm coding it right now, I'll share it as soon as ready...
Title: Re: Arcadeflow theme v 4.3 [Release] Updated 6 May 2019
Post by: Wenzon 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.
Title: Re: Arcadeflow theme v 4.3 [Release] Updated 6 May 2019
Post by: zpaolo11x on May 08, 2019, 11:43:31 AM
Sneak preview of the new "Displays Menu" mode: first image is the new layout when used as a layout for displays menu; as you can see artwork is squashed and orientation of snaps is not good, plus lots of glitches in game data and scrollbar.

Enable "Displays Menu mode" from the options and, without having to change anything else, the theme looks like the second image. And you can still customize a lot of other aesthetic elements like in the standard theme (like going 1-row for example).
Title: Re: Arcadeflow theme v 4.3 [Release] Updated 6 May 2019
Post by: Enkak on May 08, 2019, 12:12:42 PM
Oh this looks very nice as Display Menu, love that version with a single row. Could work wonderful in a custom build using only Arcadeflow. :)
Title: Re: Arcadeflow theme v 4.3 [Release] Updated 6 May 2019
Post by: zpaolo11x on May 08, 2019, 12:14:57 PM
Oh this looks very nice as Display Menu, love that version with a single row. Could work wonderful in a custom build using only Arcadeflow. :)

Thanks, actually you'll have to use two instances of Arcadeflow, because the same layout can't have different options for Displays Menu and for single Displays right now. Easy fix: duplicate the entire thing LOL
Title: Re: Arcadeflow theme v 4.3 [Release] Updated 6 May 2019
Post by: Enkak on May 08, 2019, 01:02:25 PM
 ;D It happens with more layouts. No problem, the duplicate can be named "Arcadeflow - display menu" or similar ;)
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: zpaolo11x on May 09, 2019, 07:23:58 AM
Arcadeflow 4.4 is out, Displays Menu is the new hot feature, so have fun and report bugs!
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: Enkak on May 09, 2019, 10:37:22 AM
Great news, downloaded and can't wait to try it later. :)

PS: Where can I find the square snaps that you used in your screenshots for display menu example?
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: zpaolo11x on May 09, 2019, 12:00:34 PM
PS: Where can I find the square snaps that you used in your screenshots for display menu example?

I downloaded them from internet, looking for something like "Capcom wallpaper" etc. I can share them with you if you want. Also consider you don't need square snaps, the layout will crop them for you ;)
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: spelunkyguy on May 10, 2019, 12:03:34 AM
Heya, great theme! I have some issues that are probably more related to not being too familiar with Attract Mode, but wanted to check here:

Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: zpaolo11x on May 10, 2019, 12:50:27 AM
Heya, great theme! I have some issues that are probably more related to not being too familiar with Attract Mode, but wanted to check here:

Hi and thank you for the comments!

Most of the issues you are having are caused by the fact that Arcadeflow is tailored for use with MAME, so it gets the game data (categories, number of players, controllers, manufacturer) in a way that works with MAME and probably doesn't work with other emulators.

The same is true for the thumbnails and videos: Arcadeflow is designed to use game snapshots as main artwork, with the game title on top. And the orientation of the snapshot is decided from a property that I think only MAME games have (Orientation). If that property is not present the thumbnail is vertical (I should change that) but if you use box arts instead of snaps it will not work well and the artwork will be stretched a bit (to 4:3 or 3:4 aspect).

To make a long story short, Arcadeflow is not really suited for this use, I could try to rewrite some parts to be better when using console games, but right now it's mostly an arcade game layout.

EDIT: If you have game snaps (static, not video) you can use them as "snaps" artwork and Arcadeflow should work, but orientation will probably be a mess anyway :/ In that case I suggest using "Square" option
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: spelunkyguy on May 10, 2019, 01:50:11 AM
Wow, thanks for the fast reply! I do indeed have game snaps too, but these only work partially too: 4:3 stuff looks fine but wider ratios like GBA/PSP don't look right in either square *or* horizontal-vertical since they're landscape rather than portrait. I'm not sure how motivated you are to make AF more compatible for console emulation, but it'd be so cool if you could add some functionality to work with more varied artwork/aspect ratios :)
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: zpaolo11x on May 10, 2019, 02:43:56 AM
I do indeed have game snaps too, but these only work partially too: 4:3 stuff looks fine but wider ratios like GBA/PSP don't look right in either square *or* horizontal-vertical since they're landscape rather than portrait.

I see, this happens because Arcadeflow expects snaps to be of arcade games, that's why it corrects the aspect ratio to show them in 4:3 or 3:4 (eg: CPS1 games have a pixel resolution that's not 4:3, but CRTs used in arcade are always 4:3, therefore the correction) .When a game is cropped to be square, it is again the 4:3 or 3:4 adjusted version that is cropped.

For console games intended to be viewed on TV screens it should be fine (as long as it can get the correct orientation, but his is an easy fix for me), while handhelds like GBA or PSP, that have a different aspect ratio, it will be stretched badly even in square mode. Moreover as I said the vertical or horizontal orientation of the game is not taken from the snap size, but from the game data (in the past I used the snap size but for some reason it was trickier so I went back to orientation data)

Quote
I'm not sure how motivated you are to make AF more compatible for console emulation, but it'd be so cool if you could add some functionality to work with more varied artwork/aspect ratios :)

One issue is with the game data: I have no idea how to get all the game data for console games (I'm not that much into console emulation), but this can probably be fixed with a bit of study :D
Different aspect ratios... that's more tricky: the shadows effect under the snapshots are not "realtime": they are pre-rendered shadows in 4:3, 3:4 or square aspect ratios. So ther are two scenarios here:

 1 - If you want to use box art instead of snapshots for the thumbs I'll need to make the shadows dynamic. And see how it copes with the game titles, and check how it interact with video thumbnails kick in. Of course a simplified version of the thumbnails grid with just game box art, no title artwork (unnecessary since there's the box art) and no overlay videos could be a solution.
 2 - if you want to use screenshots as thumbs I'll just need to code something to disable the horizontal/vertical detection and the aspect ratio correction. Maybe there's a way to detect if a game list is Arcade or not...

I can't promise anything right now, but I'll think about it :)
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: Enkak on May 10, 2019, 03:16:54 AM
PS: Where can I find the square snaps that you used in your screenshots for display menu example?

I downloaded them from internet, looking for something like "Capcom wallpaper" etc. I can share them with you if you want. Also consider you don't need square snaps, the layout will crop them for you ;)

Thank you for the hint. Ah great the crop detail, will try to play a little with it and some artwork then, thanks again :)

PS: I would be interested in the layout working with consoles games too. For the detection of type of game and infos maybe you can make it work also with xml lists? I use them generally for that purpose as import_extras.
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: zpaolo11x on May 10, 2019, 03:27:48 AM
Regarding console games, I have crafted a hack that should work if you use snapshots for the thumbnails: this hack considers games horizontal if no "Orientation" data is found. It should work fine with console games made for TV (4:3). You can check it from this attachment.

As far as xml lists are concerned, and console in general, any hint you can give me as how to setup a nice console environment is good. I was able to configure SNES9X with a couple of ROMs, but how about snaps and box art? Where do you get them from? Scraping?
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: Enkak on May 10, 2019, 03:43:12 AM
Regarding console games, I have crafted a hack that should work if you use snapshots for the thumbnails: this hack considers games horizontal if no "Orientation" data is found. It should work fine with console games made for TV (4:3). You can check it from this attachment.

As far as xml lists are concerned, and console in general, any hint you can give me as how to setup a nice console environment is good. I was able to configure SNES9X with a couple of ROMs, but how about snaps and box art? Where do you get them from? Scraping?

Thx for the layout hack test, will see later how it works. :)

Regarding snaps and box art for consoles/emulators, normally I get them from EmuMovies (you can get almost everything from there in free version) or just searching in google for x game screenshot or boxart. I can get them for you also if you need.

Not sure if this helps, the part of my config related to media in AM is currently like this (I'm using a central folder with relative paths):

Code: [Select]
import_extras        meta\Super Nintendo Entertainment System (custom).xml
artwork    boxart          ..\..\collections\Super Nintendo Entertainment System\boxart
artwork    cart            ..\..\collections\Super Nintendo Entertainment System\cart
artwork    cover            ..\..\collections\Super Nintendo Entertainment System\cover
artwork    flyer           ..\..\collections\Super Nintendo Entertainment System\boxart
artwork    marquee      ..\..\collections\Super Nintendo Entertainment System\logo
artwork    snap            ..\..\collections\Super Nintendo Entertainment System\video;..\..\collections\Super Nintendo Entertainment System\snap
artwork    video            ..\..\collections\Super Nintendo Entertainment System\video
artwork    wheel           ..\..\collections\Super Nintendo Entertainment System\logo


The only problem AM is having at the moment with hyperlist xml lists (mine says custom because I'm adding manually some info missing) is scrapping the players number even with that information being in the lists. It's something related to source code thought to work with MAME format list at the beginning I think.
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: Enkak on May 10, 2019, 04:46:34 AM
The snapshots hack is working very good as you can see in the print, thx again. :) You can also notice that the theme is already picking info automatically from the xml list, good sign and that seems to be working already except the eventual logos that are missing but that is normal since the theme was made to work with mame originally and logos taken from that list.

With consoles probably could be a good idea for the layout to be able to pick the image in "manufacturer_images" or text from the xml lists since there's too many manufacturers and would be almost impossible to do images for all.

Also other idea/suggestion for the future if at all possible. Since consoles don't have an history.dat file, maybe the info in the history panel for those systems could be taken from Attract-Mode\scraper\insert system here\overview ?

Cheers.

Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: zpaolo11x on May 10, 2019, 04:54:19 AM
The snapshots hack is working very good as you can see in the print, thx again. :)

Good to know! The screenshot looks very nice indeed!

Quote
With consoles probably could be a good idea for the layout to be able to pick the image in "manufacturer_images" or text from the xml lists since there's too many manufacturers and would be almost impossible to do images for all.

Is "manufacturer_images" another artwork source? I think this can be done, but aesthetically you'll have a mix of white stylized logos and colorful logos. Maybe going with plain text would be a good alternative.

Quote
Also other idea/suggestion for the future if at all possible. Since consoles don't have an history.dat file, maybe the info in the history panel for those systems could be taken from Attract-Mode\scraper\insert system here\overview ?

I'll see if I can do it. I started getting artworks for a test environment, which is the pre-requisite to start experimenting with console stuff. Glad that the theme is reacting in a nice way with the current hack, there are still some icons missing (buttons, controllers and players) and of course it will not work for handheld consoles with non-4:3 aspect ratios, but it's a start :D
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: Enkak on May 10, 2019, 05:35:16 AM
Is "manufacturer_images" another artwork source? I think this can be done, but aesthetically you'll have a mix of white stylized logos and colorful logos. Maybe going with plain text would be a good alternative.

Ah I meant the "manufacturer_images" folder in your theme where the layout normally picks the logos (like it's doing with Aero the Acrobat in the print) if there's the same name in the romlist. I like your logos monochromatic solution, but with consoles in the mix it can be too many manufacturers to make art/logos, so the plain text taken from a hyperlist/hyperbase xml list could be an alternative if there's no logos in the folder.
Similar to what we can do with media art paths maybe? That you can put 3 or more sources and the layout pick the source that has the media?

Quote
Also other idea/suggestion for the future if at all possible. Since consoles don't have an history.dat file, maybe the info in the history panel for those systems could be taken from Attract-Mode\scraper\insert system here\overview ?

I'll see if I can do it. I started getting artworks for a test environment, which is the pre-requisite to start experimenting with console stuff. Glad that the theme is reacting in a nice way with the current hack, there are still some icons missing (buttons, controllers and players) and of course it will not work for handheld consoles with non-4:3 aspect ratios, but it's a start :D

Yeah, and a good start :)
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: zpaolo11x on May 10, 2019, 06:25:22 AM
Similar to what we can do with media art paths maybe? That you can put 3 or more sources and the layout pick the source that has the media?

I can't do that for manufacturers because they don't come as artworks in my theme: the usual way to do manufacturer artoworks is a folder where for each game you have a gamename.png image of the manufacturer of that game. Lots of duplicated images. In my theme there's a parser fucnction that gets the manufacturer name from the romlist data and loads the proper image.

I've patched together a version that should show the name in plain text when no logo is present, would you like to test it? ;D
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: Enkak on May 10, 2019, 06:46:30 AM
Working and font choice merges good with the ones that have logos. ;)

Probably some manufacturer names will need some tweaks to font size. Thinking about the isolated "t" here and other cases, but working really good already, thx again :) 

Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: spelunkyguy on May 10, 2019, 06:49:43 AM
Gave the new layout a shot, was a little unsure if the hack was applied to the horizontal-vertical layout or the square one,  but after testing both things are definitely improved!

Without wanting to spam the thread with too many pics, it looks like the h-v layout is working best:

(https://i.imgur.com/hdUXTAs.jpg)
(https://i.imgur.com/2Euedve.jpg)

It does look like a fair bit of the NES boxarts are being cropped, likely due to their portrait orientation vs the SNES's landscape boxart?
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: zpaolo11x on May 10, 2019, 07:14:33 AM
Gave the new layout a shot, was a little unsure if the hack was applied to the horizontal-vertical layout or the square one,  but after testing both things are definitely improved!

[...]

It does look like a fair bit of the NES boxarts are being cropped, likely due to their portrait orientation vs the SNES's landscape boxart?

The hack is for both for the horizontal-vertical layout and the square layout, but it is intended for screenshots used as thumbnail artwork. Box arts will still be stretched or cropped incorrectly I fear, fixing that will require some more tricks or even a redesign of the carrier (I'm not saying I won't do it LOL)
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: dark1973 on May 11, 2019, 08:59:40 AM
Hello.
I'm sorry for my bad English, I'm Italian.
I'm a fan of your theme. I would like to give you a suggestion. could you add an image with the arcade machine controls? like these...

If you want I can design the image with photoshop and send it to you
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: zpaolo11x on May 11, 2019, 02:16:29 PM
I'm a fan of your theme. I would like to give you a suggestion. could you add an image with the arcade machine controls? like these...

I'm Italian too :) I'll answer in english though because maybe the answer will be useful to other people.

Actually you can add that image yourself: if you create an image with transparent background, as big as your screen, with the icons for arcade controls (like the screenshots you attached to that post), you can go in the layout options and insert the path to the image in the "Custom BG Image" field, this will overlay your image on the layout.

Let me know if it works for you :)

Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: zpaolo11x on May 13, 2019, 01:50:15 AM
The snapshots hack is working very good as you can see in the print, thx again. :) You can also notice that the theme is already picking info automatically from the xml list

In my snes9x setup, how do I tell AM that it has to read the xml list file? And how do I generate it?
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: zpaolo11x on May 13, 2019, 05:49:52 AM
A question for people using Arcadeflow as a console layout... sooner or later I'll implement a "boxart" version of the theme, I'm sure, but since then I'm tweaking it to fit console games better.

I need a way to sense if the current system is an arcade, a console or an handheld. My idea was to use the "System" field in the emulator setting. Is it feasible or how do you use that?

The idea is that if the System field contains "Arcade" then the theme will work as usual, if it contains "Console" it will sense the orientation of the screen from the snapshots (Vectrex I didn't forget about you) and adapt some parts of the UI, if it contains "Handheld" it will stop correcting the aspect-ratio of the screenshot since handhelds usually have square pixels.
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: Enkak on May 13, 2019, 07:06:55 AM
A question for people using Arcadeflow as a console layout... sooner or later I'll implement a "boxart" version of the theme, I'm sure, but since then I'm tweaking it to fit console games better.

I need a way to sense if the current system is an arcade, a console or an handheld. My idea was to use the "System" field in the emulator setting. Is it feasible or how do you use that?

The idea is that if the System field contains "Arcade" then the theme will work as usual, if it contains "Console" it will sense the orientation of the screen from the snapshots (Vectrex I didn't forget about you) and adapt some parts of the UI, if it contains "Handheld" it will stop correcting the aspect-ratio of the screenshot since handhelds usually have square pixels.

I don't mind working that way, specially because I intend to have later a custom build using only your theme. The "system" field was used before for the gamesdb scrapping information/meta data but since that isn't working so well (or at all) lately these days I use only the import extras for that purpose so for me the "System" field feels like a good idea. I already had "Arcade" in the main system field so it would be easy to change the others.

The snapshots hack is working very good as you can see in the print, thx again. :) You can also notice that the theme is already picking info automatically from the xml list

In my snes9x setup, how do I tell AM that it has to read the xml list file? And how do I generate it?

Here I created in AM root folder another called "meta" and put there all the xml files. Then you can use import extras field like this:

import_extras        meta\Super Nintendo Entertainment System (custom).xml

I downloaded the original (mine says custom because I'm adding manually the number of players missing in consoles lists) xml list from here: https://hyperlist.hyperspin-fe.com/

Some are outdated but you can get newer versions in their forums. It's good for testing.
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: zpaolo11x on May 13, 2019, 07:42:02 AM
Here I created in AM root folder another called "meta" and put there all the xml files. Then you can use import extras field like this:

import_extras        meta\Super Nintendo Entertainment System (custom).xml

I downloaded the original (mine says custom because I'm adding manually the number of players missing in consoles lists) xml list from here: https://hyperlist.hyperspin-fe.com/

Some are outdated but you can get newer versions in their forums. It's good for testing.

Wow that worked, I got a nice SNES setup with all metadata and it looks pretty good. Most consoles look nice with the Arcadeflow style of snapshot + wheel artwork, with one notable exception: Game Boy :O All those grey snapshots look very uninspiring even with the game title overlayed :D I'll see how it looks if you load box arts instead of snapshots, and video snaps loaded later on, but a box-art mode is probably better for console games :/
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: Enkak on May 13, 2019, 07:51:21 AM
Here I created in AM root folder another called "meta" and put there all the xml files. Then you can use import extras field like this:

import_extras        meta\Super Nintendo Entertainment System (custom).xml

I downloaded the original (mine says custom because I'm adding manually the number of players missing in consoles lists) xml list from here: https://hyperlist.hyperspin-fe.com/

Some are outdated but you can get newer versions in their forums. It's good for testing.

Wow that worked, I got a nice SNES setup with all metadata and it looks pretty good. Most consoles look nice with the Arcadeflow style of snapshot + wheel artwork, with one notable exception: Game Boy :O All those grey snapshots look very uninspiring even with the game title overlayed :D I'll see how it looks if you load box arts instead of snapshots, and video snaps loaded later on, but a box-art mode is probably better for console games :/

Glad to hear that it worked :)

Share some screenshots when you can to see the evolution of it. :p

Not sure how box-art will look because of different dimensions and so on. I'm having some problems with it on some extra layouts for other theme because SNES are rectangular, others are squared, etc. For Arcadeflow screenshot + wheel artwork is looking really great and promising. Also makes everything balance and connect with arcade main theme of course. :)
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: zpaolo11x on May 14, 2019, 02:44:03 AM

Share some screenshots when you can to see the evolution of it. :p

Not sure how box-art will look because of different dimensions and so on. I'm having some problems with it on some extra layouts for other theme because SNES are rectangular, others are squared, etc. For Arcadeflow screenshot + wheel artwork is looking really great and promising. Also makes everything balance and connect with arcade main theme of course. :)

Well I thought that my Layout could adapt to vertical/horizontal/square box art with some minimum cropping, but you are probably right I should stick with the Arcade look and feel...

Attached you can see the layout in SNES mode, looks pretty good with the horizontal screenshots. The other attachment is the Game Boy display... it's pretty bad, I thought using square thumbs would be a good idea but still the issue is that everything is grey grey grey :D At least if the screenshots had the "green LCD" color it would be a bit better...
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: zpaolo11x on May 14, 2019, 07:00:13 AM
And this is a sneak sneak sneak preview of how it could be with box-art... I'm not sure I like it though...
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: Enkak on May 14, 2019, 07:09:10 AM
And this is a sneak sneak sneak preview of how it could be with box-art... I'm not sure I like it though...

Oh I like it, looks really good actually and can work as alternative displays if people don't want to use screenshots. And noticing there the new meta data icons. :)

I was writing a reply before your new one arrived. :D

I was testing using Display method for GBA to see the crop and it looked good, better than using square option in default layout. Small print attached. But your new version with Game Boy already look better :)
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: zpaolo11x on May 14, 2019, 07:34:42 AM
Smart idea using Displays mode to have better square crop ;) My version is better because it disables thumbnail smooth gradient and game wheel artwork, so you just get the plain box art. But then the question is, what about the game play video kicking in? In Arcade mode it looks cool, here it looks fine on the SNES (4:3 box art) or the game boy (box art is square and screen is almost square), but for the Genesis for example, with vertical box art, the display will be severely cropped.
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: Enkak on May 14, 2019, 07:58:52 AM
Smart idea using Displays mode to have better square crop ;) My version is better because it disables thumbnail smooth gradient and game wheel artwork, so you just get the plain box art. But then the question is, what about the game play video kicking in? In Arcade mode it looks cool, here it looks fine on the SNES (4:3 box art) or the game boy (box art is square and screen is almost square), but for the Genesis for example, with vertical box art, the display will be severely cropped.

Those look great. :)

For genesis or other cases maybe the best option is a different option in "General" section for vertical art? Unsure about the video snaps working on that though. :(

Controlling different boxart or flyers dimensions can be hard. I'm giving a little help to the Chicuelo port regarding some extra layout options for vertical art like flyers or boxart like the NES, Saturn, PS2, etc., other for SNES and one for square art. It can get tricky and hard. ;D

So probably best is to have extra layout options for anyone that wants them (similar to Display menu), with default one being the arcade version using snaps?
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: zpaolo11x on May 14, 2019, 09:33:32 AM
For genesis or other cases maybe the best option is a different option in "General" section for vertical art? Unsure about the video snaps working on that though. :(

I plan to do something like this: a "dummy" hidden boxart will be used to get the proportions, if it's almost square then square mode is triggered, if it's horizontal or vertical then Arcadeflow will use horizontal or vertical thumbs.
I'll ditch videos in this case, but you'll see them in the "history" page.

Quote
Controlling different boxart or flyers dimensions can be hard. I'm giving a little help to the Chicuelo port regarding some extra layout options for vertical art like flyers or boxart like the NES, Saturn, PS2, etc., other for SNES and one for square art. It can get tricky and hard. ;D

So probably best is to have extra layout options for anyone that wants them (similar to Display menu), with default one being the arcade version using snaps?

It's not hard per se, it's just that I don't want to add another shader surface stack to dynamically generate shadows, and my shadows are only 4:3, 3:4 or square, but that should fit most cases :D

As far as options are concerned, I plan to do like this: Arcadeflow will always work in Arcade mode, showing console games in 4:3 aspect ratio (GameBoy will be cropped but it's ok). There will be an optional "boxart" mode that will make console games show boxarts, and arcade game won't be affected.

The issue is that ALL console displays will be affected by that choice, but I hope in the future we'll be able to have per-display layout settings.
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: Enkak on May 14, 2019, 10:25:29 AM
Sounds like a good plan :) And I guess that for consoles we can also use for now the duplicate method if needed to make some use boxart and other snaps.
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: zpaolo11x on May 15, 2019, 01:50:45 AM
Is console games box art supposed to use the "flyer" artwork category by default?
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: Enkak on May 15, 2019, 03:18:15 AM
Is console games box art supposed to use the "flyer" artwork category by default?

It really depends on your system emulator settings. You can create/have a specific boxart artwork section, or duplicate it depending what some of the layouts code need to find.

SNES example here:

Code: [Select]
artwork    boxart          ..\..\collections\Super Nintendo Entertainment System\boxart
artwork    cart            ..\..\collections\Super Nintendo Entertainment System\cart
artwork    cover           ..\..\collections\Super Nintendo Entertainment System\cover
artwork    flyer           ..\..\collections\Super Nintendo Entertainment System\boxart
artwork    marquee         ..\..\collections\Super Nintendo Entertainment System\logo
artwork    snap            ..\..\collections\Super Nintendo Entertainment System\video;..\..\collections\Super Nintendo Entertainment System\snap
artwork    video           ..\..\collections\Super Nintendo Entertainment System\video
artwork    wheel           ..\..\collections\Super Nintendo Entertainment System\logo
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: zpaolo11x on May 16, 2019, 01:25:35 AM
Sneak peek of Genesis console mode with vertical boxart. The code is dirty as hell, it's really driving me mad, but at least it works for horizontal and vertical boxes. I have to hack it even more to accomodate square boxes :D

PS: My idea of using a dummy artwork to get image size is not working since image size data is not available at the time of layout creation but only as transition_callback, so either I put all the layout creation as a function of a transition callback (a bit overkill) or I have to find a different way :O
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: Enkak on May 16, 2019, 04:37:09 AM
Not bad at all :) :D

And then you have cases like the SNES and others where the Japanese boxes are completely different dimension wise, going from horizontal to vertical. Since there's many good translations for Japanese games things can get crazy if you have those mixed like I have. For those special cases I chose the default mode of the layout and begone with it before going mad trying to use alternative layouts that used the boxart.  ;D
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: zpaolo11x on May 16, 2019, 04:41:15 AM
I still have to check but since the horizontal and vertical box orientation is done “per thumb” it should mix horizontal and vertical boxes gracefully.
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: Enkak on May 16, 2019, 04:43:12 AM
Ah great to hear that. Similar to how the main arcade layout mixes vertical and horizontal games with snapshots?
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: zpaolo11x on May 16, 2019, 04:50:44 AM
Ah great to hear that. Similar to how the main arcade layout mixes vertical and horizontal games with snapshots?

Exactly, the boxart is an adaptation of the standard layout. The square layout is a different story since in Arcade mode is generated when the theme is loaded so it won't mix (gonna change in the future of course).
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: Enkak on May 19, 2019, 05:28:43 AM
Very curious as usual to see the final result of your theme with those new additions to console systems. Your Display menu solution is really looking great here after added some images to it. :)
Title: Re: Arcadeflow theme v 4.4 [Release] Updated 9 May 2019
Post by: SFNMutt on May 19, 2019, 05:57:33 AM
thanks for the update