Author Topic: layout dilima  (Read 965 times)

toothlessgrinn

  • Sr. Member
  • ****
  • Posts: 145
    • View Profile
layout dilima
« on: February 08, 2019, 08:40:21 AM »
i made my own layout with ambuilder about 6 months ago and it worked beautifully until the other day. my lastrun.text says it cant find the aspect ratio and attract crashes.

any ideas?

actually all custom layouts eventually do this. when i switch it to a layout that was with attract like cools it works fine.

whats baffling is , is that it WORKS fine for like 6 MONTHS or so THEN decides to start crashing...

any feedback would be MOST APPRECIATED!
thanx
we came , we saw , we lost LOTS of quarters...

Win 7
Asus mobo amd 64bit 3core
12g ram
4 player. Custom built woody cab
46" plasma screen with 22" marquee

toothlessgrinn

  • Sr. Member
  • ****
  • Posts: 145
    • View Profile
Re: layout dilima
« Reply #1 on: February 11, 2019, 10:41:05 AM »
hundreds of people making layouts but not a single mofo cant help??

whatever ... thanks guys...

really appreciate it!
we came , we saw , we lost LOTS of quarters...

Win 7
Asus mobo amd 64bit 3core
12g ram
4 player. Custom built woody cab
46" plasma screen with 22" marquee

kent79

  • Hero Member
  • *****
  • Posts: 545
    • View Profile
Re: layout dilima
« Reply #2 on: February 11, 2019, 10:49:06 AM »
I don't think someone can help you by insufficient information. Well you may provide your layout first.   :)
« Last Edit: February 11, 2019, 11:33:36 AM by kent79 »

FrizzleFried

  • Sr. Member
  • ****
  • Posts: 187
    • View Profile
    • Idaho Garagecade
Re: layout dilima
« Reply #3 on: February 11, 2019, 12:08:41 PM »
Did you have a backup of the layout?  If so,  does IT also cause problems?

The layout.nut is not being changed by attract-mode (unless it's being corrupted in some way).

Something else has to be changing to cause this issue.

If this is happening to all 'custom' layouts,  then the problem lies within the program itself or the hardware I'd say.

Have you tried to re-install attract-mode (latest build)?

Visit my arcade blog ... www.idahogaragecade.com (updated 04-05-19)

iOtero

  • Sr. Member
  • ****
  • Posts: 297
    • View Profile
Re: layout dilima
« Reply #4 on: February 11, 2019, 01:16:38 PM »
The first thing would be to see the source code of the layout...  :-\

And the attract.cfg...  ::)
I love that on my laptop the eyes shine to the Alien every time i access the ssd... :D

toothlessgrinn

  • Sr. Member
  • ****
  • Posts: 145
    • View Profile
Re: layout dilima
« Reply #5 on: February 27, 2019, 07:28:22 AM »
good god that explains alot.... smh... i need to pay better attention then lmao!! i thought i linked all that but i guess i didnt.. sorry guys my bad!

has 2 layout files layout.nut and layout.ambuilder.


attract cfg

# Generated by Attract-Mode v2.5.1
#
display   arcade
   layout               williamsmulti
   romlist              arcade
   in_cycle             yes
   in_menu              yes
   filter               All
   filter               Favourites
      rule                 Favourite equals 1
   filter               Fighter
      rule                 Category contains Fighter

display   fusion
   layout               OlRoom 4x3
   romlist              fusion
   in_cycle             yes
   in_menu              yes
   filter               All
   filter               Favourites
      rule                 Favourite equals 1

display   nestopia
   layout               OlRoom NES
   romlist              nestopia
   in_cycle             yes
   in_menu              yes
   filter               All
   filter               Favourites
      rule                 Favourite equals 1

display   snes9x
   layout               OlRoom 4x3 2
   romlist              snes9x
   in_cycle             yes
   in_menu              yes
   filter               All
   filter               Favourites
      rule                 Favourite equals 1

sound
   sound_volume         100
   ambient_volume       100
   movie_volume         100

