Page 3 of 13

Re: S60v3 port

Posted: 29 Feb 2008 09:10
by corinna3000
Hello,
where do I have to copy the install files to?
At my N82 it does not work. After starting with a click on the icon, the screen turns grey and after 10 seconds returns back to the cellphone-menu.

I have copied the orignial TTD data from my computer to e:\openttd\data\
After this, I have copied the patches in the same directory.
Then I have installed the three files from http://team.pld-linux.org/~wolf/symbian/support/.
And lastely I have installed the newest version of openttd.sisx

Who could help me please?

Best Regards,
Cora

Re: S60v3 port

Posted: 29 Feb 2008 09:33
by Aegir
I don't know if I'm imagining things, but when I installed it I had better luck by installing the openttd.sisx before copying the original game files over.

*shrugs* Your mileage may vary.

Re: S60v3 port

Posted: 29 Feb 2008 10:18
by corinna3000
No, it does not work this way, either.
I think the problem is, that I do not really know, what to do with the patch-Files...

Re: S60v3 port

Posted: 29 Feb 2008 10:41
by wolf
The patch files only contain the changes I made to the sources to made them compile on symbian. Non-developers don't need them. Please show what do you have in the e:\openttd directory and it's subdirectories. Contents of e:\openttd.txt may help too.

Re: S60v3 port

Posted: 29 Feb 2008 11:16
by corinna3000
Ok. Attached is a screenshot of e:\openttd\data (I removed the *.patch files)
If I look in this directory with the y-browser directly on my N82 I see additionally e:\openttd\data\_PAIbTN with three subdirectories (170x128, 320x320 und 56x42), containing no files.

In the directory e:\openttd\lang are only files like afrikaans.lng or american.lng.
In the directory e:\opentrtd\save is only the empty subdirectory autosave .

e:\openttd.txt contains the following:
fatal error: Cannot open file 'sample.cat'
fatal error: Cannot open file 'sample.cat'
fatal error: Cannot open file 'sample.cat'
fatal error: Cannot open file 'sample.cat'
fatal error: Cannot open file 'sample.cat'
fatal error: Cannot open file 'sample.cat'
fatal error: Cannot open file 'sample.cat'
fatal error: Cannot open file 'sample.cat'
fatal error: Cannot open file 'sample.cat'
fatal error: Cannot open file 'sample.cat'
fatal error: Cannot open file 'sample.cat'
fatal error: Cannot open file 'sample.cat'
fatal error: Cannot open file 'sample.cat'

Re: S60v3 port

Posted: 29 Feb 2008 13:04
by wolf
You have uploaded the DOS installer, this is wrong. Install the game on your PC and copy the following files from the installation directory to the phone:
trg1r.grf
trgcr.grf
trghr.grf
trgir.grf
trgtr.grf
sample.cat

The _PAIbTN directory may be created by the gallery application, you can ignore it.

Re: S60v3 port

Posted: 29 Feb 2008 13:33
by corinna3000
Thank you. But I do not have other files. These were the files I got after "installing" TTD from the original CDRom to my Windows XP Computer. Unfortunately the game does not start on this computer, where can I get the right files?

Re: S60v3 port

Posted: 29 Feb 2008 14:44
by wolf
You can just go to the http://www.tt-forums.net/viewtopic.php?f=12&t=3407 and download the "TTD original graphics. If you messed around with EXE files and can't undo graphics changes. Also includes the sample.cat file, for if you want to install OTTD." file, which contains all the required data.

Re: S60v3 port

Posted: 02 Mar 2008 11:08
by wolf
New build uploaded.

