maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   [Announce] Jacob's Matrix (Roguelike game) on extras-devel (https://talk.maemo.org/showthread.php?t=76402)

AapoRantalainen 2011-09-08 14:05

[Announce] Jacob's Matrix (Roguelike game) on extras-devel
 
1 Attachment(s)
In Jacob's Matrix you explore a maze of twisty, turning passages, all different. Your goal is straightforward - get from the blue coloured room to the gold coloured room - but unfortunately the orientation of the passages can prove confusing.

Upstream: http://www.zincland.com/7drl/jacob/

1) enable extras-devel
2) install jacob

Quote:

Game is Turn based, but with a real-world timer to complete each level
which mens it is turn-based roguelike, but when music stops, you die. But because sdl-mixer is not working on N900, this feature is now disabled (i.e. cheat mode is always on). I hope some day someone focus how to fix that.

Game uses old version of libtcod (1.4.0), which is compiled during packaging and bundled with the game.

It didn't compile for ARM with gcc-4.2, so I made some modifications, hope they will not break game. Check modifications from: http://talk.maemo.org/showthread.php...82#post1083782
(I think flame effects are little bit broken).

szopin 2011-09-08 15:24

Re: [Announce] Jacob's Matrix (Roguelike game) on extras-devel
 
Nice. Sadly getting:
Failed to open audio!
and the game closes immediately after start. Editing jacob.cfg to music=false doesn't change anything. Am I using incompatible library/mixer. Same problems with kobold

szopin 2011-09-08 19:04

Re: [Announce] Jacob's Matrix (Roguelike game) on extras-devel
 
After changing flame width to 20 in cfg music suddenly started playing (wav).
EDIT:
Some width to height combinations allow the game to play wavs. Need to try with bigger file (tested on 100kb wav), also some of these give very cool effects (lower resolutions make the flames move quite fluidly, though the game then lags more)

AapoRantalainen 2011-09-09 05:04

Re: [Announce] Jacob's Matrix (Roguelike game) on extras-devel
 
Hmm, are we running out of CPU? Or is it only weirdness?

szopin 2011-09-09 07:01

Re: [Announce] Jacob's Matrix (Roguelike game) on extras-devel
 
Ok, managed to get it running with sound no matter what ratio of flame width/height one chooses. I now get ~6MB wav to play, not at 100% speed though (might be Hz issue, had only 1 big wav on my phone, needs more testing). The problem seems to be in TCOD_NOISE generation. Changing all 'Wavelet' to 'Simplex' in fire.cpp is enough to get music running. In Kobold/orcs this will require changing TCOD_noise_type_t TCOD_NOISE_WAVELET to TCOD_NOISE.
EDIT: no luck with kobold/orcs. Maybe reverting to libtcod 1.4.x will work for those.


All times are GMT. The time now is 09:16.

vBulletin® Version 3.8.8