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 [2] 3 4 ... 21
16
General / Re: filtering rom on display
« on: March 21, 2020, 04:52:52 PM »
Try just

Code: [Select]
filter               NeoGeo
sort_by              Name
rule                 CloneOf not_equals .+
rule                 AltRomname contains neogeo

17
General / Re: filtering rom on display
« on: March 19, 2020, 07:21:20 AM »
Paste your mame.txt romlist.

Code: [Select]
#Name;Title;Emulator;CloneOf;Year;Manufacturer;Category;Players;Rotation;Control;Status;DisplayCount;DisplayType;AltRomname;AltTitle;Extra;Buttons
88games;'88 Games;MAME;;1988;Konami;Sports / Track & Field;4P alt / 2P sim;0;only_buttons,only_buttons,only_buttons,only_buttons;good;1;raster;;;;
flagrall;'96 Flag Rally;MAME;;1996;Promat?;Maze / Driving;1P;0;joystick (8-way);good;1;raster;;;;
pr_lday;'L' Of A Day (Project) (Cash set) (PROCONN);MAME;;199?;Project;Electromechanical / Reels;???;;;preliminary;0;;;;mechanical;
005;005;MAME;;1981;Sega;Maze / Shooter Small;2P alt;270;joystick (4-way),joystick (4-way);imperfect;1;raster;;;;
1on1gov;1 on 1 Government (Japan);MAME;;2000;Tecmo;Sports / Basketball;2P sim;0;joystick (8-way),joystick (8-way),joystick (8-way),joystick (8-way);imperfect;1;raster;coh1002m;;;
m4tenten;10 X 10 (Barcrest) (MPU4) (T20 0.2);MAME;;199?;Barcrest;Electromechanical / Reels;???;;only_buttons;preliminary;0;;;;mechanical;
10yard;10-Yard Fight (World, set 1);MAME;;1983;Irem;Sports / Amer. Football;2P alt;0;joystick (8-way),joystick (8-way);good;1;raster;;;;
100lions;100 Lions (10219211, NSW/ACT);MAME;;2006;Aristocrat;System / BIOS;BIOS;0;;preliminary;1;raster;aristmk6;;;
mc_dcat8;100 in 1 (D-CAT8 8bit Console, set 1) (v5.01.11-frd, BL 20041217);MAME;;2004;<unknown>;;2;0;joystick (8-way),joystick (8-way);preliminary;1;raster;;;;
mc_aa2;100 in 1 Arcade Action II (AT-103);MAME;;200?;<unknown>;;2;0;joystick (8-way),joystick (8-way);preliminary;1;raster;;;;
gtmr;1000 Miglia: Great 1000 Miles Rally (94/07/18);MAME;;1994;Kaneko;Driving / Race;2P alt;0;joystick (8-way),dial,paddle,joystick (8-way);good;1;raster;;;;
mc_110cb;110 in 1 CoolBaby (CoolBoy RS-1S);MAME;;200?;CoolBoy;;2;0;joystick (8-way),joystick (8-way);preliminary;1;raster;;;;
mc_138cb;138 in 1 CoolBaby (CoolBoy RS-5, PCB060-10009011V1.3);MAME;;200?;CoolBoy;;2;0;joystick (8-way),joystick (8-way);preliminary;1;raster;;;;
progolf;18 Holes Pro Golf (set 1);MAME;;1981;Data East Corporation;Sports / Golf;2P alt;270;joystick (8-way),joystick (8-way);imperfect;1;raster;;;;
18wheelr;18 Wheeler (deluxe) (Rev A);MAME;;2000;Sega;Driving;1P;0;paddle,pedal;preliminary;1;raster;naomi;;;
18w;18 Wheeler (set 1);MAME;;1979;Midway;Electromechanical / Misc.;1P;;paddle,pedal;preliminary;0;;;;mechanical;
1941;1941: Counter Attack (World 900227);MAME;;1990;Capcom;Shooter / Flying Vertical;2P sim;270;joystick (8-way),joystick (8-way);good;1;raster;;;;
pc_1942;1942 (PlayChoice-10);MAME;;1987;Capcom;Shooter / Flying Vertical;2P alt;0;joystick (8-way),joystick (8-way);imperfect;2;raster;playch10;;;
1942;1942 (Revision B);MAME;;1984;Capcom;Shooter / Flying Vertical;2P alt;270;joystick (8-way),joystick (8-way);good;1;raster;;;;
1943kai;1943 Kai: Midway Kaisen (Japan);MAME;;1987;Capcom;Shooter / Flying Vertical;2P sim;270;joystick (8-way),joystick (8-way);good;1;raster;;;;
1943;1943: The Battle of Midway (Euro);MAME;;1987;Capcom;Shooter / Flying Vertical;2P sim;270;joystick (8-way),joystick (8-way);good;1;raster;;;;
1943mii;1943: The Battle of Midway Mark II (US);MAME;;1987;Capcom;;2;270;joystick (8-way),joystick (8-way);good;1;raster;;;;
1944;1944: The Loop Master (USA 000620);MAME;;2000;Eighting / Raizing (Capcom license);Shooter / Flying Vertical;2P sim;0;joystick (8-way),joystick (8-way);good;1;raster;;;;
1945kiii;1945k III (newer, OPCX2 PCB);MAME;;2000;Oriental Soft;Shooter / Flying Vertical;2P sim;270;joystick (8-way),joystick (8-way);good;1;raster;;;;
19xx;19XX: The War Against Destiny (USA 951207);MAME;;1996;Capcom;Shooter / Flying Vertical;2P sim;270;joystick (8-way),joystick (8-way);good;1;raster;;;;
openice;2 On 2 Open Ice Challenge (rev 1.21);MAME;;1995;Midway;Sports / Hockey;4P sim;0;joystick (8-way),joystick (8-way),joystick (8-way),joystick (8-way);good;1;raster;;;;
f2pbball;2 Player Baseball (Fonas);MAME;;1979;Fonas;;2;;only_buttons,only_buttons;good;0;;;;;

