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
1
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

2
Themes / RetroGui AM Theme --> From MALA to Attract-Mode.
« on: October 02, 2018, 06:49:57 AM »
RetroGui AM Theme.

Years ago I saw the RetroGui 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

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

Version: 09/29/2018

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

This is the English version of the Theme, although the Spanish version is also available at the end of the post.


ioflat menu

It is the main menu with one division per type of machine/system. In my case: Arcade Classics, Arcade Machines, 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" or "Salir de Attract-Mode", depending on whether the English or Spanish language is used.

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 8 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. The icons and texts will also be used according to the chosen format, in spanish or english language.
  • 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, unless you search for uppercase words (if you search for nes, Genesis returns it, but not NES or SNES), since it is a option that does not contemplate.

In the Grid i have not put it, because besides the problems with the capital letters, it gives problems with the integration in the grid (it filters the names, but they do not coincide with the arts of the grid). I have already asked for help to liquid8d, so i added the uppercase key, in order to search for NES and not just nes. When i see your solution, if you give it to me, then i will try to adapt it to the grid.


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.
  • The total of games must be put in the romlists, in the magic token Control.
  • 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

Well, I'll tell you that to get the most out of this theme, you should use a * .cfg like this:
Code: [Select]
# Generated by Attract-Mode v2.4.1
#
executable           \arcade\systems\computers\commodoreamiga\fsuae\Programs\Windows\x86-64\fs-uae-launcher.exe
args                 -config:floppy-drive-count=1 "[rompath][name][romext]"
rompath              \arcade\systems\computers\commodoreamiga\roms
romext               .bin;.zip;<DIR>
system               Commodore Amiga
info_source          arcade.accdb
artwork flyer        ..\..\arcade\systems\computers\commodoreamiga\flyer
artwork marquee      ..\..\arcade\systems\computers\commodoreamiga\marquee
artwork snap         ..\..\arcade\systems\computers\commodoreamiga\snap
artwork wheel        ..\..\arcade\systems\computers\commodoreamiga\wheel
artwork fanart       ..\..\arcade\systems\computers\commodoreamiga\fanart
artwork screens      ..\..\arcade\systems\computers\commodoreamiga\screens
artwork covers       ..\..\arcade\systems\computers\commodoreamiga\covers
artwork titles       ..\..\arcade\systems\computers\commodoreamiga\titles

or like this if fixed routes are used instead of relative ones:
Code: [Select]
# Generated by Attract-Mode v2.4.1
#
executable           D:\arcade\systems\computers\commodoreamiga\fsuae\Programs\Windows\x86-64\fs-uae-launcher.exe
args                 -config:floppy-drive-count=1 "[rompath][name][romext]"
rompath              D:\arcade\systems\computers\commodoreamiga\roms
romext               .bin;.zip;<DIR>
system               Commodore Amiga
info_source          arcade.accdb
artwork flyer        D:\arcade\systems\computers\commodoreamiga\flyer
artwork marquee      D:\arcade\systems\computers\commodoreamiga\marquee
artwork snap         D:\arcade\systems\computers\commodoreamiga\snap
artwork wheel        D:\arcade\systems\computers\commodoreamiga\wheel
artwork fanart       D:\arcade\systems\computers\commodoreamiga\fanart
artwork screens      D:\arcade\systems\computers\commodoreamiga\screens
artwork covers       D:\arcade\systems\computers\commodoreamiga\covers
artwork titless      D:\arcade\systems\computers\commodoreamiga\titles

And of course, with the new folders with their corresponding arts.

And because? Because, in addition to the options of using the flyer, marquee, snap and wheel arts, this theme also allows you to use fanart, screeens, titles and covers arts. Of course, only if you want, are not essential, but its possible use is facilitated.

I will give a more detailed explanation of why i have added more options of graphic objects in this theme:
The standard objects to put in the Attract-Mode are: snap, wheel, flyer and marquee. And there are the options to show graphics in the layouts.
The usual operation is this: if you want to use video or screenshot in your games, you must change the content of the "snap" folder for videos or screenshots.
This layout what it does is allow to use, in addition, four other options: fanart, which is admitted by Attract-Mode in a standard way, although little used, screens, titles and covers, which are other options that i implement so that it is not necessary to change the names of the folders or their contents.

