Author Topic: Verted -- Layout for Vertical Cabinets  (Read 17799 times)

mahuti

  • Administrator
  • Sr. Member
  • *****
  • Posts: 252
    • View Profile
    • Github Repositories
Re: Verted -- Layout for Vertical Cabinets
« Reply #15 on: January 31, 2021, 06:42:53 PM »
What information do you want to see you mentioned Emulator Name and Favorite Status... and Etc. What is included in "Etc"  ;D

verion

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 863
    • View Profile
    • new projects
Re: Verted -- Layout for Vertical Cabinets
« Reply #16 on: February 01, 2021, 03:47:12 PM »
I was wondering if I'd be able to adopt your code to my BIONIC THEME design that I have laying in a bottom drawer for some time.

this is a video
https://www.facebook.com/watch/?v=653130338481660

this is a AM forum thread
http://forum.attractmode.org/index.php?topic=2903.0

Looks like it's more-or-less the same, not visually, but structurally. So maybe I can just get by with replacing overlays and moving objects around. This should be simple enough. I type of element from my design that is absent in your layout - is the frame around the game list. Do you think I can easily add an image overlay to the set of game list elements? So it will hide with the game list on a tab change.

SpoonyAllen

  • Jr. Member
  • **
  • Posts: 13
    • View Profile
Re: Verted -- Layout for Vertical Cabinets
« Reply #17 on: February 09, 2021, 09:59:18 AM »
i noticed that this theme will cause AM to crash from time to time when scrolling through videos. It happens about once every 10 bootups. i've had it happen on both windows 7 and win10.

mahuti

  • Administrator
  • Sr. Member
  • *****
  • Posts: 252
    • View Profile
    • Github Repositories
Re: Verted -- Layout for Vertical Cabinets
« Reply #18 on: February 09, 2021, 05:19:29 PM »
Do you have history plug-in enabled?

I haven't seen it crash yet on win 10 or pi. Probably some configuration difference i need to account for. If you have any logs with errors let me know and I'll be happy to sort it out.

SpoonyAllen

  • Jr. Member
  • **
  • Posts: 13
    • View Profile
Re: Verted -- Layout for Vertical Cabinets
« Reply #19 on: February 11, 2021, 04:30:30 PM »
Do you have history plug-in enabled?

I haven't seen it crash yet on win 10 or pi. Probably some configuration difference i need to account for. If you have any logs with errors let me know and I'll be happy to sort it out.

 Here is my last_run.log

Code: [Select]
Attract-Mode v2.6.1 (Windows, SFML 2.5.1 +SWF +7z +Curl)
avcodec 58.54.100 / avformat 58.29.100 / swscale 5.5.100 / avutil 56.31.100 / swresample 3.5.100

Config: C:\AMV\attract.cfg

*** Initializing display: 'mame'
 - Loaded master romlist 'mame' in 108 ms (2589 entries kept, 0 discarded)
 - Constructed 3 filters in 20 ms (7767 comparisons)

xconv: 1.6

yconv: 2.13438

xconv: 1.6

yconv: 1.6

RELATIVE XY:
message:
type: x
anchor: middle
align_to: (null : 0x00000000)
screen WxH: 768 x 1366
num: 0
object_xy:0
object_wh:716
relative_object_xy: 0
relative_object_wh: 716
new xy coord: 0

RELATIVE XY:
message:
type: y
anchor: middle
align_to: (null : 0x00000000)
screen WxH: 768 x 1366
num: 0
object_xy:0
object_wh:1126
relative_object_xy: 0
relative_object_wh: 1126
new xy coord: 0

RELATIVE XY:
message:
type: x
anchor: middle
align_to: (null : 0x00000000)
screen WxH: 768 x 1366
num: 0
object_xy:160
object_wh:716
relative_object_xy: 0
relative_object_wh: 716
new xy coord: 0

RELATIVE XY:
message:
type: y
anchor: middle
align_to: (null : 0x00000000)
screen WxH: 768 x 1366
num: 55.4938
object_xy:136
object_wh:913
relative_object_xy: 0
relative_object_wh: 1126
new xy coord: 161.994

RELATIVE XY:
message: PLAY NOW!!!
type: x
anchor: right
align_to: (null : 0x00000000)
screen WxH: 768 x 1366
num: -64
object_xy:588
object_wh:208
relative_object_xy: (null : 0x00000000)
relative_object_wh: (null : 0x00000000)
new xy coord: 496

