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
Well, i have titled the post as "Common fault to all the themes published in the forum", when i should have added "that i have tried, that is almost all", but it did not fit, i'm sorry. Made this reservation, i continue with the post.

Trying the latest versions of some themes that have been published in the forum i have found something that i think everyone is missing. And i have noticed this little mistake, because my themes also have the same thing, which i am already correcting in the new versions, with a lot of difficulty, by the way.

I will try to explain it as best i can:

Usually, my Attract-Mode have two controls defined to go from one filter to another, for example to switch from All to Favorites (Next Filter) or from Favorites to All (Prev Filter). Well, when i use them in any theme, if there is still no game marked as a favorite, when switching from All to Favorites it does nothing, and everything else remains immovable, just like in the All screen. I think the right thing would be that nothing from any game appeared on the screen and gave me a warning that there are no favorites.

I am not sure if it is an Attract-Mode bug or that the programmers simply have not anticipated this situation. Situation that usually occurs, especially in the first steps with a new system when it has not yet begun to mark games as Favorites.

Maybe it should be the same Attract-Mode who warns that there is no game in Favorites, or in any other filter, but that should be Mickelson who decides. I don't know if i should generate a "bug report" requesting that this be corrected. What do you think? Do i do it or not?

2
Themes / Who created the original Orbit theme?
« on: December 09, 2019, 02:53:07 AM »
Who created the original Orbit theme?

I would like to know.  8)


3
Attract-Mode and RetroArch on the Raspberry pi 4.

I have managed to run both programs on pi 4 with Raspbian Buster.

I feel that the video does not have more quality, i will try to do a better one as soon as possible.

Sega Saturn has very poor results, but PSX, N64 and Sega Dreamcast work very well.

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

New video, best quality, but remais imperfect, sorry...

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

At the end of the video i have executed a pinout so that the pi 4 could be seen, it is not appreciated much, but you can see that the network socket is up and the usb down, unlike the pi 3B +.

New video of much better quality.

Boot in black, directly to the Attract-Mode, where my Stargate theme appears, and i run 1942 in the MAME2010 of RetroArch, then i go out to the system, with the right mouse button i access the ioRaspi4 menu, i open the terminal, i run pinout , which already looks great, and you can see that we are on a Raspberry pi 4 and not on any previous model.

Then back to Attract-Mode and run Mario Kart 64 from Nintendo 64, after one lap, i go out to the menu and run Aqua GT from Sega Dreamcast and i hit a tour of London, it seems.

After i close the system, in closing messages anyone who knows a little bit of Linux can check that it runs exclusively under Raspbian Buster.

The truth is that both the N64 and the Dreamcast, as you can see in the video, perform with great fluency in the Raspberry pi 4.

Note: ioRaspi4 is my personal system mounted to run under Raspbian Buster with Desktop on a Raspberry pi 4 and is optimized to work on a 4:3 monitor and 1024x768 pixels. And it is not, nor will it ever be, part of a downloadable image for the Raspberry pi 4.

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

4
Scripting / Compilation of Attract-Mode in Raspberry pi 4
« on: August 06, 2019, 06:51:05 AM »
I bought a Raspberry pi 4 4GB and i installed Raspbian Buster Lite.

