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

Pages: [1] 2
1
Themes / Re: SILKY Theme v0.6.8 beta
« on: April 18, 2017, 06:26:34 AM »
Tested and looking better on low resolution.  Theme is working great.  Thanks for the update!

2
Themes / Re: SILKY Theme v0.6.8 beta
« on: April 17, 2017, 12:36:26 PM »
Wow, awesome!  Will test tonight and report back.

3
General / Re: Favorites bug?
« on: April 15, 2017, 09:13:36 PM »
I figured some more stuff out.  I will looking at my romlist (the .txt file, not the tag file).  I noticed something strange.  The first half of the file looks good and all the extra information is filled in (like controls, etc).  The strange thing is that after the last rom, the list is repeated a second time.  The second time there are much fewer fields filled in (no control information for example).  My generated file is literally listing the entire romlist twice.

So I manually removed the second part of the file and fired up attract-mode.  All the favorites now show up perfectly.  So that file is not being generated correctly and it is affecting the favorites somehow but not the "all" list.

Could this be due to the version of mame.xml I'm using?  I started with the 0.106 but the format of the <input> was difference and I could not filter out by control.  I tried to find the first version of the XML which had the new <input> format and ended up using 0.149 (although I have to convert <game> to <machine>).  It's not perfect though since some games switch names (like "yard.zip" is needed for 0.106 but the XML says it is called "10yard.zip" since it was renamed).

Is there a minimum version of the mame.xml that attractmode supports?  Any idea what would cause the romlist to be generated incorrectly like it is?  At least there is a manual workaround now.


4
General / Re: Favorites bug?
« on: April 15, 2017, 08:02:18 AM »
To verify I am using the correct version I updated RetroPie and it did a full rebuild/compile of Advmame.  Here is the version:

Code: [Select]
pi@retropie:~ $ attract --version
Attract-Mode v2.2.1 (Linux, SFML 2.3 +FontConfig +RPi +SWF)

Using Libav for Audio and Video.
avcodec 56.1.0 / avformat 56.1.0 / swscale 3.0.0 / avresample 2.1.0

Shaders are not available.
pi@retropie:~ $ ll /usr/bin/attract
-rwxr-xr-x 1 root root 138 Apr 15 10:28 /usr/bin/attract

I checked after the rebuild and same thing.  I deleted the .tag file, started attract-mode and added a single favorite, Robotron. Here is what the file looks like:

Code: [Select]
pi@retropie:~ $ cat ~/.attract/romlists/Advmame.tag
robotron
 

Right after I added it, I can switch to favorites view and it looks good.  When I exit and return to attract mode (even after a reboot), switching to favorites shows no favorites.  The .tag file still is the same.

The permissions on the "romlists" directory looks good.  The "pi" user has write access and when I add them through attract-mode they get correctly saved to the .tag file.

Code: [Select]
pi@retropie:~ $ ll ~/.attract/
total 72
-rw-r--r--  1 pi   pi    210 Apr 15 10:44 attract.am
-rw-r--r--  1 pi   pi   9242 Apr 15 10:29 attract.cfg
-rw-r--r--  1 root root 9166 Apr 15 10:29 attract.cfg.bak
drwxr-xr-x  2 pi   pi   4096 Apr 15 10:29 emulators
drwxr-xr-x  2 pi   pi   4096 Mar 30 19:56 intro
drwxr-xr-x 10 pi   pi   4096 Apr 14 21:55 layouts
drwxr-xr-x  7 pi   pi   4096 Mar 30 19:56 menu-art
drwxr-xr-x  2 pi   pi   4096 Mar 30 19:56 modules
drwxr-xr-x  2 pi   pi   4096 Mar 30 19:56 plugins
drwxr-xr-x  2 pi   pi   4096 Apr 15 10:41 romlists
drwxr-xr-x  2 pi   pi   4096 Mar 30 19:56 screensaver
-rw-r--r--  1 pi   pi      4 Apr 15 10:44 script.nv
drwxr-xr-x  2 pi   pi   4096 Mar 30 19:56 sounds
drwxr-xr-x  5 pi   pi   4096 Apr  1 23:48 stats
pi@retropie:~ $ ll ~/.attract/romlists/
total 1688
-rw-r--r-- 1 pi pi      9 Apr 15 10:35 Advmame.tag
-rw-r--r-- 1 pi pi 971914 Apr 13 19:57 Advmame.txt
-rw-r--r-- 1 pi pi 309510 Apr  1 23:35 Mame.txt
-rw-r--r-- 1 pi pi 432038 Apr  2 14:00 Multiple Arcade Machine Emulator.txt
-rw-r--r-- 1 pi pi    752 Apr 15 10:29 RetroPie.txt

