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

Pages: [1]
1
Themes / Re: my new theme i call "Platforms"
« on: September 08, 2016, 01:47:25 PM »
I wanted to do just that, and have a display per mame system supported but got issues with softwarelists
- Are the gamepad changed when changing the system ? That would be cool
- If doing a full attract.cfg, you might want to add filters. I did some and updated them here at the bottom: https://github.com/mickelson/attract/wiki/Example-filters. you can assign button to them to cycle them....
- If so you might want a bar on top with the filter active (ex: Filter "All" 1/8 - Game 1/120)

2
Emulators / Re: Mame (arcade) tools and stuff
« on: September 02, 2016, 11:35:45 PM »
SirPoounga August 27, 2012 wanted to pass the flame
http://forum.arcadecontrols.com/index.php/topic,122252.0.html
http://forum.arcadecontrols.com/index.php/topic,141058.0.html

This github project is 4 month old it seems https://github.com/yo1dog/controls-dat-json, seem the same in json format with mods so
He also posted there: http://forum.arcadecontrols.com/index.php/topic,150639.0.html

He wrote "I found the structure of the data in the controls.dat project a bit archaic, convoluted, and difficult to use. So I created a tool that will restructure the controls.dat JSON file in a way that (in my opinion) is much easier to work with. I think the JSON format makes this much easier compared to XML. I also expanded the structure so that more exact and meaningful information could be recorded. It also updates the way the MAME input ports are stored so it is compatible with the latest MAME (no more _EXT inputs)."

latest v0.141
http://controls.arcadecontrols.com/controls/dat/ini/controls.ini.0.140.1.zip
Can't seem to find latter than controls.ini version 0.111.5, Time=2008-06-20 18:27:09 below:
http://forum.arcadecontrols.com/index.php?action=dlattach;topic=91711.0;attach=122578

it seems that AttractMode should support the new format if indeed it supports creating the files from mame source, avoiding out of date mappings:

Code: [Select]
MAME Input Port Definition Map Creator

node createMAMEInputPortDefMap.js [-min]

cat inpttype.h | node createMAMEInputPortDefMap.js > mameInputPortDefMap.json
cat inpttype.h | node createMAMEInputPortDefMap.js -min > mameInputPortDefMap.min.json
Creates a JSON map of the MAME input ports defined in inpttype.h from MAME's source.

You can get inpttype.h from https://github.com/mamedev/mame/blob/master/src/emu/inpttype.h

Generates the MAME Input Port Definition Map.

https://github.com/yo1dog/controls-dat-json/blob/master/json/controls.json
https://github.com/yo1dog/controls-dat-json/blob/master/json/restructuredControls.json
https://github.com/yo1dog/controls-dat-json/blob/master/json/restructuredControlsSchema.json



3
General / Re: How to set up attract mode step by step
« on: September 02, 2016, 10:36:45 PM »
SirPoounga August 27, 2012 wanted to pass the flame
http://forum.arcadecontrols.com/index.php/topic,122252.0.html
http://forum.arcadecontrols.com/index.php/topic,141058.0.html

This github project is 4 month old it seems https://github.com/yo1dog/controls-dat-json, seem the same in json format with mods so
He also posted there: http://forum.arcadecontrols.com/index.php/topic,150639.0.html

He wrote "I found the structure of the data in the controls.dat project a bit archaic, convoluted, and difficult to use. So I created a tool that will restructure the controls.dat JSON file in a way that (in my opinion) is much easier to work with. I think the JSON format makes this much easier compared to XML. I also expanded the structure so that more exact and meaningful information could be recorded. It also updates the way the MAME input ports are stored so it is compatible with the latest MAME (no more _EXT inputs)."

latest v0.141
http://controls.arcadecontrols.com/controls/dat/ini/controls.ini.0.140.1.zip
Can't seem to find latter than controls.ini version 0.111.5, Time=2008-06-20 18:27:09 below:
http://forum.arcadecontrols.com/index.php?action=dlattach;topic=91711.0;attach=122578

4
Scripting / Re: ArcadeBliss: Could you develop advance search plugin ?
« on: August 28, 2016, 04:47:18 PM »
You probably know but maybe not others reading this thread, so "ArcadeBliss - Cab Edition" has a virtual keyboard quite practical
http://forum.attractmode.org/index.php?topic=741.0

Although a virtual keyboard part of AM would be good, that should allow you to implement it in your theme

5
Themes / Re: ArcadeBliss - Cab Edition: 2016-05-16 Update
« on: August 28, 2016, 03:35:52 PM »
Really good theme, i like it a lot, it has the full rom name
I did struggled to have left & right working initially, and some filters issue so i did the below:

