16
Emulators / Re: filters advmame ?
« on: February 25, 2021, 11:50:56 PM »
I don't think that Advmame has support for shaders. So it would not be possible.
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.
local digdug = fe.add_image("sprites.png", 0,0)
scale.nearest_neighbor(digdug,300,"width")
local display = fe.list.name
local display_background = fe.add_image(display + ".png" , 0, 0, fe.layout.width, fe.layout.height)
function on_signal( sig )
{
switch ( sig )
{
case "up":
fe.signal( "prev_display" );
return true;
case "down":
fe.signal( "next_display" );
return true;
}
return false;
}
fe.add_signal_handler(this, "on_signal");
attract
attract.cfg
attract.am
emulators
Arcade.cfg
Nintendo.cfg
generator.am
intro
layouts
menu-art
modules
plugins
romlists
Arcade.txt
Nintendo.txt
screensaver
script.nv
sounds
stats
if it was possible to position elements like an image files like in texts with ".centre" then making fluid layouts would be super easy.
fe.load_module("pos")
local posData = {base_width = 1920, base_height = 1080, layout_width = fe.layout.width, layout_height = fe.layout.height, scale= "scale" }
local scale = Pos(posData)
local myimage = fe.add_image("image1.png", 0,0, scale.width(500), scale.height(400))
local secondimage = fe.add_image("image2.png", 0,0, scale.width(400), scale.height(300))
myimage.x = scale.x(0,"center") // position left side to center of page
myimage.x = scale.x(0,"center",myimage) // center image on page
myimage.x = scale.x(0,"center",myimage, second_image, "center") // center against the center of other element
myimage.x = scale.x(0,"center", myimage, second_image, "left") // center against the left edge of other element
myimage.x = scale.x(-300,"center", myimage, second_image, "right" ) // center against the right edge of other element, then move 300px to the left of that
myimage.x = scale.x(0,"right",myimage,second_image,"left") // align the right edge of the image to the left edge of the second image
# Generated by Attract-Mode v2.6.1
#
executable /opt/retropie/supplementary/runcommand/runcommand.sh
args 0 _SYS_ mame-libretro "[romfilename]"
rompath /home/pi/RetroPie/roms/mame-libretro/mame2003/
romext .zip
info_source listxml
The runcommand is the script responsible to launch your emulators/games. This wiki shows the runcommand's configurations and features.
sudo apt-get update; sudo apt-get upgrade
sudo apt-get install -y cmake libflac-dev libogg-dev libvorbis-dev libavutil-dev libavcodec-dev libavformat-dev libavfilter-dev libswscale-dev libavresample-dev libopenal-dev libjpeg8-dev libfreetype6-dev libudev-dev libdrm-dev libgbm-dev libjpeg-dev libegl1-mesa-dev libfontconfig1-dev libglu1-mesa-dev libxinerama-dev libcurl4-openssl-dev