Backdrops in mame2003-plus
-
@caver01 Glad it helped.
-
@Clyde - Here's a link to raspi2png. It's small and works well but you need to SSH into your Pi with PuTTY (or some other terminal emulator) while you play on another display or TV but it will capture the screen exactly as you see it with overlay and backdrop at the displays resolution.
You don't need to do step 2 if you're going to run it from the downloaded folder. It will create a folder named
raspi2png
in your home folder that works well but you will need to use./
in front ofraspi2png
to run it (if you prefer not add to the bin folder). The only difference is the./
in front specifies the current folder vs. the search path.Also snaps are named
snapshot.png
in the current folder and will overwrite on each run unless you use-p
parameter shown in step 3 below. If you only need one snap at a time then you wouldn't need to specify a name. Other parameters listed below.Basic steps:
git clone https://github.com/AndrewFromMelbourne/raspi2png/
sudo cp -a raspi2png/raspi2png /usr/local/bin
raspi2png -p "mysnapshot.png"
Usage: raspi2png [-p pngname] [-v] [-w ] [-h ] [-t ] [-d ] -p - name of png file to create (default is snapshot.png) -v - verbose -h - image height (default is screen height) -w - image width (default is screen width) -t - type of image captured can be one of the following: RGB565 RGB888 RGBA16 RGBA32 -d - delay in seconds (default 0)
-
@Riverstorm Thanks very much. Although I'm using Linux which comes with terminals and ssh ootb, your very elaborate guide may be helpful to others. I added your post to my collection of forum links that may be useful in the future. ๐
I did one thing differently: Instead of copying
raspi2png
to/usr/local/bin
, I hardlinked it to/home/pi/bin/
with this command:ln /home/pi/git/raspi2png/raspi2png /home/pi/bin/raspi2png
Since most Retropie users will only use the standard user
pi
, it shouldn't matter in everyday usage, but I prefer to keep software that isn't part of the official repos out of global system directories. Also, in contrast to a copy, by hardlinking the file it will stay up to date if you update the original in the git clone, and if you ever delete the git clone, the hardlink will still work like the original, since hardlinks are just additional references to the original data. Finally,$HOME/bin
is in the global shell path, so its contents can be used from any directory like the contents of/usr/local/bin
. But I digress โฆ (and I may've told you things you already know. ๐ )When I went to clone the raspi2png repo into my
~/git
directory where I store all the cloned repos, I noticed that I already got it in last September. ๐ณ ๐Here are two pictures of my Battle Zone. The first one shows the deviation of the radar and score board, while the other is meant for showing the boundary between the overlay and the playing area. (Should the scoreboard be so close to the overlay?)
-
@Clyde Hey, just a quick observation of those screenshotsโ in the final config, you might consider disabling the scanline shader for Battlezone. The actual vectors would have been totally smooth like on an oscilloscope. Color vectors have the shadow mask, but here, colors are from the overlay, so no CRT effects. Just a thought.
-
@Clyde It seems that the 1600x1200 ovl is not aligned in your case, even if it's just the 4:3 game area taken from the 1080p ovl (!?)
Anyway I just updated both versions of the ovl with the radar "round border" being slightly higher positioned.
Can't make it further higher as I'd have to reduce the "radar" text even more; wouldn't look nice.As long as the radar area is basically fully visible I think it's ok. Even real arcade cardboards were not perfectly aligned if you look at the images and videos you can find on the web.
Unfortunately it would be really tough for me to precisely align the ovl image to your 1600x1200 by trial & error based on step by step screenshots you would take ... sorry.
-
@caver01 That's a definite point you're making. I plan to do that, like I did for Omega Race. I'm just used to do one step at a time to avoid issues that I can't pinpoint to a specific change if I'm making too many of them at a time.
@UDb23 Thank you very much. Alas, your new version just moves the radar cutout a miniscule amount that I can only spot if I view both screenshots in quick succession.
I think that the "RADAR" text would have to be removed completely to get a correct radar cutout. But I also think that it's not really worth the effort.
-
@Clyde - That actually makes good sense and I like your idea better. I will move and link it. I like raspi2png but it would be nice to have it work more like an old school TSR so we could capture full screen without using SSH.
I am definitely not a power user on any linux platform so any tips are welcome. I am mainly Windows focused with a bit of linux due to our switch fabric (our switches are linux based). I work on firewalls (Fortigate & Palo Alto) switches (Cisco & Extreme), routers (Cisco), virtualization (VMWare), storage (NetApp) and a whole lot of fiber connectivity. Our campus is several blocks so not huge but a good sized network with several hundred PC's. I can build you a solid, secure & redundant network. ;)
I can talk subnetting, routing, routing protocols, switching, firewalls, etc. all day long but I find firewalls the most interesting as they do so many functions nowadays and aren't just about security anymore. A close 2nd is virtualization. It's such incredible technology.
If you come across something better than raspi2png for a decent full screen capture you'll have to let me know.
-
@Riverstorm I looked around a bit on the web and didn't find a better solution than raspi2png that doesn't need an xserver. Interestingly, most raspi2png guides suggest putting it in
/usr/local/bin
, but I still prefer my variant for said reasons. ๐I looked for a way to bind raspi2png to a key press, but without luck except for this post from @meleu (I'll have to leave for work soon, so I don't have the time for a thorough search), but I stumbled upon a way to name the screenshots by the date and time they're taken (source):
raspi2png -p $(date +snapshot-%Y%m%d-%H%M%S.png)
It will name the screenshots
snapshot-20190207-072613.png
,snapshot-20190207-072637.png
and so on. Maybe you or someone else will find this useful.I'm not done with the shortcut, though. I've just opened a thread asking for solutions.
edit: If I ever need advice on bigger networks and routing, I may get back to you about it. ๐ I'm not a Linux pro either, maybe a "power user" since I made Ubuntu my main system back in Dezember 2006 as the long-sought exit from Windows (I moved to Kubuntu years ago when Gnome 2 was discontinued). I keep a Windows 7 around for some Windows games and programs that don't run well in WINE, but I only start it very, very seldom. So, my Windows knowledge may correspond to your Linux knowledge. ๐
-
@clyde can you take a screenshot with Ra make sure gpu enable is on (if you dont know what this is its already on) and post here I just want to confirm you ra is outputting this res if it is all add this resolution to the current new ones ive set for vectors.
"Vector resolution (Restart core); 1024x768|640x480|1280x960|1440x1080|original");
this is what we have so far dont mind adding your resolution this means mame will render at that resolution it also means you dont need to turn bi linlear filtering on when you used your default res
-
@grant2258 I can do that after I get back from work, stay tuned.
-
@clyde i just put a pull request in to add it for you. Just keep an eye on it for being merged then just update.
https://github.com/libretro/mame2003-plus-libretro/pull/656
if you havent updated in a while please clear your mame2003-plus/cfg as updates to the input system (dual configs on for legacy and one for none legacy) where implemented so you can swap modes without messing the other one up.
suggested setting for you or anyone else using a monitor native resolution
mame2003-plus_vector_antialias = "enabled" mame2003-plus_vector_beam_width = "1" mame2003-plus_vector_flicker = "20" mame2003-plus_vector_intensity = "1.5" mame2003-plus_vector_translucency = "enabled"
and for you mame2003-plus_vector_resolution = "1600x1200"
-
@Clyde radar text: itโs not a matter of effort, if you prefer centered radar and no text I can remove the text and place the radar higher. Just let me know. For the 1080p version I prefer to keep the original cardboard โintegrityโ.
-
@grant2258 Here are two screenshots, the first one with vector resolution 1024x768 and the second one with 1600x1200. I don't know what gpu enable is, so according to you it should be on. ;)
The 1600x1200 one looks much more crisp, so thank you very much for adding that vector resolution. What exactly is the resolution "original"?
My
mame2003-plus/cfg
is pretty full with.cfg
files. What will I lose if I delete or rename it? And which modes to swap do you mean?@UDb23 I prefer beauty over integrity, so I won't miss the "RADAR" sign if the radar will be correctly cut out instead. :)
-
@Clyde will work on it on WE then.
And related UV versions too. -
@Clyde - You're a scholar, thanks for the date and other tips. I think it will be very useful and will simplify needing to rename every file. The icing on the cake would be getting raspi2png to trigger with a keyboard shortcut and not needing a "laptop" solely to SSH and get a screenshot.
@UDb23 - I thought of you the other night watching a movie named Polar who's main protagonist was a retired cold war assassin named "The Black Kaiser". :)
Also they just closed us down due to weather, no snow, sheer temps and high winds are creating blizzard conditions. We are supposed to bottom out with cold tonight again. We are getting pounded with cold pretty hard this year. It sure doesn't feel like global warming. ;)
-
@Riverstorm said in Backdrops in mame2003-plus:
The icing on the cake would be getting raspi2png to trigger with a keyboard shortcut and not needing a "laptop" solely to SSH and get a screenshot.
@mitu already posted a tip about keyboard solution in my other thread, but alas, I won't have time to test it before the weekend.
We are getting pounded with cold pretty hard this year. It sure doesn't feel like global warming. ;)
*dons his scholar hat* Why Global Warming Can Mean Harsher Winter Weather :)
Take care, I wish you all the best.
-
Clyde you crack me up! I was being facetious but at least now I may articulate the difference between weather and climate. That last paragraph about "wasting" fossil fuels by turning up the heat and just when I need it the most. =/
We have wind gusts up to 50MPH/80KHM so it's creating severe ground blizzards. It looks like it's snowing and foggy-ish due to snow being whipped around. They even shut down the airports. We are at a stand still until the wind dies down.
If you don't modify your inputs (TAB menu) from the defaults wiping your .cfg files shouldn't matter. They are created when you launch a game (even when you don't change anything from the defaults).
If you have a lot of customization you might want to screenshot each one before wiping them. Well just the ones that have been changed.
The different modes I can't explain very well.
-
Well the cfg files made are for game inputs dips and sound mixer settings ect. I myself cant explain none legacy mode all it does is hide the tab menu so you can set anything in mame you will need to ask mark how you set stuff up with no tab menu and its not mapped in mame because the config files are seperate.
All i did was separate the modes so they save there own config files. You need to restart when switching from legacy and none legacy all this done was cause an extra layer of confusion but lets people setup there mame the normal way(legacy) the tab menu or(none legacy) marks way.
You need to delete you old mame20030plus cfg files the format of the cfg changed to be compatible with mame078 format.
-
@Riverstorm @grant2258 Thanks for your explanations. I've renamed my
cfg
directory tocfg.backup
if I may ever need one of the old files. It will go into my backup the next time, then I'll delete thecfg.backup
from the original. The incremental backup is set to delete old snapshots after six month, that should be enough time to notice anything that I'll miss. -
@Riverstorm said in Backdrops in mame2003-plus:
...high winds are creating blizzard conditions.
That's a really tough winter this year in your area!
With all that cold already, I wound't watch a movie called Polar ! :-))
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.