maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   Tyrian, OpenTyrian on the N900 (https://talk.maemo.org/showthread.php?t=38626)

Dragy 2009-12-28 13:36

Tyrian, OpenTyrian on the N900
 
Heya

I'm not very familiar with what it takes to port a game, and specifically what the N900 is capable of running.

There's the famous space-scrolling-shooter game Tyrian, and I was just thinking about how awesome it would be if it had an N900 version. I used to play this game as a little kid with my brother A LOT.

I also found OpenTyrian while running a search. Not sure if it's of any use, I'm just throwing links. Here's OpenTyrian running on the PSP.
Things to look at: What resolution is the game? Possible multiplayer (on different devices)? What about touch controls?

Edit: Doh! it says on OpenTyrian's homepage, "Nokia Internet Tablets" My bad! But still, is there a support for the N900? I can only see N810.

So.. any chance to have it ported for simple users like me to play?
:)

pycage 2009-12-28 13:55

Re: Tyrian, OpenTyrian on the N900
 
Just download the N8x0 version and install with dpkg -i
It works perfectly on the N900. Although having accelerometer-based control would be nice. This looks easy to port over. :)

Dragy 2010-01-08 12:48

Re: Tyrian, OpenTyrian on the N900
 
Heya, bumping this thread. Can anyone translate this lad for me? :) Not really sure where to even start in order to get it on my N900! What does "dpkg -i" do?

And if anyone wants to port it completely it would be sweet :cool:

Alan_Peery 2010-01-08 12:59

Re: Tyrian, OpenTyrian on the N900
 
Quote:

Originally Posted by Dragy (Post 459065)
Not really sure where to even start in order to get it on my N900! What does "dpkg -i" do?

1. Download the file to the N900.
2. Then run dpkg -i <name_of_file>. You're firing up the Debian Package functions to Install the file.

thorbo 2010-01-08 13:06

Re: Tyrian, OpenTyrian on the N900
 
Not being optimized, will this kill the internal memory? Anyone notice?

Flandry 2010-01-08 14:59

Re: Tyrian, OpenTyrian on the N900
 
From the port info on pupnik's webpage:
Quote:

Originally Posted by ArnimS
Requires about 9MB temporary free on your root filesystem during install but since data files reside on mmc, it only takes 351kB installed!

Out of curiosity, i grabbed the latest upstream source and it compiles and runs fine on N900, but will need some hacking to work right (controls, scaling) and i doubt has changed much from that port. It may be that the original port maintainer will eventually make this an official N900 release, but in the meantime the existing release is good. 350 kB isn't a big deal.

ukki 2010-01-09 01:05

Re: Tyrian, OpenTyrian on the N900
 
Well I took a look and it works pretty nicely except for sound, that chokes the game. Perhaps it's a my sb or phone that does it, but could someone test and report if it works or not? It's disabled by default to make the game playable, but if you start the game from the terminal with (on single line)
Code:

/opt/maemo/usr/bin/opentyrian -t /opt/maemo/usr/share/opentyrian
you should get sound. Hopefully the game doesn't depend on libs not installed by default, will fix the dependencies tomorrow.

opentyrian_0.1-1_armel.deb

Install as root with:

Code:

dpkg -i opentyrian_0.1-1_armel.deb
Like always, run the game with english keyboard layout. Made the normal key fixes, added accelerometer controls and menu items for them, removed scaler, optified and debianized it. Backspace works as escape and shift-backspace makes an emergency exit if you want to quit the game instantly. Hopefully the sound can be fixed so I can push it to -devel.

Flandry 2010-01-09 01:22

Re: Tyrian, OpenTyrian on the N900
 
Ah, or you can wait for the Armin-double, ukki, to do it. :P

Did you start from the previous port's source or the latest upstream? The sound works but is distorted, and there's a mouse cursor on the screen that flashes. If i tap the screen, it crashes. Had neither of these problems in the upstream source build, FYI.

Other than that it seems good. The accelerometer control is not to my liking but it's cool. Also, maybe a separate data package?

mikkov 2010-01-09 01:34

Re: Tyrian, OpenTyrian on the N900
 
What's the licence of tyrian data files? Wikipedia says that they were released under "open licence" by the original author, but I can't find any other information about it.

