Attract-Mode Support Forum

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

Title: Arcadeflow theme v 2.7 [Release] Updated 11 October 2018
Post by: zpaolo11x on January 15, 2018, 12:10:01 PM
Arcadeflow theme updated to revision 2.7!

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

A maintenance update, mostly due to some bugs I found in the management of screen rotation, and some code cleanup. Just added one option to set a custom resolution so you can have, for example, a 4:3 layout on a 16:9 screen if you need it :)

From version 2.4 you don't need to fix aspect ratio of thumbs, the theme will work it out for you.

The "noshaders" layout has been dropped so if you still want to use it you have to stick to AF 2.3 or earlier versions.

From version 2.0 you don't need to generate blurred backgrounds or shadows for game titles with xnview, since the theme is generating them on the fly with shaders.

More details in the "What's New" section, as usual, enjoy and please report any bugs!

v1.4 on youtube
https://youtu.be/sUZW1vHs7Lg (https://youtu.be/sUZW1vHs7Lg) https://youtu.be/sUZW1vHs7Lg

**Arcadeflow - Attract Mode theme by zpaolo11x - v 2.7**

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.


*What's new in v 2.7*

- Fixed some bugs in screen rotation
- Added the possibility to define a layout resolution independent from screen resolution

*Custom controls*

You can define a custom control to call the game context menu, from which you can activate the following functions:
- "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

*Filters, Search and Layout options*

You can access the "Filters" menu and the "Search" function by going "UP" from the first row of icons. In the same menu you'll get the "Layout options" access (in AM 2.4)

*Tags*

You can add a "Completed" tag to games, that will ad a "Completed" stamp on them

*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 altest row to enter a "large jumps" scrolling mode.

* Game options*

GENERAL
- "Context Menu Button" : Setup the button to use to recall game info and actions context menu
- "Rows in horizontal layout" : Number of rows to use in 'horizontal' mode
- "Rows in vertical layout" : Number of rows to use in 'vertical' mode
- "Screen rotation" : Select a persistent screen rotation option
- "Frosted glass" : Add a frosted glass effect for menu backgrounds

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
- "Color gradient" : Fades the artwork behind the game logo to its average color
- "New Game Indicator" : Games not played are marked with a glyph

BACKDROP
- "Overlay Color" : Setup theme luminosity overlay
- "Custom Background Image" : Insert custom background art path
- "Background snap" : Add a faded game snapshot to the background
- "Animate background 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

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

HISTORY
- "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)


** Previous versions history **

*v 2.6*

- New "frosted glass" effect when you enter overlay menus
- Updated Readme.md with current options

*v 2.5*

- Added a new option to toggle screen rotation permanently

*v 2.4*

- Snapshots aspect ratio is now adapted to 4:3 or 3:4 automatically
- Some improvements to shaders, cleaned up the code
- Revamped the History page adding a CRT-like shader to the game preview
- Tweaked the appearance of themes (dark is now darker) and fixed some bugs in snapshots scaling

*v 2.3*

- Improved the overall speed by optimizing shaders and textures
- Added a new effect on the background where you can get a pixellated version of the snap or video
- Added a new glow effect around selected thumbs with the average thumb color
- Added the possibility to hear audio of the videos in the thumb and/or in the history page
- Revamped the options to make it more clear

*v 2.2*

- The thumbnail art fades to the average thumbnail color in the area behind the title logo, to improve readability
- Added an option "Smooth Gradient Snap" to enable/disable the fade effect
- In "Square" thumbs mode changed the position and aspect ratio of the logo so it's more on the top of the thumb

*v 2.1*

- Added some tweaks to make scrolling more fluid and correct slowdowns
- Fixed a bug in the background scaling blurred snap routine
- Changed the blur shader, now there are three layouts to chose from: layout, layout_noshader, layout_oldshader (with a lighter shader that is faster on some machines)

*v 2.0*

- New feature: you can now change the splash logo
- New feature: background artwork can be a semi-transparent PNG and will show the blurred background behind it
- Under the hood changes: version 2.0 is a huge rewrite of AF, no need to generate blurred backgrounds or blurred logo shadows with xnview, the theme can generate on the fly shadows and backgrounds from your snapshots and wheel artwork. The theme may be a bit slower on your system depending on the size of artworks which is generally larger than xnview generated blurred pictures.
- If you have issues with the new way "blur" is generated you can use the layout_noshader.nut file instead, just chose it from the layout options menu (AM 2.4) or rename it to layout.nut (AM 2.3). This layout file has all the features of the new one, but in a standard framework using xnview generated artwork

*v 1.9*