I tried to compile Attract-Mode following the instructions Keilmillerjr has on GitHub (https://github.com/keilmillerjr/Raspberry-Pi-MAME-Setup-Guide) and that had worked perfectly for me on Raspbian Stretch Lite and Raspberry pi 3B +.

FFmpeg, SFML and Attract-Mode has compiled easily and without problems.

But to launch AM, it does nothing and gives this error message:

* failed to add service - already in use?

Could someone tell me why?

Note for Keil: In the instructions for SFML, there is a missing line:

sudo make install

5
General / Rocket Launcher with Attract-Mode?
« on: June 06, 2019, 06:52:03 AM »
Can someone explain to me what is the advantage of using RL with AM?

If it has any, because i do not find any.

6
Scripting / Key pressed
« on: May 29, 2019, 12:12:48 PM »
What code should be used in a layout to simulate that a key has been pressed at the start of a layout?, for example, the right arrow key.

Thanks

7
Themes / Listbox Animation in a layout (animate.nut question)
« on: May 26, 2019, 04:38:28 AM »
In a layout I use this code so that when I do not change the game in the listbox for a while, the listbox is hidden. And when I press up or down key (back game, previous game) come back.

Code: [Select]
fe.do_nut("mds/animate.nut");

local lbx = flx*0.74;
local lby = fly*0.17;
local lbw = flw*0.25;
local lbh = flh*0.84;

// Listbox
::OBJECTS <- {lbx = fe.add_listbox(lbx, lby, lbw, lbh)}
OBJECTS.lbx.rows = 21;
OBJECTS.lbx.selbg_alpha=0;
OBJECTS.lbx.set_rgb(R,G,B);
OBJECTS.lbx.set_sel_rgb(R2,G2,B2);
OBJECTS.lbx.align = my_align;

local move_lbx1 = {when = Transition.ToNewSelection, property ="x", start = OBJECTS.lbx.x + OBJECTS.lbx.width, end = OBJECTS.lbx.x, time = 1}
local move_lbx2 = {when = When.ToNewSelection, property ="x", start = OBJECTS.lbx.x, end = OBJECTS.lbx.x + (OBJECTS.lbx.width*1.5), time = 600, delay=3500}
animation.add(PropertyAnimation(OBJECTS.lbx, move_lbx1));
animation.add(PropertyAnimation(OBJECTS.lbx, move_lbx2));

I have the problem when I change the filter with the left and right keys (prev filter, next filter): I do not know what code to include so that pressing the left or right returns the listbox, which it does not do, obviously.

I have tried this, but it does not work well, the actions are duplicated and not synchronized:

Code: [Select]
fe.do_nut("mds/animate.nut");

local lbx = flx*0.74;
local lby = fly*0.17;
local lbw = flw*0.25;
local lbh = flh*0.84;

// Listbox
::OBJECTS <- {lbx = fe.add_listbox(lbx, lby, lbw, lbh)}
OBJECTS.lbx.rows = 21;
OBJECTS.lbx.selbg_alpha=0;
OBJECTS.lbx.set_rgb(R,G,B);
OBJECTS.lbx.set_sel_rgb(R2,G2,B2);
OBJECTS.lbx.align = my_align;

local move_lbx1 = {when = Transition.ToNewSelection, property ="x", start = OBJECTS.lbx.x + OBJECTS.lbx.width, end = OBJECTS.lbx.x, time = 1}
local move_lbx2 = {when = When.ToNewSelection, property ="x", start = OBJECTS.lbx.x, end = OBJECTS.lbx.x + (OBJECTS.lbx.width*1.5), time = 600, delay=3500}
local move_lbx3 = {when = Transition.ToNewList, property ="x", start = OBJECTS.lbx.x + OBJECTS.lbx.width, end = OBJECTS.lbx.x, time = 1}
local move_lbx4 = {when = When.ToNewList, property ="x", start = OBJECTS.lbx.x, end = OBJECTS.lbx.x + (OBJECTS.lbx.width*1.5), time = 600, delay=3500}
animation.add(PropertyAnimation(OBJECTS.lbx, move_lbx1));
animation.add(PropertyAnimation(OBJECTS.lbx, move_lbx2));
animation.add(PropertyAnimation(OBJECTS.lbx, move_lbx3));
animation.add(PropertyAnimation(OBJECTS.lbx, move_lbx4));

This does not work either:

Code: [Select]
local move_lbx1 = {when = Transition.ToNewSelection && Transition.ToNewList, property ="x", start = OBJECTS.lbx.x + OBJECTS.lbx.width, end = OBJECTS.lbx.x, time = 1}
local move_lbx2 = {when = When.ToNewSelection && When.ToNewList, property ="x", start = OBJECTS.lbx.x, end = OBJECTS.lbx.x + (OBJECTS.lbx.width*1.5), time = 600, delay=3500}
animation.add(PropertyAnimation(OBJECTS.lbx, move_lbx1));
animation.add(PropertyAnimation(OBJECTS.lbx, move_lbx2));

8
Scripting / Variables in a AM layout
« on: May 26, 2019, 04:17:13 AM »
In a AM layout, what difference is there between using this:

Code: [Select]
my_time <- 0;
try {my_time = my_config["_msgs"].tointeger();} catch(e) {}

or use this:

Code: [Select]
local my_time = my_config["_msgs"].tointeger();


9
General / Attract-Mode for Android
« on: April 01, 2019, 11:29:09 AM »
Will there be an Attract-Mode for Android someday?  :-[

The truth is that it would be nice to see Attract-Mode on a GPD XD Plus or on a JXD S192K... or not?  8)

Attract-Mode works on Linux, Android is Linux, the libraries that Attract-Mode uses, as far as i know, are available on Android...  ::)

So what is the problem?  :P

10
General / attract.am file
« on: March 03, 2019, 06:20:52 AM »
What exactly does the attract.am file contain? Thank you.

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

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

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


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


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

Pages: [1] 2 3