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.


Topics - iOtero

Pages: 1 [2] 3
16
Themes / io_pi_refried Theme for pi. Only 4:3 resolutions (WIP)
« on: January 14, 2019, 04:23:00 AM »
I am working on a theme that complements the excellent work of calle81 with its Refried Theme, but only for resolutions of 4:3, and using few resources, specially designed for the Raspberry Pi.

It is based on the original Refried Theme for Launchbox by retrohumanoid.

It will allow to use animated videos or fixed snapshots.

For the moment, some screens of the project in progress.

These would be from the menus io_pi_refried_menu:

17
Scripting / Run a script from Attract-Mode in Linux (lakka)
« on: December 26, 2018, 11:31:02 AM »
Let's see if any of you know how to do this.

I want to launch a script from Attract-Mode on Linux, in this case it's openELEC or Lakka, so i can get information about the system on the screen, but i do not get anything.

The script is this, and by ssh with the putty it works perfectly, but from Attract-Mode i do not know if it does something or not, because nothing remains on the screen.

Code: [Select]
#!/bin/bash
clear
echo "----------- SPACE -----------"
df -h
echo "----------- MEMORY -----------"
free -m
echo "----------- TEMPERATURE -----------"
vcgencmd measure_temp
echo "----------- IP -----------"
ip route get 8.8.8.8 2>/dev/null | awk '{print $NF; exit}'
echo "----------- EXIT -----------"
read -n 1 -s -r -p "Press any key to continue"

This another script runs perfectly:

Code: [Select]
#!/bin/bash
cd /usr/bin
retroarch

And the two have this romlist:

Code: [Select]
retroarch;RetroArch;Extras;;;;;;;;;;;;;;
systeminfo;System Information;Extras;;;;;;;;;;;;;;

and this configuration:

Code: [Select]
executable      /bin/bash
args            "[romfilename]"
rompath $HOME/systems/extras/roms
system Extras
romext .sh
artwork flyer $HOME/systems/extras/flyer
artwork marquee $HOME/systems/extras/marquee
artwork snap $HOME/systems/extras/snap
artwork wheel $HOME/systems/extras/wheel

I'm not a great expert in linux, and maybe you have to give some more command to display the information on the screen, i do not know.


I remind everyone that the biggest complication of working with lakka is that you have to compile Attract-Mode (and any other application) first in raspbian and then copy it with all your lakka libraries, since lakka does not allow native compilation or installation nor update anything that can not be done from within RetroArch or Attract-Mode. Take it into account when making any contribution to this topic.

Thanks in advance for the help.

Note: Yes, i am working on a fully operational Attract-Mode img with Retroarch in Lakka for Raspberry Pi, without Batocera, Retropie, Recalbox or Emulationstation.


18
Themes / ioamiga. Theme for Amiga Computers.
« on: October 04, 2018, 03:15:04 AM »
ioamiga. Theme for Amiga Computers.

I have created this simple system for the Commodore Amiga at the request of my friend Empardopo.

The background is the work of Toni Bratincevic and is like wallpaper on many websites. I tried to contact Bratincevic to ask for permission to use it, but i have not got it.

By the way, that wonderful image has a name: "16 Bit Memories"

It works in 4:3, 16:9 and 16:10. The layout checks the screen resolution and depending on it, loads some graphics or others and chooses the correct coordinates.
For my part I have checked it in 1440x900 and 1920x1200 (16:10), 1366x768 and 1920x1080 (16:9) and 1024x768 (4:3) and it works perfectly.

It has two list options:listbox and shuffle list.
I have also put the search system without keyboard and the option to align the lists to the left, right or center.
You can choose marquee or wheel for the superior art.
And finally there is another option to see more data of the games or just the basics.

Download:
https://mega.nz/#!L0VC3QxS!stpAKm4OtIPtl7CD-BDivoctmFOdo3ht4oz97pUG1Us

Screenshot:


Video:
https://www.youtube.com/watch?v=sXKT4xms2hY

19
Themes / Retro Gui AM Theme --> From MALA/Mamewah to Attract-Mode.
« on: October 02, 2018, 06:49:57 AM »
Retro Gui AM Theme.

Years ago I saw the Retro Gui theme of Nexus6 for MALA, and I liked its retro and simple style so much that I started to try MALA. Very little time, because I got fed up with him.

Well, the fact is that after re-encoding the Ring Blue for AM, I remembered the RetroGui theme, I searched my old hard drives and found the original layout, so I've also recoded it for AM, even changing the way the backgrounds are displayed of the machines.

It works in 4:3, 16:9 and 16:10. The layout checks the screen resolution and depending on it, loads some graphics or others. For my part I have checked it in 1440x900 (16:10), 1920x1080 (16:9) and 1024x768 (4:3) and it works perfectly.

