Retro Gaming With Raspberry Pi
coop0030 writes "Thanks to the affordable Raspberry Pi and some clever software, anyone can re-create the classic arcade experience at home. Adafruit brings the genuine 'clicky' arcade controls, you bring the game files and a little crafting skill to build it. Classic game emulation used to require a well-specced PC and specialized adapters for the controls, so it's exciting to see this trickle down to a $40 system. Also, a video of the game system is on YouTube."
If folks want to continue using a hacked-to-hell version of MAME from over a decade ago, or some port of a crappy old version of SNES9x that lacks all of the improvements in emulation accuracy (and the corresponding increase in CPU load) that have been discovered in that same amount of time, that's fine.
However, let's not be ignorant and claim that these old-ass emulators being ported to the Pi are in any way as accurate as modern versions of MAME, or bsnes, or Nestopia, yeah?
I need to get off my duff and buy one of these things. So many cool things you can do. I found plans to use a Pi to monitor my sump pit water level which texts/emails you if your pump fails and the water rises past a certain level. And this here would make such a cool video game enclosure for a rec room. Imagine all the games we used to pump quarters into. I could buy a boat load of Pi's with the ones I spent when i was a kid.
How about we not conflate ports of decade-old, inaccurate emulators like SNES9x and MAME 0.36 with more modern emulators like bsnes, Nestopia, and all of the niceties that have gone into MAME over the past decade.
Not mentioned in the summary is a useful open source library to convert GPIO button presses to USB keyboard commands for the emulators. It uses minimal system resources, which is always good when working with the Raspberry Pi. You should be able to easily modify it to support more than the joystick and two buttons. https://github.com/adafruit/Adafruit-Retrogame
Additionally, the Raspberry Pi is about as powerful as the original Xbox which could, guess what, play emulated games a decade ago.
https://github.com/MisterTea/MAMEHub/issues/3
We need help on this! We are having problems getting it to work on slow rPis so we can play online!
Ant(Dude) @ Quality Foraged Links (AQFL.net) & The Ant Farm (antfarm.ma.cx / antfarm.home.dhs.org).
Bsnes is now Higan, for the record.
I was fearing i had to go a day with a raspberry-pi-article on slashdot. CRISIS AVOIDED.
Emulators that can do this in a tiny form factor have been around since the 90's.
The cow says "Moo." The dog says "Woof." The Timothy says "Thanks, valued customer. We appreciate your input."
Is anyone seriously using their Raspberry Pi as a primary emulation device? I've got an RPi and I've been very disappointed in its responsiveness. I get better NES emulation out of my first-generation Motorola Droid, probably related to the fact that up until recently there were no available accelerated graphics drivers for the video chipset that the RPi has onboard.
Crimey
Maybe they just want to play the game. If its not 100% accurate, who gives a shit?
I built one for NES games and it works fine, even if there is an occasional glitch, but who cares..
SJWs are the new boogeyman. -Me
I completed this project:
http://fullfrontalgaming.blogspot.com/2013/03/building-arcade-cabinet.html
It doesn't use Mame as I'm collecting money, but does use SDL. Fully functional and good to go. Used parts from Sparkfun mainly.
=================
Unix is very user friendly, it's just picky about who its friends are.
I installed MAME and a bunch of other emulators a month ago ... From packages ... With apt-get ...
Why do we have a story on slashdot about something accomplished by running built in tools on the default repositories?
Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
I tried that with mine when I first got it. The performance was terrible. And the sound was horrid. Have things improved since then? I was using FCEU. Which emulator do you use?
Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
Additionally, the Raspberry Pi is about as powerful as the original Xbox which could, guess what, play emulated games a decade ago.
yep but that's like, expensive! nobody could afford that!
anyhow, if you're building a cab then getting a 200 bucks netbook(or used pc) isn't that much. of course you'll need some interface doodads, but adafruit sells logics for those too.
(raspberry is selling for 48euros here with VAT included, btw).
world was created 5 seconds before this post as it is.
Because you absolutely have to have a 4Ghz quad code, eight thread CPU with 2048 stream processors and 8 GB ram to emulate a 1Mhz 6502 with 16K of RAM....
That says more about the original Xbox being crippled than it does about the Pi being up to the task :)
$20, been around for 5 years or so...
http://uncrate.com/stuff/commodore-64-joystick-with-30-games/
Raspberry Pi is nowhere near as powerful as the Pentium III 733MHz CPU coupled with a nVidia GPU of the original XBOX.
It's 1/3 of that performance AT BEST.
I built a MAME cabinet from a pre-fab unit from Rec Room Masters https://www.recroommasters.com/ for my wife as a Christmas present. It was very easy to assemble (just bolts which are provided) To this shell, you add a controller (Tankstick) from X-Arcade http://www.xgaming.com/ . Lastly you add a monitor, computer, drive space for ROMS and speakers. I spent some extra for side arcade art and illuminated Marquee. As a front end for selecting games, I use Hyperspin http://hyperspin-fe.com/ . It's an amazing machine and is pretty affordable, especially if the Raspberry Pi can run the games.. My wife and I have spent countless hours on this. I also grabbed ROMS for almost every older home console ever made and play them on this as well..
I don't have the tools, space and skills required to build a cabinet from scratch. The hardest part is finding the ROMS which work with the MAME version that you use.
Skip all the Raspbian instructions. Instead, use the RPI Chameleon distribution for retro gaming on the Pi. Users are presented with a nice console-style menu screen after the system powers on with a ton of different emulators for not just consoles and arcade games but computers, too.
Check it out here: http://chameleon.enging.com/
Kriston
That says more about the original Xbox being crippled than it does about the Pi being up to the task :)
Yeah, only the most powerful game system at the time when it was released. It wasn't surpassed until the 360 came out in 2005...
Tiny form factor anything would have set you back a pretty penny in the 90s. Even now a lot of small form factor stuff is ridiculously overpriced.
That's one area where stuff like the PI wipes the floor with other stuff.
A Pirate and a Puritan look the same on a balance sheet.
Sorry but as an Arcade Nerd I have to point out that an 8-way joystick as used in the article is the wrong joystick to use. Most classic arcade games from the 80s used 4 or 2 way joysticks... If you want an authentic Pac Man or Donkey Kong experience you need a 4-way joystick, not an 8 way. Heck even the example game in the article (Joust) used a 2-way in the original arcade cabinet... It wasn't until the late 80s/ early 90s that most games started to use 8-way sticks... Games like Street Fighter 2, Mortal Kombat, or Ninja Turtles.
One would assume that if you care enough about the gameplay experience to build a custom joystick then you should also care that you're using the right type of joystick. There are companies that make sticks that are switchable between 4 and 8 way, those are great if you want to play both 80s and 90s era games, but if you're only interested in one era or another, pick the stick that's most appropriate for that.
Collector's Edition
I bought an Atari emulator back in the early-mid 90's that was built into the case of a joystick. It was about $50, IIRC.
so it's exciting to see this trickle down to a $40 system
Yeah you mean the pi right?Cause all I can see here is advertisement for some adafruit stuff!
We knew from the first moment the raspberry pi was announced that we would be able to run emulators on it.They run on measly hardware?Wow.
Great advancement in software.
If you buy all this you come to a little something about 110$.This is without a monitor.Hey get a cheap netbook and you got a mobile gaming station!
And you can use usb gamepads so you're not limited to arcade emulators.Oh and you dare to talk about emulating things on the pi without even mentioning retroarch?
This is slashdot not an advertising company.So please tell us news and not again the:
"You can do this with the pi you just require a $foo and you can do $bar"
Really?You can do so with nearly every platform that has some form of I/O and let's you execute code!
That's just higan's "accuracy" profile. If you use the "performance" profile, you can probably get away with a 3GHz dual core with only 4GB of RAM. But the emulation won't be as accurate!
The GPU of the Pi is as powerful as the GPU of the original XBox. The CPU, however, is as fast as a Pentium II (I forget what MHz rating).
Remember to maintain your supply of
NES, Sega and Atari 2600 run without lag. Some SNES games run, If they don't require the special FX chip, like StarFox.
SJWs are the new boogeyman. -Me
Computer runs software. Film at 11.
systemd is Roko's Basilisk.
You posted a couple pro Xbox comments in this article already (guessing http://games.slashdot.org/comments.pl?sid=3826351&cid=43917433 too). Your virginity is extreme. Seek help.
What's wrong with some "crapy old version of SNES9x"? My three tweenage sons spend hours each week playing Minecraft on our laptops or XBox 360, and various games on their tablets. Many of those games appear inferior to some of my favorite SNES games and my boys agree based on them loving to play Super Metroid, Super Mario World, and other great classics.
I remember playing Super Mario World on my Pentium-120 computer I got my freshman year of college in 1997. At that time there were a few games that were incompatible, mainly the ones with the Super FX "graphics accelerator" chip. Other than that, games played just as well in the emulator on what is now considered primitive hardware by today's standards as what they did in the console.
Maybe not that powerful, but close.
Because the weaker the console, the more performance it takes to do it accurately. The best way to do it is a cycle-accurate emulation because a lot of code written in those days took advantage of oddball features and oddball timings to work properly. For a "dumb" emulation like MAME, most of the time it works, but some games don't work requiring various patches and such in order to settle down the game.
It's not just the CPU, but also the timing of the other chips, and often things happen within a clock cycle as well that gets taken advantage of.
It's why emulators like bsnes require specs close to your PC, but run games basically perfectly with no hacks or patches required to get them to work.
The need for cycle accurate simulations ended sometime in the PS2 era - before which things like the PSX often made such cycle timing tricks necessary. Especially since the modern processor is superscalar, has caches everywhere and is heavily pipelined, making cycle counting impossible (especially caches since it made memory access timing unpredictable).
Heck, that still doesn't rule out the possibility some game took advantage of the way the system hardware glitched, requiring not just cycle accuracy, but behavior accuracy as well - perhaps some instruction caused some data line to glitch which caused RAM to gitch and it achieved the desired effect.
Barely.
Emulators that can do this in a tiny form factor have been around since the 90's.
Maybe the last time he used MAME he was on a Pentium Pro or Pentium II.
accurate? lol. even the latest version of MAME isn't THAT accurate. besides, this story is lame and OLD NEWS to those in the Pi world.
Nestopia runs at full speed on the Raspberry Pi through RetroArch.
Maybe they just want to play the game. If its not 100% accurate, who gives a shit?
It wasn't us who gave the shit.
From the TFS:
Adafruit brings the genuine 'clicky' arcade controls...
If you don't care if it's 100% accurate, you also don't care whether or not it has genuine 'clicky' arcade controls. Which I would then assert that if you either want a genuine experience or not. A genuine facade over inaccurate emulation is not a genuine experience, only the facade of one.
That said, calling 'clicky' arcade controls genuine isn't quite accurate, as it depends on the game. FWIW, the majority of the classic arcade games that the Pi is powerful enough to emulate didn't have clicky microswitch based controls, they had leaf switches.
More Twoson than Cupertino
accurate? lol. even the latest version of MAME isn't THAT accurate. besides, this story is lame and OLD NEWS to those in the Pi world.
MAME isn't so much an emulator but an organized collection of emulators. The accuracy depends on the driver and the cores it includes.
More Twoson than Cupertino
Sorry to tell you this, bro, but that was probably a Famiclone with the games re-written, not emulated. Back in the early '90s was when 2600 emulation was just starting, and it required (IIRC) a 486-25 or better. The reason is that the video chip is not trivial to emulate, because it is used in timing-dependent ways.
#naabhaprzrag, #sverubfr-000, #agi-fcbafberq, negvpyr[pynff*=' negvpyr-ary-'] { qvfcynl: abar !vzcbegnag; }
I critically need it to rune the European Sega Mega Drive version of Zero Wing.
TCAP-Abort
That is a hilarious statement and suggests that arm11 is clock for clock as fast or faster than a pentium 3, which it clearly is not, by a long shot.
What's wrong with some "crapy old version of SNES9x"?
Go try to finish Speedy Gonzalez on your "crapy [sic] old version of SNES9x" and then get back to me. Or on a new version of SNES9x. Or, really, any SNES emulator that isn't bsnes.
Here's a hint: You can't. The game crashes due to a rare edge case that is unhandled, and quite literally can't be handled, by anything other than a cycle-accurate emulator.
What would I know, though? I've only been working on emulators for the past 12 years or so.
More likely it was a single-chip 2600 clone.
What's even funnier is that they seem to be showing either a Seimitsu or Sanwa pushbutton, which don't really "click".
Get free satoshi (Bitcoin) and Dogecoins
Who cares about this shitty game other than byuu anyway?
Probably no faster than a celeron 266
There was a 2600 emulator for the c64 back in the early 80s which worked perfectly fine.
Additionally, the Raspberry Pi is about as powerful as the original Xbox which could, guess what, play emulated games a decade ago.
As as did old PCs. But old PCs and old Xboxes don't run off of cell phone chargers and fit in a playing cards box.
The Daddy casts sleep on the Baby. The Baby resists!
Fuck bsnes and that gay faggot byuu.
You posted a couple pro Xbox comments in this article already (guessing http://games.slashdot.org/comments.pl?sid=3826351&cid=43917433 too). Your virginity is extreme. Seek help.
Your tinfoil hat is a little crooked, freetard. Get laid or bent.
I *seriously* doubt that, since they were using about the same processor. (6510 at around 1Mhz for the 64, scaled-down 6502 for the 2600 (6507) running at the same speed.
http://en.wikipedia.org/wiki/6507
Heck, even the processor in the 1541 was a real 6502.
I've got better things to do tonight than die.
Given that the original video game CPUs were in the 1-2 MEGA hertz range, and modern CPUs (including Arduino) run in the GIGA hertz range (500-1000 times the clock speed), I would be surprised if you couldn't emulate the old video game hardware, even with sloppily written code.
Hell, you should just about be able to emulate that hardware with Java and CLR interpreters on modern CPUs.
I do not fail; I succeed at finding out what does not work.
really guys emulator and joysticks?
I have a SNES pad wired to a printer port for use with a pentium 1 laptop for around 15 years now, neither of which are neither well specced or specialized. What is with these lame ass PI ad's popping up here, used to be news now is "DURH I CAN RUN MIMBIMBOO ON MI PI!"
The GPU of the Pi is as powerful as the GPU of the original XBox. The CPU, however, is as fast as a Pentium II (I forget what MHz rating).
The GPU has all sorts of issues though, namely due to the crappy binary only drivers (ugh, yeah, even the Pi has that problem). The Pi uses a broadcom SOC while the Xbox uses a weird nVidia card that Linux never really supported quite right with any drivers.
The CPU on the Pi clocks to 700 mhz but can easily be overclocked. Running at 800 mhz rarely causes problems. Running up to 1 Ghz may cause issues occasionally if you've got a weak USB power charger but the Pi will perform surprisingly well for lightweight task at 1 GHz. By contrast, the original Xbox had a 733 mhz CPU. Remember though, the Pi uses an ARM chip while the Xbox used a custom CPU that was sort of a cross between a Celeron and a Pentium III.
The Pi has a few other features the Xbox lacked. It uses USB 2.0 while the Xbox used USB 1.1 (the controllers were basically modified 1.1 ports. You could easily splice controller cables and USB extension cables together and if you plugged flash drives in the Xbox saw them as memory cards). The Pi also sports HDMI. The Xbox only had 64 MB of RAM while the Pi has 512 MB.
The Gospel according to lolcat
Starfox was actually the first SNES game to use the Super FX chip.
Sorry, was on my phone earlier. To answer you question, I just used the retropie setup without any tweaking.
SJWs are the new boogeyman. -Me
The Pi is similar in power to the original Xbox GPU-wise but not CPU-wise. From the FAQ, here: http://www.raspberrypi.org/faqs
Overall real world performance is something like a 300MHz Pentium 2
the classic arcade experience involved being in public, with spectators around, lots of noise, and an undefined number of quarters. it involved a new game, or an unknown game, or a popular game. It was loud. In every way, it was loud. It was a machine bigger than the player. And it dragged you into a place that you otherwise wouldn't have gone that day -- like a mall or a convenience store.
"Because the weaker the console, the more performance it takes to do it accurately"
that's just patently untrue.
analog chips on the other hand..
> Because the weaker the console, the more performance it takes to do it accurately.
This gets my vote for stupidest thing I've read all week. Everyone in this room is dumber for having read it. I award you no points, and may God have mercy on your soul.
Because you absolutely have to have a 4Ghz quad code, eight thread CPU with 2048 stream processors and 8 GB ram to emulate a 1Mhz 6502 with 16K of RAM....
Well no, but seeing as you've already got the 4GHz doo-dah, it's cheaper to just buy a clicky USB stick for that than to buy Pi + stick + box + USB keyboard. Projects like this may be fun for the maker, but it does kind of miss the point of general purpose computing and the general trend for convergence.
This story might be newsworthy if it was a commercial kit that offered licensed MAME ROMs so that theme bars could set up retro arcades on 80s night. But as it is, it's just another "Pi-in-a-case" story, just with a custom driver....
Got them moderator blues I blieve I walk out the do', With these mod-points I been gettin', I 'most never post no mo'
p>Because the weaker the console, the more performance it takes to do it accurately.
That's a misrepresentation of the truth.
What you're referring to is the culture of "hacky" code that evolved to overcome the limitations of hardware. For example, sprite multiplexing. Early graphics devices with hardware sprites had a very limited number on-screen - on a business system, there might only be one for the mouse pointer. In order to overcome these limits, programmers would use raster interrupts to track the screen refresh and switch out the sprite banks so that they could draw the full limit of sprites in the top section of the screen, and then the full limit again below; doubling, tripling or quadrupling the number of available sprites. This means that the emulator has to do cycle-exact graphics, whereas a system with unlimited sprites (whether in hardware or software) doesn't need to have any notion of a moving cathode-ray beam to follow.
The more advanced the hardware, the less likely that software interfaces with the hardware as bare metal, instead relying on APIs that abstract it out, making hardware-specific timing often unnecessary.
Got them moderator blues I blieve I walk out the do', With these mod-points I been gettin', I 'most never post no mo'
Nope, the first 2600 clone since the '80s (that wasn't just a hobbyist project) was the Flashback 2 in 2005. Really. The Famiclone chips were so readily available, and the 2600 hardware sufficiently tricky, that nobody bothered. Even then, the audio was missing the rarely-used PCM mode, where the output is always high so that you can use the volume registers for 4-bit sound.
#naabhaprzrag, #sverubfr-000, #agi-fcbafberq, negvpyr[pynff*=' negvpyr-ary-'] { qvfcynl: abar !vzcbegnag; }
[Citation needed]
#naabhaprzrag, #sverubfr-000, #agi-fcbafberq, negvpyr[pynff*=' negvpyr-ary-'] { qvfcynl: abar !vzcbegnag; }
You need to be very fussy indeed, to find issues with the emulation of Galaga, Pac Man etc. on Raspberry Pi - class CPUs.
Yes, some people demand stuff like the frame rate dropping at exactly the right moment, but the vast majority of people - even arcade enthusiasts - won't notice.
The problem with putting a Raspberry Pi in an arcade cabinet is that AFAIK nobody's found a clean way to drive a 15Khz RGB monitor from a Pi.
The closest I've seen is through two gadgets - an HDMI -> VGA convertor, then a 31KHz -> 15Khz downscaler. Yuk.
Lots of people replace the CRT monitors in their cabs with modern monitors. I think that detracts noticeably from the experience. Games like Galaga are designed so the sprites benefit from the scanlines, and the animation benefits from persistence trails.
I have a "60-in-one JAMMA card" in my cabinet. It's legally very dubious - the ROMS themselves aren't cleared, and I'm pretty sure it's a fork of MAME that violates their license. But it does exactly what I want, easily and cheaply. It's an ARM CPU and a few other chips on a board the size of a paperback. It's nice to play portrait aspect-ratio games on a vertical monitor.