(Open)Tyrian seems to have been released to about every possible platform (even Apple's Appstore) so there's apparently no problem with the licence, but I would still like to see details about it.

Flandry 2010-01-09 01:39

Re: Tyrian, OpenTyrian on the N900
 
Yeah i couldn't find details on that.
http://code.google.com/p/opentyrian/wiki/FAQ

And from the README:
Quote:

== Additional Necessary Files ==================================================

Tyrian 2.1 data files which have been released as freeware:
http://camanis.net/tyrian/tyrian21.zip

jakiman 2010-01-09 01:53

Re: Tyrian, OpenTyrian on the N900
 
Would love this optimized for the N900!!!! Love top-scroll shooters. =)

mikkov 2010-01-09 02:04

Re: Tyrian, OpenTyrian on the N900
 
Quote:

Originally Posted by Flandry (Post 460456)
Yeah i couldn't find details on that.
http://code.google.com/p/opentyrian/wiki/FAQ

And from the README:

The zip has file called license. Among other things it says

Quote:

4. Prohibited Uses. UNDER NO CIRCUMSTANCES SHALL YOU ENGAGE IN, OR
KNOWINGLY PERMIT OTHERS TO ENGAGE IN, ANY OF THE FOLLOWING WITH RESPECT
TO THE GAME AND RELATED MATERIALS:

a. Renting the Game or related materials;
b. Selling the Game or related materials;
c. Leasing the Game or related materials;
d. Offering the Game on a pay-per-play or similar
basis;
e. Distributing the Game for money or other
consideration;
f. Copying the Game or any portion thereof except as
permitted above with respect to a single backup
copy; or
g. In any manner and through any medium whatsoever
commercially exploit the Game or use the Game for
any commercial purpose.
So no real information or details I was looking for (and I did find that myself too, thank you)

slux 2010-01-09 02:55

Re: Tyrian, OpenTyrian on the N900
 
LiberatedGames says the following license applies to Tyrian2000:
Code:

The owner of this software reserves all rights granted by copyright. However,
the owner grants the following rights to users:

1) The right to make personal copies of the software.
2) The right to distribute the software for free (at no cost) to other users.

No further rights are granted or should be assumed. This includes, but is not
limited to, the right to create derivative works.


Flandry 2010-01-09 03:00

Re: Tyrian, OpenTyrian on the N900
 
Tyrian 2 was released as freeware, but not open source. The code was "licensed" to the opentyrian team.

The content of Tyrian 2 is freeware of some sort, but the license from it isn't clarified and that's what we're wondering about.

Tyrian 2000 content isn't free. (It's an additional campaign.)

ukki 2010-01-09 07:46

Re: Tyrian, OpenTyrian on the N900
 
Quote:

Originally Posted by Flandry (Post 460437)
Did you start from the previous port's source or the latest upstream? The sound works but is distorted, and there's a mouse cursor on the screen that flashes. If i tap the screen, it crashes. Had neither of these problems in the upstream source build, FYI.

Hmm, that's odd. I used the latest upstream source too. Maybe the problem really is in my scratchbox.

Quote:

Originally Posted by Flandry (Post 460437)
Other than that it seems good. The accelerometer control is not to my liking but it's cool. Also, maybe a separate data package?

They rarely are, but people do want them. And yes, a separate data package is needed, no use downloading several mb just to update the executable. Or just make it look for them from MyDocs if you aren't allowed to share them.

mikkov 2010-01-09 15:43

Re: Tyrian, OpenTyrian on the N900
 
Quote:

Originally Posted by ukki;460755http://lostgarden.com/2007/04/free-game-graphics-tyrian-ships-and.html
Or just make it look for them from MyDocs if you aren't allowed to share them.

Best I could find about data file status is in this thread http://tyrian2k.proboards.com/index....ead=103&page=1 and in this blog post http://lostgarden.com/2007/04/free-g...ships-and.html .

How I see things is that there isn't any explicit license (other than freeware). People in the thread don't think that data files are freely (as in debian free) redistributable except for the graphics files.

Flandry 2010-01-12 23:34

Re: Tyrian, OpenTyrian on the N900
 
From the lead OpenTyrian dev on IRC:

