xuedi 的 blog
A BLUG Spammers BLOG

Archive for March, 2010

N900: partitioning

Thursday, March 11th, 2010

There are some good guides in the wiki, but they use sfdisk and you have to calculate the blocks yourself, what a pain, here is the way how to install fdisk on tn N900

cd /root
wget http://ftp.de.debian.org/debian/pool/main/u/util-linux/util-linux_2.13.1.1-1_armel.deb
dpkg-deb -x util-linux_2.13.1.1-1_armel.deb root
cp root/sbin/fdisk .
rm -r root/
rm util-linux_2.13.1.1-1_armel.deb

In general it from huge advantage if you have a MicroSD card, then you can copy your MyDocs and the /home stuff first and can delete both partitions, after reboot you are totally free to repartinion as you like, after that mount the new partitions, copy the backup back where they belong and reboot again. It worked well if you change the design, for ex. have the vfat on the secon part, but some 3rd party< programms might not like it, so better keep it: part.1=cfat (MyDocs), part.2=linux (Home), part.3=swap. my actual partition table looks like this:

1. 3G vfat
2. 27G ext3
3. rest swap

N900, too much fun

Thursday, March 11th, 2010

Finally i got my N900 and the first think i tried to do is to swap the 27G (vfat) with the 2G (ext3) partitions, went good so far, but then i messed up and reboot by accident (wrong terminal, wanted to shutdown another machine) and my N900 starts crashing on the initial start (inf. loop), now i need not even flash the normal firmware, but do a full overwrite and reset the whole internal memory card, how embarrassing …

I think this time i got for no vfat and sawp at all, just create a single ext3 over the 32G (minus the 256) and do the sawp as well as the vfat (needed for the camera) in the file system via loop device. So then i will be able to resize them dynamicly in care i need more space for photos or bigger swap if i like to run apache ^^

Filesystem: 32G ext3
- 1,5G /swap
- 1,5G /vfat

I am btw extremely surprised by the speed of the 900 compare to the 800 series, the only sad point is a little offset in the map software.

xuedi

working again on my game

Tuesday, March 9th, 2010

History

long time i did not do anything on my game, i had the idea already in 1999. I had always time where i developed a lot, then ot boring and stoped, after a while i found a new better fitting library and i rewrote the whole shit, that happen about 11 time … so almost a rewrite a year, now i had a chat with a fellow BLUG’er and got some new inspiration. This time i will do it the real way, write a road-map first, and do the easy stuff first and then continue, so i wont stuck in reinventing a HTML kind of parsing and browsing system and give up at the end.

Idea

The idea itself did not change for a long time, its a MMORPG where the character is a spaceship witch is highly customizable it will be cross platform and the inicial server will deal with 1024 clients. It will be a one universe game, no instances, some basic components are:

  • allegro 4.9 (alias 5 based)
  • 2D game more comic than realistic look
  • using raknet network library (interesting fair license)
  • own window system
  • realtime action
  • influence by eve online
  • free and open-source not sure what license yet
  • C++ based (server & client)
  • 3D client possible later
  • open network protocol for 3rd party clients

Roadmap

This is just an pre road map, more an idea collection first step first i will do the basic server client communication with some chat system, then the serves object handling and then the clients object display, following that the objects attributes as well and the client interaction with objects over the server, then its already 2020 and i will think about the rest ;-)