Author Topic: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!  (Read 42382 times)

Crusader

  • Newbie
  • *
  • Posts: 6
    • View Profile
plugin is enabled with nesting enable too.

i changed the namefiles with respective capital letters in order to be the same.
Still nothing.

---

Maybe u mean plugin.nut in platform folder? coz i have this....i don't have any platforms.nut anywhere O_o

in the following i will post my files starting with attract.cfg

Code: [Select]
# Generated by Attract-Mode v2.2.1
#
display Arcades
layout               nevato
romlist              Arcades
in_cycle             yes
in_menu              yes
global_filter       
rule                 FileIsAvailable equals 1
filter               All
filter               Favourites
rule                 Favourite equals 1

display Consoles
layout               nevato
romlist              Consoles
in_cycle             yes
in_menu              yes
global_filter       
rule                 FileIsAvailable equals 1
filter               All
filter               Favourites
rule                 Favourite equals 1

display Computers
layout               nevato
romlist              Computers
in_cycle             yes
in_menu              yes
global_filter       
rule                 FileIsAvailable equals 1
filter               All
filter               Favourites
rule                 Favourite equals 1

display Handhelds
layout               nevato
romlist              Handhelds
in_cycle             yes
in_menu              yes
global_filter       
rule                 FileIsAvailable equals 1
filter               All
filter               Favourites
rule                 Favourite equals 1

display Collections
layout               nevato
romlist              Collections
in_cycle             yes
in_menu              yes
global_filter       
rule                 FileIsAvailable equals 1
filter               All
filter               Favourites
rule                 Favourite equals 1

display PCGames
layout               nevato
romlist              PCGames
in_cycle             yes
in_menu              yes
global_filter       
rule                 FileIsAvailable equals 1
filter               Favourites
rule                 Favourite equals 1

display MAME
layout               nevato
romlist              mame
in_cycle             yes
in_menu              no
filter               All
filter               Favourites
rule                 Favourite equals 1

display Nintendo Game Boy
layout               nevato
romlist              gb
in_cycle             yes
in_menu              no
filter               All
filter               Favourites
rule                 Favourite equals 1

sound
sound_volume         100
ambient_volume       100
movie_volume         100

input_map
configure            Tab
prev_letter          Up+LControl
next_letter          Down+LControl
filters_menu         Left+LControl
next_filter          Right+LControl
configure            Escape+Up
edit_game            Escape+Down
add_favourite        Escape+LControl
prev_letter          Joy0 Up+Joy0 Button0
next_letter          Joy0 Down+Joy0 Button0
filters_menu         Joy0 Left+Joy0 Button0
next_filter          Joy0 Right+Joy0 Button0
configure            Joy0 Up+Joy0 Button1
edit_game            Joy0 Down+Joy0 Button1
add_favourite        Joy0 Button0+Joy0 Button1
back                 Escape
back                 Joy0 Button1
up                   Up
up                   Joy0 Up
down                 Down
down                 Joy0 Down
left                 Left
left                 Joy0 Left
right                Right
right                Joy0 Right
select               Return
select               LControl
select               Joy0 Button0
default             back exit
default             up prev_game
default             down next_game
default             left prev_display
default             right next_display

general
language             it
exit_command         
default_font         arial
font_path            %SYSTEMROOT%/Fonts/
screen_saver_timeout 600
displays_menu_exit   yes
hide_brackets        no
startup_mode         default
confirm_favourites   yes
mouse_threshold      10
joystick_threshold   75
window_mode          default
filter_wrap_mode     default
track_usage          yes
multiple_monitors    yes
smooth_images        yes
accelerate_selection yes
selection_speed_ms   40
scrape_snaps         no
scrape_marquees      no
scrape_flyers        no
scrape_wheels        no
scrape_fanart        no
scrape_videos        no
scrape_mamedb       
scrape_overview     
hide_console         no
video_decoder        software
menu_prompt          Displays Menu
menu_layout          nevato

layout_config nevato
param                cabScreenType video
param                divider1
param                divider2
param                divider3
param                divider4
param                divider5
param                divider6
param                divider7
param                enable_bg_art flyer
param                enable_mask dark
param                enable_scanlines medium
param                enable_static_bkg blue
param                lcdRight filter
param                marquee_type marquee
param                mute_videoSnaps yes
param                spinwheelArt marquee
param                transition_ms 80

layout_config robospin_v4
param                enable_Lmarquee No
param                enable_bg blur
param                enable_bloom No
param                enable_cab robo
param                enable_colors yes
param                enable_crt No
param                enable_frame yes
param                enable_list_type wheel
param                enable_marquee Yes
param                enable_mlogos Yes
param                enable_overlay mask
param                enable_pointer hand
param                enable_slogos Yes
param                enable_static yes
param                orbit_art wheel
param                transition_ms 35


