Recent Posts

Pages: [1] 2 3 ... 10
added new py includes fixes for special characters.
what are u trying to convert?

u arent suppose to get xml in out folder
out folder will get tons of cfg files for emulator with data in it. Dont forget to rename the extension of out files. They will be [original extension]+cfg

xml needs to be named gamelist.xml and it has to be from emulationstation database or launchbox

if u have damaged xml like i said in case of launchbox which really does its job poorly, u will have to fix the xml and remove bad data
Scripting / rom_index
« Last post by keilmillerjr on Yesterday at 05:03:01 AM »

Code: [Select]
case 5: // "ListEntry"
rep = as_str( rom_index + 1 );

Is there any way to pull a rom_index in squirrel? I created a module Shuffle to navigate through slots. It would be nice to add the feature of having a list not loop. To do so, I would need to know the where a rom is in reference to the whole list.

Or am I overthinking features, just forget it and release the module?
Now the error message is gone.

but I do not get a new xml in the out folder.

Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
==== RESTART: c:\ ====

EDIT: OK! It works.

use 2.7 python

I have a problem with the


Python 3.6.3 (v3.6.3:2c5fed8, Oct  3 2017, 17:26:49) [MSC v.1900 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
==== RESTART: C:\ ====
Traceback (most recent call last):
  File "C:\", line 3, in <module>
NameError: name 'reload' is not defined


I have Python 3.6.3 for windows.

I have to use linux for that?
Thanks- that is a huge step in the right direction!  However, do you know where the file is located to edit that one field?

The path is /home/pi/RetroPie-Setup/scriptmodules/supplementary but I don't think this works any more. You can look at this

I'm getting the same segmentation fault error.
[Tool] Convert emulationstation/launchbox xml database "DESC" to Attract Mode overview
hyperspin doesnt have description.. :)
As title says.

Here it is!B9YxiSDD!XRrJduRZnkgZxPm8lHFvvFgxa_FOmAbicPeTsM1Ivdg

make folder , put .py in it.
copy database.xml to folder where .py is
if using another xml ,rename it to gamelist.xml
Make sub folder named "out" no quotes.

run the tool

result will be [romname].zip.cfg files for attract mode.
bulk rename .zip.cfg to .cfg only
copy files to attract romlist [emulatorname] folder ,Enjoy
(it can be used to scrape from launcBox) just replace 2 name param's where to look for data.Be aware that LB has mostly broken format of xml's as its not updating them propeprly. If that happens fix the xml

Some files may end up with 0 info in them. If that happens check which files are in question and look in xml what might be the cause of problem. Usually poor formating is the reason
Also in case of launchbox, u will first have to manually find and replace lines in it
Code: [Select]
find and replace ..\..\roms\Cave\ so it becames
Code: [Select]
launchbox is not recommended for use.But its easier to match data with it. its xml output is a disaster tho. It tends to create double named info inside xml on separate places for same game. Nothing i can do about that.In that case it script will overwrite good info with empty info when it runs into it.Those doubles are always stored at bottom of exml, so best to manually find first damaged info and remove with rest of it from xml
I already started sharing some of overview info files in my theme topic, i wonder why not everyone will? We can get some nice database like that. Providing that all rom names are up to the code.

if u have interesting tools to share ,now might be the time? :)
General / Not total NEWB need help X-Windows
« Last post by pecosdave on November 22, 2017, 10:24:15 AM »
So at the beginning of this year I setup a MAME system on Linux at the company I work for using Attract Mode.  It's very popular and I've had some request for changes, I built a new parallel system to replace the old one.  The old one works perfectly, the new one isn't quite doing right despite basically duplicating the setup.

The long story short - it works, but after I launch a game using the configuration I used before Attract Mode is "out of focus" and even clicking with the mouse / hitting ALT+TAB won't bring it back in, I have to kill X and re-login.

If I use a full blown Window manager I don't have that particular issue BUT simply playing a game causes weird issues like program/virtual desktop switching.

The way I set it up that worked on the OLD system -  I compiled Attract Mode myself, I can't recall if I compiled MAME myself or not.

Linux LIND067 4.2.0-28-generic #33-Ubuntu SMP Mon Feb 1 23:09:27 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
M.A.M.E. v0.160 (Mar 31 2015) - Multiple Arcade Machine Emulator
Attract-Mode 1.6.2 (Linux, SFML 2.3 +SWF +7z)

I used TinyWM as the Window manager with these files setup:


xsetroot -solid "#000000"
xrdb -load /root/.Xdefaults
exec /usr/bin/tinywm


[Desktop Entry]
Name=Tinywm session
Comment=Ridiculously tiny window manager

[Window Manager]

The system that DOES NOT work properly:

Linux LIND005 4.13.0-16-generic #19-Ubuntu SMP Wed Oct 11 18:35:14 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
MAME v0.191 (unknown)
Attract-Mode v2.2.1 (Linux, SFML 2.4 +FontConfig +Xinerama +SWF +7z)

The two config files on this machine are the same, except that I had to put the full path to launch Attract Mode for some reaon.

I have a theory that TinyWM is hosed up, at least in relation to this distro version so I'm going to start experimenting with other minimal window managers, but if anyone has an easy fix please share.

Also, this is my first post - I'm the oldest pecosdave on the web, so if you start looking you'll probably find me all over the place.  I used to be the ONLY pecosdave on the web, but first a gambler then a porn-king started calling themselves by my name, so those two results and a couple of weird Sony things aren't me.
General / Re: Attract mode compile on Pi3 failed
« Last post by progets on November 22, 2017, 10:05:24 AM »
Pages: [1] 2 3 ... 10