Attract-Mode Support Forum

Attract-Mode Support => Themes => Topic started by: Iameddysmith on July 15, 2017, 10:06:01 PM

Title: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: Iameddysmith on July 15, 2017, 10:06:01 PM
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. Only thing, which I don't believe will be a hard task for some of you very experienced themes is some sort of transition call back to previous menu. This is a huge leap in the right direction. Enjoy friends!

UPDATE***** Plug in created! Fully functional for all PC, PI, etc!
https://mega.nz/#F!v55CDDKQ!wXlmnT3LWCpxs024b_ADnA
Video tutorials thanks to Hector Arias
https://youtu.be/M2F3lEQxVRw
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: bundangdon on July 16, 2017, 12:50:08 AM
Amazing! Thank you very much for sharing this! I was able to figure it out within a few minutes after I followed the steps you provided, and now have functional platform categories  :D My only complaint is that when you go back to the previous menu, it always takes you back to the platform categories menu (not the previous menu with "consoles" "handhelds" etc.) Is there any way to fix this issue?
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: Iameddysmith on July 16, 2017, 10:30:49 AM
That's the only issue I've been trying to resolve. I'm not a pro at coding layouts, but I was hoping that posting this here that an experienced layout creator may have a fix that may be added to layout.nut. I've been looking through documentation and have a hunch on how could be done, but not sure how to code it. I'm thinking that if a layout stored the previous display in fe.nv table as a variable, and on user trigger back button could call back that stored variable display. There is not much documentation on writing to fe.nv for me to try. It's a big step in the right direction, but not perfect yet. There are a lot of experienced people here that this may be a simple fix, but can get more of an overview.
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: bundangdon on July 18, 2017, 12:49:31 AM
Okay. Then hopefully it'll get figured out someday soon because this is a rather inconvenient bug with the option to use platform categories, and for now I've turned off the platform categories until it becomes resolved  ::)
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: Iameddysmith on July 27, 2017, 12:53:36 AM
I added the fix. It takes a little time, but it works. Added to the link "Platform Back Fix".
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: bundangdon on July 28, 2017, 06:05:29 AM
I added the fix. It takes a little time, but it works. Added to the link "Platform Back Fix".

Thank you! I'll give it a try. But just wondering, where do I put those .nut files (arcades.nut, collections.nut, etc.)? In the same folder as the the layout for the main menu or the layout used by each system?
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: Iameddysmith on July 28, 2017, 11:06:42 AM
In each layout folder, ex: Atari 2600 put the console.nut in layout folder. Then editing the layout.nut. if you open up consoles.nut it'll show what to add. This is a temp fix until I get plug in up and working.
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: bundangdon on July 31, 2017, 06:15:29 AM
No luck at all getting that to work  :o Guess I'll just wait until a easier solution becomes available
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: Iameddysmith on August 01, 2017, 06:35:42 PM
Pi plugin is added to link above. Move platform folder into your plugins folder and enable in attract mode. Good to go. Pc version will be added tonight
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: Iameddysmith on August 01, 2017, 11:09:25 PM
PC and Piboth added to link!
https://mega.nz/#F!v55CDDKQ!wXlmnT3LWCpxs024b_ADnA (https://mega.nz/#F!v55CDDKQ!wXlmnT3LWCpxs024b_ADnA)


Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: bundangdon on August 03, 2017, 04:53:18 AM
Genius! Within 10 minutes I was able to figure out how to set it up, although the whole "\\ not \" part had me a little confused for a while  ::) Anyways, thank you very much! A little later I'll post a video of my attractmode setup with platform categories
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: Iameddysmith on August 03, 2017, 08:35:54 AM
Awesome! Look forward to it! I think this is a game changer for attract mode! If you have any recommendations please let me know. I'm thinking about adding a "hacks" category too.
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: bundangdon on August 03, 2017, 07:16:35 PM
Yep! Since there are so many different consoles, spanning from generation to generation, I decided to break them up into two categories: "Classics" (pre-1990) and "Consoles" (1990-present). Of course you could do this with computers too, but the majority of the (emulated) computers were released before 1990  ;D
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: taelonian on August 06, 2017, 03:02:36 AM
Thanks to all this works great tested PC version  :)
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: jedione on August 06, 2017, 07:30:00 AM
could some one please do a small tuit on this or vid,   thanks
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: Iameddysmith on August 06, 2017, 10:25:30 AM


