Author Topic: AMGPS (Attract Mode Grid Pro System) v1.9  (Read 3377 times)

kent79

  • Sr. Member
  • ****
  • Posts: 382
    • View Profile
Re: Grid Pro Theme (v1.6 released) - Filter sub menu bar
« Reply #45 on: September 22, 2017, 08:43:23 PM »
I went ahead and fixed the issues and made some enhancements while I was in there. I have attached the updated nuts to this post. Use or dont use however you like. Note that this is the HD version only.

List of changes:
* pretty heavy refactor of the 'GridPro' nut, have a look
* fixed videos not updating properly when paging the list
* layout stuff was moved into the class, so that the idle reset could take advantage of the native selection from the conveyor. this was done so that tracking and updating the idle count wasnt being done through a timer
* idle count is now flushed out immediately on reset
* selection sound was moved to update_frame instead of the less accurate transition callback
* the filter bar is no longer hard coded: it will build the list dynamically from what filters are configured on the display. The first three characters are taken as the abbreviated name, since how you have this setup is fixed width.
* If there is no year, the title will no longer have blank parenthesis. example: "Game Title ()"
* updated the signals logic from the official 'Grid' layout
* idle timeout out can now be disabled in the options
* selection sound can now be disabled in the options. Please note that AM has general sound options already for selections, so forcing playback (especially as 'music') may have problems for people that have these configured
* background music on 'GridPro_Menu' can now be disabled in the options

enjoy~

Look great. Could you help to modify original v1.6 nut file to add below 2 items only? Thanks. 

* idle count is now flushed out immediately on reset

* the filter bar is no longer hard coded: it will build the list dynamically from what filters are configured on the display. The first three characters are taken as the abbreviated name, since how you have this setup is fixed width.

xabis

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Grid Pro Theme (v1.6 released) - Filter sub menu bar
« Reply #46 on: September 23, 2017, 09:00:24 AM »
Flushing the timer out immediately, requires decoupling the update from the timer, which is why I rearranged the layout the way I did; this cannot be done otherwise.

I am not really interested in back-porting only the filter bar changes to the current official 1.6 version, because of the number of crippling bugs in it, but you may cherry pick the code as you like.

If you are not interested in the other changes, then I will fork the the project and re-release in another thread at some point in the near future.

Side note: for the system graphic, you should consider using "systems/[System]" instead of "systems/[DisplayName]", because for consoles, most people will be configuring the emulator to use thegamesdb for scraping, and "system" will always be the same for everyone, where as display name forces your users to use a very specific name for each display to get these to appear. This will require renaming the pngs in your layout, though.

kent79

  • Sr. Member
  • ****
  • Posts: 382
    • View Profile
Re: Grid Pro Theme (v1.6 released) - Filter sub menu bar
« Reply #47 on: September 23, 2017, 08:18:46 PM »
Thank you for your explanation. I will update my version later  :)

kent79

  • Sr. Member
  • ****
  • Posts: 382
    • View Profile
Re: Grid Pro Theme (v1.7 released)
« Reply #48 on: September 24, 2017, 03:30:45 AM »
Thank you for "xabis" providing coding. The new version is base on it.  :)

- filter bar is no longer hard coded
- idle count is now flushed out immediately on reset
- background music on 'GridPro_Menu' can now be disabled in the options
- bugs fix

Filter setup

1. Create Filter - edit attact.cfg

example:

Code: [Select]
display MAME
layout               GridPro
romlist              MAME
in_cycle             yes
in_menu              yes
filter               All
filter               Favourites
rule                 Favourite equals 1
filter               Action
rule                 Category contains Fighter
filter               Shooting
rule                 Category contains Shooter
filter               Racing
rule                 Category contains Driving
filter               Sports
rule                 Category contains Sports
filter               Puzzle
rule                 Category contains Puzzle

2.  Assign button for Previews Button & Next Button on AM option-> Controls

