S60v3 port

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

Post Reply
wolf
Engineer
Engineer
Posts: 114
Joined: 08 Jul 2004 13:43

Re: S60v3 port

Post by wolf »

New build: http://team.pld-linux.org/~wolf/symbian/openttd.sisx
Required libraries: http://team.pld-linux.org/~wolf/symbian/support/ (UPDATE 28.07.2008!)
Patchset: http://team.pld-linux.org/~wolf/symbian ... 859.tar.gz

List of changes:
- Updated to rev 13859.
- Hash (#) key enables/disables transparency.
- Clear (C) key mapping changed from space to delete, so now it will close all windows.
- Map can be scrolled using 2468 keys.
- Freetype updated to 2.3.7.
- Using C++ standard library from Open C++ instead of Marco++'s STLport.
- SDL is now statically linked.
- Game will now properly handle red key event instead of hanging up (SDL fix).
- Palette animation now works in 8bpp mode (SDL fix).
- Orientation change events (RotateMe, accelerometer) are now properly handled (SDL fix).
- Changing resolution using built-in dialog now works, by changing phone's orientation (SDL fix).
wolf
Engineer
Engineer
Posts: 114
Joined: 08 Jul 2004 13:43

Re: S60v3 port

Post by wolf »

As a workaround for the keymapping problems (including N95 multimedia keys crap) I propose to use the MagicKey utility (http://www.google.com/search?q=magickey+symbian). It works fine for me, but requires some jumping through the hoops to get installed.
Callabria
Engineer
Engineer
Posts: 2
Joined: 14 Aug 2008 11:56

Re: S60v3 port

Post by Callabria »

@wolf

Hi

I've checked back through this thread and noticed that some other people also had a problem downloading the libraries at this address:
http://team.pld-linux.org/~wolf/symbian/support/

Tried on the phone and with firefox/IE

Either gives 403 error or just hangs and then eventually pops up a message over the file download dialog that it can't find the file.

Something wrong with the server? (Tried it on different pc's at work and home with various internet connections to no avail)

I have successfully downloaded and installed openttd.sisx
Also able to browse the screenshots...

Can you supply a zip file with the updated libraries please?
wolf
Engineer
Engineer
Posts: 114
Joined: 08 Jul 2004 13:43

Re: S60v3 port

Post by wolf »

That was a problem with file access permissions. It's fixed now, so you can try again to download the files.
Callabria
Engineer
Engineer
Posts: 2
Joined: 14 Aug 2008 11:56

Re: S60v3 port

Post by Callabria »

Thanks a lot wolf, downloaded the files. :D
murgo
Engineer
Engineer
Posts: 1
Joined: 18 Aug 2008 22:31

Re: S60v3 port

Post by murgo »

I have to admit I didn't fully read the whole thread and I haven't fiddled around with the game very much yet, but I'll post my observations...

First of all, great job porting this! Quite awesome!

I have a Nokia E71 which is a QWERTY phone, and none of the shortcuts seem to work. I can't use the number keys, even if I press the 'fn' -button at the same time (which is how numbers are usually typed with qwerty phones). My phone also doesn't have dedicated camera zoom controls, only volume controls that do nothing. That basically makes this unusable, as all that works are moving the cursor and left and right mouse buttons. If there just would be customizable keyboard shortcuts...

Networking doesn't seem to work out of the box, application probably needs signing. Some kind of help page or at least a indexed home page with all the instructions and stuff would be nice to have, now it seems quite awkward to try to read through forums to see if people has got networking running and whatever.

Volume keys would be very nice, too.

Sorry if this post sounded like moaning, it's just that the project is Really Impressive and I'd really much like to play it with my phone but alas, it's unplayable at the current state. Thank you very much if you're still working on this project.
wolf
Engineer
Engineer
Posts: 114
Joined: 08 Jul 2004 13:43

Re: S60v3 port

Post by wolf »

murgo wrote:I have a Nokia E71 which is a QWERTY phone, and none of the shortcuts seem to work. I can't use the number keys, even if I press the 'fn' -button at the same time (which is how numbers are usually typed with qwerty phones).
OK, I will try to make some usable keybindings based on the photo.
My phone also doesn't have dedicated camera zoom controls, only volume controls that do nothing.
Camera zoom keys are the same as volume keys. In the latest build these don't work, it's a known issue.
If there just would be customizable keyboard shortcuts...
For the time being I recommend using MagicKey.
Networking doesn't seem to work out of the box, application probably needs signing.
Networking was enabled some time ago, but I disabled it, as it was causing crashes in obscure places during startup. Some nokia guy looked at it, but didn't came with anything conclusive.
Honeyman
Engineer
Engineer
Posts: 1
Joined: 01 Sep 2008 09:58

Re: S60v3 port

Post by Honeyman »

Great work, wolf! Works like a charm on my E70 - spent 10 game years playing it tonight...
I just got (as probably everyone in the thread, though) a couple of comments/requests...

1. Playing the game with the slow software cursor is... er, slow. To help lazy persons (like me - and probably someone else), can you add the capability of either opening the cheat menu from the game somehow (Ctrl-Alt-C obviously doesn't work), or at least create a command-line parameter which would enable "Build while in pause mode" cheat? Pleeeease. It is bloody sad to waste a year of gameplay just for building a simple railroad between two cities...
I realize it is a threat for gameplay and AI, but seems I am not the first one in the thread who would like to have it even as a dirty cheat...

2. Nokia E70 has a dedicated dictaphone/record button. Is it possible to bind anything to it, and/or to the "Pencil" (changing the language and type mode) button?
mrblack
Engineer
Engineer
Posts: 3
Joined: 19 Sep 2008 00:14

Re: S60v3 port

Post by mrblack »

I get the following error message when trying to install the ssl.SIS and stdcpp.sis files:

"Certificate Error. Contact the application supplier"

Anyone know how to get around this?

Thanks :D
User avatar
Aegir
Tycoon
Tycoon
Posts: 2884
Joined: 09 Feb 2004 10:02
Contact:

Re: S60v3 port

Post by Aegir »

Heh, happens on most E series Nokia phones, if you can get to the application or app or something manager, theres a setting in the options page to allow unsigned or developer signed applications. You need to find that and it'll fix it. You need it for most custom S60 applications as it is, so you may as well go find it. I'd tell you exactly where it is, but I've misplaced my E71 somewhere...

Edit: Okay, on the E71, it's Menu>Installations>App. Mgr.>Options>Software Installation>All
Currently working under the name 'reldred' on Github, and Discord.
NFO/NML coder, part-time patch writer for JGRPP, and all round belligerent.

14:40 <orudge> I can't say I discriminate against any particular user
14:41 <Aegir> orudge: I can!
mrblack
Engineer
Engineer
Posts: 3
Joined: 19 Sep 2008 00:14

Re: S60v3 port

Post by mrblack »

thanks for the suggestion, but thats already on... I should have said, my phone is a Samsung i8510. But i've had reports of someone already getting this application working on this phone, so i'm convinced there's another work around?
wolf
Engineer
Engineer
Posts: 114
Joined: 08 Jul 2004 13:43

Re: S60v3 port

Post by wolf »

These files are provided by Nokia, I can't really do much about them. One thing I would suggest is hacking the phone, it's just much, much easier to use without all that certificate crap.
wolf
Engineer
Engineer
Posts: 114
Joined: 08 Jul 2004 13:43

Re: S60v3 port

Post by wolf »

New build: http://team.pld-linux.org/~wolf/symbian/openttd.sisx
Required libraries: http://team.pld-linux.org/~wolf/symbian/support/
Latest patchset: http://team.pld-linux.org/~wolf/symbian ... 642.tar.gz

List of changes:
- Updated to rev 14642.
- Significant underlying SDL cleanup.
- Remove the performance hit when audio is enabled (SDL fix).
- Initial parameters dialog has been removed (SDL change).
- Cracks and pops during audio playback have been removed (SDL fix). Before/after samples and visual analysis available at http://zgredowo.blogspot.com/2008/11/ma ... ts-in.html.
- Disable audio device when OpenTTD is in background (SDL fix).
- Disable audio device when the silent profile is enabled (SDL fix).
- Significantly decrease power usage when OpenTTD is in background (SDL fix). More on that at http://zgredowo.blogspot.com/2008/10/op ... usage.html.
User avatar
Qu@rks
Route Supervisor
Route Supervisor
Posts: 498
Joined: 26 Mar 2006 23:16
Location: Berlin, Germany
Contact:

Re: S60v3 port

Post by Qu@rks »

I just tried it with my brand new N95 and it works fine :)

This is really the coolest thing ever - especially when attending a boring class at college ;)

I have a suggestion, too: Would it be possible to make an option that fixes the screen rotation? The N95 always rotates the screen depending on whether the number keys are slid out or not. I would like to stick to 320x240 instead of 240x320... Dunno if this is hard to to.

Still, great work and the ideal game for those long subway rides during which you never really knew how to kill time ;)


EDIT: Is it the slow phone processor that makes loading grfs such a pain in the butt or is there something wrong with the implementation?

EDIT2: I could actually change the resolution of the game which would also rotate the screen permanently. So nevermind my first question.

Is there a limitation concerning the number of active grfs?
wolf
Engineer
Engineer
Posts: 114
Joined: 08 Jul 2004 13:43

Re: S60v3 port

Post by wolf »

Qu@rks wrote:I have a suggestion, too: Would it be possible to make an option that fixes the screen rotation?
Enable fullscreen and the orientation won't change.
EDIT: Is it the slow phone processor that makes loading grfs such a pain in the butt or is there something wrong with the implementation?
Disk access seems to be really slow on N95. Some newer devices are better.
Is there a limitation concerning the number of active grfs?
Aside from the free RAM availability there shouldn't be any.
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: S60v3 port

Post by planetmaker »

wolf wrote:
Qu@rks wrote:]Is there a limitation concerning the number of active grfs?
Aside from the free RAM availability there shouldn't be any.
64 grfs at most.
Kotkatte
Engineer
Engineer
Posts: 3
Joined: 20 Apr 2008 17:14

