<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://maemo.octonezd.me/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=85.183.48.167</id>
	<title>Maemo Wiki Mirror - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://maemo.octonezd.me/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=85.183.48.167"/>
	<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php/Special:Contributions/85.183.48.167"/>
	<updated>2026-04-22T08:35:47Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Miniature&amp;diff=26139</id>
		<title>Miniature</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Miniature&amp;diff=26139"/>
		<updated>2010-02-25T12:10:26Z</updated>

		<summary type="html">&lt;p&gt;85.183.48.167: /* Contributors */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Miniature]]&lt;br /&gt;
[[Category:Games]]&lt;br /&gt;
You love chess. You love Maemo and its devices. You believe they fit so well... yet you haven&#039;t found a convincing implementation of a chess game for Maemo. &#039;&#039;&#039;Miniature&#039;&#039;&#039; to the rescue!&lt;br /&gt;
&lt;br /&gt;
== The concept ==&lt;br /&gt;
Miniature is a chess board that is always with you, ready to let you play and learn wherever you go.&lt;br /&gt;
&lt;br /&gt;
* The main use case is playing online against other players at http://www.freechess.org/ (FICS)&lt;br /&gt;
* Now imagine that you can also chat with the other player.&lt;br /&gt;
* Learning is important: watch games live, review stored games and also process offline the lessons offered at FICS.&lt;br /&gt;
* Play P2P games against other players next to you or in your Contacts.&lt;br /&gt;
* And not only regular chess. See also Antichess, Chess960...&lt;br /&gt;
&lt;br /&gt;
Miniature is based on Qt, targets Maemo as primary platform and plans to have ports for Symbian, Windows Mobile and desktop OSs (Linux, Windows, Mac).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== News ==&lt;br /&gt;
* 2009-12-21: Miniature learns to use animations (0.1.5-1). Miniature is now using exclusive features of Qt 4.6.&lt;br /&gt;
* 2009-12-20: Miniature got a [https://bugs.maemo.org/buglist.cgi?product=Miniature bug tracker component], thanks to André! &lt;br /&gt;
* 2009-11-28: [https://garage.maemo.org/pipermail/chess-developer/2009-November/000079.html First bug report].  :)&lt;br /&gt;
* 2009-11-27: Miniature 0.1.2-1 released for [http://maemo.org/packages/package_instance/view/fremantle_extras-devel_free_armel/miniature/0.1.2-1 Maemo] and [https://launchpad.net/~michael-hasselmann/+archive/miniature/+sourcepub/882639/+listing-archive-extra Ubuntu] with first Chess rules applied.&lt;br /&gt;
* 2009-11-17: [https://launchpad.net/~michael-hasselmann/+archive/miniature/+packages Miniature available for your desktop PC]&lt;br /&gt;
* 2009-11-16: A first &amp;amp; dummy [http://maemo.org/packages/view/miniature/ .deb package of Miniature] is available in Maemo 5 extras-devel.&lt;br /&gt;
* 2009-11-11: &amp;quot;(10:52:48 PM) mikhas: well, it&#039;s confirmed: Miniature runs on Qt 4.6, on the N900&amp;quot; &lt;br /&gt;
* 2009-11-10: Talk thread started: [http://talk.maemo.org/showthread.php?p=371747 Miniature development: Play chess games online]&lt;br /&gt;
* 2009-11-09: [http://taschenorakel.de/michael/2009/11/09/miniature-it-moves/ Miniature - it moves!], first blog post from Michael Hasselmann.&lt;br /&gt;
* 2009-11-08: [http://talk.maemo.org/showpost.php?p=368538&amp;amp;postcount=117 First running example] mimicking the &amp;quot;first realistic mockup&amp;quot;.&lt;br /&gt;
* 2009-11-06: Code repository created: http://gitorious.org/miniature - source code exists since the beginning.&lt;br /&gt;
* 2009-11-06: [http://wiki.maemo.org/images/2/26/Miniature-playgame-portrait.png First realistic mockup for playing basic online chess] (portrait).&lt;br /&gt;
* 2009-10-31: First idea proposed in a Talk thread: [http://talk.maemo.org/showthread.php?t=33764 Contributors needed: the killer free chess game for Maemo]&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
Miniature is still not ready for end users. It doesn&#039;t play offline games and doesn&#039;t even know how to go online. If you still want obtain an unstable release then please refer to the [[Miniature/Development#Download|development section]].&lt;br /&gt;
&lt;br /&gt;
[http://maemo.org/packages/package_instance/view/fremantle_extras-devel_free_armel/miniature/0.1.3-1 Miniature 0.1.3-1] is available in Maemo 5 [[Extras-devel]], a repository recommended only to developers. End users will do good staying far from it, but there is a [https://launchpad.net/~michael-hasselmann/+archive/miniature launchpad PPA] with irregularly updated Ubuntu 9.04 packages.&lt;br /&gt;
&lt;br /&gt;
New features in the last version:&lt;br /&gt;
* Candidate UI to move pieces: one click to select piece, second click to select destination square and click to an external button to confirm the move. Pieces and squares can be changed at will before clicking the confirmation button.&lt;br /&gt;
* Checks are detected now.&lt;br /&gt;
* Backend fixes improving the responsiveness of the moves.&lt;br /&gt;
&lt;br /&gt;
Features implemented in previous releases:&lt;br /&gt;
* Boot a screen in portrait mode.&lt;br /&gt;
* Display a nice-looking board.&lt;br /&gt;
* Set the pieces in starting position.&lt;br /&gt;
* Enforce basic chess rules except:&lt;br /&gt;
** Checkmate&lt;br /&gt;
** Stalemate&lt;br /&gt;
** Castling&lt;br /&gt;
** En-passant&lt;br /&gt;
** Pawn promotion (works in the desktop version)&lt;br /&gt;
&lt;br /&gt;
Check [[Miniature/Development]] to follow the latest status and to get involved.&lt;br /&gt;
&lt;br /&gt;
== Screenshots ==&lt;br /&gt;
This is how the real application will look like in v0.1.x-x.&lt;br /&gt;
&amp;lt;gallery widths=200px&amp;gt;&lt;br /&gt;
Image:Miniature-between_the_turns.png |&amp;lt;div style=&amp;quot;padding:0em .5em;&amp;quot;&amp;gt;Cool little animation to show that pieces turn around between the moves&amp;lt;/div&amp;gt;&lt;br /&gt;
Image:Miniature-Down_under.png |&amp;lt;div style=&amp;quot;padding:0em .5em;&amp;quot;&amp;gt;Situation after white&#039;s move: The player with the black pieces also is able to see it&#039;s pieces from his/her point of view&amp;lt;/div&amp;gt;&lt;br /&gt;
Image:Miniature-20091219-1.png |&amp;lt;div style=&amp;quot;padding:0em .5em;&amp;quot;&amp;gt;Starting position for human vs human, face to face.&amp;lt;/div&amp;gt;&lt;br /&gt;
Image:Screenshot-20091219-2.png |&amp;lt;div style=&amp;quot;padding:0em .5em;&amp;quot;&amp;gt;Selecting one piece to move.&amp;lt;/div&amp;gt;&lt;br /&gt;
Image:Miniature-20091219-3.png |&amp;lt;div style=&amp;quot;padding:0em .5em;&amp;quot;&amp;gt;Selecting destination square.&amp;lt;/div&amp;gt;&lt;br /&gt;
Image:Miniature_rooks_and_knights.jpg|&amp;lt;div style=&amp;quot;padding:0em .5em;&amp;quot;&amp;gt;Miniature learns chess in korius&#039; development branch. Here rooks and knights know how to behave with each other.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mockups ===&lt;br /&gt;
How things should look like in the future. (We are looking for real designers!)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery widths=200px&amp;gt;&lt;br /&gt;
Image:Miniature-playgame-portrait-start.png|&amp;lt;div style=&amp;quot;padding:0em .5em;&amp;quot;&amp;gt;First boot.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Contact us ==&lt;br /&gt;
Questions, feedback and contributions are welcome!&lt;br /&gt;
&lt;br /&gt;
* Talk discussion thread: [http://talk.maemo.org/showthread.php?t=34242 Miniature development: Play chess games online].&lt;br /&gt;
* With some luck you will find us online at #miniature in irc.freenode.net.&lt;br /&gt;
&lt;br /&gt;
== Development ==&lt;br /&gt;
See [[/Development]] for more information on developing Miniature.&lt;br /&gt;
&lt;br /&gt;
There are some [[/Policies | policies]] that we follow in the project.&lt;br /&gt;
&lt;br /&gt;
== Contributors ==&lt;br /&gt;
* [http://maemo.org/profile/view/mikhas Michael Hasselmann]: lead developer.&lt;br /&gt;
* [http://maemo.org/profile/view/kore Dennis Stötzel]: chess logics.&lt;br /&gt;
* [http://maemo.org/profile/view/hasselmm Mathias Hasselmann]: veteran programmer.&lt;br /&gt;
* [http://gitorious.org/~Malcolm Dariusz Mikulski]: P2P telepathy integration.&lt;br /&gt;
* [http://maemo.org/profile/view/qgil Quim Gil]: documentation.&lt;br /&gt;
* [http://maemo.org/profile/view/kittykat Ekaterina Gerasimova]: Game icon.&lt;br /&gt;
&lt;br /&gt;
Special thanks to [http://en.wikipedia.org/wiki/User:Cburnett Colin M.L. Burnett] for his free piece set used by Wikipedia.&lt;/div&gt;</summary>
		<author><name>85.183.48.167</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Miniature/Development/Instructions&amp;diff=26434</id>
		<title>Miniature/Development/Instructions</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Miniature/Development/Instructions&amp;diff=26434"/>
		<updated>2010-02-24T15:53:24Z</updated>

		<summary type="html">&lt;p&gt;85.183.48.167: /* Scratchbox installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Miniature|Development]]&lt;br /&gt;
&lt;br /&gt;
== Two choices ==&lt;br /&gt;
A) Be hardcore and install sbox semi-manual using the CLI installer script,&lt;br /&gt;
B) Be clever and [http://www.forum.nokia.com/Tools_Docs_and_Code/Tools/Platforms/Maemo/ download the GUI installer for the Maemo 5 SDK] from Forum Nokia!&lt;br /&gt;
&lt;br /&gt;
=== You choose A ===&lt;br /&gt;
Continue with &amp;quot;Getting started - plot summary&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== You choose B ===&lt;br /&gt;
Choice B will reward you with a fully working sbox and two targets (X86, ARMEL) so you can directly jump installing the Qt libs in their sbox environment.&lt;br /&gt;
&lt;br /&gt;
Inside sbox:&lt;br /&gt;
  [sbox-FREMANTLE_X86: ~] &amp;gt; fakeroot apt-get install libqt4-maemo5-dev&lt;br /&gt;
&lt;br /&gt;
Repeat for the ARMEL target:&lt;br /&gt;
  [sbox-FREMANTLE_X86: ~] sb-conf select FREMANTLE_ARMEL&lt;br /&gt;
  [sbox-FREMANTLE_ARMEL: ~] &amp;gt; fakeroot apt-get install libqt4-maemo5-dev&lt;br /&gt;
&lt;br /&gt;
Continue with &amp;quot;Compiling Miniature inside Scratchbox&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Getting started - plot summary ==&lt;br /&gt;
WARNING: This list does not necessarily explain what every step does, nor will it help you in case you run into problems! Also, I will assume your host machine has a i386 architecture (I use Jaunty, 64 bit installation instructions are not covered here).&lt;br /&gt;
&lt;br /&gt;
=== Scratchbox installation ===&lt;br /&gt;
[[Documentation/Maemo5_Final_Installation|Read the director&#039;s cut]] if you run into problems, it has become very accurate! Again, you have been warned. This stuff is potentially dangerous.&lt;br /&gt;
&lt;br /&gt;
On the host machine (= your computer, the other side is inside scratchbox, your cross compiling environment to create binaries/packages for the N900):&lt;br /&gt;
  $ sudo vi /etc/sysctl.conf&lt;br /&gt;
Copy and paste those three lines to the top:&lt;br /&gt;
  #maemo&lt;br /&gt;
  vm.vdso_enabled = 0&lt;br /&gt;
  vm.mmap_min_addr = 4096&lt;br /&gt;
&lt;br /&gt;
(NB: Its &amp;quot;abi.vsyscall32=0&amp;quot; for Linux kernels newer than 2.6.25)&lt;br /&gt;
&lt;br /&gt;
Save with &amp;lt;ESC&amp;gt; :wq (or use nano as an editor). Then reload sysctl.conf with:&lt;br /&gt;
  sudo sysctl -p&lt;br /&gt;
&lt;br /&gt;
Start with the Maemo SDK installation:&lt;br /&gt;
  $ sudo apt-get install xserver-xephyr&lt;br /&gt;
  $ wget http://repository.maemo.org/stable/5.0/maemo-scratchbox-install_5.0.sh&lt;br /&gt;
  $ wget http://repository.maemo.org/stable/5.0/maemo-sdk-install_5.0.sh&lt;br /&gt;
  $ chmod a+x ./maemo-scratchbox-install_5.0.sh&lt;br /&gt;
  $ sudo ./maemo-scratchbox-install_5.0.sh -u USER&lt;br /&gt;
  $ newgrp sbox&lt;br /&gt;
  $ chmod a+x ./maemo-sdk-install_5.0.sh&lt;br /&gt;
  $ ./maemo-sdk-install_5.0.sh&lt;br /&gt;
  $ /scratchbox/login&lt;br /&gt;
&lt;br /&gt;
Install Qt 4.6 [http://wiki.maemo.org/Qt here]&lt;br /&gt;
&lt;br /&gt;
[http://tablets-dev.nokia.com/eula/index.php Get tokenized Maemo/Nokia repo here], enter token code and keep page open. You&#039;ll soon need the repo link.&lt;br /&gt;
&lt;br /&gt;
Inside scratchbox:&lt;br /&gt;
  [sbox-FREMANTLE_X86: ~] &amp;gt; fakeroot echo &amp;quot;&amp;lt;repo link from token page&amp;gt;&amp;quot; &amp;gt;&amp;gt; /etc/apt/sources.list&lt;br /&gt;
  [sbox-FREMANTLE_X86: ~] &amp;gt; fakeroot apt-get update #simply repeat if it aborts in-between, ignore bad GPG&lt;br /&gt;
  [sbox-FREMANTLE_X86: ~] &amp;gt; fakeroot apt-get install nokia-binaries #repeat if interrupted/incomplete&lt;br /&gt;
  [sbox-FREMANTLE_X86: ~] &amp;gt; fakeroot apt-get install libqt4-maemo5-dev&lt;br /&gt;
  [sbox-FREMANTLE_X86: ~] &amp;gt; fakeroot apt-get install maemo-debug-scripts #enables native-gdb and other neat stuff&lt;br /&gt;
&lt;br /&gt;
Now do the same for the ARMEL target (= same architecture as device):&lt;br /&gt;
  [sbox-FREMANTLE_X86: ~] sb-conf select FREMANTLE_ARMEL&lt;br /&gt;
  [sbox-FREMANTLE_ARMEL: ~] &amp;gt; fakeroot echo &amp;quot;&amp;lt;repo link from token page&amp;gt;&amp;quot; &amp;gt;&amp;gt; /etc/apt/sources.list&lt;br /&gt;
  [sbox-FREMANTLE_ARMEL: ~] &amp;gt; fakeroot apt-get update #simply repeat if it aborts in-between, ignore bad GPG&lt;br /&gt;
  [sbox-FREMANTLE_ARMEL: ~] &amp;gt; fakeroot apt-get install nokia-binaries #repeat if interrupted/incomplete&lt;br /&gt;
  [sbox-FREMANTLE_ARMEL: ~] &amp;gt; fakeroot apt-get install libqt4-maemo5-dev&lt;br /&gt;
&lt;br /&gt;
=== Compiling Miniature inside Scratchbox ===&lt;br /&gt;
Back to the FREMANTLE_X86 target, so you can run Miniature from inside scratchbox. Use your *private* gitorious url instead of the public clone url if you want to push changes, too.&lt;br /&gt;
  [sbox-FREMANTLE_ARMEL: ~] sb-conf select FREMANTLE_X86&lt;br /&gt;
  [sbox-FREMANTLE_X86: ~] mkdir source&lt;br /&gt;
  [sbox-FREMANTLE_X86: ~] cd source&lt;br /&gt;
  [sbox-FREMANTLE_X86: ~] git clone git://gitorious.org/miniature/miniature.git&lt;br /&gt;
  [sbox-FREMANTLE_X86: ~] cd miniature&lt;br /&gt;
  [sbox-FREMANTLE_X86: ~] ./autogen.sh QT_PATH=/opt/qt4-maemo5/bin &amp;amp;&amp;amp; make&lt;br /&gt;
&lt;br /&gt;
On your host machine (i.e., outside of scratchbox, do not close your sb session though):&lt;br /&gt;
  $ Xephyr -ac -host-cursor -br -screen 480x800x16 :2&lt;br /&gt;
&lt;br /&gt;
Back to scratchbox (keep the Xephyr server running, of course):&lt;br /&gt;
  [sbox-FREMANTLE_X86: ~] export DISPLAY=:2&lt;br /&gt;
  [sbox-FREMANTLE_X86: ~] af-sb-init.sh start&lt;br /&gt;
Lots of lines of useless information flow by, give it 10 seconds and test with &amp;lt;ENTER&amp;gt; whether you can continue typing. Then start miniature:&lt;br /&gt;
  [sbox-FREMANTLE_X86: ~] run-standalone.sh src/miniature&lt;br /&gt;
&lt;br /&gt;
On your host machine, go to your Xephyr server and enjoy Miniature.&lt;br /&gt;
&lt;br /&gt;
If you managed to do all this in under one hour consider yourself lucky - you saved yourself a alot of time!&lt;br /&gt;
&lt;br /&gt;
=== Compiling binaries for the N900 ===&lt;br /&gt;
This is of course the cool part, and it also shows why we want to keep autotools/autotroll as our build system (I am serious).&lt;br /&gt;
&lt;br /&gt;
Inside scratchbox:&lt;br /&gt;
  [sbox-FREMANTLE_X86: ~] sb-conf select FREMANTLE_ARMEL&lt;br /&gt;
  [sbox-FREMANTLE_ARMEL: ~] cd ~/source/miniature&lt;br /&gt;
  [sbox-FREMANTLE_ARMEL: ~] make distclean # dont worry if this fails&lt;br /&gt;
  [sbox-FREMANTLE_ARMEL: ~] ./autogen.sh QT_PATH=/opt/qt4-maemo5/bin &amp;amp;&amp;amp; make&lt;br /&gt;
&lt;br /&gt;
Copy the binary onto the device (even if totally unsecure: let&#039;s just assume opensshd is installed and running on your N900):&lt;br /&gt;
  [sbox-FREMANTLE_ARMEL: ~] scp src/miniature root@&amp;lt;IP_ADDRESS_OF_N900&amp;gt;/home/user/&lt;br /&gt;
I usually copy the binary using scp *from* the device. It allows me to remove the ssh server and to only keep the client. But there are many more ways to get the binary onto the device. The only important part is to move the binary away from the FAT partition (that is why we used /home/user above) - you cannot mark files as executable on VFAT.&lt;br /&gt;
&lt;br /&gt;
On the N900:&lt;br /&gt;
* Open a terminal&lt;br /&gt;
  $ cd ..&lt;br /&gt;
  $ ./miniature&lt;br /&gt;
&lt;br /&gt;
Enjoy!&lt;br /&gt;
&lt;br /&gt;
=== Closing scratchbox ===&lt;br /&gt;
Do *not* ignore this section, sb uses dark symlink magic which can mess up your system! This is extra advice to cleanly shutdown scratchbox after you&#039;re done.&lt;br /&gt;
&lt;br /&gt;
Inside scratchbox:&lt;br /&gt;
  [sbox-FREMANTLE_X86: ~] sb-menu&lt;br /&gt;
Go to &amp;quot;Killall&amp;quot;, confirm with enter twice. Only now close your session&lt;br /&gt;
&lt;br /&gt;
On your host:&lt;br /&gt;
  $ sudo /etc/init.d/scratchbox-core stop&lt;br /&gt;
&lt;br /&gt;
If you get an error message be very careful with what you delete and what data you move around. Scratchbox might still have active symlink pointing to folders on your *host machine*. Your best solution, if you don&#039;t know what else to do, is a clean restart of your host machine!&lt;/div&gt;</summary>
		<author><name>85.183.48.167</name></author>
	</entry>
</feed>