Then add plug in. If using pi, just drop plug in in plugins folder. If PC, same just set path in plug in.nut (https://youtu.be/M2F3lEQxVRw[/url)
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: bundangdon on August 09, 2017, 02:23:30 AM
As promised, here is my own personal attractmode build, using a customized version of the ol'room theme, along with some other custom stuff :) It's not a complete build and the video is a little bit low in quality, but it gives you a good, general idea of how attractmode utilizes platform categories. Thank you again to everyone who made this possible!

https://youtu.be/C3QY1oNmnTY
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: Iameddysmith on August 09, 2017, 10:57:58 AM
Brilliant! That looks very nice! I love the commercials for snaps!
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: bundangdon on August 10, 2017, 01:09:30 AM
Thank you! The commercials give the layout a nice personal and nostalgic touch ;D
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: BadFurDay on August 24, 2017, 06:56:55 AM
I would prefer to bundle my displays into a list of Manufacturers, for example:

Atari
Bandai
Commodore
Microsoft
NEC
Nintendo
Sega
SNK
Sony

These are how I have them using the old method (the .nut file in the layout folder) is there anyway to add this option into the plugin? Would be cool to choose between Manufacturers or Categories but I think this would involve editing the attract.cfg each time.
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: Iameddysmith on August 26, 2017, 10:55:52 AM
Good idea. Ill revamp the plug in with options to choose how you want to categorize. I'm assuming you don't use collections, hacks, so no need to add those categories? If you do, then how does that fit in your categorization?
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: BadFurDay on August 26, 2017, 12:20:23 PM
I still use the arcades and collections category so if they can stay included will work for me.

They stay as they are really.
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: flashpc on August 31, 2017, 03:36:05 PM
i love the plugin but is there anyway to stay in a collection after pressing back.

for example

go into handhelds
then go into gamegear
then press back
and stay in handhelds instead of the main screen (highlighting favourites)
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: Iameddysmith on September 03, 2017, 01:48:24 PM
That's what the plug in does. Make sure it's enabled
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: mariano198596 on September 06, 2017, 08:13:30 AM
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. Only thing, which I don't believe will be a hard task for some of you very experienced themes is some sort of transition call back to previous menu. This is a huge leap in the right direction. Enjoy friends!

UPDATE***** Plug in created! Fully functional for all PC, PI, etc!
https://mega.nz/#F!v55CDDKQ!wXlmnT3LWCpxs024b_ADnA
Video tutorials thanks to Hector Arias
https://youtu.be/M2F3lEQxVRw


do you know how to do the reflection on a carton in wheel selection of games, like this for example?

https://www.youtube.com/watch?v=j4W7-_Bovk4
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: Crusader on September 08, 2017, 05:56:37 AM
Hello everybody and thank you for your plugin.
Badly, i can't make it work in any way....even following step by step the youtube guide.
Is it possible that I have conflict with the Nevato Layout?

My config at moment is PC-Win7, using last version of attract mode with 2 emus inside (atm) Gameboy and Mame.
Still when i open the attract i see only an empty cabinet and only if i repetedly scroll with arrows i manage to arrive in mame section or gameboy section.

Any clues?

My attract.cfg is the following:
Code: [Select]
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 GB
layout               nevato
romlist              gb
in_cycle             yes
in_menu              no
filter               All
filter               Favourites
rule                 Favourite equals 1

I also provide a screen of what i see and the console:
https://www.dropbox.com/s/xcv47ybi8tb2xxn/Screenshot%202017-09-08%2017.18.28.png?dl=0

Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: Iameddysmith on September 08, 2017, 08:14:22 AM
It's how your displays are named on your attract.cfg not matching [platform].txt romlists. Go in your romlists folder, open up Handhelds.txt those systems/displays need to match the way the display name in your attract.cfg. for example, your attract.cfg has display 'GB" for game boy. In handhelds.txt romlist change Nintendo Game Boy to GB in both spots. I set it up the prebuilt romlists on standard naming and added as many systems for easy setup. Hope this helps
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: Iameddysmith on September 08, 2017, 08:18:28 AM
@badfurday, added your categories, but before uploading can anyone think of any other requested category options?
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: Crusader on September 08, 2017, 08:34:10 AM
It's how your displays are named on your attract.cfg not matching [platform].txt romlists. Go in your romlists folder, open up Handhelds.txt those systems/displays need to match the way the display name in your attract.cfg. for example, your attract.cfg has display 'GB" for game boy. In handhelds.txt romlist change Nintendo Game Boy to GB in both spots. I set it up the prebuilt romlists on standard naming and added as many systems for easy setup. Hope this helps

I thought the same, but Mame is always mame.....unless is case sensitive....
I tried to change Nintendo Game Boy in GB in both spots, saved and restarted....still no luck
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: Iameddysmith on September 08, 2017, 08:42:15 AM
Make sure plug in is enabled. And is case sensitive for displays.

Other things to check:
 path in plug in is correct. "Platforms.nut"

Also put attract mode in windowed mode and look at prompt. Can you snapshot thatand  Your platforms.nut path in plug in. I can look at it. If not, I will have you send me your attract.cfg and get it right for you.


Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: Crusader on September 08, 2017, 08:53:24 AM
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 = "";
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: Iameddysmith on September 08, 2017, 02:13:42 PM
Now in your romlists folder, do you have a Handhelds.txt ?
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: Iameddysmith on September 08, 2017, 02:16:46 PM
Also path needs to be C://Attract//romlists//
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: Crusader on September 08, 2017, 02:37:20 PM
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?
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: Iameddysmith on September 08, 2017, 04:30:59 PM
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.
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: Crusader on September 09, 2017, 01:18:19 AM
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...
 
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: BadFurDay on September 17, 2017, 07:29:24 PM
@badfurday, added your categories, but before uploading can anyone think of any other requested category options?

Any idea when you'll release this update?
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: calle81 on September 19, 2017, 03:51:58 AM
Mickelson has added support for nesting in the source. I haven't tried it myself

https://github.com/mickelson/attract/commit/b71b0e48c478a115a9648968701b6191f831e23e
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: Iameddysmith on September 27, 2017, 04:47:54 AM
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
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: Crusader on October 07, 2017, 04:57:24 PM
still not working, no clues :|
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: BadFurDay on October 09, 2017, 11:59:18 AM
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.
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: Iameddysmith on October 10, 2017, 07:22:08 PM
https://mega.nz/#F!fggkDAQA!COHhE-7-hUtk1y4ZF3ZGoQ
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: cmac86 on October 19, 2017, 07:36:41 AM
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
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: SomeoneElse on November 02, 2017, 08:34:31 AM
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..
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: Iameddysmith on November 12, 2017, 02:11:22 PM
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.
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: bundangdon on November 12, 2017, 07:29:23 PM
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.

Just wondering, where can this nightly build be found? Everytime I check the nightly downloads page it comes up with a blank "error" website. And does this mean that the plugin is no longer necessary if we want to go back to the previous page/system?
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: BadFurDay on November 13, 2017, 01:57:38 PM
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..

This sounds like it might be the old error with Attract Mode taking into account the hidden displays. If you have hidden displays this can cause things to skip spots. Try updating Attract Mode to the latest version, see if that fixes it.
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: SomeoneElse on November 14, 2017, 07:39:22 AM
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..

This sounds like it might be the old error with Attract Mode taking into account the hidden displays. If you have hidden displays this can cause things to skip spots. Try updating Attract Mode to the latest version, see if that fixes it.

yeah , thats what is happening. I have few empty systems.unfortunately i am on 2.2.1.0 so nothing to update unless i update from guthub.I cleaned up systems, but i still have few i havent added roms yet WIP. its kinda bothering me.

Btw love the script tho. I made even additional in depth lines like collection->sports>list sports by type: baseball ,football..etc then list games.
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: bundangdon on November 21, 2017, 05:31:35 AM
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.

Just wondering, where can this nightly build be found? Everytime I check the nightly downloads page it comes up with a blank "error" website. And does this mean that the plugin is no longer necessary if we want to go back to the previous page/system?

Never mind! I found the answer to my question :) The latest version 2.30 which was released a few days ago now allows you to return to the previous menu/system without having to use the aforementioned plugin. Woohoo!
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: gs00000009 on July 22, 2018, 02:12:06 AM
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. Only thing, which I don't believe will be a hard task for some of you very experienced themes is some sort of transition call back to previous menu. This is a huge leap in the right direction. Enjoy friends!