Re: S60v3 port

Post by Kotkatte »

Hi. I installed the latest version, and while i open the game, the quater of loading, the game automatically exit. :\ I have nokia 6120C. Pls help !

Thx

And sorry, I don't speak English perfect.
Carrbit
Engineer
Engineer
Posts: 1
Joined: 05 Jan 2009 12:56

Re: S60v3 port

Post by Carrbit »

Hello!
Don´t start on my e65.. Can you please show me what is in your openttd dir and subdirs?
Of course i have installed all libraries and the openttd.sisx file..
I have:
E:\OPENTTD\
data\
generictrams_v0.4.grf
OPENTTDD.GRF
OPENTTDW.GRF
OPNTITLE.DAT
SAMPLE.CAT
*and all trg...grf files*
gm\
*all the gm_tt...gm*
lang\
*all the *.lng files*

Hope you can help me, thanks.
wolf
Engineer
Engineer
Posts: 114
Joined: 08 Jul 2004 13:43

Re: S60v3 port

Post by wolf »

Carrbit wrote:Hello!
Don´t start on my e65.. Can you please show me what is in your openttd dir and subdirs?
Of course i have installed all libraries and the openttd.sisx file..
I have:
E:\OPENTTD\
data\
generictrams_v0.4.grf
OPENTTDD.GRF
OPENTTDW.GRF
OPNTITLE.DAT
SAMPLE.CAT
*and all trg...grf files*
In the data subdirectory there should also be orig_win.obg, orig_dos_de.obg, orig_dos.ogb files and in e:\openttd there should be openttd.cfg. All these files are installed with the game though.

Can you show the contents of e:\openttd.txt?
gnail
Engineer
Engineer
Posts: 3
Joined: 12 Feb 2009 00:20

Re: S60v3 port

Post by gnail »

Thanks for all the work porting this to Symbian. I gave this a try on my Nokia 5800 (S60v5 Touch) and I hear sound but nothing is displayed. I cannot find openttd.txt on my memory card and so I have no idea what's wrong. Is there some other way to debug this on the new platform?
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 18 guests