<?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>414C485649 &#187; Project Snowman</title>
	<atom:link href="http://alhvi.balcarcel.com/blog/tag/project-snowman/feed/" rel="self" type="application/rss+xml" />
	<link>http://alhvi.balcarcel.com/blog</link>
	<description>Alhvi Balcarcel&#039;s blog</description>
	<lastBuildDate>Thu, 10 Nov 2011 18:39:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Project Snowman Installation Guide</title>
		<link>http://alhvi.balcarcel.com/blog/2010/06/project-snowman-installation-guide/</link>
		<comments>http://alhvi.balcarcel.com/blog/2010/06/project-snowman-installation-guide/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 00:15:01 +0000</pubDate>
		<dc:creator>Alhvi</dc:creator>
				<category><![CDATA[GameDev]]></category>
		<category><![CDATA[Project Darkstar]]></category>
		<category><![CDATA[Project Snowman]]></category>
		<category><![CDATA[RedDwarf Server]]></category>

		<guid isPermaLink="false">http://alhvi.balcarcel.com/blog/?p=64</guid>
		<description><![CDATA[Today I was trying to install Project Snowman. I downloaded the distribution package, followed the instructions in Snowman&#8217;s wiki and got this error: [java] SEVERE: DataService initialization failed [java] java.lang.UnsatisfiedLinkError: no libdb_java45 in java.library.path After founding the library and pasting it in the right folder&#8230; another error&#8230; [java] SEVERE: DataService initialization failed [java] com.sun.sgs.impl.service.data.store.DataStoreException: DataStore [...]]]></description>
			<content:encoded><![CDATA[<p>Today I was trying to install <a title="Project Snowman" href="https://project-snowman.dev.java.net/">Project Snowman.</a> I downloaded the distribution package, followed the instructions in <a href="http://wiki.java.net/bin/view/Games/ProjectSnowman">Snowman&#8217;s wiki </a>and got this error:<br />
<code><br />
[java] SEVERE: DataService initialization failed<br />
[java] java.lang.UnsatisfiedLinkError: no libdb_java45 in java.library.path</code></p>
<p>After founding the library and pasting it in the right folder&#8230; another error&#8230;</p>
<p><code>[java] SEVERE: DataService initialization failed<br />
[java] com.sun.sgs.impl.service.data.store.DataStoreException: DataStore initialization failed: Unexpected database exception: com.sleepycat.db.DatabaseException: Bad address: Bad address</code></p>
<p>So I looked up google,  and found an installation guide for snowman in a <a href="http://webcache.googleusercontent.com/search?q=cache:ppbB9PNlph8J:timadorus.org/index.php%3Foption%3Dcom_content%26view%3Dcategory%26layout%3Dblog%26id%3D2%26Itemid%3D2+snowman+libdb_java45">cached page</a> from <a href="http://timadorus.org/">www.timadorus.org</a>.  I&#8217;m afraid the cached page could be lost so I&#8217;m copying and pasting the guide here. If you know who can be the author please post a comment so I can give him or her credit.</p>
<p>The guide says it&#8217;s for Windows XP.  I tried in Windows 7 32 bits and it worked perfectly.<br />
Update 20100913:  Today I tried in Windows 7 64 bit and it gives me the following error:<br />
<code><br />
[java] SEVERE: DataStore initialization failed<br />
[java] java.lang.UnsatisfiedLinkError: C:\Users\Alhvi\Desktop\snowman-dist-<br />
0.1\snowman-dist\natives\bdb\win32-x86\libdb_java45.dll: Can't load IA 32-bit .d<br />
ll on a AMD 64-bit platform<br />
</code></p>
<p>Anyway&#8230; for the rest of the people who uses a 32 bit Windows Version, or another OS   here is the guide:</p>
<h2>Installation Guide for Snowman version 0.1</h2>
<h4>The game:</h4>
<p>Download link: <a title="Project Snowman" href="https://project-snowman.dev.java.net/">https://project‐snowman.dev.java.net/</a></p>
<h4>Requirements:</h4>
<ul>
<li>Apache Ant (Download link: <a title="Ant" href="http://ant.apache.org/bindownload.cgi">http://ant.apache.org/bindownload.cgi</a>)</li>
<li>Java SDK 6</li>
<li>Current OpenGL driver for used video card</li>
</ul>
<h4>Installation process:</h4>
<h6>Step 1:</h6>
<p>Unzip the file snowman-dist.01.zip</p>
<h6>Step 2:</h6>
<p>After unzipping the file two new folders will be created:<br />
/natives/<br />
/snowman-dist/</p>
<p>To get the client running on Windows XP you have to copy libdb_java45.dll from<br />
Path:<strong> </strong>/natives/bdb/win32 –x86<br />
to the following folder:<br />
path: /snowman-dist/natives/bdb/win32  –x86/</p>
<p>The next step is to create a new folder named “win32 –x86”.<br />
Path: /snowman-dist/lwjgl-binaries/win32  –x86<br />
Now copy the file “lwjgl.dll” from win32 to your new created folder.<br />
Path: /snowman-dist/natives/lwjgl-binaries/win32</p>
<h6>*Step 3:</h6>
<p>Change dir to the folder snowman-dist<br />
Path:/snowman-dist/<br />
A file called build.xml<strong> </strong>should be found there</p>
<h6>Step 4:</h6>
<p>Open console and enter the following commands:<br />
ant run-single<br />
ant run-client</p>
<p>…and enjoy your snowball fight!!</p>
<h6>Step 5:</h6>
<p>If the game does not start please check the output for “Bad address” warnings like this:<br />
Notice the missing slashes!<br />
[java] WARNUNG: Database error message: Z:\xp-pro\Desktop\snowman-dist-0.1\<br />
snowman-dist\xp-proDesktopsnowman-dist-0.1snowman-dist  mpsnowman\dsdb:  Bad addr</p>
<p>If so open the build.xml file and look for these lines:<br />
&#8230;</p>
<p>&#8230;</p>
<p>com.sun.sgs.app.name=Snowman<br />
com.sun.sgs.app.root=${app.dir}<br />
com.sun.sgs.app.port=${server.port}<br />
com.sun.sgs.impl.service.transport.udp.port=1234<br />
com.sun.sgs.impl.service.data.store.db.environment.class=${bdb.env}</p>
<p>&#8230;</p>
<p>Replace “${app.dir}” with the snowman path.  *The line to change should be 168.<br />
Example:<br />
com.sun.sgs.app.root=c:\\snowman-dist\\tmp\\snowman</p>
<p>*Dont forget the double backslashes <img src='http://alhvi.balcarcel.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>*Run again:</p>
<p>ant run-single<br />
ant run-client<br />
Now the game should start without any problems.</p>
<h4>Further commands for the console:</h4>
<p>ant run-single:         starts a local server<br />
ant run-client:        starts a client<br />
ant run-server:        starts a server<br />
ant run-editor:        starts the editor</p>
<h4>Download Source Code:</h4>
<p>svn url : https://project-snowman.dev.java.net/svn/project-snowman/trunc</p>
<p>Name: guest<br />
Password: empty</p>
<h4>Comment by Alhvi:</h4>
<p>After following the guide everything works as it should. The only thing I didn&#8217;t knew is that you need to run two clients to be able to play.</p>
<p style="text-align: center;">
<p>Update 20100913:  Changed the format to make the guide a little bit more understandable.  Added some comments to the post (marked with *).  Happy programmers day!! <img src='http://alhvi.balcarcel.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<div id="attachment_65" class="wp-caption aligncenter" style="width: 310px"><a href="http://alhvi.balcarcel.com/blog/wp-content/uploads/2010/06/snowman.png"><img class="size-medium wp-image-65 " title="Project Snowman" src="http://alhvi.balcarcel.com/blog/wp-content/uploads/2010/06/snowman-300x235.png" alt="Project Snowman Client" width="300" height="235" /></a><p class="wp-caption-text">Project Snowman Client</p></div>
]]></content:encoded>
			<wfw:commentRss>http://alhvi.balcarcel.com/blog/2010/06/project-snowman-installation-guide/feed/langswitch_lang/en/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