Code: [Select]
display mame1
layout               ArcadeBliss Cab Edition
romlist              mame1
in_cycle             yes
in_menu              yes
global_filter       
rule                 CloneOf not_equals .*
rule                 Status equals good|imperfect
rule                 Status not_equals preliminary
rule                 Players contains 1|2
rule                 Category not_contains Electromechanical|Tabletop|Casino|Quiz|Mahjong|Computer|Microcomputer|Test|Portable|Console|Handheld|Device|Training Board|Synthesiser|Clock|Document Processors
rule                 Category not_equals Misc.|Quiz / Korean|Electromechanical / Reels|Casino / Cards|Casino / Reels
rule                 Title not_contains bootleg|prototype
rule                 Manufacturer not_contains bootleg
rule                 Year not_contains ?
#rule                 DisplayType equals raster|vector
#rule                 Control contains joystick
#rule                 Control contains 2-way|4-way|8-way
#rule                 Control not_contains keyboard|mouse|trackball

filter               All

filter               Favourites
rule                 Favourite equals 1
filter               "Most Played Games"
sort_by              PlayedCount
reverse_order        true
rule                 PlayedCount not_contains 0
filter               "Breakout"
rule                 Category contains Ball & Paddle|Breakout
filter               Casino
rule                 Category contains Casino
filter               Driving
rule                 Category contains Driving|Biking|Motorcycle
filter               Fighter
rule                 Category contains Fighter
filter               Mature
rule                 Category contains Mature
filter               "Maze Games"
rule                 Category equals Maze
filter               Mini-Games
rule                 Category contains Mini-Games
filter               Pinball
rule                 Category contains Pinball
filter               Platform
rule                 Category contains Platform
filter               Puzzle
rule                 Category contains Puzzle
filter               Rhythm
rule                 Category contains Rhythm
filter               Shooter
rule                 Category contains Shooter
filter               Sports
rule                 Category contains Sports
filter               Tabletop
rule                 Category contains Tabletop
[...]
input_map
left                 Joy0 Left
left                 Delete
right                Joy0 Right
right                End
custom1              Right
custom2              Left
custom3              Backspace
[...]
plugin KeyboardSearch
enabled              yes
param                results_mode Show Results
param                trigger Custom3

I think a mame already filled attract.cfg could help beginners with the mapping (attached)
The emulator.cfg include Snaps;snaps\Videos so video are taken first and fixed snapshot behind if not present
With all global filters above, most are present

I do have some questions that may or may not be theme related:
- when going up to the filters menu from the rom selection, it refreshes it once i reach the third from the bottom, otherwise there is a glitch and don't see the red selection rectangle and the filter list doesn't show the selected item at the bottom...
- Any way to make it filters global across Displays ?
- when i was struggling with left right, i had text search with keyboard coming up when pressing left. How to bring it up voluntarily ? [EDIT] I foundit: tab > Plug-ins > TextSearch > enables and set backspace as Custom3 key

6
General / Re: Its possible attract mode in Orange Pi plus 2?
« on: August 24, 2016, 04:32:39 PM »
Harware and cost wise the xu4 is better due to usb3 2gb ram etc...
http://www.hardkernel.com/main/products/prdt_info.php?g_code=G143599699669 $39 case lcd 2.5'' usb3 bridge
http://www.hardkernel.com/main/products/prdt_info.php?g_code=G143452239825 $75

Here is a link on how to compile which should be most usefull to know what to do since hardly anything should vary... Search in non es version driver avail even in beta..
http://Http://forum.attractmode.org/index.php?topic=523.0

7
Themes / Re: [download] NEVATO theme
« on: August 24, 2016, 04:17:35 PM »
Lcd right option can display romname
Could be file(png 24 bit?) or title (space in name or encoding)
You should use test rom and video/pic name to prove which.
If using snaps parh, use pic;video so video taken first

8
General / Re: Its possible attract mode in Orange Pi2plus?
« on: August 24, 2016, 02:48:25 AM »
confirmation from "exobuzz" (one of the main RetroPie devs): The problem is the mali gpu / and differences with framebuffer etc. They may have some basic support for these boards in the future, but it would likely be just ES and retroarch emulators. (ES and retroarch need to be compiled differently etc).

Would have gone for a Odroid XU4 personally if going the un-walken route, but that's a personnal choice, but usb 3 would be faster storage wise (130MB/s)
http://forum.attractmode.org/index.php?topic=705.350;wap2

