Re: new Game for freerunner: xlogical

2008-11-13 Thread Sander van Grieken
On Thursday 13 November 2008 13:45:28 Aapo Rantalainen wrote:
> c) dependeries: libsdl-image-1.2-0
> my package:
> Depends: libsdl-1.2-0 (>= 1.2.9), libsdl-image-1.2-0 (>=1.2.3-r0)
>
> your package:
> Depends: libsdl-1.2-0 (>= 1.2.11), libc6 (>= 2.6.1),
> libsdl-image-1.2-0 (>= 1.2.6), libsdl-mixer-1.2-0 (>= 1.2.6),
> libstdc++6 (>= 4.1.2), libgcc1 (>= 4.1.2)

Hmm I cannot set a runtime dep on older versions; the dependency on older 
versions in a bitbake recipe is only used at compile time. The package it 
produces still automatically creates a dependency on the version it was 
compiled against.

This is the problem with posting binary packages. I compiled it using 
org.openembedded.dev branch, which uses a newer version of SDL than 
org.openmoko.stable

So I'm not going to "fix" this. if you want to create a openmoko-stable 
compatible package you can use MokoMakeFile and use the recipe from 
http://bugs.openembedded.net/show_bug.cgi?id=4822

grtz,
Sander


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: new Game for freerunner: xlogical

2008-11-13 Thread Sander van Grieken
On Thursday 13 November 2008 13:45:28 Aapo Rantalainen wrote:
> >Hi All,
> >I just finished the recipe for Xlogical based on Aapo's patches and while
> > we wait until the recipe gets merged to OE/OM, I've put a binary package
> > online for you all to enjoy. I added music, sounds and a wrapper script
> > that rotates the screen to landscape. Right now the music is enabled by
> > default, but I can disable that if that is unwanted behaviour. package is
> > here :
> >http://3v8.net/~sander/openmoko/xlogical_1.0-8-r0.1_armv4t.ipk
> >Let me know what you think.
> >
> >grtz,
> >Sander
>
> Hi, this is great. It raises my motivation to continue with xlogical.
>
> I have some points:
>
> a) audio
> Ok, maybe I overreact when I threw all sounds away. I still suggest
> that default wrapper script is:
> xrandr -o 3
> xlogical.bin audio.enabled=0
> xrandr -o 0

This would only disable the sound on freerunners, since this wrapper script is 
only installed when the device is a GTA01 or GTA02. OE can build it for many 
more devices, so it would have to be set in the 
/usr/share/xlogical/xlogical.properties (that location should probably move to 
/etc too).

There are also volume controls in the game itself, so sound can be disabled by 
the user very easily. If we would disable sound by default, ppl must tinker 
with the config file to get it enabled again, so I somewhat prefer to leave it 
enabled.

Even better would be a 'mute' checkbox, so we can save us the cpu cycles on 
audio.

> b) missing hi-score file
> The file /usr/local/var/xlogical/xlogical.scores is missing. (the
> location is stupid, so change it too. This is some configuration time
> parameter like datafolder.)
> message: ERROR!  Could not open hi-score file.
> (I think the whole hi-score/point system is useless and so 80's)

I like highscores :)

I noticed the error too though, should not be too hard to put it in a good 
location, somewhere under /var or something (/var/local?)

> c) dependeries: libsdl-image-1.2-0
> my package:
> Depends: libsdl-1.2-0 (>= 1.2.9), libsdl-image-1.2-0 (>=1.2.3-r0)
>
> your package:
> Depends: libsdl-1.2-0 (>= 1.2.11), libc6 (>= 2.6.1),
> libsdl-image-1.2-0 (>= 1.2.6), libsdl-mixer-1.2-0 (>= 1.2.6),
> libstdc++6 (>= 4.1.2), libgcc1 (>= 4.1.2)
>
> With fdom: opkg install libsdl-image-1.2-0
> Package libsdl-image-1.2-0 (1.2.3-r0) installed in root is up to date.
>
> And installing your package says:
> * ERROR: Cannot satisfy the following dependencies for xlogical:
>  *  libsdl-image-1.2-0 (>= 1.2.6) *
>
> With -force-depends it works, so you can decrease the needed
> libsdl-image version.

This is what bitbake puts in the package by default. I will try to make it 
depend on the versions you mention.

> d) title_text_2.bmp
> Image title_text_2.bmp says "PRESS (ESC) TO START". You can press or
> click anything to start, so here is same image without text:
> http://www.cs.helsinki.fi/u/rantalai/freerunner/title2_template.bmp
> (maybe someone wants write something to it?)

maybe just "START" ?

> e) title_text_4.jpg
> Startup screen is 640x497, but used window is (now) stardard 640x480,
> so here is resized image:
> http://www.cs.helsinki.fi/u/rantalai/freerunner/title_text_4_standardsize.j
>pg (text are raised a little bit)

I not sure what you mean exactly. I included your patches for the small 
screen, is this another issue?

> I'm planning to make some level selecting dialog (shows which levels
> are passed and which are skipped). Or do we like that
> levelcode/password-system?