To make filters working you need to create a proper romlist.
I made other tutorials.

https://arcadespain.info/Foro/index.php?topic=5480.0
https://arcadespain.info/Foro/index.php?topic=5921.0
https://arcadespain.info/Foro/index.php?topic=5687.0

19
Scripting / Re: filter to text script help
« on: December 07, 2019, 09:39:58 AM »
''filter_offset''

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


Code: [Select]
// Category
local categoryW = floor( bth * 2.5 )
local categoryH = floor( bth * 0.25 )
local categoryX = floor(( flw - crw ) * 0.5 - categoryW * 0.5 + flx)
local categoryY = floor( bth * 0.5 ) - floor( categoryH * 0.5 )
local category = fe.add_text("[FilterName]", categoryX, categoryY, categoryW, categoryH )
category.align = Align.Centre
category.filter_offset = 0
category.style = Style.Regular
category.charsize = floor(category.height * 1000/701)
category.font = "BebasNeueBold.otf"

local categoryLeft = fe.add_text("[FilterName]", 0, categoryY, categoryW, categoryH )
categoryLeft.align = Align.Centre
categoryLeft.filter_offset = -1
categoryLeft.set_rgb(selRGB[0],selRGB[1],selRGB[2])
categoryLeft.style = Style.Regular
categoryLeft.charsize = floor(category.height * 1000/700)
categoryLeft.font = "BebasNeueBook.otf"

local categoryRight = fe.add_text("[FilterName]", 0, categoryY, categoryW, categoryH )
categoryRight.align = Align.Centre
categoryRight.filter_offset = 1
categoryRight.set_rgb(selRGB[0],selRGB[1],selRGB[2])
categoryRight.style = Style.Regular
categoryRight.charsize = floor(category.height * 1000/701)
categoryRight.font = "BebasNeueBook.otf"

local categoryLeft2 = fe.add_text("[FilterName]", 0, categoryY, categoryW, categoryH )
categoryLeft2.align = Align.Centre
categoryLeft2.filter_offset = -2
categoryLeft2.set_rgb(selRGB[0],selRGB[1],selRGB[2])
categoryLeft2.style = Style.Regular
categoryLeft2.charsize = floor(category.height * 1000/701)
categoryLeft2.alpha = 0
categoryLeft2.font = "BebasNeueBook.otf"