http://www.orangepi.org/orangepiplus2/ " It can run Android 4.4 , Ubuntu, Debian, Rasberry Pi Image". well try that first ?
http://raspberryretro.com/a-pi-of-a-different-flavour/
http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=886
- "Ubuntu 15.10 with Retropie and Emulation Station (ES) ready to go."
- "Orange PI PC can install RetroPie . but only few emulator work. dosbox , dgen ,I remember"
- "if there is a fork of the retropie source for the OPiPC, you COULD ask "jernej" (https://github.com/jernejsk) for his code (or find it by yourself) for HW acceleration."

SO i get this right, you could go to something that is proven to work, but take the conscious choice of ordering something that doesn't ( "Orange Pi Plus 2", but you call it "orange Pi2Plus"???), say it's for "testing purposes" but don't test anything, do not give ANY link, and when given the feedback from a RetroPie dev, says you "need" confirmation and want me to "try it" ??? The fact i could find relevant information within 5 minutes means to me you didn't even try...

You can have maybe retropie running. use as base and maybe you can copy/use "Attract Mode" to replace emulation station...
Nearly nobody else will have this board, so you need to test, after all you bought it for "testing purposes"...


10
Scripting / Re: Horizontal Game List Navigation
« on: August 22, 2016, 01:32:40 AM »
http://forum.attractmode.org/index.php?topic=898.0 this theme has rom matrix with left right top and bottom movement

11
Themes / Re: Grid Game Station [Release]
« on: August 21, 2016, 08:44:18 AM »
Very very nice interface :D
I can see in the source categories in layout.nut, line 534? how to we use that ?
"h" key show an history page but seen to be stuck on the same one for few games...
the only bad point in scrolling is slow, then you go down it takes time, instead of allow fast scolling then loading videos and stuff so for big lists would be tricky to go to a given rom (do layouts permit to search for a rom by name ?)
Anyhow, very good theme, look forward  to be able to use it per mame system once i solve that listsoftware import issue

12
Emulators / Re: Mame (arcade) tools and stuff
« on: August 21, 2016, 01:57:07 AM »
We just need somebody to post the latest version now until the official site is back up or somebody else maintain it. Glad i could help

13
General / Re: Mame software list import issue
« on: August 21, 2016, 01:46:06 AM »
Thanks for moving the post. I was conflicted since it was emulator specific, but the workaround list import as well but also a general function...

MAME and MESS merged in 0.162...
We need to be able to generate and import softwarelist from there as it's the only command to generate list per system.

From there i can create package of emulator config per system with relative path and also rom lists package to have a ready to use and move around emulation folder.
Nevato theme is great, look forward to have it per system. Already put the rom name as right lcd info...

mame64 -listsoftware neogeo > neogeo.xml (attached)
attract-v2.1.0-win64>attract -i neogeo.xml "mame - snes"
Code: [Select]
*** Importing Collection/Rom List: neogeo.xml
[Import neogeo.xml] - Imported 0 entries.
[Import Z:\Software\Emulation\Emulators\Mame\Catver.ini] - found info for 0 entries.
[Import Z:\Software\Emulation\Emulators\mame\nplayers.ini] - found info for 0 entries.

https://github.com/mickelson/attract/edit/master/src/scraper_xml.cpp seem to be where the magic happens
Here is the mod that added listsoftware support: https://github.com/mickelson/attract/commit/431e764e2bdffc671f8241ccb6c230cc96413852

https://github.com/mamedev/mame/releases?after=mame0167
tried mame0163b_64bit.exe version to generate snes xml list, still not imported with Attract Mode 2.1.0...

Mame listsoftware XML format:
Code: [Select]
<softwarelists>
<softwarelist name="neogeo" description="SNK Neo-Geo cartridges">
<software name="nam1975">
<description>NAM-1975 (NGM-001 ~ NGH-001)</description>
<year>1990</year>
<publisher>SNK</publisher>
<info name="serial" value="NGM-001 (MVS), NGH-001 (AES)"/>
<info name="release" value="19900426 (MVS), 19910701 (AES)"/>
<info name="alt_title" value="ナム1975"/>
<part name="cart" interface="neo_cart">
<feature name="release" value="MVS,AES" />
<feature name="compatibility" value="MVS,AES" />
<dataarea name="maincpu" size="1048576">
<rom name="001-p1.p1" size="524288" crc="cc9fc951" sha1="92f4e6ddeeb825077d92dbb70b50afea985f15c0" loadflag="load16_word_swap"/>
[...]
</dataarea>
</part>
</software>
<software ...name="bstars">[...]
looking at source code, if "software" is meant to be the root element, it won't work and need to replace software by softwarelists