- AM 2.4 was released while coding AF 1.9, adapted the code so it works both in 2.3 and 2.4:
  - Fixed the zorder management
  - Implemented a new way to crop thumbnails for "square" thumbs layout
  - 2.4 users can access the "Layout Options" menu directly from the "General" menu accessible going "Up" from the game grid
  - Rewritten the scrolling title routine with proper timing
- Custom background picture is not stretched but scaled/cropped to fit the theme aspect ratio
- Thoroughly rewritten the transition response routine, it's cleaner and works much better now.
- Thanks to the above rewrite you can now use "left" and "right" on the History screen to go to the previous/next game, the layout should now respond correctly even to "jump to letter" calls and page jumps.
- "Square" thumbnails layout now responds to the "Blurred Logo Shadow" option, if you enable it you'll get game name overlay with drop shadow, otherwise plain game name with gradient background.
- When a game has a multi-language title separated by "/" (e.g. Fatal Fury / Garou Densetsu) the theme will crossfade the titles so that title scrolling is needed less often.

*v 1.8*

- Introduced a new layout style where game snaps are not horizontal or vertical depending on game orientation, but cropped square. You can chose it in the options menu.

*v 1.7*

- Overhauled the menu and functions system, now it works like this:
  - When going "UP" from the tiles list you get to a "main menu" where you can select Filters Menu or Global Search
  - When on a game using the configurable control button you get a "context menu" overlay with 4 game-specific functions you chose by using your joystick/keys:
    - "UP" enters the "More of the same..." search menu
    - "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
- Implemented a version of the History.dat plugin so you can see history without the need to enable the plugin (see options)
- Rolled back the way horizontal and vertical games are detected, the "new" one had some issues in many circumstances
- Tweaked and updated search with on-screen keys
- Added a workaround when invoking filters through the filters menu button to fix some tiles update

- New theme options included:
  -   "History.dat" is the location of the History.dat file (no need to enable or configure the )
  - "Index Clones" works like the same option in the History.dat plugin.
  - "Generate Index" a one-time function to generate the history index

*v 1.6*

- Changed the way horizontal and vertical games are detected, this time it should work for all users and all games lists
- Changed the way the "vertical" mode is scaled and layed out, clearer and with larger thumbs
- Search features that require tex input now also work with on-screen keys (embedded the KeyboardSearch plugin)
- New theme options included:
  -   "Search string entry method" to chose if you want to use a keyboard or a joystick and on screen keys to enter text
   - "Immediate search" will live update results while you enter search text using the on screen keys
   - "Enable AF splash logo" enables/disables the fading splash Arcadeflow logo
  - "Vertical rows" allows to use 2 or 3 rows of icons in vertical mode

*v 1.5*

- New shadows graphics, smoother and more modern-looking
- New and improved search features:
  - use "Custom 2" to filter games with the same year, manufacturer, main category and sub-category of the current game (e.g. shooters, or horizontal shooters)
  - use "Custom 3" to open a menu and search in games titles, years, manufacturers or categories
- When toggling screen rotation using AttractMode hotkeys the screen updates to the vertical layout if needed.

*v 1.4*

- Changed (again) splash screen graphics at startup (new AF logo)
- Introducing theme options:
  - You can chose the theme's... theme :D There are 4 choices: "Default" (greyed blurred background), "Dark", "Light" (dark and light blurred background), "Pop" (blurred background colors unaltered)
  - You can chose whether you want "hard edged" game title shadows or "smooth" game title shadows, the latter requires new artwork (see below)
  - You can chose whether you want to place a marker on unplayed games
  - You can place a background image, this will be affected by the theme choice and will override the blurred background
- Minor tweaks and speedups, now each sections retaines the latest selected game

*v 1.3*

- Key repeat rate limited to allow more fluid scrolling of tiles
- Added selection sound
- Changed splash screen graphics at startup

*v 1.2*

- Scrolling game title when the title size is too big to fit the screen
- If you go "up" from the first row you enter the "Filters" menu
- If you go "down" from the second row the scrollbar highlights and you can jump screens faster
- Improved scrolling speed on some systems
- Added a splash screen at startup

*v 1.1*

- The games list is not repeating
- Tweaked scrolling at the beginning of the list so the first game column is not centered
- Changed the timing so that when the video snapshot is loaded the scrolling doesn't stutter
- Number of columns automatically calculated
- Better support for vertical displays

*v 1.0*

- First release

![AF Image](http://www.mixandmatch.it/AF/AF_1280_2.jpg)

(http://www.mixandmatch.it/AF/AF_1280_2.jpg) (http://www.mixandmatch.it/AF/AF_1280_2.jpg)
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)