Show Posts

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.


Messages - mahuti

Pages: 1 2 [3] 4 5 ... 17
31
General / Re: pi4 No Sound at all in Attract mode but ok in games
« on: February 14, 2021, 01:45:37 PM »
I have AM working on several Rpi4 with audio working fine. Did you install from Retrropie installer or custom build? I'm guessing that the retropie version just isn't right.

I have a script I can share later that will compile AM for rpi4. I'm only phone away from home right now, so it'll be a bit before I can send it on.

32
Themes / Re: Verted -- Layout for Vertical Cabinets
« on: February 13, 2021, 10:30:08 AM »
Good suggestion

33
General / Re: pie 4 AM install
« on: February 12, 2021, 03:00:23 PM »
I am not sure if the installable one has hardware acceleration either.

That said, these days have Oomek's install script for Pi4 AM which makes it dead simple.

34
Themes / Re: SImple Pinball theme
« on: February 12, 2021, 09:15:39 AM »
Cool!

35
General / Re: Running AM in a cabinet shutting down the mains.
« on: February 10, 2021, 04:17:13 PM »
Quote
I've made multiple mame cabs with zero issues shutting off mains as long as you make adjustments to windows     

You don't have to convince me.  ;D You might need to convince your current setup that it's not supposed to have issues though. In any case, I'm rooting for it and you!

36
General / Re: Running AM in a cabinet shutting down the mains.
« on: February 10, 2021, 01:48:32 AM »
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.

37
Themes / Re: Verted -- Layout for Vertical Cabinets
« 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.

38
Themes / Re: At-The-Arcade Multi-Cab [Released]
« on: February 06, 2021, 09:18:09 PM »
I worked on making a mame artwork class. Almost done. Maybe I'll be done tonight or tomorrow. I'd like to add the colored blocks as well as bezels. We will see if I have the patience

39
General / Re: AttractModeListMgr - A new app to manage AttractMode lists
« on: February 06, 2021, 08:36:43 AM »
Cool. Will check it out

40
Scripting / Re: Modules and Plugin Gallery
« on: February 04, 2021, 09:14:10 AM »
Pos (positioning) Module

http://forum.attractmode.org/index.php?topic=3880.0

This module helps with positioning, scaling, and alignment. It can basically make responsive design possible without much effort. You can design a layout in an editor like photoshop at 1920x1080, let the module know your original design size and it will automatically scale and/or stretch that content to any other size or orientation.

This module also simplifies relative positioning between an object and the edges of the screen as well as to other objects, calculates x2, y2 values, and calculate the space between objects.

41
Themes / Re: DynamicArcade layout beta-v9 released 26 Jan 2021
« on: February 03, 2021, 08:41:10 PM »
We'll see ;)

42
Themes / Re: King of Air Theme for Vertical Screen
« on: February 03, 2021, 08:07:06 PM »
download link.  :) dump

Go for it.  :D

43
Themes / Re: robospin Conveyer Wheel help
« on: February 03, 2021, 01:07:32 PM »
Basic positioning should be straightforward.  Positioning relative to something else is going to be harder, especially depending on what you use.

This is some basic code on scaling relative to carrier using my positioning stuff.
Code: [Select]
local carrier_width = 1079
local carrier_height = 1080
local x_center = scale.x(0,"center",carrier_width)
local y_center = scale.y(0,"center",carrier_height)
local carrier = Carrier( x_center,0 , scale.width(carrier_width), scale.height(carrier_height), 1, 6, 220,"transparent.png","transparent.png" )
carrier.set_keep_aspect()

print("carrier x: " + carrier.surface.x )
print("carrier y:" + carrier.surface.y )
print("carrier width: " + carrier.surface.width )
print("carrier height:" + carrier.surface.height )

local test_image = add_image("test.png", 0,0,100,100)

test_image .y = scale.y(10,"top",test_image , carrier.surface,"bottom") // this would line up the top of the test image with the bottom of the  carrier surface using my positioning stuff

// or...

test_image.y = scale.get_object_xy2("y", carrier.surface) // same basic thing as above.




44
Themes / Re: DynamicArcade layout beta-v9 released 26 Jan 2021
« on: February 03, 2021, 10:01:41 AM »
Quote
That's great, I didn't realize the snap size was still the same. Nice effect! It's tempting to do for every game regardless of orientation, but a complete solution would require a lot more logic, and knowledge of the bezel dimensions as well.

I have some code I wrote that looks at the .cfg files of Retroarch overlays and repositions and scales the snap image to the correct positioning relative to the bezel. 

Quote
The Mame Artwork set currently covers over 1,500 (remember that clones will use the parents art files).

I'm working right now on using mame artwork .zips to do the same thing. I have a script that looks in the .lay files xml for the positioning values. Basically, in a small way, I'm trying to recreate the mame artwork system for showing bezels relative to the snaps properly. The basic premise is straightforward, get the x,y,width,height of the open space in the bezel and move the snap there. The more complicated part is getting at those values using the existing assets rather than creating new ones. It's a work in progress, but once done I'll make it a module for any layout to use.

45
Themes / Re: robospin Conveyer Wheel help
« on: February 03, 2021, 09:49:12 AM »
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.

Pages: 1 2 [3] 4 5 ... 17