Code: [Select]
void FeListXMLParser::start_element(
const char *element,
const char **attribute )
{
if (( strcmp( element, "game" ) == 0 )
|| ( strcmp( element, "software[u][b]lists[/b][/u]" ) == 0 )
|| ( strcmp( element, "machine" ) == 0 ))

doesn't work:C:\mame>mame64 -listsoftware snes>text.xml
work: C:\mame>mame64 -listxml snes>text.xml

14
Emulators / Re: Mame (arcade) tools and stuff
« on: August 20, 2016, 08:57:08 AM »
http://strategywiki.org/wiki/MAME/Support_Files#Controls
Controls.ini is a project started by Kevin Jonas (SirPoonga) with the help of Howard Casto.
This project was started to accurately document the controls and button labels of the arcade control panels from the games in MAME.
Like the Catlist and NPlayers files, you can only use the controls.ini with a front-end that is programmed to use it.

Old version (2007) 0.111.3 gotten from http://www.ledblinky.net/Download.htm
;;Controls.dat INI file Version=0.111.3, Time=2007-08-19 16:21:19, Generated by=SirPoonga

They are meant to be at this place, but just recovered from faillure so while it is up, can't find the files there
http://web.archive.org/web/20150908135203/http://controls.arcadecontrols.com/
http://web.archive.org/web/20150908135203/http://controls.arcadecontrols.com/controls.xml.0.141.1.zip xml can be downloaded from there though
http://controls.arcadecontrols.com/ still 404 since server rebuild
http://controls.arcadecontrols.com/controls/dat/ini/controls.ini.0.140.1.zip
http://controls.arcadecontrols.com/controls/dat/xml/controls.xml.0.140.1.zip


15
General / Mame software list import issue
« on: August 20, 2016, 04:50:08 AM »
I am trying to create a display per system (snes, etc...) from mame complete romset
Windows 10 x64, so used latest mame 64 bit here: http://mamedev.org/release.html > "mame0176b_64bit.exe" [https://github.com/mamedev/mame/releases/download/mame0176/mame0176b_64bit.exe]

I would prefer have "Attrack Mode" get the list per system by itself, but seem like the whole list is taken (lxml) or crash (listsoftware). Used the Emulator configuration below:

Code: [Select]
# Generated by Attract-Mode v2.1.0
#
executable           C:\mame\mame64.exe
args                 snes -cart "[romfilename]"
rompath              Z:\Software\Emulation\Media\Roms\Mame\
romext               .zip;.7z
system               snes;Super Nintendo (SNES)
info_source          listxml
import_extras        Z:\Software\Emulation\Emulators\Mame\Catver.ini;Z:\Software\Emulation\Emulators\mame\nplayers.ini
artwork    flyer           Z:\Software\Emulation\Media\Flyer
artwork    marquee         Z:\Software\Emulation\Media\Marquee
artwork    snap            Z:\Software\Emulation\Media\Snaps;Z:\Software\Emulation\Media\Snaps\Videos
artwork    wheel           Z:\Software\Emulation\Media\Wheel

So i thought i would create it manually, no biggie...in command prompt i did create the listsoftware xml (attached) with:
Code: [Select]
C:\mame>mame64 -listsoftware snes>"mame - snes.xml"Moved the xml file to "Attract Mode" folder, then in command line:
Code: [Select]
C:\Users\Default.DESKTOP-B6V7IAG\Desktop\attract-v2.1.0-win64>attract -i "mame - snes.xml"
Code: [Select]
*** Importing Collection/Rom List: mame - snes.xml
[Import mame - snes.xml] - Imported 0 entries.
[Import Z:\Software\Emulation\Emulators\Mame\Catver.ini] - found info for 0 entries.
[Import Z:\Software\Emulation\Emulators\mame\nplayers.ini] - found info for 0 entries.

"attract /?" gives:
Code: [Select]
  -i, --import-romlist <file> [emu]
     Import romlist from the specified file. Supported formats:
        *.lst (Mamewah/Wahcade!)
        *.txt (Attract-Mode)
        *.xml (Mame listxml format or HyperSpin)
     The emulator to use for list entries can be specified as well

listsoftware xml don't seem to be supported. however https://github.com/mickelson/attract states:
Code: [Select]
You can also import romlists from mame listxml files as well as gamelists for other frontends. Supported source files include: *.lst (MameWah lists), *.txt (Attract-Mode lists) and *.xml (Mame listxml, listsoftware and HyperSpin lists):
The emulator page for mame list the listsoftware option so should be supported (although it crashes)

How can i fix command line list import?
Will it fix the crash when importing listsoftware from the gui ?
posted reply in https://github.com/mickelson/attract/issues/201 which seem to share some of the symptoms

Pages: [1]