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.


Messages - iOtero

Pages: [1] 2 3 ... 28
1
Scripting / Re: Shuffle v2.2.0 - Loop feature now added
« on: January 03, 2020, 04:37:58 AM »
Well, since I needed Shuffle to work correctly when changing filters, I made this modification to your code. I hope it doesn't bother you.
I guess it's not the right modification you would make, but for now it works for me. And it has been easier than I thought, I've only added five lines of code.

Your original code:

Code: [Select]
function _signals(signal_str)
{
switch(signal_str)
{
// ignore signals at start or end of list when looping is false
case "prev_game":

if(this._loop == false && fe.list.index == 0) return true;
break;

case "next_game":

if(this._loop == false && fe.list.index == fe.list.size-1) return true;
break;

// do not update selection for these signals
case "prev_letter":
case "next_letter":
case "random_game":
case "add_favourite":
case "prev_favourite":
case "next_favorite":
this._ignoreNewSelection = true;
break;
}

return false;
}

Modified code:

Code: [Select]
function _signals(signal_str)
{
switch(signal_str)
{
// ignore signals at start or end of list when looping is false
case "prev_game":

if(this._loop == false && fe.list.index == 0) return true;
break;

case "next_game":

if(this._loop == false && fe.list.index == fe.list.size-1) return true;
break;

case "prev_filter":

case "next_filter":
this._selected = 0;
fe.list.index = 0;
break;

// do not update selection for these signals
case "prev_letter":
case "next_letter":
case "random_game":
case "add_favourite":
case "prev_favourite":
case "next_favorite":
this._ignoreNewSelection = true;
break;
}

return false;
}

This fixes the problem with the filter change, but not with the letter change... which is not going well either.

2
Themes / Re: DelphiniEX [Release] [Latest: v3.3]
« on: December 30, 2019, 10:45:03 AM »
Running at 4K res and boxart/title/list/background logo isnt scaled properly?

I hadn't thought about it... but emulating the Game Boy on a 60-inch screen and with 4K should be something impressive... Thanks for the idea.  8)

3
I don't think anything, I know there are things that must be corrected. I already said it before in the same thread of the Shuffle:


http://forum.attractmode.org/index.php?topic=2946.msg20995#msg20995

4
This is why I created the leap plugin two years ago. I will eventually add it into attract source to automatically skip an empty filter. But lot’s of things in the works at the moment.

I didn't know that plugin of yours, it works great. I was complicating my life, hiding things by finding the empty filter. Your approach is much better and more practical.  :-[  Thanks.   :)

I know you have a lot of work, but it could do me good if one day you finished the Shuffle list, which doesn't work well at all. ;)

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

6
General / Re: Videos on Win Platforms
« on: December 21, 2019, 06:37:54 AM »
I've had to modify all my mp4 videos from 60 fps to 24 fps for the Raspberry pi and now I'm doing well, but I'm going to try your idea, rand0m. Thank you.

7
General / Re: retro pie thouhgt.....
« on: December 21, 2019, 06:33:37 AM »
Well, I'm going to give my personal opinion, and i hope nobody gets offended.
I believe that this forum should not deal with anything related to Retropie, which already has its own forum...
I don't go to the Retropie forum to ask questions about Attract-Mode, it would be a mistake for me to do so. Retropie is not designed to use Attract-Mode. They have forced it, and they have not been very well. They do not install Attract-Mode in a normal way, but as if it were another EmulationStation... Using unnecessary files and changing things and using many symbolic links...
Coming to this forum to discuss Retropie issues is like taking a Mercedes car to which everything has been changed, engine, sheet metal, paint, tires, aesthetics... that is, except the plate that puts Mercedes, to the official service of Mercedes.
Using Attract-Mode with Rasbian and RetroArch on a Raspberry pi works much better and faster than under Retropie. I have checked it personally.

8
One way of doing things might be to create only a masterlist rather then different system lists and access the different lists data from masterlist e.g. for sega genesis create a rule [Magic Token] equals to sega_genesis. This would auto create single fav/ played time etc since we are following a single masterlist. Filters for system can be made by two or more rules so shouldn't be difficult.

The only issue is if AM will take more time processing the masterlist. MAME has around 6500 entries, Amiga has around 5000 so masterlist could potentially contain tens of thousands entries.

You said it yourself. It seems to me a very bad idea to make a romlist with the more than 20,000 games of my Raspberry pi.  ::)

9
General / Re: updating to stretch
« on: December 14, 2019, 02:11:53 AM »
If it is Retropie what you use, you know where they have put things... They will be anywhere but where they should be...
Retropie is designed to use EmulationStation. To use Attract-Mode better use Raspbian with Attract-mode and Retroarch, it will be faster and better.

10
Themes / Re: new shump theme, ready..DL
« on: December 12, 2019, 04:36:57 AM »
that code was made by somone who knows scripting better than me,

the code was given from "zpaolo11x"  as contribution on this thred,   to help build

advanced scroll bar,   http://forum.attractmode.org/index.php?topic=2864.0

i just modifide it to go fetch the alphabet png's

he would be the one who could fix this, i bet

Thanks, jedione...

Well, i have already solved it, it was much easier than it seemed.

You only have to give access to variable s2 if the name string --variable s-- is not empty.

11
Scripting / Re: advanced progres bar
« on: December 12, 2019, 04:24:32 AM »
Well, i have already solved it, it was much easier than it seemed.

You only have to give access to variable s2 if the name string --variable s-- is not empty.


12
Scripting / Re: advanced progres bar
« on: December 12, 2019, 03:07:12 AM »
sent, test theme.... ;)

Ok, Jedione, thanks, but...

I've tried your aura4k coin-ops theme and the abc.nut layout gives exactly the same problem: If when changing filters or lists, there are no games, it gives the error of slice out of range and closes attract-mode. Logically, the code to get the first letter of the game is the same.

And with the statbar.nut layout, only one letter appears and then only the green line that changes size without any other letter.

Keil's code to get the first letter doesn't work either.

So we are the same as before.

13
Themes / Re: new shump theme, ready..DL
« on: December 11, 2019, 02:01:34 PM »
I have a problem with this theme.
I have the keys 1 and 2 defined as prev_filter and next_filter, and when i press them, for example, i pass from ALL to FAVORITES, because if i don't have any favorites defined yet in that system, the gameletter function gives me this error:
Script Error in magic string function: gameletter - slice out of range
And analyzing is that the local code line s2 = s.slice (0,1) is the one that gives the error.
Is there any way to fix this?
Thanks.

14
Scripting / Re: Shuffle v2.2.0 - Loop feature now added
« on: December 11, 2019, 06:58:43 AM »
Keil, i know that you are very busy with other things, but are you going to someday end this plugin? It doesn't work properly.
Thanks.

I will try to continue it soon. Latest attract commits will be good for this. However, my financial standing may impact my time with attract for a while.

Ok, thanks.

15
Scripting / Re: Shuffle v2.2.0 - Loop feature now added
« on: December 10, 2019, 10:00:07 AM »
Keil, i know that you are very busy with other things, but are you going to someday end this plugin? It doesn't work properly.
Thanks.

Pages: [1] 2 3 ... 28