Notices


Reply
Thread Tools
Posts: 838 | Thanked: 3,384 times | Joined on Mar 2009
#1
Lincity-NG on extras-devel. It contains game+data (40MB downloading, optified)

LinCity-NG is a city simulation game. In the game, you are required to build and maintain a city. You can win the game either by building a sustainable economy or by evacuating all citizens with spaceships.

http://lincity-ng.berlios.de/

When game starts, it loads almost 10 seconds with black screen, just wait. Generating statistics take also time.

Maemo Specific changes:
*Try (even) harder to use 800x480 resolution: http://developer.berlios.de/bugs/?fu...&group_id=2929
*Do not save config on exit (crashes): http://developer.berlios.de/bugs/?fu...&group_id=2929
*built without opengl (SDL only): http://developer.berlios.de/bugs/?fu...&group_id=2929
*StatisticWindow shrinked: http://developer.berlios.de/bugs/?fu...&group_id=2929

Git repository for maemo specific changes:
https://gitorious.org/lincity-n900/lincity-n900


Gameplay video: http://youtu.be/MOlwcbGu7u0
(It is not so unresponsible as it looks like, I had difficulties recording and playing at a same time.)


There might be some keyboard shortcuts not accessible, keep reporting them.

[EDIT]
Added screenshots.
Attached Images
   

Last edited by AapoRantalainen; 2012-04-18 at 08:20. Reason: Screenshots added, git address
 

The Following 33 Users Say Thank You to AapoRantalainen For This Useful Post:
Posts: 41 | Thanked: 7 times | Joined on Nov 2010 @ r00t
#2
Hi AapoRantalainen , thx for your efforts. For me , the game loads for 5 secs and crash ...
 

The Following 2 Users Say Thank You to 4n77r4xX For This Useful Post:
Posts: 838 | Thanked: 3,384 times | Joined on Mar 2009
#3
New version pushed. Should start now.
 

The Following 3 Users Say Thank You to AapoRantalainen For This Useful Post:
Posts: 84 | Thanked: 45 times | Joined on Jan 2012 @ Damascus Syria
#4
Is there any screenshots for the game please?
__________________
استغفر الله العظيم الذي لا إله الا هو الحي القيوم و أتوب اليه
 

The Following User Says Thank You to AnasSyria For This Useful Post:
Posts: 915 | Thanked: 3,209 times | Joined on Jan 2011 @ Germany
#5
That's great!
Aapo, could you please SSH into your N900 while a scenario is running in Lincity-ng and monitor the CPU usage with top? I'm particularly interested in the figures for Lincity-ng itself, Xorg and pulseaudio.
Also is your N900 overclocked?

Edit:
@AnasSyria:
Here [1] you'll find lots of screenshots of Lincity-ng.

[1] http://lincity-ng.berlios.de/wiki/index.php/Screenshots

Last edited by sulu; 2012-04-16 at 10:21.
 

The Following User Says Thank You to sulu For This Useful Post:
Posts: 838 | Thanked: 3,384 times | Joined on Mar 2009
#6
Originally Posted by sulu View Post
That's great!
Aapo, could you please SSH into your N900 while a scenario is running in Lincity-ng and monitor the CPU usage with top? I'm particularly interested in the figures for Lincity-ng itself, Xorg and pulseaudio.
Also is your N900 overclocked?
Most of the time lincity is between 60..70 %CPU. Not overclocked device.
Code:
%MEM  %CPU
43.0 66.7 /opt/lincity/games/lincity-ng -f -s -S 800x480 
1.2  11.3 /usr/bin/pulseaudio --system --high-priority 
5.0   2.3 /usr/bin/Xorg -logfile /tmp/Xorg.0.log -logverbose 1 -nolisten tcp -noreset -s 0 -core
 

The Following 2 Users Say Thank You to AapoRantalainen For This Useful Post:
Posts: 131 | Thanked: 241 times | Joined on Feb 2012
#7
The game seems to crash for languanges except en_US.

Normally my LANG is set to de_DE. With this settings the game crashes every time.

If i set LC_ALL=en_US.UTF8 then the game starts.

export LC_ALL=en_US.UTF8
 

The Following 2 Users Say Thank You to HolgerN For This Useful Post:
Posts: 915 | Thanked: 3,209 times | Joined on Jan 2011 @ Germany
#8
crash confirmed - strace output attached

Edit:
The gz is an output of calling lincity-ng with: LC_ALL=en_US.UTF8

A diff between both reveals that the problem must be somewhere in these three lines:
Code:
lstat64("/home/user/.lincity-ng/locale/de.po", 0xbe9800a0) = -1 ENOENT (No such file or directory)
lstat64("/opt/lincity//share/games/lincity-ng/locale/de.po", {st_mode=S_IFREG|0644, st_size=35962, ...}) = 0
open("/opt/lincity//share/games/lincity-ng/locale/de.po", O_RDONLY) = 3
Attached Files
File Type: txt lincity_strace.txt (17.6 KB, 115 views)
File Type: gz lincity_strace_en.US.txt.gz (64.2 KB, 101 views)

Last edited by sulu; 2012-04-16 at 20:36.
 

The Following 2 Users Say Thank You to sulu For This Useful Post:
Posts: 280 | Thanked: 136 times | Joined on Dec 2011 @ Banyuwangi, Indonesia
#9
I really like a game like this.
But silly question, anyone mind to port it to Harmattan?
__________________
twitter: @fitronarwani @N9Indonesia
 
Posts: 24 | Thanked: 17 times | Joined on Feb 2012
#10
it closed automatically after 5 sec of black screen loading... help please!!.i love this game...
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 10:40.