<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>BenV&#039;s notes &#187; gamepad</title>
	<atom:link href="http://notes.benv.junerules.com/tag/gamepad/feed/" rel="self" type="application/rss+xml" />
	<link>http://notes.benv.junerules.com</link>
	<description>Rants and notes</description>
	<lastBuildDate>Wed, 28 Jul 2010 13:36:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Secret Maryo Chronicles</title>
		<link>http://notes.benv.junerules.com/all/daily/secret-maryo-chronicles/</link>
		<comments>http://notes.benv.junerules.com/all/daily/secret-maryo-chronicles/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 22:13:35 +0000</pubDate>
		<dc:creator>BenV</dc:creator>
				<category><![CDATA[Boring]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[autoconf]]></category>
		<category><![CDATA[emulators]]></category>
		<category><![CDATA[gamepad]]></category>
		<category><![CDATA[mario]]></category>
		<category><![CDATA[slackware]]></category>
		<category><![CDATA[x86_64]]></category>

		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=261</guid>
		<description><![CDATA[So I was bored and went through the usual slashdot, kernel.org, freshmeat.net, etc. Once reading through the news on happypenguin.org I noticed it must be mario season or something. After checking the descriptions I decided to check out Super Mario^W^WSecret Maryo Chronicles. Needless to say I went for the source ball. Through my famous slackbuild [...]]]></description>
			<content:encoded><![CDATA[<p>So I was bored and went through the usual slashdot, kernel.org, freshmeat.net, etc.<br />
Once reading through the news on happypenguin.org I noticed it must be mario season or something.<br />
After checking the descriptions I decided to check out <a href="http://secretmaryo.org/" title="Secret Maryo Chronicles">Super Mario^W^WSecret Maryo Chronicles</a>.<br />
<span id="more-261"></span></p>
<p>Needless to say I went for the source ball. Through my famous <span style="color:#00FFFF">slackbuild script</span> of course!<br />
That went fine, until configure barfed about some <a href="http://www.cegui.org.uk/wiki/index.php/Main_Page">CEGUI</a> thing.<br />
<span style="color:#FF00FF">What&#8217;s a CEGUI thing?</span><br />
Apparently it&#8217;s some kind of windowing/widget library. Yeah, another one.<br />
So I ram it through slackbuild, which went fine as usual after I did a <code class="codecolorer text vibrant"><span class="text">make distclean</span></code> in the source dir. Some how the first build fucked up, don&#8217;t ask me why.<br />
Anyhow, I installed the <span style="color:#FF00FF">CEGUI</span> package and ran back to the smc source dir.<br />
Slackbuild had no other issues this time so out rolled a package. After installation I tried to run it.</p>
<p>Here&#8217;s what it said after my screen went black for about a second and came back:</p>
<div class="codecolorer-container bash vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">benv<span style="color: #000000; font-weight: bold;">@</span>janeman:~:<span style="color: #000000;">0</span><span style="color: #000000; font-weight: bold;">&gt;</span>smc<br />
CEGUI Scheme Exception occurred : Imageset::xmlHandler::startElement - An unexpected error occurred <span style="color: #000000; font-weight: bold;">while</span> creating a Texture object from <span style="color: #c20cb9; font-weight: bold;">file</span> <span style="color: #ff0000;">'SMCLook512.png'</span></div></div>
<p>Yeah, that&#8217;s what I get for trusting yet another crap library with widgets. *<span style="color:#FF0033">sigh</span>*</p>
<p>However, I had just enough energy left to try one detour into bug/issue fixing land.<br />
Google came up with basically only 1 thing, so after trying my best to read some italian forum I trashed it back through google&#8217;s own translation service.<br />
Now that it was in dutch it was a bit more readable, it hinted about using the <span style="color:#00FF55">freeimage</span> library instead of the default TGA codec (which obviously failed).</p>
<p>Installing the <a href="http://freeimage.sourceforge.net/">freeimage library</a> was pretty trivial, although they don&#8217;t use autoconf so I had to go through their Makefiles manually.<br />
The first hint of trouble is usually when source packages come delivered in the famous <span style="color:#FF5500">.zip</span> format. Oh, sorry, I meant <b>.ZIP-EVERYTHING_IS_CAPS</b> format. Seriously, don&#8217;t get me started on how many times those kankerthings exploded in my /usr/src dir so far, completely splattering up everything there.<br />
Good thing I&#8217;m good with rm. Anyhow, this zip package was decent and created a dir (without version number though).<br />
After fiddling with the makefiles and building freeimage, I also build <span style="color:#FF5533">freeimage plus</span> and stashed it into a package with makepkg.<br />
Phew, sweat on my forehead. Hopefully slackbuild will be able to handle this some day&#8230;.. (dream on)</p>
<p>Back to <span style="color:#FF0000">CEGUI</span> &#8212; compiling it with the freeimage library went without problems, and after upgrading my previous CEGUI package it was finally time to retry SMC.<br />
By the way, did I note that all these packages compiled on x86_64? Good job on that one guys <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>This time the screen actually came up with some mario^H^Hyo like stuff! Just like the good old days with the <span style="color:#5500FF">SNES</span>! <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
It looked a bit like this:<br />
<a href="http://notes.benv.junerules.com/wp-content/uploads/2009/08/1.png"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/08/1-300x187.png" alt="1" title="1" width="300" height="187" class="aligncenter size-medium wp-image-262" /></a><br />
On the background the theme music played that reminded me quite a bit of the original snes game.</p>
<p>Messing around with it a bit I quickly got myself killed a few times and had some fun.<br />
<a href="http://notes.benv.junerules.com/wp-content/uploads/2009/08/2.png"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/08/2-300x187.png" alt="Super Maryo Chronicles (2)" title="Super Maryo Chronicles (2)" width="300" height="187" class="aligncenter size-medium wp-image-263" /></a></p>
<p>I soon realized that the SNES version had better controls, but then again&#8230; playing on a keyboard is kinda cramped for platform games.<br />
So I reconnected my Logitech Rumblepad 2 to see if it would work. Well, if works great <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Not a snes pad (the thing is a lot like the original playstation controller), but it played a hell of a lot better.</p>
<p><a href="http://notes.benv.junerules.com/wp-content/uploads/2009/08/3.png"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/08/3-300x187.png" alt="Super Maryo Chronicles (3)" title="Super Maryo Chronicles (3)" width="300" height="187" class="aligncenter size-medium wp-image-264" /></a></p>
<p>Conclusion: if you&#8217;re feeling bored, give it a shot. Good for a bit of fun, and it has a level editor as well!<br />
(which can be seen in this impressive edit I made here <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><a href="http://notes.benv.junerules.com/wp-content/uploads/2009/08/4.png"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/08/4-300x187.png" alt="Super Maryo Chronicles (level edit)" title="Super Maryo Chronicles (level edit)" width="300" height="187" class="aligncenter size-medium wp-image-265" /></a></p>
<p>Keep up the good work, <a href="http://secretmaryo.org/index.php?page=contact&#038;sid=?sid=">guys from SMC</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://notes.benv.junerules.com/all/daily/secret-maryo-chronicles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Emulators!</title>
		<link>http://notes.benv.junerules.com/all/software/emulators/</link>
		<comments>http://notes.benv.junerules.com/all/software/emulators/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 10:06:27 +0000</pubDate>
		<dc:creator>BenV</dc:creator>
				<category><![CDATA[Boring]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Morons]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[dosbox]]></category>
		<category><![CDATA[emulators]]></category>
		<category><![CDATA[gamepad]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[x86_64]]></category>
		<category><![CDATA[zelda]]></category>

		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=97</guid>
		<description><![CDATA[Since I quit playing World of Warcraft again a while ago (seriously Blizzard, what are you doing to that game?) I find myself enjoyed playing tons of other things. Funny thing is, most of the games I play are ancient. Games from the DOS era (which means DOSBOX, I love that product) like Master of [...]]]></description>
			<content:encoded><![CDATA[<p>Since I quit playing World of Warcraft again a while ago (seriously Blizzard, what are you doing to that game?) I find myself enjoyed playing tons of other things. Funny thing is, most of the games I play are ancient. Games from the <span style="color: #ff6600;">DOS</span> era (which means <a title="DOSBox, an x86 emulator with DOS" href="http://www.dosbox.com/" target="_self">DOSBOX</a>, I love that product) like <a title="Wikipedia on Master of Orion" href="http://en.wikipedia.org/wiki/Master_of_Orion" target="_self">Master of Orion</a> (and it&#8217;s sequel), <a title="Wikipedia on Master of Magic" href="http://en.wikipedia.org/wiki/Master_of_Magic" target="_self">Master of Magic</a>, Paratrooper, <a title="Wikipedia on One Must Fall: 2097" href="http://en.wikipedia.org/wiki/One_Must_Fall:_2097" target="_self">One Must Fall: 2097</a> (which is freeware these days! Download it <a title="One Must Fall 2097" href="http://www.omfdownloads.com/2097/omf21cd.zip" target="_self">here</a>), X-Com, System Shock, and the list goes on and on. Yeah, come to think of it&#8230;. the games they made back then were pretty brilliant, and it&#8217;s not just nostalgia.<span id="more-97"></span></p>
<p>Not just the DOS stuff from back then was great, but also the console games.  We had a NES and later a SNES and games like Zelda, Mario, Mega Man and Double Dragon gave us a lot of education <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Somehow we missed the Final Fantasy series though, but one of the things I often play these days is one of the RPG genre.  In fact, I played Final Fantasy 2 on my laptop just a week ago <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&#8220;<span style="color: #00ccff;">But how, my stupid x86 machine doesn&#8217;t accept these cardridges!</span>&#8220;.</p>
<p>Well, you need a bigger hammer obviously. Try stuffing them into the PCMCIA slot if you have one, I hear they are twice as fast. Or if you strip the plastic casing you can maybe insert them into an ISA slot if you still have one. You might need an adapter for the PCI slots though.</p>
<p>&#8230;</p>
<p>Oh, you&#8217;re still here? Well, ok, try an emulator if your slot smashing skills aren&#8217;t up to par.</p>
<p><strong><span style="color: #ff0000;">&lt;rant alert&gt;</span></strong></p>
<p>So someone explain to me:</p>
<p>If you&#8217;re writing an emulator&#8230;. you know, a thing that has to waste tons of CPU cycles in order to play dress-up and imitate a console with a different architecture&#8230;</p>
<p>Why the # wouldn&#8217;t you make it as cross platform as possible? Yeah, sure, I understand that you want to make it fast and hack in some assembly code. In fact, I love assembly code <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>However,  that concept is getting more obsolete every day. So if you write an emulator, MAKE SURE IT COMPILES ON BenV&#8217;s MACHINE!</p>
<p>That means it should run on at least<em><span style="color: #0000ff;"> x86 AND x86_64</span></em>. Why write an emulator that&#8217;s obsolete even before you finish it? I&#8217;m looking at you pcsx2 -.-</p>
<p>Applaud to DOSBox for that matter, they get it right.</p>
<p><span style="color: #ff0000;"> &lt;/rant&gt;</span></p>
<p>So anyway, for the <span style="color: #ff6600;">NES</span> games I suggest using <a title="FCEUX: cross-platform NES emulator for professionals" href="http://fceux.com/web/htdocs/" target="_self">FCEUX</a> these days. It runs on both x86 and x86_64, and it runs my games on my new slackware 64 installation&#8230; which makes me happy <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>For <span style="color: #ff6600;">SNES</span> I always used <a title="Good SNES emulator for x86 running DOS, obsolete for everything else" href="http://www.zsnes.com/" target="_self">ZSNES</a>, but they&#8217;re still stuck in the DOS era&#8230; trying to upgrade their obsolete assembly code to more generic stuff like the QT toolkit. It works great if you have an x86 installation, but it refuses my new slackware 64&#8230;. and I refuse to chroot back to my old slackware32 for an emulator like this. Puh, I&#8217;d sooner start it in dosbox :p. &#8220;But BenV, how do you play A Link to the Past then these days?&#8221;. Ahh, a good question, but it&#8217;s easy: I simply use <a title="byuu's snes emulator" href="http://byuu.org/bsnes/" target="_self">bsnes</a>. Runs all my snes games so far <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Then there&#8217;s the matter of the prutsstation, or <span style="color: #ff6600;">PSX</span>. Yeah, that&#8217;s another disaster area&#8230; let me know if you have a decent emulator. Guess I&#8217;m stuck to using <a title="ePSXe, needs an update" href="http://www.epsxe.com/" target="_self">epsxe</a> in a chroot environment for now.  Other than that it works pretty well once you get the plugins etc sorted, but I haven&#8217;t touched it lately. (guess why).</p>
<p>For <span style="color: #ff6600;">N64</span> we have another good emulator these days, called <a title="N64 emulator and plugins for Linux, Mac OSX, and FreeBSD" href="http://code.google.com/p/mupen64plus/" target="_self">Mupen64plus</a>. To my surprise a simple recompile worked on slack64, so no issues there (good coder <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ). And it runs zelda, what more do you want? <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Then there&#8217;s the new PSX, or <span style="color: #ff6600;">PSX2</span>. Yeah&#8230;. that&#8217;s in the same (sinking) boat as the PSX. Only 1 reason to play: final fantasy. Only 1 somewhat decent emulator for this: <a title="pcsx2" href="http://pcsx2.net/" target="_blank">pcsx2</a>. Unfortunately it feels like they don&#8217;t give a damn about linux, and certainly not 64 bit linux. They &#8220;dropped the 64 bit build&#8221;&#8230;. idiots. So if you feel like it you can get it running on 32 bits, which I&#8217;ve done, and it runs ok. But you need a fast pc (multicore) and a decent graphics card and then it still runs like a garbagecan on wheels. (the wheels come off every 3 meters and you have to open the lid, shuffle the garbage around and close it again before it continues). Of course they are quite active, so that&#8217;s good, there&#8217;s still hope. For kicks lotjuh tried running this thing on windows, and it runs a bit better there, but they still have a lot of work to do. Let&#8217;s hope they consider dropping the 32 bitch port and switching to 64 before they&#8217;re even obsolete in windows land.</p>
<p>That&#8217;s all the emulators I can think of at the moment&#8230; or at least, that I want to talk about, this page is getting long enough. Yeah, there&#8217;s plenty more, like <a title="MAME | Multiple Arcade Machine Emulator" href="http://mamedev.org/" target="_self">mame</a>,  <a title="CCS64 - A Commodore 64 Emulator" href="http://www.ccs64.com/" target="_self">ccs64</a>, <a title="A multiplatform atari 2600 VCS emulator" href="http://stella.sourceforge.net/" target="_self">stella</a> and whatnot, but you can handle google yourself if you want to play those things.</p>
<p>Oh yeah, one more important thing: <strong><span style="color: #ffcc00;">Gamepads</span></strong><br />
If you want to play these console games, you want&#8230; I&#8217;d almost say -<strong>need</strong>- a gamepad. Final Fantasy and Zelda can be played with the keyboard just fine, but you&#8217;ll be crying me plenty of rivers if you attempt to complete Mega Man or Double Dragon with the keyboard. A little while ago I got myself a <a title="Logitech Rumblepad 2" href="http://www.logitech.com/index.cfm/gaming/pc_gaming/gamepads/devices/264&amp;cl=US,EN" target="_self">Logitech Rumblepad 2</a> which I&#8217;m quite happy with. Yeah, it&#8217;s not a rectangular box that&#8217;ll give you hernia and makes your skin come off after playing a few hours of mario like in the old days, so you&#8217;ll have to miss out on that nostalgia&#8230;.</p>
<p><a href="http://notes.benv.junerules.com/wp-content/uploads/2009/07/NES_controller.jpg"><img class="alignnone size-full wp-image-98" title="NES_controller" src="http://notes.benv.junerules.com/wp-content/uploads/2009/07/NES_controller.jpg" alt="NES_controller" width="400" height="400" /></a></p>
<p>but like I say, I&#8217;m quite happy with it. It even vibrates if you push the right button <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> . Needless to say it works under linux&#8230;. although you will want to enable the kernel option for it. My kernel config has <span style="color: #00ff00;">CONFIG_LOGITECH_FF=y, CONFIG_LOGIRUMBLEPAD2_FF=y, and CONFIG_HID_LOGITECH=y</span>, and so far all decent emulators play with it without much hassle.</p>
<p>So if you&#8217;re bored, go get one of these emulators, a gamepad, and give it a shot! <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://notes.benv.junerules.com/all/software/emulators/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