<Mindless`> Flandry: the official "it's freeware" message is here --> http://www.freewebs.com/worldtreegames/
<Mindless`> Jason never got around to putting up a non-2000 version on that site
<Mindless`> but he gave us the Tyrian 2.1 source code to port because he didn't have a copy of the 2000 source (probably gone when his house burned)
<Mindless`> Jason has no problem with 2.1 (and probably older versions) being freeware
<Mindless`> but he doesn't want to give away his right to/ownership of the game entirely, so it'll probably never be Debian-free
<Flandry> oh
<Flandry> so no packaged data :/
<Flandry> ok, thanks
<Mindless`> technically the freeware license is "play it all you want and share it with friends"

Dragy 2010-01-15 10:07

Re: Tyrian, OpenTyrian on the N900
 
So if we conclude, that means it will never appear as an app in the catalog for the N900? :(

ArnimS 2010-01-18 12:53

Re: Tyrian, OpenTyrian on the N900
 
AFAIK it can be hosted in "non-free" section, just fine.

Ukki has added nice accelerometer support, but sound is problematic atm. If anyone is working on it, please contact him to avoid duplicate work.

rhythmspirit 2010-04-22 05:46

Re: Tyrian, OpenTyrian on the N900
 
good thing i didn't update to newest version....no more data file. haha

yellow man 2010-04-23 01:01

Re: Tyrian, OpenTyrian on the N900
 
i had the game. i then automatically updated. and now no more game. =[ any ideas how i can get it to work again?

Benson 2010-04-23 01:11

Re: Tyrian, OpenTyrian on the N900
 
As mentioned above, the data files can be found at http://camanis.net/tyrian/tyrian21.zip; download, extract, and place the resulting "tyrian21" directory in "/home/user/.opentyrian/".

e.g.:
Code:

mkdir /home/use/.opentyrian/
cd /home/use/.opentyrian/
wget http://camanis.net/tyrian/tyrian21.zip
unzip tyrian21.zip


yellow man 2010-04-23 05:13

Re: Tyrian, OpenTyrian on the N900
 
Quote:

Originally Posted by Benson (Post 623678)
As mentioned above, the data files can be found at http://camanis.net/tyrian/tyrian21.zip; download, extract, and place the resulting "tyrian21" directory in "/home/user/.opentyrian/".

e.g.:
Code:

mkdir /home/use/.opentyrian/
cd /home/use/.opentyrian/
wget http://camanis.net/tyrian/tyrian21.zip
unzip tyrian21.zip


thanks! now question is, do i use x-terminal to place the data files?

slender 2010-04-23 06:05

Re: Tyrian, OpenTyrian on the N900
 
would it be possible to make mouse more sensitive. Now i need to swipe two times to get side to side

2disbetter 2010-04-23 07:46

Re: Tyrian, OpenTyrian on the N900
 
Would one be safe in assuming, making a copy of the .opentyrian directory before updating would allow one to re-copy the data files back after updating? Or is teh new build using the data files in a new way?

2d

slender 2010-04-28 10:55

Re: Tyrian, OpenTyrian on the N900
 
I really like this game but if someone can give any hints to these questions I would be very glad.
A. How to change mouse/touchscreen sensitivity? Right now itīs not sensitive enough and I have to swipe couple of times to move it from side to side and it also sometimes warps absurdly. Using N900 keyboard on fast paced games is joke :D)

B. Is it possible to map esc key so that you can quit mission. Right now I can use ctrl-backspace to minimize window and kill it, but thatīs pretty barbarian. Also last time when I played couple of stages i could even kill it :|

cjp 2010-04-28 11:14

Re: Tyrian, OpenTyrian on the N900
 
My problem is that on the N900 my clicks are horribly inaccurate. I can't really navigate the menus, not even with the stylus.

I think a lot more work should still be done here... hope someone's feeling up to the task :/

slender 2010-04-28 11:15

Re: Tyrian, OpenTyrian on the N900
 
Actually in menus I use only keyboard.

cjp 2010-04-28 16:05

Re: Tyrian, OpenTyrian on the N900
 
Quote:

Originally Posted by slender (Post 631353)
Actually in menus I use only keyboard.

I use the scandinavian layout, so this doesn't really work for me. And since I can't navigate the menus, I've never succesfully completed a key configuration.

Elfforkusu 2010-07-31 21:21

Re: Tyrian, OpenTyrian on the N900
 
Yeah, the touch screen is not helpful on the menu. In game, the mouse emulation also has a poor way of actually staying on the ship -- you have to lift up the stylus or your finger to "reset" after every few movements.

Still, pretty solid. The one question I have is: how do I get the thing to save? There seems to be nothing to indicate how to progress from the "enter name" screen. Pressing enter just makes the cursor blink faster, while pressing backspace leaves (shift+backspace deletes a letter...) and most other buttons seem to do nothing.

I did manage to trigger a save somehow by hammering all the keys on the N900 keyboard, but I have been unable to reproduce this success or determine what about it caused the save to go through.

Using the current version in extras-devel, btw.

PotatoBaron 2010-08-01 18:47

Re: Tyrian, OpenTyrian on the N900
 
Quote:

Originally Posted by Elfforkusu (Post 771658)
Still, pretty solid. The one question I have is: how do I get the thing to save? There seems to be nothing to indicate how to progress from the "enter name" screen. Pressing enter just makes the cursor blink faster, while pressing backspace leaves (shift+backspace deletes a letter...) and most other buttons seem to do nothing.

Fn+A worked for me but the next time I opened the game, my save wasn't there.

moreli 2010-08-04 18:30

Re: Tyrian, OpenTyrian on the N900
 
After quite a lot of tries, I reached the following conclusion:

To save you have to:
1 - Go to Options -> Save and Type a name for your game
2 - Press (and keep pressed) the three keys on the left side of the keyboard (control + function + shift)
3 - With the three keys still pressed, press and hold "S" and press "A" (You'll finally have 5 keys pressed at the same time :eek: ).

Worked fine for me ;)

And Anyone has idea if it is possible to play multiplayer (different mobiles) via bluetooth/wi-fi/internet or anything? That would be so great,

Thanks,

moreli 2010-08-09 13:54

Re: Tyrian, OpenTyrian on the N900
 
I was a little bit mistaken,

The correct keys to be pressed (important to be in this order) are:
1 - Ctrl (press and hold)
2 - Function [The blue arrow] (press and hold)
3 - "A" (press)

And the game should be saved ;)

