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

Pages: 1 ... 4 5 [6] 7 8 ... 21
76
Themes / Re: Put a random icon on the screen. (SOLVED)
« on: June 16, 2018, 12:38:57 PM »
Another simple solution is put some "random" jpg´s into the "scrapper/[sytem]" folder.
I mean , you have a "NES" layou.nut with something like

fe_add.artwork = icon...

Then just create a folder "scrapper/nes/icon"
Inside 1.jpg , 2.jpg , 3.jpg or wathever you want  :D

Thanks, a great idea...  :D  but i do not use the scrapper for nothing at all  ::)

Don`t need to use it , just create the folder structure and put your media inside :)

77
Scripting / Favourite Icon doesn´t work
« on: June 16, 2018, 12:18:51 PM »
Tried to show a "favorite" icon on my layout.

Code: [Select]
::OBJECTS <- {
fav = fe.add_image( "favorite.png", 5, 55, 60, 60 ),
}

OBJECTS.fav.visible = false;

function show_favorite( ttype, var, ttime ) {
 switch ( ttype ) {
  case Transition.ToNewList:
  case Transition.ToNewSelection:
    local inf_fav=fe.game_info(Info.Favourite);
if (inf_fav=="1")
       OBJECTS.fav.visible  = true;
    else
           OBJECTS.fav.visible  = false;
    break;
  }
 return false;
}

fe.add_transition_callback( "show_favorite" );

The thing is the icon only shows "on layout start" and if I change the selected game , shows if I have the previous or the next game selected.
I mean . if I have three games, 1, 2, 3
2 is tag as favourite
If I move to 3 , the favourite icon is showed , same with 1 , but not with 2  :(
Only if I start the f.e. with the 2 game previously selected.

78
Scripting / Re: New feature: vertical text alignment
« on: June 16, 2018, 10:19:18 AM »
Thanks for the work , I love this new feature.
I have tried and I dont know if something is going wrong.



Super Sidekicks 2 , Super Sidekicks 3 the word "Super" has dissapeard.

79
One guy helped me to create a ".sh" to automaticatly add the filters.
I mean , just open your romlist.txt with libreoffice for example.
Create a .txt with all the "filters" , should be named "filtros_duplicados.txt"

Code: [Select]
Action
Action
Action
Educational
Educational
Educational
Educational
Educational
Flying
Flying
Flying
Flying
Flying
Flying
Flying

Then create the .sh and execute:

Code: [Select]
cat -n filtros_duplicados.txt |
sort -u -k2,7 |
sort -n |
sed 's/.*\t/    /;s/\([0-9]\{4\}\).*/\1/' >> filtros.txt


sed -i 's/\r//' filtros.txt
while read LINE;
do
{
  echo '  filter               '$LINE'' >> filtros2.txt
  echo '    rule                 Category contains '$LINE'' >> filtros2.txt
}
done < filtros.txt

A new "filtros2.txt" will be created with all your filters without duplicates.

Maybe I have to create an step by step detayled tutorial , but I think is quite simple  ;)

80
Themes / Re: Put a random icon on the screen. (SOLVED)
« on: June 15, 2018, 08:58:26 AM »
Another simple solution is put some "random" jpg´s into the "scrapper/[sytem]" folder.
I mean , you have a "NES" layou.nut with something like

fe_add.artwork = icon...

Then just create a folder "scrapper/nes/icon"
Inside 1.jpg , 2.jpg , 3.jpg or wathever you want  :D

81
Themes / Re: NEO GEO mini RED MVS edition
« on: June 10, 2018, 11:06:30 AM »
You inspired me , I create an alternate version for the "conveyour helper module"


82
General / Re: Help to compile attract-mode in windows 10 64bits
« on: June 07, 2018, 07:56:14 AM »
Compiling AttractMode on Windows requires the use of many .dll files once complete. Because of this I don't think many people do it. The recommend method is to cross compile using Linux since it a cleaner build that doesn't require outside dependencies.

https://github.com/mickelson/attract/blob/v2.3.0/Compile.md

I know this doesn't answer your question but can explain the lack of response. I think I've seen currently compiled Windows versions of AttractMode on Discord which might be a better option if you can't compile in Linux.



So... any step by step "for dummies" on linux?
I mean I´ve tried cross-compile too but set an mxe enviroment is not like "sudo apt-get install..."

http://forum.attractmode.org/index.php?topic=1061.msg7821#msg7821

83
Scripting / Re: Wrong code
« on: June 06, 2018, 09:03:46 AM »

84
Scripting / Problems Login
« on: June 04, 2018, 07:29:15 AM »
I´m having problems with the login page and when I try to create a new post , redirects me to a blank page.
Some other users are having the same problem.

Sorry for posting here but the "wiki" and "bug reports" section.

85
Scripting / Re: Wrong code
« on: June 03, 2018, 10:56:41 AM »
I've writted two "" , but maybe this will work even with "&"

Quote
ocal a = "I'm a wonderful string\n"
// has a newline at the end of the string
local x = @"I'm a verbatim string\n"
// the \n is copied in the string same as \\n in a regular string "I'm a verbatim string\n"

So:

Code: [Select]
//box_system
local x = @"Watch & Game"

function box_system(ttype, var, ttime)
{
    switch ( ttype )
    {
        case Transition.ToNewList:
        case Transition.StartLayout:
//case Transition.ToNewSelection:
//case Transition.FromOldSelection:
    switch ( fe.list.name )
            {             
case "x":
                local artwork_image = fe.add_image("hh/[Emulator].png", flx*0.52, fly*0.4,  flw*0.260, flh*0.462);
                artwork_image.preserve_aspect_ratio = true;
    break;
        }
    }

}

fe.add_transition_callback("box_system" );

86
Scripting / Re: Wrong code
« on: June 03, 2018, 04:21:06 AM »
Not tested, I think you need a function with transition callbacks.

I made this for system info

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

Code: [Select]
//box_system

function box_system(ttype, var, ttime)
{
    switch ( ttype )
    {
        case Transition.ToNewList:
        case Transition.StartLayout:
//case Transition.ToNewSelection:
//case Transition.FromOldSelection:
    switch ( fe.list.name )
            {             
case "Watch & Game":
                local artwork_image = fe.add_image("hh/[Emulator].png", flx*0.52, fly*0.4,  flw*0.260, flh*0.462);
                artwork_image.preserve_aspect_ratio = true;
    break;
        }
    }

}

fe.add_transition_callback("box_system" );

87
Themes / Re: Ambience HD theme [WIP]
« on: May 30, 2018, 08:19:28 AM »
 :o

88
Themes / Re: LCD Theme
« on: May 28, 2018, 05:17:13 AM »
I love it!  ;)

89
Scripting / Re: fbalpha core problem
« on: May 26, 2018, 03:35:32 PM »
Glad to help  ;)

P.D. Just a final advice , if you are using the "Attract-Mode Console version" you can see the launched command on the little cmd window.
So its really helpfull to try command lines for multiple emulators.

90
Scripting / Re: fbalpha core problem
« on: May 26, 2018, 09:07:46 AM »
The problem with command lines is you have to be precise , so... try this:

Not working

Code: [Select]
rompath              H:\CONSOLE\roms\neogeoaes
Working

Code: [Select]
rompath              H:\CONSOLE\roms\neogeoaes\
As you can see I posted this code:

Code: [Select]
# Generated by Attract-Mode v2.2.1-43
#
executable           cmd
args                 /c cd "C:\AM\emu\retroarch" & start /wait retroarch -L cores\fbalpha_libretro.dll "[rompath][name].zip"
rompath              C:\AM\emu\retroarch\system\roms\

But you have put something like this:

Code: [Select]
# Generated by Attract-Mode v2.2.1-43
#
executable           cmd
args                 /c cd "C:\AM\emu\retroarch" & start /wait retroarch -L cores\fbalpha_libretro.dll "[rompath][name].zip"
rompath              C:\AM\emu\retroarch\system\roms

If you avoid the final "\" you need to add it at the end of the command , should be:

Code: [Select]
# Generated by Attract-Mode v2.2.1-43
#
executable           cmd
args                 /c cd "C:\AM\emu\retroarch" & start /wait retroarch -L cores\fbalpha_libretro.dll "[rompath]\[name].zip"
rompath              C:\AM\emu\retroarch\system\roms

I mean "[rompath]\[name].zip"

Is not an Attract Mode problem because I´m launching the core without issues.

Pages: 1 ... 4 5 [6] 7 8 ... 21