plugin Platforms
enabled              yes

plugin KeyboardSearch
enabled              yes
param                results_mode Show Results
param                trigger Custom1

inside emulators i have gb.cfg that is:
Code: [Select]
# Generated by Attract-Mode v2.2.1
#
executable           C:\Emulatori\Gameboy\bgb.exe
args                 "[romfilename]"
workdir              C:\Emulatori\Gameboy
rompath              C:\Emulatori\Gameboy\roms
romext               .zip;.7z;.gb;.rar;<DIR>
system               Handhelds;Nintendo Game Boy;gb
artwork    flyer           C:\Emulatori\Gameboy\attract\flyer
artwork    marquee         C:\Emulatori\Gameboy\attract\marquee
artwork    snap            C:\Emulatori\Gameboy\attract\videos;C:\Emulatori\Gameboy\attract\snap
artwork    wheel           C:\Emulatori\Gameboy\attract\wheel

and mame.cfg, similar to gb.
inside romlist i have
gb.txt and mame.txt:

Code: [Select]
#Name;Title;Emulator;CloneOf;Year;Manufacturer;Category;Players;Rotation;Control;Status;DisplayCount;DisplayType;AltRomname;AltTitle;Extra;Buttons
Aerostar (USA, Europe);Aerostar (USA, Europe);gb;;;;;;;;;;;;;;
Castlevania - The Adventure (USA);Castlevania - The Adventure (USA);gb;;;;;;;;;;;;;;
Castlevania II - Belmont's Revenge (USA, Europe);Castlevania II - Belmont's Revenge (USA, Europe);gb;;;;;;;;;;;;;;
Castlevania Legends (USA, Europe);Castlevania Legends (USA, Europe);gb;;;;;;;;;;;;;;
Dr. Mario (World);Dr. Mario (World);gb;;;;;;;;;;;;;;
Ghostbusters II (USA, Europe);Ghostbusters II (USA, Europe);gb;;;;;;;;;;;;;;
Kirby's Dream Land (USA, Europe);Kirby's Dream Land (USA, Europe);gb;;;;;;;;;;;;;;
Kirby's Dream Land 2 (USA, Europe);Kirby's Dream Land 2 (USA, Europe);gb;;;;;;;;;;;;;;
Legend of Zelda, The - Link's Awakening (USA, Europe);Legend of Zelda, The - Link's Awakening (USA, Europe);gb;;;;;;;;;;;;;;
Metroid II - Return of Samus (World);Metroid II - Return of Samus (World);gb;;;;;;;;;;;;;;
Super Mario Land (World);Super Mario Land (World);gb;;;;;;;;;;;;;;
Super Mario Land 2 - 6 Golden Coins (USA, Europe);Super Mario Land 2 - 6 Golden Coins (USA, Europe);gb;;;;;;;;;;;;;;
Tetris (World);Tetris (World);gb;;;;;;;;;;;;;;
Wario Land - Super Mario Land 3 (World);Wario Land - Super Mario Land 3 (World);gb;;;;;;;;;;;;;;


mame:
#Name;Title;Emulator;CloneOf;Year;Manufacturer;Category;Players;Rotation;Control;Status;DisplayCount;DisplayType;AltRomname;AltTitle;Extra;Buttons
3wonders;3wonders;mame;;;;;;;;;;;;;;
atetrisb;atetrisb;mame;;;;;;;;;;;;;;
mf_bdash;mf_bdash;mame;;;;;;;;;;;;;;
mslug2;mslug2;mame;;;;;;;;;;;;;;
pc_tmnt2;pc_tmnt2;mame;;;;;;;;;;;;;;
sf2;sf2;mame;;;;;;;;;;;;;;
sf2ce;sf2ce;mame;;;;;;;;;;;;;;
sf2hf;sf2hf;mame;;;;;;;;;;;;;;
sf2hfj;sf2hfj;mame;;;;;;;;;;;;;;
sf2mdt;sf2mdt;mame;;;;;;;;;;;;;;
sf2mdta;sf2mdta;mame;;;;;;;;;;;;;;
sf2mdtb;sf2mdtb;mame;;;;;;;;;;;;;;
sf2thndr;sf2thndr;mame;;;;;;;;;;;;;;
tmnt22pu;tmnt22pu;mame;;;;;;;;;;;;;;


and finally plugin.nut under platforms that is like this;
Code: [Select]
fe.load_module( "file" );   // (_)(_)(_)
local romlists_dir = "C:\\Attract\\romlists\\"; // <--------- Place your 'romlists' path here.
local root_category = "";
« Last Edit: September 08, 2017, 09:13:25 AM by Crusader »