In addition to the original listbox, I have added a shuffle option, for those who prefer it, and another option to use scanlines in the videos of the games. I have also put the search system without keyboard and the option to align the lists to the left, right or center. And finally there is another option to see more data of the games or leave it as the original layout.

I have not wanted to add any type of marquee or any other graphic to respect as much as possible the original design, which in the end, is what attracted my attention.

I do not think that it will be used by many people, but as of MALA there is no web, official forum, or anything, I did not want to let that RetroGui die that I liked so much in his day. Today I still like it, but technically it is already very much surpassed.

You can download it here: https://mega.nz/#!Wkdl2CjQ!QnC1vMRNxXlJV2kiXAdDM99WRsirikXnNKVLcpCSzdE

Here is a screenshot:


And finally, the video is here: https://www.youtube.com/watch?v=3bX-9sVtl7A

20
Themes / ioflat Theme (With System Menus) v02/2019
« on: September 29, 2018, 10:31:39 AM »
ioflat Theme (With System Menus)

Version: 02/25/2019

The system consists of 3 layouts: ioflat menu, ioflat systems and ioflat games.

ioflat menu

It is the main menu with one division per type of machine/system. In my case: Arcade Classics, Arcade, Consoles, Handhelds, Pinballs and Computers.

Your position is, in your attract.cfg, at the end of the general section:

Code: [Select]
general
language             en
exit_command         
default_font         larabiefont
font_path           
screen_saver_timeout 0
displays_menu_exit   no
hide_brackets        no
startup_mode         displays_menu
confirm_favourites   yes
confirm_exit         yes
mouse_threshold      10
joystick_threshold   75
window_mode          fullscreen
filter_wrap_mode     default
track_usage          yes
multiple_monitors    yes
smooth_images        yes
accelerate_selection yes
selection_speed_ms   51
scrape_snaps         no
scrape_marquees      no
scrape_flyers        no
scrape_wheels        no
scrape_fanart        no
scrape_videos        no
scrape_overview      yes
hide_console         yes
video_decoder        software
menu_prompt          Displays Menu
menu_layout          ioflat menu

It is operated with the left and right keys, not up and down.

Important to change the selection_speed_ms to 51 and the scrape_overview to yes.

Important to activate the Platforms plugin that i include with the themes, copy the folder Platforms on the plugins folder of your Attract-Mode (for example E:\arcade\attract\plugins\Platforms). If you are going to modify the names of the menus you must edit the content of plugin.nut.

If you want to see, in addition to the 6 options indicated above, an exit option of Attract-Mode, put displays_menu_exit as yes and add in attract\menu-art the video and/or the arts with the name "Exit Attract-Mode".

ioflat menu has 3 options:
  • Select the art that will be displayed in the selector: fanart, flyer, marquee, snap or wheel.
  • Select the scheme color: aqua, blue, brown, cream, dark, granite, green, grey, orange, pink, purple, red, wengue, white, yellow, UCLA or random"
  • Shows clock and date, in Spanish or USA format.

When not using this theme the option "per_display" (it would not make much sense to be a main menu), the configuration will appear in the attract.cfg below the general configuration, like this:

Code: [Select]
layout_config ioflat menu
param                set_art snap
param                set_clock english
param                set_rgb_scheme random


ioflat systems

It is the menu of each system, within each option of ioflat menu. For example, to choose, NES, SNES, Genesis, etc. within Consoles.

Your position is, in your attract.cfg, at the beginning, and, following my example, with this structure:

Code: [Select]
# Generated by Attract-Mode v2.4.1
#
display Arcade Classics
layout               ioflat systems
romlist              Arcade Classics
in_cycle             yes
in_menu              yes
param                search_key custom1
param                search_method show results
param                set_art snap
param                set_clock english
param                set_rgb_scheme random
param                set_selector list
param                set_top_art marquee

display Arcade Machines
layout               ioflat systems
romlist              Arcade Machines
in_cycle             yes
in_menu              yes
param                search_key custom1
param                search_method show results
param                set_art snap
param                set_clock english
param                set_rgb_scheme random
param                set_selector list
param                set_top_art marquee

display Consoles
layout               ioflat systems
romlist              Consoles
in_cycle             yes
in_menu              yes
param                search_key custom1
param                search_method show results
param                set_art snap
param                set_clock english
param                set_rgb_scheme random
param                set_selector grid
param                set_top_art marquee

display Handhelds
layout               ioflat systems
romlist              Handhelds
in_cycle             yes
in_menu              yes
param                search_key custom1
param                search_method show results
param                set_art fanart
param                set_clock english
param                set_rgb_scheme random
param                set_selector carrier
param                set_top_art marquee