I like your idea.

grtz,
Sander


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: new Game for freerunner: xlogical

2008-11-13 Thread Aapo Rantalainen
>Hi All,
>I just finished the recipe for Xlogical based on Aapo's patches and while we 
>wait until the recipe gets merged to OE/OM, I've put a binary package online 
>for you all to enjoy.
>I added music, sounds and a wrapper script that rotates the screen to 
>landscape. Right now the music is enabled by default, but I can disable that 
>if that is unwanted behaviour.
>package is here :
>http://3v8.net/~sander/openmoko/xlogical_1.0-8-r0.1_armv4t.ipk
>Let me know what you think.
>
>grtz,
>Sander


Hi, this is great. It raises my motivation to continue with xlogical.

I have some points:

a) audio
Ok, maybe I overreact when I threw all sounds away. I still suggest
that default wrapper script is:
xrandr -o 3
xlogical.bin audio.enabled=0
xrandr -o 0

b) missing hi-score file
The file /usr/local/var/xlogical/xlogical.scores is missing. (the
location is stupid, so change it too. This is some configuration time
parameter like datafolder.)
message: ERROR!  Could not open hi-score file.
(I think the whole hi-score/point system is useless and so 80's)

c) dependeries: libsdl-image-1.2-0
my package:
Depends: libsdl-1.2-0 (>= 1.2.9), libsdl-image-1.2-0 (>=1.2.3-r0)

your package:
Depends: libsdl-1.2-0 (>= 1.2.11), libc6 (>= 2.6.1),
libsdl-image-1.2-0 (>= 1.2.6), libsdl-mixer-1.2-0 (>= 1.2.6),
libstdc++6 (>= 4.1.2), libgcc1 (>= 4.1.2)

With fdom: opkg install libsdl-image-1.2-0
Package libsdl-image-1.2-0 (1.2.3-r0) installed in root is up to date.

And installing your package says:
* ERROR: Cannot satisfy the following dependencies for xlogical:
 *  libsdl-image-1.2-0 (>= 1.2.6) *

With -force-depends it works, so you can decrease the needed
libsdl-image version.

d) title_text_2.bmp
Image title_text_2.bmp says "PRESS (ESC) TO START". You can press or
click anything to start, so here is same image without text:
http://www.cs.helsinki.fi/u/rantalai/freerunner/title2_template.bmp
(maybe someone wants write something to it?)

e) title_text_4.jpg
Startup screen is 640x497, but used window is (now) stardard 640x480,
so here is resized image:
http://www.cs.helsinki.fi/u/rantalai/freerunner/title_text_4_standardsize.jpg
(text are raised a little bit)



I'm planning to make some level selecting dialog (shows which levels
are passed and which are skipped). Or do we like that
levelcode/password-system?

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: new Game for freerunner: xlogical

2008-11-12 Thread Sander van Grieken
Hi All,

I just finished the recipe for Xlogical based on Aapo's patches and while we 
wait until the recipe gets merged to OE/OM, I've put a binary package online 
for you all to enjoy.

I added music, sounds and a wrapper script that rotates the screen to 
landscape. Right now the music is enabled by default, but I can disable that 
if that is unwanted behaviour.

package is here :

http://3v8.net/~sander/openmoko/xlogical_1.0-8-r0.1_armv4t.ipk

Let me know what you think.

grtz,
Sander


On Friday 07 November 2008 13:47:16 Aapo Rantalainen wrote:
> >I'll try to create a bitbake recipe for it so it can track the distro(s).
>
> Good
>
> >Did you disable the sound because it was choppy? (like I experienced with
> > Pingus)
>
> I did't even test sounds. I think games played on phone should be
> silent. (If somebody wants musics and sound effects, It can be default
> disabled, but player has option to enabel it.)
>
> -Aapo Rantalainen
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: new Game for freerunner: xlogical

2008-11-07 Thread Aapo Rantalainen
>I'll try to create a bitbake recipe for it so it can track the distro(s).
Good


>Did you disable the sound because it was choppy? (like I experienced with 
>Pingus)
I did't even test sounds. I think games played on phone should be
silent. (If somebody wants musics and sound effects, It can be default
disabled, but player has option to enabel it.)

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: new Game for freerunner: xlogical

2008-11-07 Thread Sander van Grieken
Hi,

Great work!

I'll try to create a bitbake recipe for it so it can track the distro(s).

Did you disable the sound because it was choppy? (like I experienced with 
Pingus)

grtz,
Sander


> I found one old (2003) game: http://changeling.ixionstudios.com/xlogical/
> I made it playable on Freerunner:
> http://www.cs.helsinki.fi/u/rantalai/freerunner/xlogical/
>
> http://www.opkg.org/package_33.html
>
> -Aapo Rantalainen
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


new Game for freerunner: xlogical

2008-11-06 Thread Aapo Rantalainen
I found one old (2003) game: http://changeling.ixionstudios.com/xlogical/
I made it playable on Freerunner:
http://www.cs.helsinki.fi/u/rantalai/freerunner/xlogical/

http://www.opkg.org/package_33.html

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community