For example, in Amiga, i have the following folders with graphics of the games:

covers -> covers.
fanart -> diskettes.
flyer -> 3D boxes.
marquee -> the banners.
screens -> screenshots of the games.
snap -> the videos.
titles -> the start screenshots of the games
wheel -> the images of the wheels.

In any other layout, to use them all should be changing names or contents of folders, in ioflat, you just have to choose them from the options menu of the layout.


ioflat games has 19 options:
  • Shows clock and date, in Spanish or USA format. The icons and texts will also be used according to the chosen format, in spanish or english language.
  • Select the art that will be displayed in the right column: snap, flyer, fanart, screens, covers, titles or none.
  • Select the art that will be displayed in the bottom banner: snap, flyer, fanart, screens, covers, titles 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).
  • Apply CRT effect to game videos, or not.
  • Apply Bloom shader to the CRT effect or not.
  • 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.
  • Launch an external utility per system, such AllInOneFYC, closemul, xpadder, joytokey, etc. Path complete and executable.
  • The arguments to pass when running the external utility per system.
  • Launch an external utility with personalized configuration for each game. Path complete and executable.
    You have to create a custom configuration file with the name of each game and put it in the same path of the executable.
  • Extension to add to the name of the game used by the external utility per game: ini, txt, etc.
    To obtain the configuration file, as: GameName.ini, GameName.txt, etc.

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".

When i say that when using an external utility you have to put the complete path and the executable, i mean, as an example, this: "E:\arcade\systems\computers\spectrum\ZEsarUX 7.0\AllInOneFYC.exe"

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 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:

English version:https://mega.nz/#!OwcBDSQT!eqp9NEqNeUXa3CHMd3vhasrumpOAQQIFWyqDslbFHeE

Spanish version: https://mega.nz/#!qwFVgKhY!K8cpSafj7Bw0-5_z-rXv0jHFzGC7Bk2iNE4zc_YY99Q

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):



4
Themes / "Blue Ring AM" Theme
« 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


5
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



6
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");