UPDATE***** Plug in created! Fully functional for all PC, PI, etc!
https://mega.nz/#F!v55CDDKQ!wXlmnT3LWCpxs024b_ADnA
Video tutorials thanks to Hector Arias
https://youtu.be/M2F3lEQxVRw

Link's dead...
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: saraguato on January 15, 2019, 03:24:53 AM
After serveral days looking for a solution, I have to say that it was impossible for me to do that.

How can I add a submenu of the displays menu?
This plugin seems the easiest method, but the link is broken.

I would like to add some submenus based on filters , something like that:
   Main menu: displays
   Sub menus: Platform/puzzle/.. (filters)
   Final menu: Games

I thought it had to be easy... please some help!
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: progets on January 15, 2019, 10:03:16 AM
After serveral days looking for a solution, I have to say that it was impossible for me to do that.

How can I add a submenu of the displays menu?
This plugin seems the easiest method, but the link is broken.

I would like to add some submenus based on filters , something like that:
   Main menu: displays
   Sub menus: Platform/puzzle/.. (filters)
   Final menu: Games

I thought it had to be easy... please some help!

This plugin isn't needed. This feature has been builtin to AttractMode for a while. https://github.com/mickelson/attract/commit/b71b0e48c478a115a9648968701b6191f831e23e