display Pinballs
layout               ioflat systems
romlist              Pinballs
in_cycle             yes
in_menu              yes
param                search_key custom1
param                search_method show results
param                set_art snap
param                set_clock english
param                set_rgb_scheme random
param                set_selector list
param                set_top_art marquee

display Computers
layout               ioflat systems
romlist              Computers
in_cycle             yes
in_menu              yes
param                search_key custom1
param                search_method show results
param                set_art snap
param                set_clock english
param                set_rgb_scheme random
param                set_selector carrier
param                set_top_art marquee


ioflat systems has 7 options:
  • Select the system selector type: Carrier, Grid or List.
  • Select the art that will be displayed in the selector: fanart, flyer, marquee, snap or wheel.
  • Select the art that will be displayed in the top of screen: marquee, wheel.
  • Select the scheme color: aqua, blue, brown, cream, dark, granite, green, grey, orange, pink, purple, red, wengue, white, yellow, UCLA or random"
  • Shows clock and date, in Spanish or USA format.
  • Choose the key to initiate a search. (Thanks, liquid8d).
  • Choose the search method.

The grid must be managed with the four directions: up, down, left and right.

The carrier (bottom bar) only with left and right.

The list only with up and down.

The search/filtering system of liquid8d in this theme is implemented in Carrier and List options and works well, even you search for uppercase words (if you search for nes, Genesis NES or SNES returns it), since it is a option that does not contemplate in the original search of liquid8d. I have modified it.

Important:
  • The themes are designed to work at any screen resolution, but videos using "ioflat menu" and "ioflat systems" should be in 4:3 format (1024x768, 800x600, 640x480 , etc). I the ones i use (those that appear in youtube videos) are in 1024x768.
  • The three themes work ok in 4:3, 5:3, 16:9, 16:10 and 17:10. Tested by myself on screens of 1024x768 (4:3), 1280x768 (5:3), 1280x800, 1440x900 and 1920x1200 (16:10), 1366x768 and 1920x1080 (16:9) and 1024x600 (17:10) and it works perfectly.
  • The overviews of the systems, not the games, will be placed in the folder \scraper\@\overview\SISTEMA.txt of your Attract-Mode. In my case, for Atari 2600, it would be E:\arcade\attract\scraper\@\overview\Atari 2600.txt.
  • These themes are aesthetically compatible with my theme iojukebox for music.
  • In any of the three themes you have to keep in mind that the use of snaps (videos), instead of static images, significantly increases CPU consumption.


ioflat games

It is the standard theme for games of any system. It's a new theme, inspired by Oomek's Silky, but with a quite different function. And as usual, I leave it in mega with the hope that you try it well tested and tell me what mistakes you have found, what is missing, what is left over and if you like it or not. Although this last one i already know that it is like a talking to brick wall... ;D

ioflat games has 13 options:
  • Shows clock and date, in Spanish or USA format.
  • Select the art that will be displayed in the right column: snap, flyer, fanart or none.
  • Select the art that will be displayed in the bottom banner: snap, flyer, fanart or none.
  • Select the art that will be displayed in the top of screen: marquee, wheel or none
  • Select the scheme color: amiga, spectrum, aqua, blue, brown, cream, dark, granite, green, grey, orange, pink, purple, red, wengue, white, yellow, UCLA or random"
  • Number of rows in the List: 12 (big font) or 24 (small font).
  • The time (in milliseconds) it takes to start hiding the frames, carrier, list and wheels. Set to 0 for no hide.
  • The time (in milliseconds) that it takes for the wheels, carrier, list and frames to hide.
  • Use system logos or only name.
  • Use the icons of the language flags of the games or not.
  • Use the icons of the genres of the games or not (The genre is always indicated with text).
  • Choose the key to initiate a search. (Thanks, liquid8d).
  • Choose the search method.

All this can be checked perfectly in the video that i leave below, where you can see how, when entering Consoles, as you change the system there is a graphic more or less on the screen than in the previous one or the next console. From having all the graphic options to leaving it alone with texts. So everyone can leave it to their liking.

With the keys up and down you change the game and with the left and right you change the genre (if this does not work like this, you would have to define left and right as a previous filter and a next filter in the Attract-Mode controls configuration).

The overviews of the games will be placed in the \scraper\SYSTEM\overview\GAME.txt folder of your Attract-Mode. In my case, for the Aerobiz game of Sega Genesis, it would be E:\arcade\attract\scraper\Sega Genesis\overview\Aerobiz.txt.