input_map
   configure            Tab
   prev_letter          LControl+Up
   next_letter          LControl+Down
   next_filter          LControl+Right
   configure            Escape+Up
   edit_game            Escape+Down
   add_favourite        Escape+LControl
   prev_letter          Joy0 Up+Joy0 Button0
   next_letter          Joy0 Down+Joy0 Button0
   next_filter          Joy0 Right+Joy0 Button0
   configure            Joy0 Up+Joy0 Button1
   edit_game            Joy0 Down+Joy0 Button1
   add_favourite        Joy0 Button0+Joy0 Button1
   back                 Escape
   back                 Joy0 Button1
   up                   Up
   up                   Joy0 Up
   down                 Down
   down                 Joy0 Down
   left                 Left
   left                 Joy0 Left
   right                Right
   right                Joy0 Right
   select               Return
   select               LControl
   select               Joy0 Button0
   filters_menu         LControl+Left
   filters_menu         Joy0 Left+Joy0 Button0
   filters_menu         Divide
   default             back   exit
   default             up   prev_game
   default             down   next_game
   default             left   prev_display
   default             right   next_display

general
   language             en
   exit_command         
   exit_message         
   default_font         arial
   font_path            %SYSTEMROOT%/Fonts/
   screen_saver_timeout 60
   displays_menu_exit   yes
   hide_brackets        yes
   startup_mode         default
   confirm_favourites   yes
   confirm_exit         yes
   mouse_threshold      10
   joystick_threshold   75
   window_mode          default
   filter_wrap_mode     default
   track_usage          yes
   multiple_monitors    no
   smooth_images        yes
   selection_max_step   128
   selection_speed_ms   40
   move_mouse_on_launch yes
   scrape_snaps         yes
   scrape_marquees      yes
   scrape_flyers        yes
   scrape_wheels        yes
   scrape_fanart        yes
   scrape_videos        yes
   scrape_overview      yes
   hide_console         yes
   video_decoder       
   menu_prompt          Displays Menu
   menu_layout         

layout_config   Game Station
   param                blue 110
   param                enable_strip No
   param                enable_time Yes
   param                green 67
   param                mode Expert
   param                ratio Yes
   param                red 5
   param                sound Yes
   param                wheel_logo Wheel Only

layout_config   hello-nintendo-master
   param                bg2Type extended
   param                gridArt box
   param                hItemGrid 147
   param                optToons mario-group
   param                selectorIcon controller
   param                totalXGrid 4
   param                totalYGrid 3
   param                wItemGrid 108
   param                xPadGrid 38
   param                xsGrid 513
   param                yPadGrid 21
   param                ysGrid 141

layout_config   Cools
   param                bg_image snap
   param                enable_category Yes
   param                enable_entries Yes
   param                enable_filter Yes
   param                enable_flicker No
   param                enable_flyer Yes
   param                enable_list Yes
   param                flyer_angle 5
   param                logo_position Left
   param                preview_image video

layout_config   OlRoom 4x3
   param                boxart_folder flyer
   param                boxart_shadows yes
   param                cartridge_folder marquee
   param                game_titles show wheel images
   param                selected_system Sega Genesis
   param                show_playtime no

layout_config   OlRoom 4x3 2
   param                boxart_folder flyer
   param                boxart_shadows yes
   param                cartridge_folder marquee
   param                game_titles show wheel images
   param                selected_system Nintendo SNES
   param                show_playtime no


plugin   ResFix
   enabled              yes
   param                emulators


« Last Edit: February 27, 2019, 07:31:44 AM by toothlessgrinn »
we came , we saw , we lost LOTS of quarters...

Win 7
Asus mobo amd 64bit 3core
12g ram
4 player. Custom built woody cab
46" plasma screen with 22" marquee

toothlessgrinn

  • Sr. Member
  • ****
  • Posts: 145
    • View Profile
Re: layout dilima
« Reply #6 on: February 27, 2019, 07:35:35 AM »
Did you have a backup of the layout?  If so,  does IT also cause problems?