It really seems like for whatever reason it is just not properly reading the .tag file on startup.  I agree it did seem to read the roms starting with a number before but I don't know why that would be.

As for how I start attract-mode, in this testing I generally just run it from the command-line with no parameters.  As for autostart, I pipe all output to /dev/null since there is alot of output on startup.

Code: [Select]

pi@retropie:~ $ cat /opt/retropie/configs/all/autostart.sh
#emulationstation #auto
clear
attract > /dev/null 2>&1

I exist attract-mode with the "Esc" key.  I stop the Pi with a "sudo halt". 

I feel like since this seems to be working for everyone else, I must be doing something wrong.  Just not sure what to check anymore.

5
Themes / Re: SILKY Theme v0.61 beta
« on: April 14, 2017, 07:53:43 PM »
Honestly I'm not sure.  Whatever the Pi defaults to on my CRT but I believe it's 640x480 the max res is 800x600.  Some layouts seem to run at different resolutions however. I can tell because the attract-mode menus are bigger or smaller depending on the layout.

For example, I took a pictures of the bottom bar in SILKY and also in Game Station (the non-HD version). 

6
General / Re: Favorites bug?
« on: April 14, 2017, 07:13:54 PM »
Here are my steps. 

1. Deleted Advmame.tag

2. Started attractmode and switched to "Basic" layout

3. Added a few favorites. 

4. Switched to favorites view and I see them all.  There are 7 of them.

5.  Exit attractmode

This is what the Advmame.tag looks like.

Code: [Select]
1942
1943
2020bb
altbeast
archrivl
astdelux
asteroid

6.  Start attractmode and switch to "Favorites" view.  Now it only shows 2 (1942 and 1943). 

7.  Exit attractmode and verified all 7 are still in the file.

So it works fine when I add them until I exit.  Once I start attractmode the next time it only shows the first 2.

Any idea?

7
Themes / Re: SILKY Theme v0.61 beta
« on: April 14, 2017, 07:09:17 PM »
Just tested your latest fix and it is SO smooth now.  Theme works great on the Pi now.

The only minor issue is that on a lower res CRT monitor the small text at the bottom (year/manufacturer, play count, num players) is hard to read and blurry.  Could there be an option to make them a little bigger?  If not, no big deal.  It's already pretty great. 

Thanks again for the theme!

8
General / Re: Favorites bug?
« on: April 14, 2017, 05:47:49 AM »
I've tried Robospin and Silky.  I didn't initially edit the file at all.  After it wasn't working I tried editing and it didn't help. 

I'll start over and test with basic when I get home tonight.

9
General / Favorites bug?
« on: April 13, 2017, 06:05:58 PM »
This seems like a bug.  I am on a Pi 3 and I went through and set a large number of games as favorite.  Switching to and from the favorites list worked great.  Then I shut down a reboot.  Not only the first few favorites show.  I checked the file in romlists which is called "Advmame.tag".  It has all the games.  Strange.

Next, I deleted the file and restarted attractmode.  No favorites where there.  Then I exited and created a smaller file with a few favorites.  Here is the file:

Code: [Select]
bankp
bublbobl
commando
ddonpach
defender
digdug
dkong
galaga
gyruss
joust
junglek
mappy
mk
mslug
mslug2
mslug3
mspacman
mvsc
nbajam
robotron
sf
sf2
simpsons
smashtv
stargate
tapper
turfmast
wjammers
xevious
zookeep

I restarted attractmode and no favorites are there.  Next I went to "1942" and set it as a favorite.  I switched to favorites and "1942" is the only game shown.  However here is what the "Advmame.tag" looks like now"

Code: [Select]
1942
bankp
bublbobl
commando
ddonpach
defender
digdug
dkong
galaga
gyruss
joust
junglek
mappy
mk
mslug
mslug2
mslug3
mspacman
mvsc
nbajam
robotron
sf
sf2
simpsons
smashtv
stargate
tapper
turfmast
wjammers
xevious
zookeep

It kept all my other games, added "1942" at the top and still only shows the one game.

Am I doing something wrong?  Anyone else see something like this?

10
Themes / Re: SILKY Theme v0.6 beta
« on: April 13, 2017, 04:26:48 PM »
I know the feeling!  Thanks again.