In the color schemes, there are two special ones: Amiga and Spectrum, which, logically, are not included in the "random" option.
Amiga, for the emulation of the Commodore Amiga computer, and Spectrum for the emulation of the Sinclair ZX Spectrum computer. The thing about adding a special scheme for Amiga is because it was the computer that i always wanted and could never have; and the Spectrum, because it was my first computer and i have a special affection... :-[

In the video the color schemes of the three layouts are in random (minus the amiga and the spectrum, obviously), so every time you enter or leave a system, the colors change. But remember that they can be fixed. To me, particularly, the scheme that i like the most is the "blue".

Well i think that everything is there, if you need some more explanation, because you know, to ask, that we are here.

The video (it's from the old Spanish version, but to see how it works, i think it works well):

https://www.youtube.com/watch?v=r9sxjBnx_1k

From here you can download the theme:

https://mega.nz/#!exFHGQJK!3lfjlx5ya8bZyu-MyoRX4uoXgMuNo1snPh25oY0QjBQ

Here are a lot of overviews:

https://github.com/billyc999/RetroFe-Game-info

And i downloaded the systems videos from here:

https://forums.launchbox-app.com/files/category/16-platform-theme-videos/

Screenshots:

ioflat menu (Main Menu):


ioflat systems (Systems Menu) CARRIER:


ioflat systems (Systems Menu) GRID:



ioflat games (Sinclair ZX Spectrum):


ioflat games (NES):



21
Themes / Blue Ring AM Theme --> From MALA/Mamewah to Attract-Mode.
« on: September 29, 2018, 05:51:47 AM »
"Blue Ring AM" Theme

Updated 10/01/2018 Change font layout.

I have seen that Nevincho recommended us the MALA Blue Ring  theme --Copyright (c) 2015 Andrew Mickelson-- for use in Attract-Mode.

And seeing the video i told myself if this theme does not have any mystery ...

So i've encoded it from scratch in Squirrel and i've added something to it.

Now, you can choose to use wheel or marquee at the top of the window (with animations or whitout them), you can use the keyboard search of liquid8d, you can use scanlines in the videos or not and you have the option to put more information on the games, or not.

With the keys up and down you change the game and with the left and right you change the genre (if this does not work like this, you would have to define left and right as a previous filter and a next filter in the Attract-Mode controls configuration).

Here is the thread of Nevincho: http://forum.attractmode.org/index.php?topic=2474.0

Here you can download the theme: https://mega.nz/#!apNx2aQB!hYC34VoLKIxRQ3czDWBj1F7CMA1eDX3BT4T9mBLDD2I

And this is a video of how it works: https://www.youtube.com/watch?v=HITBxdFn0fo


22
Themes / iorampage. Theme for Attract-Mode 4:3.
« on: September 05, 2018, 11:38:51 AM »
iorampage. Theme for Attract-Mode 4:3.

Yesterday I was bored and I started to make this layout with an aesthetic based on the game Rampage.

It is a simple theme for any system. (The only remarkable thing about the theme is to see George going up and down the list pointing to the games.)

It works in any screen resolution, but is designed to work --and it does better-- in a resolution of 4:3 (640x480, 800x600, 1024x768 ...).

You only have the option to put the logo or the text of the system (or none), a couple of options for the search (you do not need a keyboard, it is the keyboard search by lidquid8d), another to choose if the game information is shown or not and the last one to put, or not, the exploration lines simulating a CRT on the screen of the videos of the games.

Here you can see it:

https://www.youtube.com/watch?v=YK-XnG-VFOs

Since I do not have any 4:3 monitor, I had to put in AM a resolution of 1024x768, so it plays in the upper left corner of my HD monitor, and then cut with ffmpeg to remove the black areas left over. Therefore, when activating or deactivating the layout options, they do not appear correctly in the video.

You can download it here:

https://mega.nz/#!z99VlbQB!RoUu0_HwB-lITxPbhGfX0ftn4lXVvSFH54x_AtVY31s


23
Scripting / A curiosity of a code seen here
« on: August 30, 2018, 11:57:01 AM »
What is the difference between this code:

Code: [Select]
::fe.add_transition_callback(this, "on_transition");
and this one:

Code: [Select]
fe.add_transition_callback(this, "on_transition");

24
Is there a function in AM that returns the language that is selected in attract.cfg?

Something similar to this:
Code: [Select]
local my_lang = what_lang();

Thanks in advance...  :-[

25
ioarcade. Theme designed for the emulation of arcade machines.

I'm still working on it, so for now I'll just upload a video.
When finished, if i see that people are interested and i read objective opinions, i'll upload it to mega.


I designed it to emulate basically arcade machines (MAME, FBA, Zinc, derivatives and similar).

It is inspired on the theme "OlRoom" by Spinelli and Ptiwee, which in turn were based on "My Vintage Room", a theme of the mGalaxy frontend.
But if you compare those issues with this one, you will see that there is only the initial idea of ​​simulating a vintage room.
With the same idea i have almost completed five other themes, specific for consoles, portable consoles, computers, games windows and pinballs, which together with those that i have already uploaded from the system menus (http://forum.attractmode.org/index.php?topic=2370.0) and the jukebox (http://forum.attractmode.org/index.php?topic=2378.0), will form a unified environment.

In the theme options menu, we can choose:

  • The color of the arcade machine between 8 colors, or choose it at random.
  • The color of the background wall between 10 colors, or choose it at random.
  • The type of game selector: Carrier, List, Arc Wheel or Vertical Wheel.
  • The type of information of the games on the screen: Complete, Basic or None.
  • The color of the information text between 10 colors, or choose it at random.
  • The color of the border of the information text between 10 colors, or choose it at random.
  • The color of the text of the List among 5 colors, or choose it at random.
  • The poster on the left among 32 different movie posters, choose it randomly or do not put posters.
  • The poster on the right between 32 different game posters, choose it randomly or do not put posters.
  • The window that will appear to the right of the screen between 6 options, choose it at random, or not put any.
  • Use scanlines on the screen of the arcade machine, or not.
  • The art type of Wheels, between marquee or wheel.
  • The number of Carrier slots.
  • The number of Arc Wheel slots.
  • The number of slots on the Vertical Wheel.
  • The speed of the wheels.
  • The time they will wait to start hiding the selectors of the games and information, or leave them fixed.
  • The time it will take to hide the selectors of the games and information.
  • If we use the Flags of the languages ​​(using the Magic Token [Control]), or not.
  • Use the blind behind the carrier, or not.
  • If we will put a clock on the screen with the local time, or not.
  • If we will put a plant on the screen over the window, or not.
  • If we will put a dark frame after the informative text, or not.
  • The key to start the games search/filtering system (keyboard-search from liquid8d. Thanks, liquid8d).
  • The way to show the search performed, filtering the games, or indicating only the first match.

The films on the posters are:

Aliens, Blade Runner, Carrie, Clockwork Orange, Die Hard, Electric Dreams, First Blood, Indiana Jones And The Temple Of Doom, Jaws, Johhny Got His Gun, Jurassic Park, Labyrinth, Logan's Run, Mad Max, Mannequin, Matrix, Patriot Games, Predator, Pulp Fiction, Robocop, Rollerball, Saturday Night Fever, Star Wars, Terminator, The Dark Crystal, The Godfather, The Karate Kid, The Last Starfighter, The Neverending Story, The Princess Bride, The Thing, Unforgiven

The games of the posters are:

1943, Asteroids, Bubble Bobble, Cadillacs And Dinosaurs, Crystal Castles, Donkey Kong, Doom, Duke Nukem 3D, Epic, Galaga 88, Mega Man, Metal Gear, Metal Slug 2, Monkey Island 2, Mortal Kombat II , Out Run, Pacmania, R-Type, Raiden, Rampage, Samurai Shodown, Sonic The Hedgehog, Space Invaders, Strider, Super Mario Bros 3, Super Metroid, Tempest, Tetris, The Dig, The King Of Fighters 94, The Legend Of Zelda and The Need For Speed.

It is very simple to add more, or change the posters, and in the theme i include a template for it. Also, if it gives you out there and you send me some poster, with a minimum size of 1000 pixels wide, of a movie or a game suitable for the time, i can add it to the Theme.
 
And the video:

https://www.youtube.com/watch?v=KZFELj5JqV4


Last function added: Use the blind behind the carrier, or not.

https://www.youtube.com/watch?v=mifb12X2-qo

A full screen looks better. :P


Example of using the icons with the flags of the countries of the games (or languages). To do this you just have to use the field or Magic Token [Control]

Video: https://www.youtube.com/watch?v=RV9n6UcD7e8

Romlist:

Code: [Select]
bang;Bang!;gaelco;;1998;Gaelco;Shooter;;;USA;;;;;;;
bigkarnk;Big Karnak;gaelco;;1991;Gaelco;Platform;;;English;;;;;;;
biomtoy;Biomechanical Toy ;gaelco;;1995;Gaelco;Platform;;;Portugal;;;;;;;
maniacsq;Maniac Square ;gaelco;;1996;Gaelco;Tetris;;;Korea;;;;;;;
radikalb;Radikal Bikers ;gaelco;;1998;Gaelco;Drive;;;Dutch;;;;;;;
snowboar;Snow Board Championship ;gaelco;;1996;Gaelco;Sports;;;German;;;;;;;
speedup;Speed Up ;gaelco;;1996;Gaelco;Drive;;;French;;;;;;;
splash;Splash! ;gaelco;;1992;Gaelco;Adultos;;;Italy;;;;;;;
squash;Squash;gaelco;;1992;Gaelco;Sports;;;Spanish;;;;;;;
surfplnt;Surf Planet ;gaelco;;1997;Gaelco;Sports;;;Japan;;;;;;;
targeth;Target Hits ;gaelco;;1994;Gaelco;Shooter;;;Brazil;;;;;;;
thoop;Thunder Hoop ;gaelco;;1992;Gaelco;Platform;;;Canada;;;;;;;
wrally;World Rally ;gaelco;;1993;Gaelco;Drive;;;Spanish (Texts);;;;;;;
xorworld;Xor World ;gaelco;;1990;Gaelco;Puzzles;;;Australian;;;;;;;

Note to Oomek:
Thanks for your carrier module, but i have not been able to use it as you programmed it. He did not let me make animations with him, so i had to modify it and include it in my layout to animate it. I hope it does not bother you.


Screenshot preliminar version:


26
Themes / iojukebox Theme, a JukeBox for Attract-Mode.
« on: August 15, 2018, 04:08:04 PM »
iojukebox Theme, a JukeBox for Attract-Mode.

I'm having a lot of problems with YouTube because of copyright problems of the music that sounds in the videos that I upload of this theme, so from now on I will limit myself to the still images.
If some video disappears, I will not be able to upload it again, but it's not my thing it's Youtube and the copyrights


Version 09/2018

Updated: 09/01/2018
The number of background videos is increased to 16.
The graphic files of the wallpapers are removed. They are changed by color schemes, increasing to 16 options.


This jukebox is based on the jukebox-pzin of comrade JosepZin.
Without his work, this theme would never have seen the light. Thanks friend.


Here you can see it running.
I've uploaded it to vimeo, because youtube put obstacles:
https://vimeo.com/285125523

And this video is demonstrative of the Random function, which i forgot to include in the previous one:
https://www.youtube.com/watch?v=v4bO7VJgnzE


And another with the last option that i have added, the background videos:
https://vimeo.com/286896131

Screenshots:






Some important details:
  • You do not need to use any Attract-Mode module, the ones you need already have them incorporated..
  • You do not need an external player, use only the internal Attract-Mode code.
  • Play the following music formats: mp3, wma, ogg and m4a.
  • The player has its own Play List and options: Play /Stop, Next, Prev, Loop and Random.
  • You can choose a video to mix it with the background of the screen among 16 options, or choose them randomly.
  • You can choose the scheme colors of the screen among 16 options, or choose them randomly.
  • You can choose the color...
    • Of the titles of the main album and the lists
    • Of the text of the album song lists
    • Of the text of the music player
    • Of the text of the playlists.
    • Or randomly choose any of them.
    • You can set the transparency of the wallpaper (0-255).
      If it is set to 0, only the video is displayed, and if it is set to 255, only the background is visible.
      Both work, but only one is seen. To hide the video or wallpaper it is better to use the "none" option that is included.
  • And, to work properly, you have to follow the following instructions point by point...

INSTRUCTIONS:

SYSTEM:
   
In Attract-Mode create a new "JukeBox" system where you have the rest of the systems, and create the folder where they will go roms (*.m3u) and wheels (*.jpg).
As an example, in these instructions, the path would be "E:\arcade\systems\jukebox\"

In the folder "\Emulators\" inside Attract-Mode, create a JukeBox.cfg like this:

Code: [Select]
# Generated by Attract-Mode v2.4.0
#
# executable         E:\arcade\systems\jukebox\JukeBox.exe
# args               "[romfilename]"
rompath              E:\arcade\systems\jukebox\roms
romext               .m3u
system               JukeBox
artwork    flyer     E:\arcade\systems\jukebox\flyer
artwork    marquee   E:\arcade\systems\jukebox\marquee
artwork    snap      E:\arcade\systems\jukebox\snap
artwork    wheel     E:\arcade\systems\jukebox\wheel
   
Or this, if you use relative paths:

Code: [Select]
# Generated by Attract-Mode v2.3.0
#
# executable           ..\..\arcade\systems\jukebox\JukeBox.exe
# args                 "[romfilename]"
rompath              ..\..\arcade\systems\jukebox\roms
romext               .m3u
system               JukeBox
artwork    flyer     ..\..\arcade\systems\jukebox\flyer
artwork    marquee   ..\..\arcade\systems\jukebox\marquee
artwork    snap      ..\..\arcade\systems\jukebox\snap
artwork    wheel     ..\..\arcade\systems\jukebox\wheel

Since this layout does not use any external program, "executable" and "args" are not necessary, so they are commented with #.

ESSENTIAL FORMATS:

This JukeBox does not use tags of any kind, it only uses the names of folders and files.

For the system to work correctly:

  • There can not be more than one level of folders, all album folders must be together.
    Wrong: "E:\my music\Rock\Tom Odell - Long Way Down - 2013"
    Correct: "E:\my music\Tom Odell - Long Way Down - 2013".
  • The format of the folder must be "Singer - Album - Year".
    Correct: "Tom Odell - Long Way Down - 2013".
  • The songs must be named in this order and format #Track - Artist - Title.
    For example: "03 - Tom Odell - Another Love.m4a".
  • In each of the album folders there must be a file with the name "folder.jpg", or any other name, but only one file *.jpg per folder,
    which should be the cover of the album, and is what will be shown on the screen.

GENERATION OF LISTS:

The file "create_lists.cmd" serves to generate the lists with the music: create the m3u (roms) the wheels (* .jpg) and the romlist. No need to generate anything with Attract-Mode.

Before executing "create_lists.cmd", edit it and modify the paths you are going to use:

  • set musicfolder = [Path of your music files: mp3, ogg, m4a or wma]
  • set output = [Path to where the .m3u lists will be created (the "roms" of your JukeBox system)]
  • set screenshots = [Route the covers of the disks, the files "folder.jpg" (that is the "wheels" of your JukeBox system)]
  • set musiclist = [Path where the archives of the rosettes of attract-mode are]
Example:

  • set musicfolder=F:\JukeBox
  • set output=E:\arcade\systems\jukebox\roms
  • set screenshots=E:\arcade\systems\jukebox\wheel
  • set musiclist=E:\arcade\attract\romlists

KEY ASSIGNMENT:

Assign these keys in Attract-Mode:

  • Custom1 --> Space
  • Custom2 --> L
  • Custom3 --> R
  • Custom4 --> LAlt
  • Custom5 --> LShift
  • Custom6 --> RShift
  • Next Favourite --> RControl
  • Prev Favourite --> LControl
  • Toggle Movie --> H
  • Screenshot --> S

The keys to be used appear in the on-screen help when pressing the H key and are the following:

  • Scroll through the albums: left and right
    (not up and down as in the other Attract-Mode systems).
  • Put an album in the playlist: Select.
  • Toggle Playlist/Albumlist: Left Alt.
  • Stop, play, a song: Space.
  • Loop: L.
  • Random: R.
  • Previous song:Left Control.
  • Next song: Right Control.
  • Move the playlist up:  Right Shift.
  • Move the playlist below: Left Shift.
  • Search and filter a string: S.

As you can see, you can easily change this key assignment. Of course, the help, unless you edit the layout code, will not be usable.

And if after all this long and heavy story that i have told you, you are still interested, you can download it here:

https://mega.nz/#!blVyVKrJ!wSxM2YyYBKYdKojieBNIe9TIfrEtUyPb1ZWS0x32Ti0
-- Updated 09/01/2018

Now you can use accents, á, é, ñ and other unicode characters in iojukebox.

Before I did not read the album covers with accents, for example.

After a month of communicating the AM bug, Mickelson has modified the code correcting the bug he had when dealing with UNICODE.

To be able to use the new code you have to download the latest unofficial version, but it works in windows perfectly, from here:

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

In linux and mac you have to compile yourself.

27
Themes / iomenu, Theme to create the Main System Menu (full)
« on: August 11, 2018, 08:12:22 AM »
iomenu Theme for Systems Menu.

Well, I've still finished it, although basically I only lack the texts of most systems, the system works quite well.

I am Basque and Spanish, so the descriptions texts that appear, of course, are in Spanish.
If I had found the files with the texts in English, i would have put them, but i only found games, not systems.

Attract-Mode 2.4 is needed, with the previous ones it will not work correctly.

You can see it here:

https://www.youtube.com/watch?v=8cci4v6E-u4

The first menu, the main one, can not be modified or put options, at least that I know, works with the options set by default in the theme layout.

In the following menus, the options to choose are two, if the wheel is hidden or not after a few seconds, and the type of information to be displayed:
  • Basic: that's when the video goes full screen and you see in the lower right corner, some basic data of the system.
  • Complete: It is when the video is placed in the upper right and below the details and system information appear.
  • None: When only the system video appears.
Here you have the theme, the attract.cfg, the plugin, the romlists and the site where I got the videos:

https://mega.nz/#!Lw1WnazR!RLgvom45dgsbDZrCofDHWUG9e1Si21zWsewX_vMbwMA



All this is very personalized, but I'm sure you can adapt it to your systems, and if not, you can always ask me to see if I can help you.  8)

And if you think of something interesting to add to the theme, then tell me, to see if it can be done...  :P

28
Scripting / Pause in the wheel
« on: August 08, 2018, 05:53:19 AM »
With this code the wheel (conveyor) of the layout fades when you stop moving it.

What I want to do is that, between the fact that the wheel stopped moving and that it started to disappear, it will be x milliseconds.

Code: [Select]

first_tick <- 0;
stop_fading <- true;
my_delay <- 600;

function wheel_a_fade_transition(ttype, var, ttime)
{
if(ttype == Transition.ToNewSelection)
first_tick = -1;
}
fe.add_transition_callback("wheel_a_fade_transition");

function wheel_a_alpha(ttime)
{
if(first_tick == -1)
{
stop_fading = false;
}

if(!stop_fading)
{
local elapsed = 0;

if(first_tick > 0)
{
elapsed = ttime - first_tick;
}

local count = conveyor.m_objs.len();

for(local i=0; i < count; i++)
{
if(elapsed > 0)
{
if(i == count/2)
{
conveyor.m_objs[i].alpha =(255 *(my_delay - elapsed)) / my_delay;
}
else
{
conveyor.m_objs[i].alpha =(150 *(my_delay - elapsed)) / my_delay;
}
}
}

if(elapsed > my_delay)
{
stop_fading = true;
}

if(first_tick == -1)
{
first_tick = ttime;
}
}

}
fe.add_ticks_callback("wheel_a_alpha");



Any suggestions?

29
Scripting / Animate flyer from position x,y to position x+400,y+400
« on: August 04, 2018, 09:50:44 AM »
Well, with animate.nut i managed to make horizontal animations:

Code: [Select]
::OBJECTS <- {artwk = fe.add_image("objs/emulators/[Emulator]", flx*0.75, fly*0.005, flw*0.25, flh*0.162)}
local move_artwk1 = {when = Transition.ToNewSelection, property = "x", start = OBJECTS.artwk.x + OBJECTS.artwk.width, end = OBJECTS.artwk.x, time = 1}
local move_artwk2 = {when = When.ToNewSelection, property = "x", start = OBJECTS.artwk.x, end = OBJECTS.artwk.x + (OBJECTS.artwk.width*1.5), time = my_time, delay=my_delay}
animation.add(PropertyAnimation(OBJECTS.artwk, move_artwk1));
animation.add(PropertyAnimation(OBJECTS.artwk, move_artwk2));

and vertically:

Code: [Select]
::OBJECTS <- {surface = fe.add_surface(sw, sh)}
local daframe = OBJECTS.surface.add_image("objs/frames/frame_red.png", 0, 0, sw, sh);
local title = OBJECTS.surface.add_text("[Title]", sx*0.001+1, sy*0.2+1, sw*0.75, sh*0.01);
local move_surface1 = {when = Transition.ToNewSelection, property = "y", start = flh, end = OBJECTS.surface.y, time = 1}
local move_surface2 = {when = When.ToNewSelection, property = "y", start = OBJECTS.surface.y, end = flh, time = my_time, delay=my_delay}
animation.add(PropertyAnimation(OBJECTS.surface, move_surface1));
animation.add(PropertyAnimation(OBJECTS.surface, move_surface2));

And now i want to move an object from the center of the screen to the lower right corner (from position x,y to position x+400,y+400), and i do not know if it can be done.

And it does not matter to me that first it moves horizontally and then vertically or that it goes directly diagonally, but yes, in a single movement of the wheel

Any ideas to do it?

30
Scripting / Filter when filling an array (Solved)
« on: August 01, 2018, 08:19:57 AM »
This code filled games_db array with ALL the roms in the rom path:

Code: [Select]
// games filter
local dir = DirectoryListing(system_rom_path);

local games_db = [];

// FILTER i do not know how to apply
local sel_game = "GUN";

foreach (dir_name in dir.results)
{
// strip
local f = txt.loadFile(dir_name);
local aa = [];
local i = 1;
foreach(line in f.lines)
{
// track
local a = split(line, "\\"); // split path-file for "/"
local title = strip(a.pop().slice(0, -4)); // only filename, without ext
local folder = strip(a.pop());            // path folder

aa.push(
{
"filename" : line,
"folder" : folder,
"title" : title,
  });
   i++;
}

games_db.push(aa);
}


What I need is to just fill in games_db with the rom that contain the string "GUN" in their filename.

Any suggestions?

Pages: 1 [2] 3