The layout.nut is not being changed by attract-mode (unless it's being corrupted in some way).

Something else has to be changing to cause this issue.

If this is happening to all 'custom' layouts,  then the problem lies within the program itself or the hardware I'd say.

Have you tried to re-install attract-mode (latest build)?

well i get the same result. works fine for a while then it stops. from version 2.3 to present. 32 bit and 64. 32 bit seems to work better but end up with same result.
we came , we saw , we lost LOTS of quarters...

Win 7
Asus mobo amd 64bit 3core
12g ram
4 player. Custom built woody cab
46" plasma screen with 22" marquee

iOtero

  • Sr. Member
  • ****
  • Posts: 297
    • View Profile
Re: layout dilima
« Reply #7 on: March 02, 2019, 02:50:50 AM »
I had never seen a code generated by am builder. And once seen, well I do not intend to bother analyzing it in depth.

The why, then just to see the differences:

A normal code (robospin):

Code: [Select]
////////////////////////////////////////////////////////////////////////////////////////////////////////
// Updated 9/08/2016 by omegaman                                                                     
// Attract-Mode "Robospin" layout. Thanks to verion for cleaning cab skins and to malfacine's for glogos                             
// Notes: Lots of changes... 
// When game marquee is turned off, console marquees will be turned on.     
////////////////////////////////////////////////////////////////////////////////////////////////////////   

class UserConfig {
   </ label="Select BG art", help="Blur enables art for all consoles; otherwise choose brick, retro, black or flyer for bg", options="blur,brick,retro,black,flyer", order=1 /> enable_bg="blur";   
   </ label="Select cab skin", help="Select a cab skin image", options="robo,moon", order=2 /> enable_cab="robo";
   </ label="Select spinwheel art", help="The artwork to spin", options="marquee, wheel", order=3 /> orbit_art="wheel";
   </ label="Transition Time", help="Time in milliseconds for wheel spin.", order=4 /> transition_ms="35"; 
   </ label="Select listbox, wheel, vert_wheel", help="Select wheel type or listbox", options="listbox, wheel, vert_wheel", order=5 /> enable_list_type="wheel";
   </ label="Enable snap bloom shader effect", help="Bloom effect uses shader", options="Yes,No", order=6 /> enable_bloom="No";
   </ label="Enable crt shader effect", help="CRT effect uses shader", options="Yes,No", order=7 /> enable_crt="No";
   </ label="Enable random text colors", help=" Select random text colors.", options="yes,no", order=8 /> enable_colors="yes";
   </ label="Enable system logos", help="Select system logos", options="Yes,No", order=9 /> enable_slogos="Yes";
   </ label="Enable MFR game logos", help="Select game logos", options="Yes,No", order=10 /> enable_mlogos="Yes";
   </ label="Enable game marquees", help="Show game marquees", options="Yes,No", order=11 /> enable_marquee="Yes";
   </ label="Enable lighted marquee effect", help="show lighted Marquee", options="Yes,No", order=12 /> enable_Lmarquee="No";
   </ label="Select pointer", help="Select animated pointer", options="rocket,hand,none", order=13 /> enable_pointer="rocket";
   </ label="Enable text frame", help="Show text frame", options="yes,no", order=14 /> enable_frame="yes";
   </ label="Enble background overlay", help="Select overlay effect; options are masking, scanlines, aperture", options="mask,scanlines,aperture,none", order=15 /> enable_overlay="mask";
   </ label="Monitor static effect", help="Show static effect when snap is null", options="yes,no", order=16 /> enable_static="yes";


local my_config = fe.get_config();
local flx = fe.layout.width;
local fly = fe.layout.height;
local flw = fe.layout.width;
local flh = fe.layout.height;
fe.layout.font="Impact";

// modules
fe.load_module("fade");
fe.load_module( "animate" );

// Background Art
if ( my_config["enable_bg"] == "blur")
{
local b_art = fe.add_image("bg/[Emulator]", 0, 0, flw, flh );
b_art.alpha=255;
}

if ( my_config["enable_bg"] == "brick")
{
local b_art = fe.add_image("bg1.png", 0, 0, flw, flh );
b_art.alpha=255;
}

if ( my_config["enable_bg"] == "retro")
{
local b_art = fe.add_image("bg2.png", 0, 0, flw, flh );
b_art.alpha=255;
}

if ( my_config["enable_bg"] == "black")
{
local b_art = fe.add_image("bg4.png", 0, 0, flw, flh );
b_art.alpha=255;
}

if ( my_config["enable_bg"] == "flyer")
{
local surface_flyer = fe.add_surface( flw, flh );
local b_art = FadeArt( "flyer", 0, 0, flw, flh, surface_flyer );
b_art.trigger = Transition.EndNavigation;
b_art.preserve_aspect_ratio = true;
b_art.alpha=127;

//now position and rotate surface for flyer
surface_flyer.set_pos(flx*0.08, 0, flw*0.9, flh);
surface_flyer.rotation = 0;
}

//masking effect overlay for bg art

if ( my_config["enable_overlay"] == "mask" )
{
local overlay = fe.add_image( "mask.png", 0, 0, flw, flh );
overlay.preserve_aspect_ratio = false;
overlay.alpha = 200;
}

if ( my_config["enable_overlay"] == "scanlines" )
{
local overlay = fe.add_image( "scanlines.png", 0, 0, flw, flh );
overlay.preserve_aspect_ratio = false;
overlay.alpha = 200;
}

if ( my_config["enable_overlay"] == "aperture" )
{
local overlay = fe.add_image( "aperture.png", 0, 0, flw, flh );
overlay.preserve_aspect_ratio = false;
overlay.alpha = 200;
}

if ( my_config["enable_overlay"] == "none" )
{
local overlay = fe.add_image( "none.png", 0, 0, 0, 0 );
overlay.preserve_aspect_ratio = false;
overlay.alpha = 0;
}

if ( my_config["enable_static"] == "yes" )
{
const SNAPBG_ALPHA = 200;
local snapbg=null;
snapbg = fe.add_image( "static.mp4",  flx*0.067, fly*0.364, flw*0.175, flh*0.273 );
    snapbg.trigger = Transition.EndNavigation;
snapbg.skew_y = -fly*0.002;
    snapbg.skew_x = flx*0.009;
    snapbg.pinch_y = 7;
    snapbg.pinch_x = 0;
    snapbg.rotation = -4.7;
snapbg.set_rgb( 155, 155, 155 );
snapbg.alpha = SNAPBG_ALPHA;
}
 else
 {
 local temp = fe.add_text("", flx*0.092, fly*0.38, flw*0.226, flh*0.267 );
 temp.bg_alpha = SNAPBG_ALPHA;
 }

//create surface for snap
local surface_snap = fe.add_surface( 640, 480 );
local snap = FadeArt("snap", 0, 0, 640, 480, surface_snap);
snap.trigger = Transition.EndNavigation;
snap.preserve_aspect_ratio = false;

//now position and pinch surface of snap
surface_snap.set_pos(flx*0.067, fly*0.364, flw*0.175, flh*0.273);
surface_snap.skew_y = 0;
surface_snap.skew_x = flx*0.007;
surface_snap.pinch_y = 4;
surface_snap.pinch_x = 0;
surface_snap.rotation = -5.1;

// add shader support because I can
if ( my_config["enable_bloom"] == "Yes" )
{
    local sh = fe.add_shader( Shader.Fragment, "bloom_shader.frag" );
sh.set_texture_param("bgl_RenderedTexture");
surface_snap.shader = sh;
}

}

A code ambuilder:

Code: [Select]
///////////////////////////////////////
// Generated with AMBuilder 1.0
// https://github.com/liquid8d/am-builder
///////////////////////////////////////

//layout configuration
//fe.layout.width = 1920
//fe.layout.height = 1080
fe.layout.preserve_aspect_ratio = false
fe.layout.font = "Arial"
fe.layout.base_rotation = RotateScreen.None
fe.layout.toggle_rotation = RotateScreen.None
fe.layout.page_size = 10

// Stored Object Properties
local props = {"Standard (4x3)":{"AMArtwork0":{"x":547,"y":160,"width":830,"height":550,"visible":true,"rotation":0,"zorder":-1,"file_name":"snap","preserve_aspect_ratio":false,"video_flags":0,"video_playing":true,"smooth":true,"trigger":Transition.ToNewSelection,"red":255,"green":255,"blue":255,"alpha":255,"origin_x":0,"origin_y":0,"subimg_x":0,"subimg_y":0,"subimg_width":0,"subimg_height":0,"skew_x":0,"skew_y":0,"pinch_x":0,"pinch_y":0,"index_offset":0,"filter_offset":0,"shader":""},"AMImage1":{"x":0,"y":0,"width":1920,"height":1080,"visible":true,"rotation":0,"zorder":-1,"file_name":"multibezel.png","preserve_aspect_ratio":false,"video_flags":0,"video_playing":false,"smooth":true,"trigger":Transition.ToNewSelection,"red":255,"green":255,"blue":255,"alpha":255,"origin_x":0,"origin_y":0,"subimg_x":0,"subimg_y":0,"subimg_width":0,"subimg_height":0,"skew_x":0,"skew_y":0,"pinch_x":0,"pinch_y":0,"index_offset":0,"filter_offset":0,"shader":""},"AMArtwork2":{"x":746,"y":273,"width":460,"height":144,"visible":true,"rotation":0,"zorder":-1,"file_name":"wheel","preserve_aspect_ratio":false,"video_flags":0,"video_playing":false,"smooth":true,"trigger":Transition.ToNewSelection,"red":255,"green":255,"blue":255,"alpha":255,"origin_x":0,"origin_y":0,"subimg_x":0,"subimg_y":0,"subimg_width":0,"subimg_height":0,"skew_x":0,"skew_y":0,"pinch_x":0,"pinch_y":0,"index_offset":0,"filter_offset":0,"shader":""}},"Standard Vert (3x4)":{"AMArtwork0":{"x":547,"y":160,"width":830,"height":550,"visible":true,"rotation":0,"zorder":-1,"file_name":"snap","preserve_aspect_ratio":false,"video_flags":0,"video_playing":true,"smooth":true,"trigger":Transition.ToNewSelection,"red":255,"green":255,"blue":255,"alpha":255,"origin_x":0,"origin_y":0,"subimg_x":0,"subimg_y":0,"subimg_width":0,"subimg_height":0,"skew_x":0,"skew_y":0,"pinch_x":0,"pinch_y":0,"index_offset":0,"filter_offset":0,"shader":""},"AMImage1":{"x":0,"y":0,"width":1920,"height":1080,"visible":true,"rotation":0,"zorder":-1,"file_name":"multibezel.png","preserve_aspect_ratio":false,"video_flags":0,"video_playing":false,"smooth":true,"trigger":Transition.ToNewSelection,"red":255,"green":255,"blue":255,"alpha":255,"origin_x":0,"origin_y":0,"subimg_x":0,"subimg_y":0,"subimg_width":0,"subimg_height":0,"skew_x":0,"skew_y":0,"pinch_x":0,"pinch_y":0,"index_offset":0,"filter_offset":0,"shader":""},"AMArtwork2":{"x":746,"y":273,"width":460,"height":144,"visible":true,"rotation":0,"zorder":-1,"file_name":"wheel","preserve_aspect_ratio":false,"video_flags":0,"video_playing":false,"smooth":true,"trigger":Transition.ToNewSelection,"red":255,"green":255,"blue":255,"alpha":255,"origin_x":0,"origin_y":0,"subimg_x":0,"subimg_y":0,"subimg_width":0,"subimg_height":0,"skew_x":0,"skew_y":0,"pinch_x":0,"pinch_y":0,"index_offset":0,"filter_offset":0,"shader":""}},"SXGA (5x4)":{"AMArtwork0":{"x":547,"y":160,"width":830,"height":550,"visible":true,"rotation":0,"zorder":-1,"file_name":"snap","preserve_aspect_ratio":false,"video_flags":0,"video_playing":true,"smooth":true,"trigger":Transition.ToNewSelection,"red":255,"green":255,"blue":255,"alpha":255,"origin_x":0,"origin_y":0,"subimg_x":0,"subimg_y":0,"subimg_width":0,"subimg_height":0,"skew_x":0,"skew_y":0,"pinch_x":0,"pinch_y":0,"index_offset":0,"filter_offset":0,"shader":""},"AMImage1":{"x":0,"y":0,"width":1920,"height":1080,"visible":true,"rotation":0,"zorder":-1,"file_name":"multibezel.png","preserve_aspect_ratio":false,"video_flags":0,"video_playing":false,"smooth":true,"trigger":Transition.ToNewSelection,"red":255,"green":255,"blue":255,"alpha":255,"origin_x":0,"origin_y":0,"subimg_x":0,"subimg_y":0,"subimg_width":0,"subimg_height":0,"skew_x":0,"skew_y":0,"pinch_x":0,"pinch_y":0,"index_offset":0,"filter_offset":0,"shader":""},"AMArtwork2":{"x":746,"y":273,"width":460,"height":144,"visible":true,"rotation":0,"zorder":-1,"file_name":"wheel","preserve_aspect_ratio":false,"video_flags":0,"video_playing":false,"smooth":true,"trigger":Transition.ToNewSelection,"red":255,"green":255,"blue":255,"alpha":255,"origin_x":0,"origin_y":0,"subimg_x":0,"subimg_y":0,"subimg_width":0,"subimg_height":0,"skew_x":0,"skew_y":0,"pinch_x":0,"pinch_y":0,"index_offset":0,"filter_offset":0,"shader":""}},"Wide (16x10)":{"AMArtwork0":{"x":547,"y":160,"width":830,"height":550,"visible":true,"rotation":0,"zorder":-1,"file_name":"snap","preserve_aspect_ratio":false,"video_flags":0,"video_playing":true,"smooth":true,"trigger":Transition.ToNewSelection,"red":255,"green":255,"blue":255,"alpha":255,"origin_x":0,"origin_y":0,"subimg_x":0,"subimg_y":0,"subimg_width":0,"subimg_height":0,"skew_x":0,"skew_y":0,"pinch_x":0,"pinch_y":0,"index_offset":0,"filter_offset":0,"shader":""},"AMImage1":{"x":0,"y":0,"width":1920,"height":1080,"visible":true,"rotation":0,"zorder":-1,"file_name":"multibezel.png","preserve_aspect_ratio":false,"video_flags":0,"video_playing":false,"smooth":true,"trigger":Transition.ToNewSelection,"red":255,"green":255,"blue":255,"alpha":255,"origin_x":0,"origin_y":0,"subimg_x":0,"subimg_y":0,"subimg_width":0,"subimg_height":0,"skew_x":0,"skew_y":0,"pinch_x":0,"pinch_y":0,"index_offset":0,"filter_offset":0,"shader":""},"AMArtwork2":{"x":746,"y":273,"width":460,"height":144,"visible":true,"rotation":0,"zorder":-1,"file_name":"wheel","preserve_aspect_ratio":false,"video_flags":0,"video_playing":false,"smooth":true,"trigger":Transition.ToNewSelection,"red":255,"green":255,"blue":255,"alpha":255,"origin_x":0,"origin_y":0,"subimg_x":0,"subimg_y":0,"subimg_width":0,"subimg_height":0,"skew_x":0,"skew_y":0,"pinch_x":0,"pinch_y":0,"index_offset":0,"filter_offset":0,"shader":""}},"Wide Vert (10x16)":{"AMArtwork0":{"x":547,"y":160,"width":830,"height":550,"visible":true,"rotation":0,"zorder":-1,"file_name":"snap","preserve_aspect_ratio":false,"video_flags":0,"video_playing":true,"smooth":true,"trigger":Transition.ToNewSelection,"red":255,"green":255,"blue":255,"alpha":255,"origin_x":0,"origin_y":0,"subimg_x":0,"subimg_y":0,"subimg_width":0,"subimg_height":0,"skew_x":0,"skew_y":0,"pinch_x":0,"pinch_y":0,"index_offset":0,"filter_offset":0,"shader":""},"AMImage1":{"x":0,"y":0,"width":1920,"height":1080,"visible":true,"rotation":0,"zorder":-1,"file_name":"multibezel.png","preserve_aspect_ratio":false,"video_flags":0,"video_playing":false,"smooth":true,"trigger":Transition.ToNewSelection,"red":255,"green":255,"blue":255,"alpha":255,"origin_x":0,"origin_y":0,"subimg_x":0,"subimg_y":0,"subimg_width":0,"subimg_height":0,"skew_x":0,"skew_y":0,"pinch_x":0,"pinch_y":0,"index_offset":0,"filter_offset":0,"shader":""},"AMArtwork2":{"x":746,"y":273,"width":460,"height":144,"visible":true,"rotation":0,"zorder":-1,"file_name":"wheel","preserve_aspect_ratio":false,"video_flags":0,"video_playing":false,"smooth":true,"trigger":Transition.ToNewSelection,"red":255,"green":255,"blue":255,"alpha":255,"origin_x":0,"origin_y":0,"subimg_x":0,"subimg_y":0,"subimg_width":0,"subimg_height":0,"skew_x":0,"skew_y":0,"pinch_x":0,"pinch_y":0,"index_offset":0,"filter_offset":0,"shader":""}},"HD (16x9)":{"AMArtwork0":{"x":547,"y":160,"width":830,"height":550,"visible":true,"rotation":0,"zorder":-1,"file_name":"snap","preserve_aspect_ratio":false,"video_flags":0,"video_playing":true,"smooth":true,"trigger":Transition.ToNewSelection,"red":255,"green":255,"blue":255,"alpha":255,"origin_x":0,"origin_y":0,"subimg_x":0,"subimg_y":0,"subimg_width":0,"subimg_height":0,"skew_x":0,"skew_y":0,"pinch_x":0,"pinch_y":0,"index_offset":0,"filter_offset":0,"shader":""},"AMImage1":{"x":0,"y":0,"width":1920,"height":1080,"visible":true,"rotation":0,"zorder":-1,"file_name":"multibezel.png","preserve_aspect_ratio":false,"video_flags":0,"video_playing":false,"smooth":true,"trigger":Transition.ToNewSelection,"red":255,"green":255,"blue":255,"alpha":255,"origin_x":0,"origin_y":0,"subimg_x":0,"subimg_y":0,"subimg_width":0,"subimg_height":0,"skew_x":0,"skew_y":0,"pinch_x":0,"pinch_y":0,"index_offset":0,"filter_offset":0,"shader":""},"AMArtwork2":{"x":746,"y":273,"width":460,"height":144,"visible":true,"rotation":0,"zorder":-1,"file_name":"wheel","preserve_aspect_ratio":false,"video_flags":0,"video_playing":false,"smooth":true,"trigger":Transition.ToNewSelection,"red":255,"green":255,"blue":255,"alpha":255,"origin_x":0,"origin_y":0,"subimg_x":0,"subimg_y":0,"subimg_width":0,"subimg_height":0,"skew_x":0,"skew_y":0,"pinch_x":0,"pinch_y":0,"index_offset":0,"filter_offset":0,"shader":""}},"HD Vert (9x16)":{"AMArtwork0":{"x":547,"y":160,"width":830,"height":550,"visible":true,"rotation":0,"zorder":-1,"file_name":"snap","preserve_aspect_ratio":false,"video_flags":0,"video_playing":true,"smooth":true,"trigger":Transition.ToNewSelection,"red":255,"green":255,"blue":255,"alpha":255,"origin_x":0,"origin_y":0,"subimg_x":0,"subimg_y":0,"subimg_width":0,"subimg_height":0,"skew_x":0,"skew_y":0,"pinch_x":0,"pinch_y":0,"index_offset":0,"filter_offset":0,"shader":""},"AMImage1":{"x":0,"y":0,"width":1920,"height":1080,"visible":true,"rotation":0,"zorder":-1,"file_name":"multibezel.png","preserve_aspect_ratio":false,"video_flags":0,"video_playing":false,"smooth":true,"trigger":Transition.ToNewSelection,"red":255,"green":255,"blue":255,"alpha":255,"origin_x":0,"origin_y":0,"subimg_x":0,"subimg_y":0,"subimg_width":0,"subimg_height":0,"skew_x":0,"skew_y":0,"pinch_x":0,"pinch_y":0,"index_offset":0,"filter_offset":0,"shader":""},"AMArtwork2":{"x":746,"y":273,"width":460,"height":144,"visible":true,"rotation":0,"zorder":-1,"file_name":"wheel","preserve_aspect_ratio":false,"video_flags":0,"video_playing":false,"smooth":true,"trigger":Transition.ToNewSelection,"red":255,"green":255,"blue":255,"alpha":255,"origin_x":0,"origin_y":0,"subimg_x":0,"subimg_y":0,"subimg_width":0,"subimg_height":0,"skew_x":0,"skew_y":0,"pinch_x":0,"pinch_y":0,"index_offset":0,"filter_offset":0,"shader":""}}}


I never liked the AMBuilder, and now i confirm in my original idea.
« Last Edit: March 02, 2019, 02:52:33 AM by iOtero »
I love that on my laptop the eyes shine to the Alien every time i access the ssd... :D

toothlessgrinn

  • Sr. Member
  • ****
  • Posts: 145
    • View Profile
Re: layout dilima
« Reply #8 on: March 04, 2019, 08:14:06 AM »
ok so how is this helpful? cool you dont like ambuilder i dont like robospin. um so how does this help?? thanks for a response but i asked for some help not an opinion.

so then no one can help me with this??

ok got it.
we came , we saw , we lost LOTS of quarters...

Win 7
Asus mobo amd 64bit 3core
12g ram
4 player. Custom built woody cab
46" plasma screen with 22" marquee

rand0m

  • Sr. Member
  • ****
  • Posts: 193
    • View Profile
Re: layout dilima
« Reply #9 on: March 04, 2019, 09:01:57 AM »
ok so how is this helpful? cool you dont like ambuilder i dont like robospin. um so how does this help?? thanks for a response but i asked for some help not an opinion.

so then no one can help me with this??

ok got it.

The layout is supposed to adjust itself to different aspect rations like 4:3 or 16:9. I think it crashes when aspect ratio doesn't match the ratios listed in the layout even when the author has instructed to use standard 4:3 if no match is found. Its a long shot but going to windows resolution setting and checking "show only supported resolutions" might help.

The way layout is coded its not possible to change a few words, aspect is referenced time and again or I would have recommended you change the aspect ratio exactly to match with your current system. Still if you are facing this problem right now, try changing the following code:

Code: [Select]
// Find correct aspect
function findAspect( ratio ) {
    if ( ratio == 1.77778 ) return "HD (16x9)"
    else if ( ratio == 1.6 ) return "Wide (16x10)"
    else if ( ratio == 1.33333 ) return "Standard (4x3)"
    else if ( ratio == 1.25 ) return "SXGA (5x4)"
    else if ( ratio == 0.625 ) return "Wide Vert (10x16)"
    else if ( ratio == 0.5625 ) return "HD Vert (9x16)"
    else if ( ratio == 0.75 ) return "Standard Vert (3x4)"
    //use default aspect
    print("Unrecognized or missing aspect, using default: Standard (4x3)")
    return "Standard (4x3)"

Change it to:

Code: [Select]
// Find correct aspect
function findAspect( ratio ) {
    if ( ratio == 1.77778 ) return "HD (16x9)"
    else if ( ratio == 1.6 ) return "Wide (16x10)"
    else if ( ratio == 1.33333 ) return "Standard (4x3)"
    else if ( ratio == 1.25 ) return "SXGA (5x4)"
    else if ( ratio == 0.625 ) return "Wide Vert (10x16)"
    else if ( ratio == 0.5625 ) return "HD Vert (9x16)"
    else if ( ratio == 0.75 ) return "Standard Vert (3x4)"
    else if ( ratio =!  1.77778 || 1.6 || 1.3333 || 1.25 || 0.625 || 0.5625 || 0.75 ) return "Standard (4x3)"
   
« Last Edit: March 04, 2019, 11:17:58 AM by rand0m »

iOtero

  • Sr. Member
  • ****
  • Posts: 297
    • View Profile
Re: layout dilima
« Reply #10 on: March 05, 2019, 10:45:56 AM »
ok so how is this helpful? cool you dont like ambuilder i dont like robospin. um so how does this help?? thanks for a response but i asked for some help not an opinion.

so then no one can help me with this??

ok got it.

I can not help you because the code you have used is illegible to me.
I love that on my laptop the eyes shine to the Alien every time i access the ssd... :D