So this week started off cool then took a turn for suckage. I’ve been working on getting two more emulators working. One is a Neo Geo Pocket Color emulator, and it works, but has some minor issues. The other is another mass emulator like MESS. The older version compiles, but the latest one errors out.
The reason I am not posting binaries at the moment is because my SD card’s filesystem got corrupted during a test I was doing, and won’t boot. I’ve made a bit for bit backup of the card using DD, and I’m going to try and retrieve as much data from it as possible. Luckily I have other SD cards to use.
I was hoping to have the binaries for NeoPop available tonight but I have to recompile them on the new SD card. If you want you can click the link above and download the source and compile it yourself.
The other emulator I’ve been working on compiling is called Mednafen. The old version (0.8) is available in Raspbian repos, so just do sudo apt-get install mednafen and you should be good to go. Make sure you run it once, then edit the ./mednafen/mednafen.rc file. There is a part that says video and it tries to use opengl, set it to SDL and you should be good to go.
It’s been a long week, and I am really glad I have a long weekend to sleep in.
When the Arduino Leonardo was announced I was really excited to see it have built in USB HID support and could act as a keyboard, mouse, or joystick. I was even more excited to find out that my year old Teensy++ (Arduino compatible board) was based on the same chipset that the Leonardo now uses, and is able to act as a keyboard as well!
This is a new feature that was introduced in the Arduino 1.0 IDE. You can now send keyboard presses with this simple line of code: Keyboard.write(‘a’); If I wanted the Up joystick to be the up arrow on the keyboard, I would just use: Keyboard.write(0x0E); .
My goal is to use my Neo Geo AES controllers as an input for MAME. The Neo Geo pads don’t have any control boards built into the unit. The console itself interprets each pin individually, just like an actual arcade board. The pad uses a standard midi gameport (DA-15) connector, with each pin representing one button.
My idea is to make a Neo Geo pad to usb adapter using the Teensy++ as go-between. The Neo Geo pins will be wired up to the digital pins on the Teensy, and the Teensy Arduino sketch will interpret each button press as a keyboard press.
I’m looking forward to working on this project. I hope everyone has a great weekend and a restful Labor Day.
Happy Friday! This week brings some really cool things for the Raspberry Pi. First up, we have a Playstation Emulator that works under X in on the Pi. It’s called PCSX, it’s OpenGL ES enabled, and while it’s not runnign at full speed, it’s a really cool display of the technology that can be powered by the Pi. Binaries and Instructions below.
Select Load, then navigate the directory where you saved the CD image
Select your game then press enter
This emulator is far from perfect on the Raspberry Pi. Some games won’t work, frame rates are wild, and it can be a bit frustrating, but who cares! It’s a freakin’ Playstation emulation on the Raspberry Pi!
I was very excited when I found out that on Monday, I made the frontpage of the Raspberry Pi website. A big shout out to Liz for mentioning me and linking back here. It made my day!
I really love working on this little computer. I’m learning so much and using skills that I took for granted. It’s really pushing some of the boundaries I had setup against myself. I’m glad to be getting past them.
I’m also thinking of getting one of these and building a RaspberryPi bartop machine:
Today I present a tutorial on compiling Descent for your Raspberry Pi running Raspbian. At the end of this tutorial you should have binaries ready to go and and a playable version of the game Descent. If you don’t want to wait for the compile, I have the binaries ready for you. Just skip to the end.
You now have to patch the source code with the diff files.
cd into the source code directories.
patch -p1 < ../d1x-rebirth-rpi.diff
patch -p1 < ../d2x-rebirth-rpi.diff
We are now ready to compile!
On the command line enter these two commands:
Wait around 30 – 40 minutes.
If there are no errors you should now have a d1x-rebirth executable file in your directory!
Wait around 30 – 40 minutes.
If there are no errors you should now have a d2x-rebirth executable file in your directory!
You now need the data files that holds the actual game levels, sounds, artwork, etc. These are in .hog, .pig, and .ham (descent 2 only) files. You can get the game content from dxx-rebirth, the creators of this port. They also have links to the shareware files:
Another Friday post here. A couple of days ago Derhass made a post about getting Descent 1 and 2 ported to the Raspberry Pi with OpenGL ES. Descent was an amazing game released back in the early 1990’s. It had true 6 range freedom of movement in a spaceship with 3D modeling. An amazing game at the time, and one that I could NEVER beat. I’m in the middle of writing a tutorial on how to patch and compile the game, as well as hosting the binaries themselves.
Reefab has spent an amazing amount of time getting Quake 2 to run on the Raspberry Pi. The port is based off of YQuake2 and has been changed to use OpenGL ES. It runs quite well on the Raspberry Pi, there is some slowdown but it’s still very playable.
You can download and compile it yourself from his Github repository (which also has really well done compiling instructions), or you can download the precompiled binaries from my site.
As you saw in my previous post / video, I was running Youtube videos in fullscreen on my little display. I was using an application (really just a 2000+ line perl script) that does this for me. The program is called youtube-viewer (github)
Gcala posted a nice guide on how to set it up and has given me permission to also repost it here. I’m making some modifications as I had to do a couple changes, but it works.
Now just type youtube-viewer on the command line and you are good to go 🙂
List of Commands
all : play all the results in order
next : go to the next page (same as <ENTER>)
back : return to the previous page
login : will prompt you for login
logout : will delete the authentication key
[integer] : play the corresponding video
i, info [i] : show more informations about one video
c, comments [i] : show video comments (e.g.: c 19)
r, related [i] : show related videos (e.g.: r 6)
v, videos [i] : show author's latest videos
p, playlists [i] : show author's latest playlists
subscribe [i] : subscribe to author's channel
like, dislike [i] : like or dislike a video
fav, favorite [i] : favorite a video (e.g.: fav 3)
[keywords] : search for youtube videos
3-8, 3..8 : same as 3 4 5 6 7 8
8 2 12 4 6 5 1 : play the videos in your order
-argv -argv2=v : set some arguments (e.g.: -u=google)
e, edit-config : edit and apply the configuration
load-config : (re)load the configuration file
/my?[regex]*$/ : play videos matched by a regex (/i)
reset, reload : restart the application
q, quit, exit : close the application
This has been an interesting long week. I’m really happy with the feedback I’ve recieved regarding the Raspbian binaries I released. I got linked to by Adafruit which is awesome! I purchased one of thier little 2.0″ LCD TVs. Still waiting for it to arrive, but I plan to do some fun things with that small screen and the Raspberry Pi. Bensoutlet.com has on sale the Motorola Lapdock for $59.99 which is a really good price. Theres a 14 page forum post about how people are using it to make Raspberry Pi laptops.
My next goal is to write up some tips and tricks for the emulators that my commentors have posted, and still working on getting Love2D to work.