11
Themes / Re: SILKY Theme v0.6 beta
« on: April 13, 2017, 04:22:11 PM »
Wow...that was quick!  Just tested it and big improvement on a 4x3 monitor. I attached an image of what it looks like.  The only issue left is that it is still a bit slow scrolling through the games (on a RaspPi 3).  I think it is because of the flyer.  I tested Robospin and even though the flyer is shown in the background it scrolls very smoothly I think because it delays the loading of the flyer until the scrolling stops.  When I scroll in Silky it seems to be loading it on every one I scroll by.  For example when the flyer is shown and you start scrolling you can see them switch as the text comes scrolling in.

Overall great theme.  Thanks for everything.

12
Themes / Re: SILKY Theme v0.5 beta
« on: April 12, 2017, 08:25:02 AM »
I use only one system, so I cannot check that. Are your snaps and artwork on the ssd, hdd or sd card?

Everything is on the SD Card (Samsung EVO+).  I did some testing and it's the conveyor that's causing the slow loading.  I might experiment with removing it and expanding the size of the listbox.

I'm also trying this on a Pi3.  It would be really great if there was an option to disable the conveyor especially if it sped things up.  Also I'm on a arcade monitor (800x600) so another useful option would be the font size of the game list.  A slightly bigger font would be helpful in my case.

Really great looking theme.  Thanks.

13
General / Re: Control filtering
« on: April 12, 2017, 05:34:42 AM »
Awesome.  Thanks!

14
General / Re: Control filtering
« on: April 11, 2017, 06:45:36 PM »
Quick update.  I got the mame.xml from version .149.  It has the correct control structure but still uses "game".  I converted the "game" tags to "machine" and now the filtering on controls work.  Unfortunately it is newer than the .106 version I need.  I get a longer list of games even though I no longer see trackball and gun games.  I believe that is because some games that exist but were not playable in .106 are playable now.  I'm going to try to get the .106 file fixed up since I think that would be useful to the RetroPie/Advance Mame/attract mode users.

Thanks for all the help!

15
General / Re: Control filtering
« on: April 11, 2017, 05:21:58 PM »
Thanks for the suggestions.  I changed the tags in the XML file and removed "listxml".  Unfortunately that didn't help. 

Here is a sample of the XML:

Code: [Select]
<mame build="0.106 (May 13 2006)">
<machine name="puckman" sourcefile="pacman.c">
<description>PuckMan (Japan set 1, Probably Bootleg)</description>
<year>1980</year>
<manufacturer>Namco</manufacturer>
<rom name="namcopac.6e" size="4096" crc="fee263b3" sha1="87117ba5082cd7a615b4ec7c02dd819003fbd669" region="cpu1" offset="0"/>
<rom name="namcopac.6f" size="4096" crc="39d1fc83" sha1="326dbbf94c6fa2e96613dedb53702f8832b47d59" region="cpu1" offset="1000"/>
<rom name="namcopac.6h" size="4096" crc="02083b03" sha1="7e1945f6eb51f2e51806d0439f975f7a2889b9b8" region="cpu1" offset="2000"/>
<rom name="namcopac.6j" size="4096" crc="7a36fe55" sha1="01b4c38108d9dc4e48da4f8d685248e1e6821377" region="cpu1" offset="3000"/>
<rom name="pacman.5e" size="4096" crc="0c944964" sha1="06ef227747a440831c9a3a613b76693d52a2f0a9" region="gfx1" dispose="yes" offset="0"/>
<rom name="pacman.5f" size="4096" crc="958fedf9" sha1="4a937ac02216ea8c96477d4a15522070507fb599" region="gfx1" dispose="yes" offset="1000"/>
<rom name="82s123.7f" size="32" crc="2fc650bd" sha1="8d0268dee78e47c712202b0ec4f1f51109b1f2a5" region="proms" offset="0"/>
<rom name="82s126.4a" size="256" crc="3eb3a8e4" sha1="19097b5f60d1030f8b82d9f1d3a241f93e5c75d6" region="proms" offset="20"/>
<rom name="82s126.1m" size="256" crc="a9cc86bf" sha1="bbcec0570aeceb582ff8238a4bc8546a23430081" region="sound1" offset="0"/>
<rom name="82s126.3m" size="256" crc="77245b66" sha1="0c4d0bee858b97632411c440bea6948a74759746" region="sound1" offset="100"/>
<chip type="cpu" name="Z80" clock="3072000"/>
<chip type="audio" name="Namco" clock="96000"/>
<video screen="raster" orientation="vertical" width="224" height="288" aspectx="3" aspecty="4" refresh="60.606060"/>
<sound channels="1"/>
<input players="2" control="joy4way" buttons="1" coins="2"/>
<dipswitch name="Rack Test (Cheat)">
<dipvalue name="Off" default="yes"/>
<dipvalue name="On"/>
</dipswitch>
<dipswitch name="Service Mode">
<dipvalue name="Off" default="yes"/>
<dipvalue name="On"/>
</dipswitch>
<dipswitch name="Cabinet">
<dipvalue name="Upright" default="yes"/>
<dipvalue name="Cocktail"/>
</dipswitch>
<dipswitch name="Coinage">
<dipvalue name="2 Coins/1 Credit"/>
<dipvalue name="1 Coin/1 Credit" default="yes"/>
<dipvalue name="1 Coin/2 Credits"/>
<dipvalue name="Free Play"/>
</dipswitch>
<dipswitch name="Lives">
<dipvalue name="1"/>
<dipvalue name="2"/>
<dipvalue name="3" default="yes"/>
<dipvalue name="5"/>
</dipswitch>
<dipswitch name="Bonus Life">
<dipvalue name="10000" default="yes"/>
<dipvalue name="15000"/>
<dipvalue name="20000"/>
<dipvalue name="None"/>
</dipswitch>
<dipswitch name="Difficulty">
<dipvalue name="Normal" default="yes"/>
<dipvalue name="Hard"/>
</dipswitch>
<dipswitch name="Ghost Names">
<dipvalue name="Normal" default="yes"/>
<dipvalue name="Alternate"/>
</dipswitch>
<dipswitch name="2x Speed Cheat">
<dipvalue name="Disabled" default="yes"/>
<dipvalue name="Enabled Always"/>
<dipvalue name="Enabled with Button"/>
</dipswitch>
<driver status="good" emulation="good" color="good" sound="good" graphic="good" savestate="supported" palettesize="32"/>
</machine>