Changes:
- Updated to revision 12322.
- 5 key moves mouse pointer to the centre of the screen. This is useful if mouse gets off screen and cannot be found.
- 7 and 9 keys changed from right mouse button to enabling arrow keys. Map can be now scrolled even if mouse is over some window. Right soft key remains with old behavior.
- Enabled 32 bit PNG graphics support. Only tar files are supported.
- Freetype (TTF) support is enabled. If you want to use it, you must put font file name (not font's name) in the openttd.cfg and the font file should be in e:\openttd\ directory.
- Enabled music support using timidity. Music files (*.gm) should be placed in e:\openttd\gm\ directory and timidity.cfg configuration file should be placed in e:\openttd\ directory. Sound patches should be placed in directory specified in timidity.cfg.

All these new features require memory and processing power, so don't be surprised if the game crashes when you have enabled them all.

I have also experimented with network support and I've had some results, but it's too unstable to be enabled. Anyway, some screenshots:
http://team.pld-linux.org/~wolf/symbian ... d/net1.jpg
http://team.pld-linux.org/~wolf/symbian ... d/net2.jpg

Re: S60v3 port

Posted: 02 Mar 2008 11:15
by Aegir
Oooh, the button to centre the mouse on the screen should be a lifesaver, I've lost the mouse before fumbling around trying to hit buttons I can't see numerous times XD.

Re: S60v3 port

Posted: 03 Mar 2008 05:21
by Zimeon
Would it be possible to get a updated sis file with all the patches included?

Re: S60v3 port

Posted: 03 Mar 2008 15:25
by wolf
Which patches?

Re: S60v3 port

Posted: 04 Mar 2008 21:41
by wolf
New build is up.

Changes:
- Updated to revision 12338 (0.6.0 beta 5).
- Fix (huge) memory leaks on song change in libtimidity music driver.
- Simulation is now paused when OpenTTD is in background.

Re: S60v3 port

Posted: 06 Mar 2008 10:24
by ellobo
Great work. Your port works very nicely on my Nokia E70. Im looking forward to see the networking working. ;)

Re: S60v3 port

Posted: 01 Apr 2008 10:39
by Croog
Wow, this is amazing! It works great on my E70 too. It consumes whole RAM, so I recommend everyone to restart the phone before launch openttd (except new S60 devices with 128MB RAM, of course). Later, I will upload some nice photo. ;)

It would be great, if we can configure control keys at openttd.cfg. E70 has QWERTY keyboard, but I can use only predefined number keys. So write texts at openttd isn't possible.

Now, I just wish there is something like symbian driver for bluetooth mouse.. :-/

Many thanks for this!! :bow: :)

Re: S60v3 port

Posted: 01 Apr 2008 12:35
by wolf
Croog wrote:It would be great, if we can configure control keys at openttd.cfg. E70 has QWERTY keyboard, but I can use only predefined number keys.
Defining controls would be nice, I would prefer in-game GUI however. There's also an issue with portrait/landscape orientations where we should allow different keybindings for each.
So write texts at openttd isn't possible.
On screen keyboard has been commited to svn some time ago, so when I release new build it will be possible to enter text. Not using the phone's keyboard though.

Re: S60v3 port

Posted: 02 Apr 2008 08:36
by Croog
Some photos of openttd on Nokia E70. :)

Big screen of ... phone! :lol:
Image

Image

Image

Image

Image

Re: S60v3 port

Posted: 04 Apr 2008 16:51
by alda
hallo,

I have two questions :

1:
I have nokia 6120, but ottd isn't running in full screen ( I can't see right side of the main menu ).
Is any version of this game with 240*320 resolution ?


2:
all patches and changes are implemented in sis file or is necessary somehow implement it ?

thx

Alda

Re: S60v3 port

Posted: 05 Apr 2008 11:25
by wolf
alda wrote:I have nokia 6120, but ottd isn't running in full screen ( I can't see right side of the main menu ).
Is any version of this game with 240*320 resolution ?
An effort is being made to support such small resolutions, but nothing is available yet. For the time being you can move the mouse cursor off the screen and press the non visible buttons.
all patches and changes are implemented in sis file or is necessary somehow implement it ?
sisx file is the binary installation package for the phone. All the patches that I publish are only needed when one wants to build the sisx file by himself.

Re: S60v3 port

Posted: 05 Apr 2008 15:10
by Croog
Could you please compile it with newest stable version? 8) I am not able to load saved games from computer now. Thanks. :)