1
Themes / Re: [Preview] Lite Themes for very old hardware (PIII, P4)
« on: May 24, 2021, 02:22:09 PM »
Thanks for posting. The mame3all theme really brings back memories.

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
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.
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.
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
@ SpoonyAllen
=SSD:
SSD is ok => so there don't exist problems like headcrash on power loss and so on
=immediate power loss:
because files are in use, that could bring data loss and data damages as result.
use a correct shutdown sequence:
-set in windows power settings : if power button is pressed, shutdown windows.
extend computer power button reachable in cabinet, so you can press it.
-set shutdown command in AM:
start AM > press TAB key > General > Exit Command : shutdown -s -f -t 01
if you exit AM via dialogue, windows and computer shutdown too
then use electric power switch
-issue with attract.am:
use correct shutdown sequence (see above)
or
delete content of file attract.am > enable write protection > now AM starts always the first game of first display
or
choose a specific game, that always should start > delete all other content of file attract.am > enable write protection > now AM starts always with this specific game
-Which OS do you use?
-Which version of AM do you use?
-how do you shutdown your computer?
shut down dialouge of OS?
pressing power button of computer?
attractmode internal command?
simple electricity switch (hard power off)?
-what kind of harddisk drive do you use?
SSD or classic HDD?
This isn't an AM solution, but a general one I use to prevent corruption. Lately I use a relay timer switch to help with this. When I hit a switch, it sends a power-off command to the pc, and the relay timer is triggered. After a set amount of time the main power is shut down to the cabinet and the pc... but the pc should have had time to power down gracefully already.
That won't help if you're just flipping a switch for everything all at once. The only option in that case would be adding a battery backup with a USB connection to your PC. A decent backup unit usually integrates with graceful power-down software to shut the PC down when the backup gets triggered.
Hard-powering down any PC that isn't built for it can generate problems.
Code: [Select]local title = fe.add_text( "[Title] - [Year] - [Manufacturer]", 0, your_menu_object.y + your_menu_object.height + 10, fe.layout.width, 35 )
or using my positioning module...Code: [Select]local title = fe.add_text( "[Title] - [Year] - [Manufacturer]", 0,0, fe.layout.width, 35 )
title.y = scale.y(5,"top",title,your_menu_object_name,"bottom") // this sets the y coord of the top of title object 5 pixels from the bottom of the menu object
Maybe something like that. Use the height of the menu object and its y position to find the bottom of it. If you're using carrier or conveyor though, it may render a surface across the whole screen (not sure) so the x/y values might be useless in determining the correct visual positioning. In that case, you'll just have to position your title's y position so it doesn't overlap.
fe.add_text( "[Title] - [Year] - [Manufacturer]", flx*0.05, fly*0.949, flw*0.6, flh*0.04 );
local title = fe.add_text( "[Title] - [Year] - [Manufacturer]", 0, 1, fe.layout.width, 35 )
title.text_align = Align.BottomRight;
title.set_rgb( 255, 255, 255 )
title.style = Style.Bold;
title.background = "frameb.png"
I made a very simple version of this to remove (most) of the extra stuff.
I used my module Pos (positioning) module and a slightly modified Carrier module (by Oomek) that basically just adds the capability to use wheel logos instead of snaps.
Carrier does all of the work with the wheel stuff at top. All of the scale.x, scale.y, scale.width, etc just made it quicker for me to position everything for an example. You can swap that out with hard coded values if it's easier.
Make sure the history plug-in is enabled in AM'S plug-in menu, and the path to the generated dat is also set up in the layouts options.
I agree on the other items you mentioned. Hadn't gotten around to it but they are super easy additions that I'll make sometime today or so.