7
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...  :-[

8
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:


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

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.

10
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

11
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?

12
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?

13
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?

14
Scripting / Attract-Mode BUG: Listbox not fade correctly.
« on: July 17, 2018, 10:33:53 AM »
I use this code to fade a listbox after 3.5 seconds:

Code: [Select]
local flx = fe.layout.width;
local fly = fe.layout.height;
local flw = fe.layout.width;
local flh = fe.layout.height;

// Listbox
if(my_config["wheel_type"] == "listbox")
{
::OBJECTS <- {lbx = fe.add_listbox(flx*0.76, fly*0.33, flw*0.20, flh*0.64)}
OBJECTS.lbx.rows = 21;
OBJECTS.lbx.charsize = 24;
OBJECTS.lbx.align = Align.Centre;
OBJECTS.lbx.selbg_alpha = 0;
OBJECTS.lbx.set_selbg_rgb(255,255,255);
OBJECTS.lbx.set_rgb(0,0,0);
OBJECTS.lbx.set_sel_rgb(255,255,255);

// Fade Listbox
local move_lbx1 = { when = Transition.ToNewSelection, property = "alpha", start = 0, end = 255, time = 1} 
local move_lbx2 = { when = When.ToNewSelection, property = "alpha", start = 255, end = 0, time = 2500, delay = 3500} 
animation.add(PropertyAnimation(OBJECTS.lbx, move_lbx1));
animation.add(PropertyAnimation(OBJECTS.lbx, move_lbx2));
}

But it does not fade correctly.

The rest of the listbox fades correctly, but the selected field in the listbox remains visible.

It seems totally an Attract-Mode bug.

Does anyone know why this happens?

Is there any solution?

Edit: The bug has been confirmed in "Bug Reports" by Oomek. As soon as there is a solution, I will communicate it here.

15
Scripting / Two functions to create boxes and frames
« on: July 11, 2018, 06:45:40 AM »
It seems to me that AM does not have functions for this, so if someone can be useful, two functions to create boxes and frames:

Code: [Select]
// Two functions to create boxes and frames
//
// First: Create a white png 1x1 pixels sized. Save as "white_point.png"
// Create a folder named objs in your layout and copy "white_point.png" into it.
//
// Function draw_box(box_x,box_y,box_w,box_h,box_r,box_g,box_b,box_a,box_s)
//
// box_x --> The x coordinate of the top left corner of the box (in layout coordinates).
// box_y --> The y coordinate of the top left corner of the box (in layout coordinates).
// box_w --> The width of the box (in layout coordinates).
// box_h --> The height of the box (in layout coordinates).
// box_r --> Set red colour level for the box. Range is 0-255.
// box_g --> Set green colour level for the box. Range is 0-255.
// box_b --> Set blue colour level for the box. Range is 0-255.
// box_a --> Set alpha level for the box. Range is 0-255.
// box_s --> Width of the box shadow (in layout coordinates). Set 0 for no shadow.

function draw_box(box_x,box_y,box_w,box_h,box_r,box_g,box_b,box_a,box_s)
{
if(box_s != 0)
{
local bflw = fe.layout.width;
local bflh = fe.layout.height;

local dbox = fe.add_image("objs/sys/white_point.png", box_x+box_s, box_y+box_s, box_w, box_h);
dbox.set_rgb(0,0,0);
dbox.alpha=255;
}

local dbox = fe.add_image("objs/sys/white_point.png", box_x, box_y, box_w, box_h);
dbox.set_rgb(box_r,box_g,box_b);
dbox.alpha=box_a;

}

// Function draw_frame(box_x,box_y,box_w,box_h,box_r,box_g,box_b,box_a,box_s)
//
// frame_x --> The x coordinate of the top left corner of the frame (in layout coordinates).
// frame_y --> The y coordinate of the top left corner of the frame (in layout coordinates).
// frame_w --> The width of the frame (in layout coordinates).
// frame_h --> The height of the frame (in layout coordinates).
// frame_r --> Set red colour level for the frame. Range is 0-255.
// frame_g --> Set green colour level for the frame. Range is 0-255.
// frame_b --> Set blue colour level for the frame. Range is 0-255.
// frame_a --> Set alpha level for the frame. Range is 0-255.
// frame_fw --> The Width of the border of the frame (in layout coordinates).
// frame_fh --> The Height of the border of the frame (in layout coordinates).

function draw_frame(frame_x,frame_y,frame_w,frame_h,frame_r,frame_g,frame_b,frame_a,frame_fw,frame_fh)
{
local dframe1 = fe.add_image("objs/white_point.png", frame_x, frame_y, frame_w, frame_fh);
dframe1.set_rgb(frame_r,frame_g,frame_b);
dframe1.alpha=frame_a;

local dframe2 = fe.add_image("objs/white_point.png", frame_x, frame_y+frame_h, frame_w, frame_fh);
dframe2.set_rgb(frame_r,frame_g,frame_b);
dframe2.alpha=frame_a;

local dframe3 = fe.add_image("objs/white_point.png", frame_x, frame_y, frame_fw, frame_h);
dframe3.set_rgb(frame_r,frame_g,frame_b);
dframe3.alpha=frame_a;

local dframe4 = fe.add_image("objs/white_point.png", frame_x+frame_w, frame_y, frame_fw, frame_h+frame_fh);
dframe4.set_rgb(frame_r,frame_g,frame_b);
dframe4.alpha=frame_a;
}

// Example: Draw two boxes and one frame
local flx = fe.layout.width;
local fly = fe.layout.height;
local flw = fe.layout.width;
local flh = fe.layout.height;
draw_box(flx*0.3, fly*0.3, flw*0.5, flh*0.5, 175, 175, 175, 255,flw*0.005);
draw_box(flx*0.35, fly*0.35, flw*0.4, flh*0.4, 135, 175, 50, 150,0);
draw_frame(flx*0.35, fly*0.35, flw*0.4, flh*0.4, 255, 0, 0, 255, flw*0.002, flh*0.003);

Pages: [1] 2