And here is the top of the romlist being generated:

Code: [Select]
#Name;Title;Emulator;CloneOf;Year;Manufacturer;Category;Players;Rotation;Control;Status;DisplayCount;DisplayType;AltRomname;AltTitle;Extra;Buttons
88games;'88 Games;Advmame;;1988;Konami;Sports / Track & Field;4;;;good;0;;;;;4
99lstwar;'99: The Last War;Advmame;sonofphx;1985;Proma;Shooter / Gallery;2;;;good;0;;sonofphx;;;2
99lstwrk;'99: The Last War (Kyugo);Advmame;sonofphx;1985;Kyugo;Shooter / Gallery;2;;;good;0;;sonofphx;;;2
99lstwra;'99: The Last War (alternate);Advmame;sonofphx;1985;Proma;Shooter / Gallery;2;;;good;0;;sonofphx;;;2
yumefuda;(Medal) Yumefuda [BET];Advmame;;;Alba;Tabletop / Hanafuda;1;;;preliminary;0;;;;;6
005;005;Advmame;;;;Maze / Shooter Small;;;;;;;;;;
yard;10-Yard Fight (Japan);Advmame;;1983;Irem;;2;;;good;0;;;;;2
gtmra;1000 Miglia: Great 1000 Miles Rally (94/06/13);Advmame;gtmr;1994;Kaneko;Driving / Race;2;;;good;0;;gtmr;;;2
gtmr;1000 Miglia: Great 1000 Miles Rally (94/07/18);Advmame;;1994;Kaneko;Driving / Race;2;;;good;0;;;;;2
1941;1941;Advmame;;;;Shooter / Flying Vertical;;;;;;;;;;
1941j;1941 - Counter Attack (Japan);Advmame;1941;1990;Capcom;Shooter / Flying Vertical;2;;;good;0;;1941;;;2
1941;1941 - Counter Attack (World);Advmame;;1990;Capcom;Shooter / Flying Vertical;2;;;good;0;;;;;2
1941j;1941j;Advmame;;;;Shooter / Flying Vertical;;;;;;;;;;
1942;1942;Advmame;;;;Shooter / Flying Vertical;;;;;;;;;;

The controls are still not being set. 

I took a closer look at the differences between the old XML and the new XML.  I think the structure of the <control> tag changed.

In .106:

Code: [Select]
<input players="2" control="joy4way" buttons="1" coins="2"/>

In the latest:

Code: [Select]
<input players="2" coins="2">
<control type="joy" player="1" ways="4"/>
<control type="joy" player="2" ways="4"/>
</input>

That is going to be more difficult to convert.  Is there another way I can accomplish this?  How bad would it be to use a newer version?  Do you know what version the format of the XML changed?

Pages: [1] 2