RELATIVE XY:
message: [!alphafirst]
type: x
anchor: left
align_to: (null : 0x00000000)
screen WxH: 768 x 1366
num: 12.8
object_xy:28
object_wh:28
relative_object_xy: 27
relative_object_wh: 76
new xy coord: 39.8
 - Loaded layout: C:\AMV\layouts/Verted/ (layout.nut)

RELATIVE XY:
message: [!alphafirst]
type: y
anchor: middle
align_to: (null : 0x00000000)
screen WxH: 768 x 1366
num: 4.8
object_xy:559
object_wh:35
relative_object_xy: 300.146
relative_object_wh: 76
new xy coord: 325.446

RELATIVE XY:
message: [!alphafirst]
type: y
anchor: middle
align_to: (null : 0x00000000)
screen WxH: 768 x 1366
num: 4.8
object_xy:325.446
object_wh:35
relative_object_xy: 300.146
relative_object_wh: 76
new xy coord: 325.446

RELATIVE XY:
message: [!alphafirst]
type: y
anchor: middle

P47

  • Jr. Member
  • **
  • Posts: 10
    • View Profile
Re: Verted -- Layout for Vertical Cabinets
« Reply #20 on: February 13, 2021, 08:11:17 AM »
What information do you want to see you mentioned Emulator Name and Favorite Status... and Etc. What is included in "Etc"  ;D

Emulator Name (Mame or FBA or Mame Libretro) it is for varios collections of roms. It is the same in other themes.

When i change the collections there is no name visible that indicate this is Mame Roms or Favorite roms for example.

mahuti

  • Administrator
  • Sr. Member
  • *****
  • Posts: 252
    • View Profile
    • Github Repositories
Re: Verted -- Layout for Vertical Cabinets
« Reply #21 on: February 13, 2021, 10:30:08 AM »
Good suggestion

mjnman

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Verted -- Layout for Vertical Cabinets
« Reply #22 on: April 09, 2021, 01:24:29 AM »
Thanks for the theme. I like and use it.
There is a little bug when switch from "Video" to "Flayer", "Info" ecc. The game list disappears when go down or go up.

mahuti

  • Administrator
  • Sr. Member
  • *****
  • Posts: 252
    • View Profile
    • Github Repositories
Re: Verted -- Layout for Vertical Cabinets
« Reply #23 on: April 09, 2021, 09:03:30 AM »
I'll check my local. I feel like at some point I dealt with a few similar issues.

mjnman

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Verted -- Layout for Vertical Cabinets
« Reply #24 on: April 09, 2021, 02:23:50 PM »
Thank you....It would be interesting if there is a left side of the custom1 command.  :P...maybe custom2  :-*

SpoonyAllen

  • Jr. Member
  • **
  • Posts: 13
    • View Profile
Re: Verted -- Layout for Vertical Cabinets
« Reply #25 on: April 25, 2021, 08:02:22 AM »
Thanks for the theme. I like and use it.
There is a little bug when switch from "Video" to "Flayer", "Info" ecc. The game list disappears when go down or go up.

i had this same issue

bjhille

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Verted -- Layout for Vertical Cabinets
« Reply #26 on: January 16, 2022, 05:29:34 PM »
Is this layout being worked on or supported any longer?  I'm working on setting it up and I'm impressed. 

I found the same bug as others (if you scroll up or down while on the other tabs the game list disappears).  - I got this sorted out.  It was an easy fix (add "show_games_list()" in the play_video_tab() function as the last statement in the first if statement).

I know the custom 1 button advances the tabs at the bottom, is there a way to go back?  In other words, I wanted to use the joystick up and down to select the game, but the left and right to navigate the tabs.  Is this possible?  I found the code in the layout.nut and have modified it to accept "custom2", but actually going backwards through the tabs is more challenging.  It goes backwards once, then goes forward again....

Thanks.  Brian
« Last Edit: January 16, 2022, 07:34:55 PM by bjhille »

bjhille

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Verted -- Layout for Vertical Cabinets
« Reply #27 on: January 17, 2022, 06:29:34 AM »
In case anyone is interested....

I updated the .nut file.  The disappearing game list is fixed and I got "custom2" to work to go backwards through the tabs as well.

Two issues remain which I could use help figuring out:
* random crashes - when scrolling it sometime crashes out of AM.  Same issue as the original nut file.
* sometimes when you start AM, the game list is hidden.  Need to scroll to a tab and back to restore.  Same issue as the original file.  I can't seem to figure this one out.

Thanks.  Brian