I recommend starting a new thread if you need help.
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: rand0m on January 15, 2019, 05:21:07 PM
After serveral days looking for a solution, I have to say that it was impossible for me to do that.

How can I add a submenu of the displays menu?
This plugin seems the easiest method, but the link is broken.

I would like to add some submenus based on filters , something like that:
   Main menu: displays
   Sub menus: Platform/puzzle/.. (filters)
   Final menu: Games

I thought it had to be easy... please some help!

The way I have done it is:

1- Platform Menu/ Display: Platforms like arcades/ computers/ consoles etc
2- Systems menu: In consoles Sega saturn/ dreamcast/ nintendo 64 etc
3- System menu: Games organized on Genre Filters like action/ adventure/ horror etc

Now above mentioned organization scheme is easily achievable without much tweaking as everything you need is already available in AM. I've described the process in detail here> http://forum.attractmode.org/index.php?topic=2449.msg16709#msg16709 (#3 post).

The organization scheme you are trying for can work easily without platform menu because you are looking for Systems> System (Filter: Genre)> Games (as opposed to Platforms> Systems> System (Filter: Genre)> Games). That is what I understood from your post but if you mean you need a unified or mega list of genres like a action/ adventure encompassing every system then you will need to develop new romlists (this too is easily achievable from with AM.

For organizing games in genre, I am using the following in attract.cfg

display   Microsoft MSX (blueMSX-Retroarch)
   layout               RetroMode
   romlist              Microsoft MSX (blueMSX-Retroarch)
   in_cycle             yes
   in_menu              no
   filter               ALL
      sort_by              Title
   filter               ACTION
      sort_by              Title
      rule                 Category equals Action
   filter               ADVENTURE
      sort_by              Title
      rule                 Category equals Adventure
   filter               "BEAT 'EM UP"
      sort_by              Title
      rule                 Category equals Beat 'Em Up
   filter               FIGHTING
      sort_by              Title
      rule                 Category equals Fighting
   filter               HORROR
      sort_by              Title
      rule                 Category equals Horror
   filter               PLATFORM
      sort_by              Title
      rule                 Category equals Platform
   filter               PUZZLE
      sort_by              Title
      rule                 Category equals Puzzle
   filter               RACING
      sort_by              Title
      rule                 Category equals Racing
   filter               RPG
      sort_by              Title
      rule                 Category equals RPG
   filter               SHOOTER
      sort_by              Title
      rule                 Category equals Shooter
   filter               SPORTS
      sort_by              Title
      rule                 Category equals Sports
   filter               STRATEGY
      sort_by              Title
      rule                 Category equals Strategy


Just make sure:
1- Controller mapping allows from moving from one genre to next
2- Genres are properly listed in romlist. This might warrant manually making the changes, as you want uniformity across the lists.
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: saraguato on January 18, 2019, 04:19:30 AM
Thanks progres and rand0m for your answers, really!

Yes random, it is what I am looking for, I dont want an unified or mega list of genres.
It was easy to do with your explanation, thanks again!  :) :)
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: jclampy69 on May 09, 2020, 01:34:43 AM
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. Only thing, which I don't believe will be a hard task for some of you very experienced themes is some sort of transition call back to previous menu. This is a huge leap in the right direction. Enjoy friends!

UPDATE***** Plug in created! Fully functional for all PC, PI, etc!
https://mega.nz/#F!v55CDDKQ!wXlmnT3LWCpxs024b_ADnA
Video tutorials thanks to Hector Arias
https://youtu.be/M2F3lEQxVRw

Hi, any chance of a new download link please?
Title: Re: Attract Mode Platform Categories (arcades, consoles, etc) finally figured out!
Post by: progets on May 09, 2020, 08:38:15 AM
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. Only thing, which I don't believe will be a hard task for some of you very experienced themes is some sort of transition call back to previous menu. This is a huge leap in the right direction. Enjoy friends!

UPDATE***** Plug in created! Fully functional for all PC, PI, etc!
https://mega.nz/#F!v55CDDKQ!wXlmnT3LWCpxs024b_ADnA
Video tutorials thanks to Hector Arias
https://youtu.be/M2F3lEQxVRw

Hi, any chance of a new download link please?

http://forum.attractmode.org/index.php?topic=1804.msg18695#msg18695 (http://forum.attractmode.org/index.php?topic=1804.msg18695#msg18695)