Elfforkusu 2010-08-09 20:03

Re: Tyrian, OpenTyrian on the N900
 
Thanks, Ctrl+Fn+A it is. :)

PotatoBaron 2010-08-11 00:48

Re: Tyrian, OpenTyrian on the N900
 
My saved games (as well as my keyboard settings) still disappear every time I close the game...

Elfforkusu 2010-08-12 03:55

Re: Tyrian, OpenTyrian on the N900
 
Quote:

Originally Posted by PotatoBaron (Post 782301)
My saved games (as well as my keyboard settings) still disappear every time I close the game...

That kinda sounds like the save file has bad permissions (e.g. you can't write it for some reason). It should be in the ~/.opentyrian directory, if you want to take a look.

kaspal 2010-09-06 06:06

Re: Tyrian, OpenTyrian on the N900
 
hello, i've been trying to paly this one, but for some reason, it just wont work.

i put the files in the directories that are instructed, even copied the files in the install directory and nothing... when i launch the game the screen goes blank and then closes... nothing happens, not a clue whats wrong... help someone?

kaspal 2010-09-06 23:51

Re: Tyrian, OpenTyrian on the N900
 
nevermind... my phone died yesterday and after a reflash, and getting everything setup again, it worked...

PotatoBaron 2010-09-11 17:55

Re: Tyrian, OpenTyrian on the N900
 
Quote:

Originally Posted by Elfforkusu (Post 783714)
That kinda sounds like the save file has bad permissions (e.g. you can't write it for some reason). It should be in the ~/.opentyrian directory, if you want to take a look.

Yeah, as long as I run the game from the root prompt, I can write to the save and config files but if I try running it from the shortcut in the app menu they won't take.

lunatik 2010-09-11 22:32

Re: Tyrian, OpenTyrian on the N900
 
Yay! Thank you guys for bringing this happy memory from my childhood. I still can remember myself playing this game on my PII@166mhz =)


All times are GMT. The time now is 22:17.

vBulletin® Version 3.8.8