local categoryRight2 = fe.add_text("[FilterName]", 0, categoryY, categoryW, categoryH )
categoryRight2.align = Align.Centre
categoryRight2.filter_offset = 2
categoryRight2.set_rgb(selRGB[0],selRGB[1],selRGB[2])
categoryRight2.style = Style.Regular
categoryRight2.charsize = floor(category.height * 1000/701)
categoryRight2.alpha = 0
categoryRight2.font = "BebasNeueBook.otf"

20
Emulators / Re: Problem leaving SSF emu, AM crashes
« on: October 09, 2019, 02:21:29 PM »
you have to add the exact name of your display (see attract-folder\emulator), did you?
my display for Sega Saturn is named "Sega Saturn".
i'm using "EmuHawk" for sega saturn games.

it works with this config:
Code: [Select]
executable           "C:\attract\EMU\Sega Saturn\EmuHawk.exe"
args                 --fullscreen "[romfilename]"
rompath              C:\attract\EMU\Sega Saturn\ROMS
romext               .cue

Yes, I've done it but it doesn't work.

I do not know programming but I have thought this ...

I think the problem is the executable, Attract Mode launch EmuHawk.exe and when it closes EmuHack, Attract Mode use ResFix.
But I use Bat file to launch SSFLoader.exe and this program make virtual CHD disk and launch SSF.exe and SSFLoader it close.
Perhaps Attract Mode is waiting SSFLoader and when it close, return to menu. And when I add "Pause" to bat file, Attract Mode is waiting but if I close SSF.exe, Attract Mode still wait that I close SSFLoader.exe and now i´m using SSF.exe... :P

Sorry, I don't speak English and I don't know if I explained myself well...

Hola, yo tambien uso el ssfloader.
Con las ultmas versiones no necesitas modificar el ssf.exe


Code: [Select]
# Generated by Attract-Mode v2.5.1
#
executable           cmd
args                 /c Y: & cd "Y:\Attrack Mode\systems\SSF\SSF 0.12 PreviewVer R5" & start /wait SSFLoader.exe "[romfilename]"
romext               .chd
nb_mode_wait         5

21
Emulators / Re: Argument for games NeoGeo CD with Raine ?
« on: October 05, 2019, 06:07:29 AM »
Code: [Select]
executable           cmd
args                 /c cd "C:\AM\systems\NeoRaine\NeoRaine 1.4.3" & start /wait neoraine32.exe -nogui "[romfilename]"

This worked for me.

Just add
Quote
-nogui
to your command.

22
Themes / Re: Vintage DOS theme [Release v1.2]
« on: September 28, 2019, 06:49:13 AM »
Hello I understand why it's not centered... my screen is 1680 x 1050...

I tried with a screen in 1920 x 1080 it is centered... how to do with my screen in 1680 x 1050 so that it is centered ?

Thanks best regards !


Code: [Select]
fe.layout.width = 1680;
fe.layout.height = 1050;
fe.layout.preserve_aspect_ratio=false;


/////////////////////////////////////////////////////////////////////////////////////////
// Load background image
local presentacion = fe.add_image("bg.png", 0, 0, 1680, 1050);


Try this, but mayybe you need to set the other objets coordinates manually.

23
Scripting / Re: [ListSize]
« on: September 24, 2019, 02:58:02 PM »
Just replace 'size' with 'index '
Something like this, cant test atm

Code: [Select]
//
//


 ::OBJECTS2 <- {

system2= fe.add_text("",0, 25, 640, 30)

}


function transition_system2(ttype, var, ttime)
{
    switch ( ttype )
    {
        case Transition.ToNewList:
case Transition.StartLayout:
case Transition.ToNewSelection:
case Transition.FromOldSelection:

local display2 = fe.list.index - 3
OBJECTS2.system2.msg = display2;
    break;
    }

}

fe.add_transition_callback("transition_system2" );

//
//


P.D. Should be better create a single working function but I think this its better for you to understand how it works  ;)

Code: [Select]
This class is a container for status information regarding the current display. The instance of this class is the fe.list object. This class cannot be otherwise instantiated in a script.

