{"id":1282,"date":"2013-02-14T19:13:52","date_gmt":"2013-02-14T18:13:52","guid":{"rendered":"http:\/\/www.puppygames.net\/blog\/?p=1282"},"modified":"2013-02-14T19:13:52","modified_gmt":"2013-02-14T18:13:52","slug":"steam-linux-love-in-launch","status":"publish","type":"post","link":"https:\/\/www.puppygames.net\/blog\/?p=1282","title":{"rendered":"Steam Linux Love-In Launch"},"content":{"rendered":"<p><a href=\"https:\/\/store.steampowered.com\/app\/219200\/\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.puppygames.net\/blog\/wp-content\/uploads\/RotT-penguin.jpg\" alt=\"\" title=\"steam 4 linux\" width=\"640\" height=\"890\" style=\"margin:10px 0 10px\" \/><\/a><\/p>\n<p>It&#8217;s St. Valentine&#8217;s day! Apart from delivering coffee and jam on toast to Mrs. Prince, I&#8217;ve been beavering away losing hair and sanity making our games work nicely on Linux through Steam. I now have about two handfuls less hair, but also for your perusal, delectation and delight, <strong>all of our Steam games working on Linux!<\/strong><\/p>\n<p>It also happens to be the case that Valve are celebrating the official release of Steam for Linux starting today, and so we&#8217;re doing a <strong>special sale of all our games on Steam at 50% off!<\/strong> Now there&#8217;s a reasonable chance you&#8217;ve already bought one of our games if you&#8217;re reading this blog, so if you fancy spreading the love a bit, why not buy the gift of a game for that <em>special friend<\/em> that you forgot to buy flowers for this morning? A copy of Titan Attacks for the object of your affections will surely go a long way to getting you past first base. You might even find out what first base is! I never got to find out myself, I just looked at Mrs. Prince funnily one day and bam! Pregnant. But that&#8217;s another story.<\/p>\n<p>Don&#8217;t forget that all our games are also &#8220;Buy Once, Play Anywhere&#8221; &#8211; your games will run on any operating system even if you buy the Linux version. And all you existing Puppygames customers &#8211; you can still go <a href=\"https:\/\/www.puppygames.net\/steam\">here<\/a> to get your <strong>FREE<\/strong> Steam keys (note that you have to register your game first though).<br \/>\n<!--more--><br \/>\n<strong>Java On Linux<\/strong><\/p>\n<p>For the technically inclined, you might be interested to know how our Java stuff works on Linux. Well, the Steam versions are actually fractionally less interesting in this regard, as they&#8217;re currently 32-bit only, but if you grab one of the downloads from Puppygames you can see how it works. We&#8217;ve got a hybrid 32\/64 bit OpenJDK 7 server JVM. Both the 32 and 64 bit binaries are included in the same JVM, and I&#8217;ve hacked out the common part of the ginormous rt.jar and separated the two architecture specific parts into rt32.jar and rt64.jar (the arch. specific parts largely deal with integration with X). The appropriate rtxx.jar is prepended to the normal rt.jar classpath using the -Xbootclasspath\/P option (see the shell script that executes the game).<\/p>\n<p>One of the best bits about using Java on Linux is that the OpenJDK people have worked out all the compatibility problems, dependencies, etc. with Linux, which means that I am literally writing once and running everywhere, just like was almost hinted at by Sun back in the day. Obviously LWJGL has a big hand in the cross-platform aspect as well, providing trivial handling of graphics, audio and input handling.<\/p>\n<p><strong>Steampuppy<\/strong><\/p>\n<p>We are the custodians of the Steampuppy library, which is our Java interface to the Steamworks APIs. Steampuppy is a very straightforward way to do all the fancy things in Steam such as leaderboards, achievements, DLC, DRM, or whatever. This release sees me lose my g++ virginity &#8211; I&#8217;ve actually gone and built a libsteampuppy.so library, which cost me only one handful of hair. I actually did it using the Eclipse C++ IDE, so I&#8217;m not quite as manly and bearded as a proper Linux beard. This one&#8217;s just 32 bit at the moment but I&#8217;ll do a 64 bit one when Steam gets a bit more 64 bit friendly.<\/p>\n<p>It turns out that Java + LWJGL is a really awesome way of developing Steam games. If you&#8217;re developing a game in Java for Steam, you&#8217;ll be wanting to use Steampuppy too. Drop us a line.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s St. Valentine&#8217;s day! Apart from delivering coffee and jam on toast to Mrs. Prince, I&#8217;ve been beavering away losing hair and sanity making our games work nicely on Linux through Steam. I now have about two handfuls less hair, but also for your perusal, delectation and delight, all of our Steam games working on [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1282","post","type-post","status-publish","format-standard","hentry","category-news"],"_links":{"self":[{"href":"https:\/\/www.puppygames.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1282"}],"collection":[{"href":"https:\/\/www.puppygames.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.puppygames.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.puppygames.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.puppygames.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1282"}],"version-history":[{"count":21,"href":"https:\/\/www.puppygames.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1282\/revisions"}],"predecessor-version":[{"id":1305,"href":"https:\/\/www.puppygames.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1282\/revisions\/1305"}],"wp:attachment":[{"href":"https:\/\/www.puppygames.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1282"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.puppygames.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1282"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.puppygames.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}