2012 x-mario


Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide 2012 x-mario

  1. 1. x-mariothe gaming distribution
  2. 2. Goals of x-mario1. Have a smooth and fun experience● simple launcher interface with quick access to different categories and games● as many games as possible out of the box● offer localized browser games to feature contributors in the region● offer games to play on less powerful PCs● include games for entertainment and education2. Create a simple and beautiful distro● make a beautiful distribution with good internationalization support● make distro for CD, DVD and USB as well as for installations3. Contribute back● learn more about Linux, how to build a distribution and contribute to projects in community
  3. 3. Other games distributionsWhat are other distros? Other game distributions with different goalsand implementations are: ● ● supergamer ● Fedora Games Spin
  4. 4. Why the name x-mariox - stands for all contributors to projects and games used in thedistributionx - also stands for x gamersmario - is a symbol name associated by many people around the worldwith gaming and fun
  5. 5. team behind x-mario● Thanh Nguyen● Hon Nguyen● Hong Phuc Dang● Mario Behling● Julien Lavergne● Rafael Laguna (神癒礁湖)
  6. 6. x-mario test base system● first test version is based on Ubuntu 11.10● includes GNOME components like gtk+● only games installed● no application (office, chat, mail, ...).● does not include Unity● launcher application based on lxlauncher
  7. 7. Why Ubuntu as a base● Ubuntu is a popular distro with a lot of documentation● Debian/Ubuntu offer many tools for custom distributions● Some Ubuntu developers, e.g. Julien Lavergne from lubuntu helped us to get startedThe developers are open to use other distributions as a base for x-mario, if more suitable.
  8. 8. What tools do we use● Debootstrap: a base tool for debian based distributions● Ubiquity: to install system on live cd to hard drive● DPKG dev: tool that helps to install other packages● Genisoimage: create iso file via command line● Squashfs-tools: tool to create and append to squashfs filesystems● UbuntuDevTools: useful tools for bug filing, packaging preparation, package analysis, etc.● p7zip: help compress and extract file
  9. 9. Building a Distro● Remastersys - clone your current Debian/Ubuntu install and make it into a live CD● SUSE studio - build your distro with this tool from the OpenSuse community● Revisor is a tool for Fedora● or write a build script to create a distro from scratch
  10. 10. Building x-mario● in x-mario we use a build script to create the distribution from scratch● in 3 steps you can create the distro
  11. 11. Source code build script x-mario
  12. 12. Building x-mario: Step 1chroot+packagesStep 1: Create a chroot and install our packages. Thebase packages that must be installed are:+ ubuntu-standard: depends on all of the packages in the Ubuntustandard system+ casper - hook for initramfs-tools to boot live systems+ lupin-casper - provides hooks to find an ISO image on a hard diskand to read a preseed file from a hard disk, which are used in the earlypart of this process+ laptop-detect - attempts to determine whether it is being run on alaptop or a desktop and appraises its caller of this.+ os-prober - spinoff of debian-installer+ linux-generic - contains the Linux kernel image
  13. 13. Building x-mario: Step 1chroot+packages+ GNOME Network Manager+ - the X Window System+ dbus-x11 (D-BUS is a message bus system, a simple way forapplications to talk to one another).+ openbox (Window manager for X Window system).+ Desktop Environment (Interface packages): We have differentchoices e.g.: GNOME, KDE, XFCE, or LXDE+ After choosing the interface we also need to install dependingpackages e.g. session manager, display manager, artwork, icons, ....
  14. 14. Building x-mario: compress chrootStep 2: Compress the chroot system into a file. This step will compressthe system and information about it to filesystem.squashfs
  15. 15. Building x-mario: disk imageStep 3: Create and configure the disk image which includes:● the bootloader (isolinux)● the kernel● the compressed file-system image● all other required components
  16. 16. Building x-mario: Install and TestFinally: Create USB stick or Live CD and test it.
  17. 17. x-marioLive Demo
  18. 18. Obstacles to overcome● If there is a package missing (or a dependent package) in the first step, the build will not work. It takes time to get it right.● We want add more games to distro but size of a CD has limit. We will create a repository and put many games onto this. Users can then easily install new games. Alternatively, we plan to offer a DVD version for x-mario.● Some cool games require Qt and additional libraries contradicting with the goal of a fast system● Support different hardware. We need to install some base driver hardware. This is always tricky.
  19. 19. x-mario outlook● expected release date of first version - August 2012● future offer repository game "shop"● best possible hardware support● contribute to projects x-mario uses● improve launcher experience
  20. 20. Thank you! www.x-mario.comHong Phuc Dang hp@fossasia.orgHon Nguyen