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
1
General / attract.am file
« on: March 03, 2019, 06:20:52 AM »
What exactly does the attract.am file contain? Thank you.

2
Scripting / Two RomLists in one layout
« on: February 22, 2019, 08:34:46 AM »
Is there any way to use two romlists in a single layout?

For example, to press the 1 and 2 keys to use the romlist 1, and when you press the up and down keys, you will use the romlist 2.

I have not seen it anywhere, so it probably is not possible.

3
Scripting / This script not works. (SOLVED).
« on: February 11, 2019, 01:11:30 PM »
This script works perfectly in raspbian and in ubuntu, but not in lakka:

Code: [Select]
#!/bin/bash

IFS=';'

cd /storage/.attract/romlists
rm Favorites.txt

touch Favorites.txt
chmod 777 Favorites.txt

ls *.tag > tagfiles
while read filename
do
  while read gamename
  do
    romlist=`echo ${filename} |cut -f1 -d '.'`
    cat "${romlist}.txt"|grep "^${gamename};" >> Favorites.txt
  done < "${filename}"
done < tagfiles

rm tagfiles
cat Favorites.txt |sort -u > tmp_favorites.txt
mv tmp_favorites.txt Favorites.txt

sleep 5

The reading of the data is correct, but the redirection >> does not do anything.

In putty ssh this comand runs:

Code: [Select]
cat "Atari2600.txt" |grep "Centipede (USA)" >> Favorites.txt
but the script does not.

Does anyone know why?

4
General / A new question about the English language
« on: February 11, 2019, 05:33:45 AM »
As i said in my previous question, i am Spanish and i do not speak English well. So i would like to know which of these phrases is more correct:

Create new favorites gamelist.

Create new list of favorite games.

Or:

Update favorites gamelist.


It is for a menu option that will erase the current list of favorites and replace it with a new one if there is one, if there is not, simply create the new favorite list.

Thanks.


5
General / A question of language. Only for native english.
« on: January 21, 2019, 12:15:22 PM »
Hi, i am Spanish and my English is not very good. Can you tell me if this sentence is correct?:

"If you press this option, the counters of times played and the time played of all the games will be set to zero."

It is to confirm the reset of [PlayedCount] and [PlayedTime].

Thanks.


6
General / *.stat files (SOLVED)
« on: January 21, 2019, 06:25:14 AM »
Each *.stat file has two numbers inside.

The one that is above is the number of times the game has been played, or to be more exact and even if it is the same, the number of times the game has been selected in the menu.

What i would like to know is what indicates or what the number below means.

Thanks in advance for the help.

I already found out. Logically, it was the time played...  8)

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

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


9
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

10
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

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



12
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


13
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



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

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

Pages: [1] 2 3