3. Enjoy
« Last Edit: September 24, 2017, 03:47:28 AM by kent79 »

jedione

  • Sr. Member
  • ****
  • Posts: 310
  • punktoe
    • View Profile
Re: Grid Pro Theme (v1.7 released)
« Reply #49 on: September 24, 2017, 07:39:10 AM »
thanks for 1.7,,,, excellent....
help a friend....

jedione

  • Sr. Member
  • ****
  • Posts: 310
  • punktoe
    • View Profile
Re: Grid Pro Theme (v1.7 released)
« Reply #50 on: September 24, 2017, 09:36:20 AM »
quick update,, on pie3  1.7vs  - 4:3

the code needs to be updated for vid's and images to show.. change from artwork to image.

if ( my_config["select_bgArt"] == "image" ){
   bgArt = fe.add_image("bg.jpg", 0, 0, 800, 600 );
}

else if ( my_config["select_bgArt"] == "video" ){
   bgArt = fe.add_image("bg.mp4", 0, 0, 800, 600 );



thanks again..
help a friend....

kent79

  • Sr. Member
  • ****
  • Posts: 382
    • View Profile
Re: Grid Pro Theme (v1.7 released)
« Reply #51 on: September 24, 2017, 03:39:54 PM »
quick update,, on pie3  1.7vs  - 4:3

the code needs to be updated for vid's and images to show.. change from artwork to image.

if ( my_config["select_bgArt"] == "image" ){
   bgArt = fe.add_image("bg.jpg", 0, 0, 800, 600 );
}

else if ( my_config["select_bgArt"] == "video" ){
   bgArt = fe.add_image("bg.mp4", 0, 0, 800, 600 );



thanks again..

Thank you reply and version update to 1.71  :)

kent79

  • Sr. Member
  • ****
  • Posts: 382
    • View Profile
Re: Grid Pro Theme (v1.8 released)
« Reply #52 on: October 08, 2017, 03:54:36 AM »
Dear All,

Nice to see forum back.

Version update to v1.8
- minor bugs fix
- modify default "Idle TimeOut" value to 30 sec
- add animation of home menu layout
- add system intro demo function
- add NDS system & console logo
 
Try to modify screensaver config to be system intro demo function. System Intro video can randomly play once then back to home menu. Of course, intro video will play again when next time out trigger.

https://www.youtube.com/watch?v=eATrb51ELhs&feature=youtu.be

How to:

1. Download version 1.8 pack and replace screensaver.nut file
2. Confirm a value "Idle TimeOut" Option setting where it is on Display Configure, for example 30 sec
3. Goto Screen Saver Configure , change "Screen Saver TimeOut" to 35 sec (This is very important. Make sure the value must be great then "Idle TimeOut" value.)
4. Put system intro videos to \Attract Mode\menu-art\snap. (Make sure file name matching your system)
5. Done
« Last Edit: October 08, 2017, 05:17:19 PM by kent79 »

kent79

  • Sr. Member
  • ****
  • Posts: 382
    • View Profile
Re: Grid Pro Theme (v1.8 released)
« Reply #53 on: October 15, 2017, 03:35:53 AM »
Happy to say, Screen saver issue fixed. I will release new version soon  :)

kent79

  • Sr. Member
  • ****
  • Posts: 382
    • View Profile
Re: AMGPS (Attact Mode Grid Pro System) V1.9
« Reply #54 on: October 16, 2017, 04:18:37 AM »
Just Updated to version v1.9. Theme name was changed to AMGPS

- fixed screen saver issue. Now screen saver time out setting was moving to AMGPS Home Theme option (You may set any value of time out). Please make sure disable (set to 0) AM default screen saver setting.

- add BG image continuous sliding effect. You may config it on theme options. The effect is some lag issue in this moment. I don't know why. Hope some one can fix it.

 :)

« Last Edit: Yesterday at 01:16:20 AM by kent79 »