Properties:

    name - Get the name of the current display.
    display_index - Gett the index of the current display. Use the fe.set_display() function if you want to change the current display.
    filter_index - Get/set the index of the currently selected filter. (see fe.filters for the list of available filters).
    index - Get/set the index of the currently selected game.
    search_rule - Get/set the search rule applied to the current game list. If you set this and the resulting search finds no results, then the current game list remains displayed in its entirety. If there are results, then those results are shown instead, until search_rule is cleared or the user navigates away from the display/filter.
    size - Get the size of the current game list. If a search rule has been applied, this will be the number of matches found (if > 0)

So you can use all this properties depending on what you need, I mean fe.list.name, fe.list.size, fe.list.index...

24
General / Re: RPi4 - Attract Mode with RPi3 image
« on: September 20, 2019, 10:21:17 AM »
I think you have made a mistake in the forum...
Here nobody is going to provide you with an img neither for pi 3 nor for 4.
This is a forum dedicated to the Attract-Mode frontend, not the Raspberry Pi, and not to the preconfigured images...

http://attractmode.org/download.html

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

25
General / Re: RPi4 - Attract Mode with RPi3 image
« on: September 20, 2019, 10:19:48 AM »
http://forum.attractmode.org/index.php?topic=3052.0

package debian Buster

Code: [Select]
git clone http://github.com/mickelson/attract attract
dpkg-buildpackage -rfakeroot

26
Emulators / Re: Launch Ranma ½
« on: September 19, 2019, 07:01:12 AM »
What about media, I mean I´ve forgot to paste the entire name , my problem is pcengine cd version:

Code: [Select]
Ranma ½ - Datou, Ganso Musabetsu Kakutou-Ryuu! (Japan)

27
Emulators / Launch Ranma ½
« on: September 19, 2019, 03:41:04 AM »
Im having problems launching "Ranma ½" games.
I  assume "½" character is the reason.
Because AM seems to be unable to show the media neither.

28
Scripting / Re: [ListSize]
« on: September 18, 2019, 03:50:37 PM »
This works, just need to set the right position and color.
I mean, you will need to show ListEntry and in this case system1 its like a fake ListSize with 3 less items.


Code: [Select]
//
//


 ::OBJECTS <- {

system1= fe.add_text("",0, 25, 640, 30)

}


function transition_system(ttype, var, ttime)
{
    switch ( ttype )
    {
        case Transition.ToNewList:
case Transition.StartLayout:
case Transition.ToNewSelection:
case Transition.FromOldSelection:

local display1 = fe.list.size - 3
OBJECTS.system1.msg = display1;
    break;
    }

}

fe.add_transition_callback("transition_system" );

//
//

29
Scripting / Re: [ListSize]
« on: September 17, 2019, 11:36:24 AM »
I think I know exactly what you want.
I made something similar some time ago, dukpoki helped me.

http://forum.attractmode.org/index.php?topic=2250.msg15278#msg15278

You need to modify this functions with fe.CurrentList , so attrack mode will check the size of your list,rest 3 and ten, return (list -3) as the result,
If you cant make the function Ill try to make the code this weekend.


30
Scripting / Re: [ListSize]
« on: September 17, 2019, 10:07:48 AM »
I think you can´t use magic tokens for this purpose.
I suppose you need to create a function with "fe.CurrentList"

Code: [Select]
#### `fe.CurrentList` ####

This class is a container for status information regarding the current display. The instance of this class is the fe.list object. This class cannot be otherwise instantiated in a script.

Properties:

    name - Get the name of the current display.
    display_index - Get the index of the current display. Use the fe.set_display() function if you want to change the current display. If this value is less than 0, then the 'Displays Menu' (with a custom layout) is currently showing.
    filter_index - Get/set the index of the currently selected filter. (see fe.filters for the list of available filters).
    index - Get/set the index of the currently selected game.
    search_rule - Get/set the search rule applied to the current game list. If you set this and the resulting search finds no results, then the current game list remains displayed in its entirety. If there are results, then those results are shown instead, until search_rule is cleared or the user navigates away from the display/filter.
    size - Get the size of the current game list. If a search rule has been applied, this will be the number of matches found (if > 0)

Pages: 1 [2] 3 4 ... 21