Iameddysmith

  • Full Member
  • ***
  • Posts: 25
    • View Profile
Now in your romlists folder, do you have a Handhelds.txt ?

Iameddysmith

  • Full Member
  • ***
  • Posts: 25
    • View Profile
Also path needs to be C://Attract//romlists//

Crusader

  • Newbie
  • *
  • Posts: 6
    • View Profile
I also tried the other slash side, works the same, in fact the plugin loads the lists.
and yes, i have handhelds.txt inside the romlists folder


Did u tried the nevato layout? does it works fine with ur plugin?

Iameddysmith

  • Full Member
  • ***
  • Posts: 25
    • View Profile
Alright try this, I need to add error check if system/display does not exist. The error and why it's not working is if you have systems/displays in the category romlists that you don't have displays for in attract.cfg it doesn't know what to do. Try adding only systems you have in category romlists if you have only 2 systems it's crashing on the other displays that don't exist. You should only have mame in your arcades room list and gb in handhelds and nothing in other lists. Unsure what it does on blank, maybe add one system in each romlist that you have in attract.cfg.

Crusader

  • Newbie
  • *
  • Posts: 6
    • View Profile
I tried it....still nothing, i have just more errors, coz the parser cannot find the other roms such as PCGame, Collections, etc.
what i did is both remove the systems inside the list in Handhelds and arcades, leaving only Nintendo Game Boy & mame, and I also tried to remove the other romlists, such as Collection, PCGAmes, etc. Not working, same result.
Seems to me that the system cannot find the images related hence i think is a layout problem, and not a plugin problem, which is why i asked you if u tried that layout...Coz maybe we are just trying to sort something that is not 'sortable' from this point of view...
 

BadFurDay

  • Full Member
  • ***
  • Posts: 82
    • View Profile
@badfurday, added your categories, but before uploading can anyone think of any other requested category options?

Any idea when you'll release this update?


Iameddysmith

  • Full Member
  • ***
  • Posts: 25
    • View Profile
Hey sorry about delay, been busy with other projects but this has manufacturer option. Check settings in plug in. Make sure you have each romlist and displays setup. Working on error proofing if romlist doesn't exist or is blank, but let me know if any issues:

https://mega.nz/#F!qwBmkJbZ!_my4C9kR4artzEZvOwX1Xg

Crusader

  • Newbie
  • *
  • Posts: 6
    • View Profile
still not working, no clues :|

BadFurDay

  • Full Member
  • ***
  • Posts: 82
    • View Profile
Hey sorry about delay, been busy with other projects but this has manufacturer option. Check settings in plug in. Make sure you have each romlist and displays setup. Working on error proofing if romlist doesn't exist or is blank, but let me know if any issues:

https://mega.nz/#F!qwBmkJbZ!_my4C9kR4artzEZvOwX1Xg

I can't download the PI plugin .nut, says it is an undecrypted file.


cmac86

  • Newbie
  • *
  • Posts: 9
    • View Profile
Anyway of editing what I already have in place? I have standard AM setup using robospin layout. I want the option of adding to the snes display a new section in were the roms are called snes hacks or simply hacks, clicking that option would bring me to all the snes hacks I have, Can one direct me on how to do that? I prefer the way I have my system setup and dont want to change my areas to arcades, consoles etc.

I would be extremely grateful if someone could help me. If I get to know how to work the snes section then I could do other displays also.

Thanks alot guys

SomeoneElse

  • Jr. Member
  • **
  • Posts: 10
    • View Profile
The long behold question of Attract Mode Platform Categories has been solved! I have been racking my brain for months and after trolling the source line by line I finally found a lead and was a success.

I am experiencing undesired behavior or even bug with plugin.
When i enter submenu look arround what ever, and i return back to main menu it puts me in very wrong place. Instead of returning to original submenu starter point it jumps couple spots down depending how many i had in submenu

Any way to fix that?

Do you have github maybe?

P.S i see that u mentioned a "fix" on first page but i am not seeing any of those files

meh :(  cant use it as it is, returning to menu jumps up to 10 spots away from place where i was..
« Last Edit: November 02, 2017, 08:50:46 AM by SomeoneElse »

Iameddysmith

  • Full Member
  • ***
  • Posts: 25
    • View Profile
Sorry have not been watching this in a while. I've not heard of that issue. Could either be doubles if you have say snk on arcade and snk of consoles could see that happening. Are you using PC or pi? Mickleson has recently implemented this in a nightly build where you can turn off plug in and will return to previous menu you were just in. Works wonderfully.